cecon-interfaces 1.0.19 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/dist/esm2022/index.mjs +2 -1
  2. package/dist/esm2022/iugu/entities/account-informations.entity.mjs +17 -0
  3. package/dist/esm2022/iugu/entities/account-last-verification-request-data.entity.mjs +36 -0
  4. package/dist/esm2022/iugu/entities/index.mjs +4 -1
  5. package/dist/esm2022/iugu/entities/iugu-account.entity.mjs +71 -0
  6. package/dist/esm2022/iugu/interfaces/i-account-info-last-ver-req-data.mjs +1 -1
  7. package/dist/esm2022/iugu/interfaces/i-account.mjs +1 -1
  8. package/dist/esm2022/iugu/interfaces/index.mjs +1 -1
  9. package/dist/esm2022/lead/entities/index.mjs +2 -0
  10. package/dist/esm2022/lead/entities/lead.entity.mjs +52 -0
  11. package/dist/esm2022/lead/enums/index.mjs +2 -0
  12. package/dist/esm2022/lead/enums/lead-status.enum.mjs +9 -0
  13. package/dist/esm2022/lead/index.mjs +4 -0
  14. package/dist/esm2022/lead/interfaces/i-lead.mjs +2 -0
  15. package/dist/esm2022/lead/interfaces/index.mjs +2 -0
  16. package/dist/fesm2022/cecon-interfaces.mjs +206 -21
  17. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.js +1 -0
  20. package/dist/iugu/entities/account-informations.entity.d.ts +6 -0
  21. package/dist/iugu/entities/account-informations.entity.js +21 -0
  22. package/dist/iugu/entities/account-last-verification-request-data.entity.d.ts +25 -0
  23. package/dist/iugu/entities/account-last-verification-request-data.entity.js +40 -0
  24. package/dist/iugu/entities/index.d.ts +3 -0
  25. package/dist/iugu/entities/index.js +7 -1
  26. package/dist/iugu/entities/iugu-account.entity.d.ts +61 -0
  27. package/dist/iugu/entities/iugu-account.entity.js +75 -0
  28. package/dist/iugu/interfaces/i-account-info-last-ver-req-data.d.ts +1 -1
  29. package/dist/iugu/interfaces/i-account.d.ts +5 -5
  30. package/dist/iugu/interfaces/index.d.ts +1 -1
  31. package/dist/lead/entities/index.d.ts +1 -0
  32. package/dist/lead/entities/index.js +5 -0
  33. package/dist/lead/entities/lead.entity.d.ts +41 -0
  34. package/dist/lead/entities/lead.entity.js +56 -0
  35. package/dist/lead/enums/index.d.ts +1 -0
  36. package/dist/lead/enums/index.js +5 -0
  37. package/dist/lead/enums/lead-status.enum.d.ts +7 -0
  38. package/dist/lead/enums/lead-status.enum.js +11 -0
  39. package/dist/lead/index.d.ts +3 -0
  40. package/dist/lead/index.js +19 -0
  41. package/dist/lead/interfaces/i-lead.d.ts +23 -0
  42. package/dist/lead/interfaces/i-lead.js +2 -0
  43. package/dist/lead/interfaces/index.d.ts +1 -0
  44. package/dist/lead/interfaces/index.js +2 -0
  45. package/dist/package.json +1 -1
  46. package/package.json +1 -1
