cecon-interfaces 1.2.63 → 1.2.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/dist/customer/entities/customer.entity.d.ts +1 -0
  2. package/dist/customer/entities/customer.entity.js +3 -2
  3. package/dist/customer/interfaces/i-customer.d.ts +1 -0
  4. package/dist/esm2022/customer/entities/customer.entity.mjs +4 -3
  5. package/dist/esm2022/customer/interfaces/i-customer.mjs +1 -1
  6. package/dist/esm2022/event-message/enums/event-message.enum.mjs +2 -1
  7. package/dist/esm2022/invite/entities/invite.entity.mjs +2 -2
  8. package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +2 -1
  9. package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +1 -1
  10. package/dist/esm2022/lead/entities/lead.entity.mjs +2 -1
  11. package/dist/esm2022/lead/interfaces/i-lead.mjs +1 -1
  12. package/dist/esm2022/member/entities/member.entity.mjs +2 -1
  13. package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
  14. package/dist/event-message/enums/event-message.enum.d.ts +2 -1
  15. package/dist/event-message/enums/event-message.enum.js +1 -0
  16. package/dist/fesm2022/cecon-interfaces.mjs +8 -3
  17. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  18. package/dist/invite/entities/invite.entity.js +1 -1
  19. package/dist/invoice/entities/invoice-payer.entity.d.ts +1 -0
  20. package/dist/invoice/entities/invoice-payer.entity.js +1 -0
  21. package/dist/invoice/interfaces/i-invoice-payer.d.ts +1 -0
  22. package/dist/lead/entities/lead.entity.d.ts +1 -0
  23. package/dist/lead/entities/lead.entity.js +1 -0
  24. package/dist/lead/interfaces/i-lead.d.ts +1 -0
  25. package/dist/member/entities/member.entity.d.ts +1 -0
  26. package/dist/member/entities/member.entity.js +1 -0
  27. package/dist/member/interfaces/i-member.d.ts +1 -0
  28. package/dist/package.json +1 -1
  29. package/package.json +1 -1
@@ -19,7 +19,7 @@ var InviteEntity = /** @class */ (function () {
19
19
  this.expireAt = new Date(new Date().getTime() + 86400000);
20
20
  this.expired = false;
21
21
  this.id = '';
22
- this.internationalCode = '+55';
22
+ this.internationalCode = '55';
23
23
  this.name = '';
24
24
  this.phoneNumber = '';
25
25
  this.photoUrl = '';
@@ -5,6 +5,7 @@ export declare class InvoicePayerEntity implements IInvoicePayer {
5
5
  doc: string;
6
6
  docType: EDocType;
7
7
  email: string;
8
+ internationalCode: string;
8
9
  name: string;
9
10
  phoneNumber: string | null;
10
11
  constructor(data?: Partial<InvoicePayerEntity>);
@@ -11,6 +11,7 @@ var InvoicePayerEntity = /** @class */ (function () {
11
11
  this.doc = '';
12
12
  this.docType = general_1.EDocType.CNPJ;
13
13
  this.email = '';
14
+ this.internationalCode = '55';
14
15
  this.name = '';
15
16
  this.phoneNumber = null;
16
17
  if (data) {
@@ -4,6 +4,7 @@ export interface IInvoicePayer {
4
4
  doc: string;
5
5
  docType: EDocType;
6
6
  email: string;
7
+ internationalCode: string;
7
8
  name: string;
8
9
  phoneNumber: string | null;
9
10
  }
@@ -29,6 +29,7 @@ export declare class LeadEntity implements ILead {
29
29
  origin: ELeadOrigin;
30
30
  /**Status atual. */
31
31
  partnerId: string;
32
+ internationalCode: string;
32
33
  /**Outros endereços de e-mail, se disponíveis. */
33
34
  phoneNumber?: string;
34
35
  /**Outros números de telefone, se disponíveis. */
@@ -35,6 +35,7 @@ var LeadEntity = /** @class */ (function () {
35
35
  this.origin = enums_1.ELeadOrigin.OTHERS;
36
36
  /**Status atual. */
37
37
  this.partnerId = '';
38
+ this.internationalCode = '55';
38
39
  /**Outros endereços de e-mail, se disponíveis. */
39
40
  this.phoneNumber = '';
40
41
  /**Outros números de telefone, se disponíveis. */
@@ -42,6 +42,7 @@ export interface ILead {
42
42
  * Lista de produtos ou serviços de interesse.
43
43
  */
44
44
  interestedIn: string[];
45
+ internationalCode: string;
45
46
  /**
46
47
  * Data e hora do último contato.
47
48
  **/
@@ -8,6 +8,7 @@ export declare class MemberEntity extends BaseEntity implements IMember {
8
8
  email: string;
9
9
  name: string;
10
10
  partnerId: string;
11
+ internationalCode: string;
11
12
  phoneNumber: string;
12
13
  phoneNumberVerified: boolean;
13
14
  phoneNumberVerifiedAt: Date | null;
@@ -31,6 +31,7 @@ var MemberEntity = /** @class */ (function (_super) {
31
31
  _this.email = '';
32
32
  _this.name = '';
33
33
  _this.partnerId = '';
34
+ _this.internationalCode = '55';
34
35
  _this.phoneNumber = '';
35
36
  _this.phoneNumberVerified = false;
36
37
  _this.phoneNumberVerifiedAt = null;
@@ -6,6 +6,7 @@ export interface IMember extends IBase {
6
6
  email: string;
7
7
  name: string;
8
8
  partnerId: string;
9
+ internationalCode: string;
9
10
  phoneNumber: string;
10
11
  phoneNumberVerified: boolean;
11
12
  phoneNumberVerifiedAt: Date | null;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.63",
3
+ "version": "1.2.66",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.63",
3
+ "version": "1.2.66",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",