cecon-interfaces 1.1.97 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/enums/mode.enum.d.ts +2 -0
- package/dist/app/enums/mode.enum.js +2 -0
- package/dist/esm2022/app/enums/mode.enum.mjs +3 -1
- package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +2 -1
- package/dist/esm2022/invoice/entities/invoice.entity.mjs +2 -2
- package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
- package/dist/esm2022/subscription-customer/entities/subscription-customer.entity.mjs +7 -4
- package/dist/esm2022/subscription-customer/interfaces/i-subscription-customer.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +9 -4
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice-item.entity.d.ts +1 -0
- package/dist/invoice/entities/invoice-item.entity.js +1 -0
- package/dist/invoice/entities/invoice.entity.js +1 -1
- package/dist/invoice/interfaces/i-invoice-item.d.ts +1 -0
- package/dist/package.json +1 -1
- package/dist/subscription-customer/entities/subscription-customer.entity.d.ts +4 -1
- package/dist/subscription-customer/entities/subscription-customer.entity.js +6 -3
- package/dist/subscription-customer/interfaces/i-subscription-customer.d.ts +4 -1
- package/package.json +1 -1
@@ -42,7 +42,7 @@ var InvoiceEntity = /** @class */ (function () {
|
|
42
42
|
this.pix = null;
|
43
43
|
this.returnExpiredUrl = '';
|
44
44
|
this.returnUrl = '';
|
45
|
-
this.status = enums_1.EInvoiceStatus.
|
45
|
+
this.status = enums_1.EInvoiceStatus.DRAFT;
|
46
46
|
this.subscriptionId = '';
|
47
47
|
this.subtotal = 0;
|
48
48
|
this.totalAmount = 0;
|
package/dist/package.json
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
+
import { EDocType } from '../../general';
|
1
2
|
import { ISubscriptionCustomerProfile } from '../interfaces/i-subscription-customer';
|
2
3
|
export declare class SubscriptionCustomerProfileEntity implements ISubscriptionCustomerProfile {
|
3
4
|
doc: string | null;
|
4
|
-
docType:
|
5
|
+
docType: EDocType;
|
6
|
+
email: string | null;
|
5
7
|
id: string | null;
|
6
8
|
imageUrl: string | null;
|
7
9
|
name: string | null;
|
10
|
+
phoneNumber: string | null;
|
8
11
|
uid: string | null;
|
9
12
|
constructor(data?: Partial<SubscriptionCustomerProfileEntity>);
|
10
13
|
}
|
@@ -1,16 +1,19 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.SubscriptionCustomerProfileEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
4
5
|
var SubscriptionCustomerProfileEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (8)
|
6
7
|
// #region Constructors (1)
|
7
8
|
function SubscriptionCustomerProfileEntity(data) {
|
8
|
-
// #region Properties (
|
9
|
+
// #region Properties (8)
|
9
10
|
this.doc = '';
|
10
|
-
this.docType =
|
11
|
+
this.docType = general_1.EDocType.CNPJ;
|
12
|
+
this.email = '';
|
11
13
|
this.id = '';
|
12
14
|
this.imageUrl = '';
|
13
15
|
this.name = '';
|
16
|
+
this.phoneNumber = '';
|
14
17
|
this.uid = '';
|
15
18
|
if (data) {
|
16
19
|
for (var key in data) {
|
@@ -1,8 +1,11 @@
|
|
1
|
+
import { EDocType } from '../../general';
|
1
2
|
export interface ISubscriptionCustomerProfile {
|
2
3
|
doc: string | null;
|
3
|
-
docType:
|
4
|
+
docType: EDocType;
|
4
5
|
id: string | null;
|
5
6
|
imageUrl: string | null;
|
6
7
|
name: string | null;
|
8
|
+
email: string | null;
|
9
|
+
phoneNumber: string | null;
|
7
10
|
uid: string | null;
|
8
11
|
}
|