@@ -0,0 +1,25 @@
1
+ import { BooleanStringEnum } from '../../general/enums';
2
+ import { LegalEntiyEnum } from '../../general/enums/person-type.enum';
3
+ import { IIuguAccountLastVerificationRequestData } from '../interfaces';
4
+ export declare class LastVerificationRequestDataEntity implements IIuguAccountLastVerificationRequestData {
5
+ accountType: string;
6
+ address: string;
7
+ automaticTransfer: BooleanStringEnum;
8
+ bank: string;
9
+ bankAg: string;
10
+ bankCc: string;
11
+ businessType: string;
12
+ cep: string;
13
+ city: string;
14
+ cpf: string;
15
+ documentActivity: string;
16
+ documentCpf: string;
17
+ documentId: string;
18
+ name: string;
19
+ personType: LegalEntiyEnum;
20
+ physicalProducts: BooleanStringEnum;
21
+ priceRange: string;
22
+ state: string;
23
+ telephone: string;
24
+ constructor(data?: Partial<LastVerificationRequestDataEntity>);
25
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LastVerificationRequestDataEntity = void 0;
4
+ var enums_1 = require("../../general/enums");
5
+ var person_type_enum_1 = require("../../general/enums/person-type.enum");
6
+ var LastVerificationRequestDataEntity = /** @class */ (function () {
7
+ // #endregion Properties (19)
8
+ // #region Constructors (1)
9
+ function LastVerificationRequestDataEntity(data) {
10
+ // #region Properties (19)
11
+ this.accountType = '';
12
+ this.address = '';
13
+ this.automaticTransfer = enums_1.BooleanStringEnum.False;
14
+ this.bank = '';
15
+ this.bankAg = '';
16
+ this.bankCc = '';
17
+ this.businessType = '';
18
+ this.cep = '';
19
+ this.city = '';
20
+ this.cpf = '';
21
+ this.documentActivity = '';
22
+ this.documentCpf = '';
23
+ this.documentId = '';
24
+ this.name = '';
25
+ this.personType = person_type_enum_1.LegalEntiyEnum.Individual;
26
+ this.physicalProducts = enums_1.BooleanStringEnum.False;
27
+ this.priceRange = '';
28
+ this.state = '';
29
+ this.telephone = '';
30
+ if (data) {
31
+ for (var key in data) {
32
+ if (data.hasOwnProperty(key) && key in this) {
33
+ this[key] = data[key];
34
+ }
35
+ }
36
+ }
37
+ }
38
+ return LastVerificationRequestDataEntity;
39
+ }());
40
+ exports.LastVerificationRequestDataEntity = LastVerificationRequestDataEntity;
@@ -1,2 +1,5 @@
1
+ export { AccountInformationsEntity } from './account-informations.entity';
2
+ export { LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity } from './account-last-verification-request-data.entity';
3
+ export { IuguAccountEntity } from './iugu-account.entity';
1
4
  export { IuguPaymentTokenDataEntity } from './payment-token-data.entity';
2
5
  export { IuguPaymentTokenEntity } from './payment-token.entity';
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IuguPaymentTokenEntity = exports.IuguPaymentTokenDataEntity = void 0;
3
+ exports.IuguPaymentTokenEntity = exports.IuguPaymentTokenDataEntity = exports.IuguAccountEntity = exports.IuguAccountLastVerificationRequestDataEntity = exports.AccountInformationsEntity = void 0;
4
+ var account_informations_entity_1 = require("./account-informations.entity");
5
+ Object.defineProperty(exports, "AccountInformationsEntity", { enumerable: true, get: function () { return account_informations_entity_1.AccountInformationsEntity; } });
6
+ var account_last_verification_request_data_entity_1 = require("./account-last-verification-request-data.entity");
7
+ Object.defineProperty(exports, "IuguAccountLastVerificationRequestDataEntity", { enumerable: true, get: function () { return account_last_verification_request_data_entity_1.LastVerificationRequestDataEntity; } });
8
+ var iugu_account_entity_1 = require("./iugu-account.entity");
9
+ Object.defineProperty(exports, "IuguAccountEntity", { enumerable: true, get: function () { return iugu_account_entity_1.IuguAccountEntity; } });
4
10
  var payment_token_data_entity_1 = require("./payment-token-data.entity");
5
11
  Object.defineProperty(exports, "IuguPaymentTokenDataEntity", { enumerable: true, get: function () { return payment_token_data_entity_1.IuguPaymentTokenDataEntity; } });
6
12
  var payment_token_entity_1 = require("./payment-token.entity");
@@ -0,0 +1,61 @@
1
+ import { IuguAutoAdvanceEnum } from '../enums';
2
+ import { IIuguAccount, IIuguAccountConfiguration, IIuguConfigEarlyPaymentDiscount, IIuguMarketplaceSplit } from '../interfaces';
3
+ import { AccountInformationsEntity } from './account-informations.entity';
4
+ import { LastVerificationRequestDataEntity } from './account-last-verification-request-data.entity';
5
+ export declare class IuguAccountEntity implements IIuguAccount {
6
+ autoAdvance: boolean;
7
+ autoAdvanceOption: number;
8
+ autoAdvanceType: IuguAutoAdvanceEnum;
9
+ autoWithdraw: boolean;
10
+ balance: string;
11
+ balanceAvailableForWithdraw: string;
12
+ balanceInProtest: string;
13
+ canReceive?: boolean;
14
+ changePlanType: number;
15
+ commissionBalance: string;
16
+ configuration: IIuguAccountConfiguration | null;
17
+ createdAt: Date;
18
+ creditCardVerified: boolean;
19
+ customLogoSmallUrl: string;
20
+ customLogoUrl: string;
21
+ defaultReturnUrl: string;
22
+ disableEmails: boolean;
23
+ disabledWithdraw: boolean;
24
+ earlyPaymentDiscount: boolean;
25
+ earlyPaymentDiscountDays: number;
26
+ earlyPaymentDiscountPercent: number;
27
+ earlyPaymentDiscounts: IIuguConfigEarlyPaymentDiscount[];
28
+ fines: boolean;
29
+ hasBankAddress?: boolean;
30
+ id: string;
31
+ informations: AccountInformationsEntity[];
32
+ isVerified?: boolean;
33
+ lastVerificationRequestData: LastVerificationRequestDataEntity;
34
+ lastVerificationRequestFeedback: string;
35
+ lastVerificationRequestStatus: 'accepted' | string;
36
+ lastWithdraw: Date;
37
+ latePaymentFine: number;
38
+ marketplace: boolean;
39
+ name: string;
40
+ oldAdvancement: boolean;
41
+ payableBalance: string;
42
+ paymentEmailNotification: boolean;
43
+ paymentEmailNotificationReceiver: string;
44
+ perDayInterest: boolean;
45
+ permissions: string[];
46
+ protectedBalance: string;
47
+ receivableBalance: string;
48
+ replyTo: string;
49
+ splits: IIuguMarketplaceSplit[];
50
+ subscriptionsBillingDays: number;
51
+ subscriptionsTrialPeriod: number;
52
+ taxesPaidLastMonth: string;
53
+ taxesPaidThisMonth: string;
54
+ totalActiveSubscriptions: number;
55
+ totalSubscriptions: number;
56
+ updatedAt: Date;
57
+ volumeLastMonth: string;
58
+ volumeThisMonth: string;
59
+ webappOnTestMode: boolean;
60
+ constructor(data?: Partial<IuguAccountEntity>);
61
+ }
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IuguAccountEntity = void 0;
4
+ var enums_1 = require("../enums");
5
+ var account_last_verification_request_data_entity_1 = require("./account-last-verification-request-data.entity");
6
+ var IuguAccountEntity = /** @class */ (function () {
7
+ // #endregion Properties (54)
8
+ // #region Constructors (1)
9
+ function IuguAccountEntity(data) {
10
+ // #region Properties (54)
11
+ this.autoAdvance = false;
12
+ this.autoAdvanceOption = 0;
13
+ this.autoAdvanceType = enums_1.IuguAutoAdvanceEnum.Daily;
14
+ this.autoWithdraw = false;
15
+ this.balance = '';
16
+ this.balanceAvailableForWithdraw = '';
17
+ this.balanceInProtest = '';
18
+ this.canReceive = false;
19
+ this.changePlanType = 0;
20
+ this.commissionBalance = '';
21
+ this.configuration = null;
22
+ this.createdAt = new Date();
23
+ this.creditCardVerified = false;
24
+ this.customLogoSmallUrl = '';
25
+ this.customLogoUrl = '';
26
+ this.defaultReturnUrl = '';
27
+ this.disableEmails = false;
28
+ this.disabledWithdraw = false;
29
+ this.earlyPaymentDiscount = false;
30
+ this.earlyPaymentDiscountDays = 0;
31
+ this.earlyPaymentDiscountPercent = 0;
32
+ this.earlyPaymentDiscounts = [];
33
+ this.fines = false;
34
+ this.hasBankAddress = false;
35
+ this.id = '';
36
+ this.informations = [];
37
+ this.isVerified = false;
38
+ this.lastVerificationRequestData = new account_last_verification_request_data_entity_1.LastVerificationRequestDataEntity();
39
+ this.lastVerificationRequestFeedback = '';
40
+ this.lastVerificationRequestStatus = 'accepted';
41
+ this.lastWithdraw = new Date();
42
+ this.latePaymentFine = 0;
43
+ this.marketplace = false;
44
+ this.name = '';
45
+ this.oldAdvancement = false;
46
+ this.payableBalance = '';
47
+ this.paymentEmailNotification = false;
48
+ this.paymentEmailNotificationReceiver = '';
49
+ this.perDayInterest = false;
50
+ this.permissions = [];
51
+ this.protectedBalance = '';
52
+ this.receivableBalance = '';
53
+ this.replyTo = '';
54
+ this.splits = [];
55
+ this.subscriptionsBillingDays = 0;
56
+ this.subscriptionsTrialPeriod = 0;
57
+ this.taxesPaidLastMonth = '';
58
+ this.taxesPaidThisMonth = '';
59
+ this.totalActiveSubscriptions = 0;
60
+ this.totalSubscriptions = 0;
61
+ this.updatedAt = new Date();
62
+ this.volumeLastMonth = '';
63
+ this.volumeThisMonth = '';
64
+ this.webappOnTestMode = false;
65
+ if (data) {
66
+ for (var key in data) {
67
+ if (data.hasOwnProperty(key) && key in this) {
68
+ this[key] = data[key];
69
+ }
70
+ }
71
+ }
72
+ }
73
+ return IuguAccountEntity;
74
+ }());
75
+ exports.IuguAccountEntity = IuguAccountEntity;
@@ -1,6 +1,6 @@
1
1
  import { BooleanStringEnum } from '../../general/enums';
2
2
  import { LegalEntiyEnum } from '../../general/enums/person-type.enum';
3
- export interface IIuguAccountLastVerificationRequestData {
3
+ export interface IIuguLastVerificationRequestData {
4
4
  accountType: string;
5
5
  address: string;
6
6
  automaticTransfer: BooleanStringEnum;
@@ -1,6 +1,6 @@
1
1
  import { IuguAutoAdvanceEnum } from '../enums/iugu-auto-advance.enum';
2
2
  import { IIuguAccountConfiguration } from './i-account-configuration';
3
- import { IIuguAccountLastVerificationRequestData } from './i-account-info-last-ver-req-data';
3
+ import { IIuguLastVerificationRequestData } from './i-account-info-last-ver-req-data';
4
4
  import { IIuguInformations } from './i-account-informations';
5
5
  import { IIuguMarketplaceSplit } from './i-account-marketplace-split';
6
6
  import { IIuguConfigEarlyPaymentDiscount } from './i-config-early-payment-discounts';
@@ -32,11 +32,11 @@ export interface IIuguAccount {
32
32
  canReceive?: boolean;
33
33
  changePlanType: number;
34
34
  commissionBalance: string;
35
- configuration: IIuguAccountConfiguration;
35
+ configuration: IIuguAccountConfiguration | null;
36
36
  createdAt: Date;
37
37
  creditCardVerified: boolean;
38
- customLogoSmallUrl: null;
39
- customLogoUrl: null;
38
+ customLogoSmallUrl: string;
39
+ customLogoUrl: string;
40
40
  defaultReturnUrl: string;
41
41
  disableEmails: boolean;
42
42
  disabledWithdraw: boolean;
@@ -49,7 +49,7 @@ export interface IIuguAccount {
49
49
  id: string;
50
50
  informations: IIuguInformations[];
51
51
  isVerified?: boolean;
52
- lastVerificationRequestData: IIuguAccountLastVerificationRequestData;
52
+ lastVerificationRequestData: IIuguLastVerificationRequestData;
53
53
  lastVerificationRequestFeedback: string;
54
54
  lastVerificationRequestStatus: 'accepted' | string;
55
55
  lastWithdraw: Date;
@@ -3,7 +3,7 @@ export { IIuguAccountConfiguration } from './i-account-configuration';
3
3
  export { IIuguAccountConfigurationBankSlip } from './i-account-configuration-bank-slip';
4
4
  export { IIuguAccountConfigurationCreaditCard } from './i-account-configuration-creadit-card';
5
5
  export { IIuguAccountConfigurationPix } from './i-account-configuration-pix';
6
- export { IIuguAccountLastVerificationRequestData } from './i-account-info-last-ver-req-data';
6
+ export { IIuguLastVerificationRequestData as IIuguAccountLastVerificationRequestData } from './i-account-info-last-ver-req-data';
7
7
  export { IIuguInformations } from './i-account-informations';
8
8
  export { IIuguMarketplaceSplit } from './i-account-marketplace-split';
9
9
  export { IIuguChangePlanSimulation } from './i-change-plan-simulation';
@@ -0,0 +1 @@
1
+ export { LeadEntity } from './lead.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadEntity = void 0;
4
+ var lead_entity_1 = require("./lead.entity");
5
+ Object.defineProperty(exports, "LeadEntity", { enumerable: true, get: function () { return lead_entity_1.LeadEntity; } });
@@ -0,0 +1,41 @@
1
+ import { DocTypeEnum, LeadOriginEnum } from '../../general/enums';
2
+ import { LeadStatusEnum } from '../enums';
3
+ import { ILead } from '../interfaces';
4
+ export declare class LeadEntity implements ILead {
5
+ /**Status atual. */
6
+ agentId: string;
7
+ /**Endereço de e-mail principal para contato. */
8
+ alternateEmails?: string[];
9
+ /**Número de telefone principal. */
10
+ alternatePhones?: string[];
11
+ /**ID do agente ou parceiro que cadastrou o lead. */
12
+ assignedTo?: string;
13
+ /**Notas ou observações adicionais. */
14
+ createdAt: number;
15
+ /**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
16
+ doc: string;
17
+ /**Identificador único do lead. */
18
+ docType: DocTypeEnum;
19
+ /**Nome completo ou razão social do lead. */
20
+ email: string;
21
+ id: string;
22
+ /**Fonte de origem do lead. */
23
+ interestedIn: string[];
24
+ /**Data e hora de criação. */
25
+ lastContacted?: number;
26
+ /**Número do documento conforme o tipo. */
27
+ name: string;
28
+ /**Lista de produtos ou serviços de interesse. */
29
+ notes?: string[];
30
+ /**Outros endereços de e-mail, se disponíveis. */
31
+ phoneNumber?: string;
32
+ /**Outros números de telefone, se disponíveis. */
33
+ sandbox: boolean;
34
+ source: LeadOriginEnum;
35
+ /**Data e hora do último contato. */
36
+ status: LeadStatusEnum;
37
+ /**ID do colaborador responsável pelo lead. */
38
+ tags?: string[];
39
+ updatedAt: number;
40
+ constructor(data?: Partial<LeadEntity>);
41
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadEntity = void 0;
4
+ var enums_1 = require("../../general/enums");
5
+ var enums_2 = require("../enums");
6
+ var LeadEntity = /** @class */ (function () {
7
+ // #endregion Properties (19)
8
+ // #region Constructors (1)
9
+ function LeadEntity(data) {
10
+ // #region Properties (19)
11
+ /**Status atual. */
12
+ this.agentId = '';
13
+ /**Endereço de e-mail principal para contato. */
14
+ this.alternateEmails = [];
15
+ /**Número de telefone principal. */
16
+ this.alternatePhones = [];
17
+ /**ID do agente ou parceiro que cadastrou o lead. */
18
+ this.assignedTo = '';
19
+ /**Notas ou observações adicionais. */
20
+ this.createdAt = Date.now();
21
+ /**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
22
+ this.doc = '';
23
+ /**Identificador único do lead. */
24
+ this.docType = enums_1.DocTypeEnum.CNPJ;
25
+ /**Nome completo ou razão social do lead. */
26
+ this.email = '';
27
+ this.id = '';
28
+ /**Fonte de origem do lead. */
29
+ this.interestedIn = [];
30
+ /**Data e hora de criação. */
31
+ this.lastContacted = Date.now();
32
+ /**Número do documento conforme o tipo. */
33
+ this.name = '';
34
+ /**Lista de produtos ou serviços de interesse. */
35
+ this.notes = [];
36
+ /**Outros endereços de e-mail, se disponíveis. */
37
+ this.phoneNumber = '';
38
+ /**Outros números de telefone, se disponíveis. */
39
+ this.sandbox = false;
40
+ this.source = enums_1.LeadOriginEnum.Others;
41
+ /**Data e hora do último contato. */
42
+ this.status = enums_2.LeadStatusEnum.New;
43
+ /**ID do colaborador responsável pelo lead. */
44
+ this.tags = [];
45
+ this.updatedAt = Date.now();
46
+ if (data) {
47
+ for (var key in data) {
48
+ if (data.hasOwnProperty(key) && key in this) {
49
+ this[key] = data[key];
50
+ }
51
+ }
52
+ }
53
+ }
54
+ return LeadEntity;
55
+ }());
56
+ exports.LeadEntity = LeadEntity;
@@ -0,0 +1 @@
1
+ export { LeadStatusEnum } from './lead-status.enum';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadStatusEnum = void 0;
4
+ var lead_status_enum_1 = require("./lead-status.enum");
5
+ Object.defineProperty(exports, "LeadStatusEnum", { enumerable: true, get: function () { return lead_status_enum_1.LeadStatusEnum; } });
@@ -0,0 +1,7 @@
1
+ export declare enum LeadStatusEnum {
2
+ New = "Novo",
3
+ Cantacted = "Contactado",
4
+ InProgress = "Em Progresso",
5
+ Converted = "Convertido",
6
+ NotInterested = "N\u00E3o Interessado"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeadStatusEnum = void 0;
4
+ var LeadStatusEnum;
5
+ (function (LeadStatusEnum) {
6
+ LeadStatusEnum["New"] = "Novo";
7
+ LeadStatusEnum["Cantacted"] = "Contactado";
8
+ LeadStatusEnum["InProgress"] = "Em Progresso";
9
+ LeadStatusEnum["Converted"] = "Convertido";
10
+ LeadStatusEnum["NotInterested"] = "N\u00E3o Interessado";
11
+ })(LeadStatusEnum || (exports.LeadStatusEnum = LeadStatusEnum = {}));
@@ -0,0 +1,3 @@
1
+ export * from './entities';
2
+ export * from './enums';
3
+ export * from './interfaces';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,23 @@
1
+ import { LeadOriginEnum } from '../../general/enums';
2
+ import { LeadStatusEnum } from '../enums';
3
+ export interface ILead {
4
+ agentId: string;
5
+ alternateEmails?: string[];
6
+ alternatePhones?: string[];
7
+ assignedTo?: string;
8
+ createdAt: number;
9
+ doc: string;
10
+ docType: any;
11
+ email: string;
12
+ id: string;
13
+ interestedIn: string[];
14
+ lastContacted?: number;
15
+ name: string;
16
+ notes?: string[];
17
+ phoneNumber?: string;
18
+ sandbox: boolean;
19
+ source: LeadOriginEnum;
20
+ status: LeadStatusEnum;
21
+ tags?: string[];
22
+ updatedAt: number;
23
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { ILead } from './i-lead';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "dependencies": {},
6
6
  "peerDependencies": {},