cecon-interfaces 1.7.70 → 1.7.72
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/index.mjs +3 -2
- package/dist/esm2022/natipay/orders/entities/mercado-pago.entity.mjs +14 -0
- package/dist/esm2022/natipay/orders/entities/order.entity.mjs +1 -1
- package/dist/esm2022/natipay/orders/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +29 -15
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/natipay/orders/entities/index.d.ts +2 -1
- package/dist/natipay/orders/entities/index.js +5 -3
- package/dist/natipay/orders/entities/mercado-pago.entity.d.ts +6 -0
- package/dist/natipay/orders/entities/{item.entity copy.js → mercado-pago.entity.js} +5 -5
- package/dist/natipay/orders/entities/order.entity.d.ts +2 -2
- package/dist/natipay/orders/interfaces/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/esm2022/natipay/orders/entities/item.entity copy.mjs +0 -14
- package/dist/natipay/orders/entities/item.entity copy.d.ts +0 -6
@@ -1,7 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NatipayOrderEntity = exports.
|
4
|
-
var
|
5
|
-
Object.defineProperty(exports, "
|
3
|
+
exports.NatipayOrderItemEntity = exports.NatipayOrderEntity = exports.NatipayMercadoPagoEntity = void 0;
|
4
|
+
var mercado_pago_entity_1 = require("./mercado-pago.entity");
|
5
|
+
Object.defineProperty(exports, "NatipayMercadoPagoEntity", { enumerable: true, get: function () { return mercado_pago_entity_1.NatipayMercadoPagoEntity; } });
|
6
6
|
var order_entity_1 = require("./order.entity");
|
7
7
|
Object.defineProperty(exports, "NatipayOrderEntity", { enumerable: true, get: function () { return order_entity_1.NatipayOrderEntity; } });
|
8
|
+
var item_entity_1 = require("./item.entity");
|
9
|
+
Object.defineProperty(exports, "NatipayOrderItemEntity", { enumerable: true, get: function () { return item_entity_1.NatipayOrderItemEntity; } });
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
function
|
3
|
+
exports.NatipayMercadoPagoEntity = void 0;
|
4
|
+
var NatipayMercadoPagoEntity = /** @class */ (function () {
|
5
|
+
function NatipayMercadoPagoEntity(data) {
|
6
6
|
this.preferenceId = '';
|
7
7
|
this.qrOrderId = '';
|
8
8
|
if (data) {
|
@@ -13,6 +13,6 @@ var NatipayOrderMercadoPagoEntity = /** @class */ (function () {
|
|
13
13
|
}
|
14
14
|
}
|
15
15
|
}
|
16
|
-
return
|
16
|
+
return NatipayMercadoPagoEntity;
|
17
17
|
}());
|
18
|
-
exports.
|
18
|
+
exports.NatipayMercadoPagoEntity = NatipayMercadoPagoEntity;
|
@@ -3,7 +3,7 @@ import { IOrderAdditionalFee, IOrderBenefits, IOrderCancellation, IOrderCustomer
|
|
3
3
|
import { ENatipayOrderStatus } from '../enums';
|
4
4
|
import { INatipayOrder } from '../interfaces/i-order';
|
5
5
|
import { NatipayOrderItemEntity } from './item.entity';
|
6
|
-
import {
|
6
|
+
import { NatipayMercadoPagoEntity } from './mercado-pago.entity';
|
7
7
|
export declare class NatipayOrderEntity implements INatipayOrder {
|
8
8
|
additionalFees: IOrderAdditionalFee[];
|
9
9
|
benefits: IOrderBenefits[];
|
@@ -17,7 +17,7 @@ export declare class NatipayOrderEntity implements INatipayOrder {
|
|
17
17
|
id: string;
|
18
18
|
invoiceId: string | null;
|
19
19
|
items: NatipayOrderItemEntity[];
|
20
|
-
mercadoPago:
|
20
|
+
mercadoPago: NatipayMercadoPagoEntity | null;
|
21
21
|
payments: IOrderPayment | null;
|
22
22
|
reference: string;
|
23
23
|
salesChannel: string;
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
@@ -1,14 +0,0 @@
|
|
1
|
-
export class NatipayOrderMercadoPagoEntity {
|
2
|
-
preferenceId = '';
|
3
|
-
qrOrderId = '';
|
4
|
-
constructor(data) {
|
5
|
-
if (data) {
|
6
|
-
for (let key in data) {
|
7
|
-
if (data.hasOwnProperty(key) && key in this) {
|
8
|
-
this[key] = data[key];
|
9
|
-
}
|
10
|
-
}
|
11
|
-
}
|
12
|
-
}
|
13
|
-
}
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXRlbS5lbnRpdHkgY29weS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9uYXRpcGF5L29yZGVycy9lbnRpdGllcy9pdGVtLmVudGl0eSBjb3B5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyw2QkFBNkI7SUFDakMsWUFBWSxHQUFXLEVBQUUsQ0FBQztJQUMxQixTQUFTLEdBQVcsRUFBRSxDQUFDO0lBRTlCLFlBQVksSUFBNkM7UUFDdkQsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElOYXRpcGF5TWVyY2Fkb1BhZ28gfSBmcm9tICcuLi9pbnRlcmZhY2VzL2ktbWVyY2Fkby1wYWdvJztcclxuXHJcbmV4cG9ydCBjbGFzcyBOYXRpcGF5T3JkZXJNZXJjYWRvUGFnb0VudGl0eSBpbXBsZW1lbnRzIElOYXRpcGF5TW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