cecon-interfaces 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +5 -4
- package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +4 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice.entity.d.ts +2 -1
- package/dist/invoice/entities/invoice.entity.js +4 -3
- package/dist/invoice/interfaces/i-invoice.d.ts +4 -3
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -42,9 +42,10 @@ export declare class InvoiceEntity implements IInvoice {
|
|
42
42
|
pix: InvoicePixEntity | null;
|
43
43
|
returnExpiredUrl: string;
|
44
44
|
returnUrl: string;
|
45
|
+
sandbox: boolean;
|
45
46
|
status: EInvoiceStatus;
|
46
|
-
subscriptionId: string;
|
47
47
|
subTotal: number;
|
48
|
+
subscriptionId: string;
|
48
49
|
totalAmount: number;
|
49
50
|
totalFee: number;
|
50
51
|
totalOverPaid: number;
|
@@ -5,10 +5,10 @@ var general_1 = require("../../general");
|
|
5
5
|
var enums_1 = require("../enums");
|
6
6
|
var invoice_payer_entity_1 = require("./invoice-payer.entity");
|
7
7
|
var InvoiceEntity = /** @class */ (function () {
|
8
|
-
// #endregion Properties (
|
8
|
+
// #endregion Properties (43)
|
9
9
|
// #region Constructors (1)
|
10
10
|
function InvoiceEntity(data) {
|
11
|
-
// #region Properties (
|
11
|
+
// #region Properties (43)
|
12
12
|
this.addition = 0;
|
13
13
|
this.bankSlip = null;
|
14
14
|
this.bankSlipExtraDue = 3;
|
@@ -42,9 +42,10 @@ var InvoiceEntity = /** @class */ (function () {
|
|
42
42
|
this.pix = null;
|
43
43
|
this.returnExpiredUrl = '';
|
44
44
|
this.returnUrl = '';
|
45
|
+
this.sandbox = false;
|
45
46
|
this.status = enums_1.EInvoiceStatus.DRAFT;
|
46
|
-
this.subscriptionId = '';
|
47
47
|
this.subTotal = 0;
|
48
|
+
this.subscriptionId = '';
|
48
49
|
this.totalAmount = 0;
|
49
50
|
this.totalFee = 0;
|
50
51
|
this.totalOverPaid = 0;
|
@@ -17,6 +17,7 @@ export interface IInvoice {
|
|
17
17
|
createdAt: Date;
|
18
18
|
creditCard: IInvoiceCreditCard | null;
|
19
19
|
currency: string;
|
20
|
+
customerId: string | null;
|
20
21
|
discount: number;
|
21
22
|
dueDateAt: Date;
|
22
23
|
email: string;
|
@@ -29,21 +30,21 @@ export interface IInvoice {
|
|
29
30
|
notes: string;
|
30
31
|
notificationUrl: string;
|
31
32
|
orderId: string;
|
33
|
+
orders: IOrder[] | null;
|
32
34
|
paidAt: Date | null;
|
33
35
|
partnerId: string | null;
|
34
|
-
customerId: string | null;
|
35
36
|
password: string | null;
|
36
37
|
payer: IInvoicePayer;
|
37
|
-
orders: IOrder[] | null;
|
38
38
|
paymentMethod: EPaymentType;
|
39
39
|
paymentProvider: IPaymentProvider | null;
|
40
40
|
phoneNumberNotification: string | null;
|
41
41
|
pix: IInvoicePix | null;
|
42
42
|
returnExpiredUrl: string;
|
43
43
|
returnUrl: string;
|
44
|
+
sandbox: boolean;
|
44
45
|
status: EInvoiceStatus;
|
45
|
-
subscriptionId: string;
|
46
46
|
subTotal: number;
|
47
|
+
subscriptionId: string;
|
47
48
|
totalAmount: number;
|
48
49
|
totalFee: number;
|
49
50
|
totalOverPaid: number;
|
package/dist/package.json
CHANGED