cecon-interfaces 1.8.27 → 1.8.30
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/order/entities/order.entity.mjs +2 -4
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/payio/cash-config/entities/config-operation.entity.mjs +4 -1
- package/dist/esm2022/payio/cash-config/interfaces/i-cash-config-operation.mjs +1 -1
- package/dist/esm2022/transaction/entities/fee-detail.entity.mjs +2 -1
- package/dist/esm2022/transaction/interfaces/i-fee-detail.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +5 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/order/entities/order.entity.d.ts +2 -1
- package/dist/order/entities/order.entity.js +1 -3
- package/dist/order/interfaces/i-order.d.ts +5 -1
- package/dist/payio/cash-config/entities/config-operation.entity.d.ts +3 -0
- package/dist/payio/cash-config/entities/config-operation.entity.js +3 -0
- package/dist/payio/cash-config/interfaces/i-cash-config-operation.d.ts +3 -0
- package/dist/transaction/entities/fee-detail.entity.d.ts +2 -1
- package/dist/transaction/entities/fee-detail.entity.js +1 -0
- package/dist/transaction/interfaces/i-fee-detail.d.ts +1 -0
- package/package.json +1 -1
@@ -29,7 +29,8 @@ export declare class OrderEntity implements IOrder {
|
|
29
29
|
orderType: EOrderType | null;
|
30
30
|
payments: OrderPaymentEntity;
|
31
31
|
reference: string | null;
|
32
|
-
|
32
|
+
saleChannel: string;
|
33
|
+
salesChannel?: string;
|
33
34
|
sandbox: boolean;
|
34
35
|
status: EOrderStatus;
|
35
36
|
total: OrderTotalEntity;
|
@@ -8,10 +8,7 @@ var customer_entity_1 = require("./customer.entity");
|
|
8
8
|
var payment_entity_1 = require("./payment.entity");
|
9
9
|
var total_entity_1 = require("./total.entity");
|
10
10
|
var OrderEntity = /** @class */ (function () {
|
11
|
-
// #endregion Properties (25)
|
12
|
-
// #region Constructors (1)
|
13
11
|
function OrderEntity(data) {
|
14
|
-
// #region Properties (25)
|
15
12
|
this.additionalFees = [];
|
16
13
|
this.benefits = [];
|
17
14
|
this.cancellation = new cancellation_entity_1.OrderCancellationEntity();
|
@@ -30,6 +27,7 @@ var OrderEntity = /** @class */ (function () {
|
|
30
27
|
this.orderType = null;
|
31
28
|
this.payments = new payment_entity_1.OrderPaymentEntity();
|
32
29
|
this.reference = null;
|
30
|
+
this.saleChannel = '';
|
33
31
|
this.salesChannel = '';
|
34
32
|
this.sandbox = false;
|
35
33
|
this.status = enums_1.EOrderStatus.PENDING;
|
@@ -27,7 +27,11 @@ export interface IOrder {
|
|
27
27
|
orderType: EOrderType | null;
|
28
28
|
payments: IOrderPayment | null;
|
29
29
|
reference: string | null;
|
30
|
-
|
30
|
+
/**
|
31
|
+
* @deprecated Use saleChannel instead
|
32
|
+
*/
|
33
|
+
salesChannel?: string;
|
34
|
+
saleChannel: string;
|
31
35
|
sandbox: boolean;
|
32
36
|
status: EOrderStatus;
|
33
37
|
total: IOrderTotal;
|
@@ -5,11 +5,14 @@ export declare class PayioCashConfigOperationEntity implements IPayioCashConfigO
|
|
5
5
|
balanceMethod: EBarcodeFormat;
|
6
6
|
tabFormat: string | null;
|
7
7
|
tef: IPayioCashConfigOperationTef;
|
8
|
+
pdvId: string;
|
8
9
|
constructor(data?: Partial<PayioCashConfigOperationEntity>);
|
9
10
|
}
|
10
11
|
export declare class PayioCashConfigOperationTefEntity implements IPayioCashConfigOperationTef {
|
11
12
|
companyNumber: string;
|
12
13
|
provider: ETefProvider;
|
13
14
|
terminal: string;
|
15
|
+
tokenOtp: string;
|
16
|
+
tokenRegister: string;
|
14
17
|
url: string;
|
15
18
|
}
|
@@ -8,6 +8,7 @@ var PayioCashConfigOperationEntity = /** @class */ (function () {
|
|
8
8
|
this.balanceMethod = chef_config_1.EBarcodeFormat.CODE_6_PRICE_6;
|
9
9
|
this.tabFormat = null;
|
10
10
|
this.tef = new PayioCashConfigOperationTefEntity();
|
11
|
+
this.pdvId = '';
|
11
12
|
if (data) {
|
12
13
|
for (var key in data) {
|
13
14
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -24,6 +25,8 @@ var PayioCashConfigOperationTefEntity = /** @class */ (function () {
|
|
24
25
|
this.companyNumber = '';
|
25
26
|
this.provider = enums_1.ETefProvider.FISERV;
|
26
27
|
this.terminal = '';
|
28
|
+
this.tokenOtp = '';
|
29
|
+
this.tokenRegister = '';
|
27
30
|
this.url = '';
|
28
31
|
}
|
29
32
|
return PayioCashConfigOperationTefEntity;
|
@@ -4,10 +4,13 @@ export interface IPayioCashConfigOperation {
|
|
4
4
|
balanceMethod: EBarcodeFormat | null;
|
5
5
|
tabFormat: string | null;
|
6
6
|
tef: IPayioCashConfigOperationTef;
|
7
|
+
pdvId: string;
|
7
8
|
}
|
8
9
|
export interface IPayioCashConfigOperationTef {
|
9
10
|
companyNumber: string;
|
10
11
|
provider: ETefProvider;
|
11
12
|
terminal: string;
|
13
|
+
tokenOtp: string;
|
14
|
+
tokenRegister: string;
|
12
15
|
url: string;
|
13
16
|
}
|
@@ -2,6 +2,7 @@ import { IFeeDetail } from '../interfaces';
|
|
2
2
|
export declare class FeeDetailEntity implements IFeeDetail {
|
3
3
|
amount: number;
|
4
4
|
feePayer: 'collector' | string;
|
5
|
-
type: 'mercadopago_fee' | '
|
5
|
+
type: 'mercadopago_fee' | 'plattform_fee' | 'firebank_fee' | string;
|
6
|
+
description?: string;
|
6
7
|
constructor(data?: Partial<FeeDetailEntity>);
|
7
8
|
}
|