cecon-interfaces 1.1.63 → 1.1.65

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.
Files changed (100) hide show
  1. package/dist/clients/entities/client-aplication-credential.entity.d.ts +8 -0
  2. package/dist/clients/entities/client-aplication-credential.entity.js +23 -0
  3. package/dist/clients/entities/client-aplication.entity.d.ts +8 -0
  4. package/dist/clients/entities/client-aplication.entity.js +23 -0
  5. package/dist/clients/entities/client.entity.d.ts +13 -0
  6. package/dist/clients/entities/client.entity.js +27 -0
  7. package/dist/clients/entities/index.d.ts +3 -0
  8. package/dist/clients/entities/index.js +9 -0
  9. package/dist/clients/index.d.ts +2 -0
  10. package/dist/clients/index.js +18 -0
  11. package/dist/clients/interfaces/i-client-aplication.d.ts +6 -0
  12. package/dist/clients/interfaces/i-client-aplication.js +2 -0
  13. package/dist/clients/interfaces/i-client-credential.d.ts +6 -0
  14. package/dist/clients/interfaces/i-client-credential.js +2 -0
  15. package/dist/clients/interfaces/i-client.d.ts +12 -0
  16. package/dist/clients/interfaces/i-client.js +2 -0
  17. package/dist/clients/interfaces/index.d.ts +3 -0
  18. package/dist/clients/interfaces/index.js +2 -0
  19. package/dist/company/entities/company.entity.d.ts +2 -2
  20. package/dist/company/entities/company.entity.js +1 -1
  21. package/dist/company/interfaces/i-company.d.ts +2 -2
  22. package/dist/customer/entities/customer.entity.d.ts +26 -0
  23. package/dist/customer/entities/customer.entity.js +41 -0
  24. package/dist/customer/entities/index.d.ts +1 -0
  25. package/dist/customer/entities/index.js +5 -0
  26. package/dist/customer/enums/index.d.ts +2 -0
  27. package/dist/customer/enums/index.js +7 -0
  28. package/dist/customer/enums/interval.enum.d.ts +5 -0
  29. package/dist/customer/enums/interval.enum.js +9 -0
  30. package/dist/customer/enums/status.enum.d.ts +5 -0
  31. package/dist/customer/enums/status.enum.js +9 -0
  32. package/dist/customer/index.d.ts +3 -0
  33. package/dist/customer/index.js +19 -0
  34. package/dist/customer/interfaces/i-customer.d.ts +24 -0
  35. package/dist/customer/interfaces/i-customer.js +2 -0
  36. package/dist/customer/interfaces/index.d.ts +1 -0
  37. package/dist/customer/interfaces/index.js +2 -0
  38. package/dist/esm2022/clients/entities/client-aplication-credential.entity.mjs +19 -0
  39. package/dist/esm2022/clients/entities/client-aplication.entity.mjs +19 -0
  40. package/dist/esm2022/clients/entities/client.entity.mjs +23 -0
  41. package/dist/esm2022/clients/entities/index.mjs +4 -0
  42. package/dist/esm2022/clients/index.mjs +3 -0
  43. package/dist/esm2022/clients/interfaces/i-client-aplication.mjs +2 -0
  44. package/dist/esm2022/clients/interfaces/i-client-credential.mjs +2 -0
  45. package/dist/esm2022/clients/interfaces/i-client.mjs +2 -0
  46. package/dist/esm2022/clients/interfaces/index.mjs +2 -0
  47. package/dist/esm2022/company/entities/company.entity.mjs +3 -3
  48. package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
  49. package/dist/esm2022/customer/entities/customer.entity.mjs +37 -0
  50. package/dist/esm2022/customer/entities/index.mjs +2 -0
  51. package/dist/esm2022/customer/enums/index.mjs +3 -0
  52. package/dist/esm2022/customer/enums/interval.enum.mjs +7 -0
  53. package/dist/esm2022/customer/enums/status.enum.mjs +7 -0
  54. package/dist/esm2022/customer/index.mjs +4 -0
  55. package/dist/esm2022/customer/interfaces/i-customer.mjs +2 -0
  56. package/dist/esm2022/customer/interfaces/index.mjs +2 -0
  57. package/dist/esm2022/general/enums/doc-type.enum.mjs +6 -6
  58. package/dist/esm2022/general/enums/index.mjs +2 -2
  59. package/dist/esm2022/global-settings/entities/global-setting-iugu.entity.mjs +7 -7
  60. package/dist/esm2022/global-settings/entities/global-setting-master.entity.mjs +5 -15
  61. package/dist/esm2022/global-settings/interfaces/i-global-setting-master.mjs +1 -1
  62. package/dist/esm2022/index.mjs +3 -1
  63. package/dist/esm2022/invite/entities/invite.entity.mjs +3 -3
  64. package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
  65. package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +3 -3
  66. package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +1 -1
  67. package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
  68. package/dist/esm2022/notification/entities/notification.entity.mjs +5 -5
  69. package/dist/esm2022/notification/interfaces/i-notification.mjs +1 -1
  70. package/dist/esm2022/partner/entities/partner.entity.mjs +3 -3
  71. package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
  72. package/dist/fesm2022/cecon-interfaces.mjs +133 -35
  73. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  74. package/dist/general/enums/doc-type.enum.d.ts +1 -1
  75. package/dist/general/enums/doc-type.enum.js +6 -6
  76. package/dist/general/enums/index.d.ts +1 -1
  77. package/dist/general/enums/index.js +2 -2
  78. package/dist/global-settings/entities/global-setting-iugu.entity.d.ts +4 -4
  79. package/dist/global-settings/entities/global-setting-iugu.entity.js +6 -6
  80. package/dist/global-settings/entities/global-setting-master.entity.d.ts +2 -12
  81. package/dist/global-settings/entities/global-setting-master.entity.js +4 -13
  82. package/dist/global-settings/interfaces/i-global-setting-master.d.ts +2 -1
  83. package/dist/index.d.ts +2 -0
  84. package/dist/index.js +2 -0
  85. package/dist/invite/entities/invite.entity.d.ts +2 -2
  86. package/dist/invite/entities/invite.entity.js +1 -1
  87. package/dist/invite/interfaces/i-invite.d.ts +2 -2
  88. package/dist/invoice/entities/invoice-payer.entity.d.ts +2 -2
  89. package/dist/invoice/entities/invoice-payer.entity.js +1 -1
  90. package/dist/invoice/interfaces/i-invoice-payer.d.ts +2 -2
  91. package/dist/lead/entities/lead.entity.d.ts +2 -2
  92. package/dist/lead/entities/lead.entity.js +1 -1
  93. package/dist/notification/entities/notification.entity.d.ts +2 -2
  94. package/dist/notification/entities/notification.entity.js +4 -4
  95. package/dist/notification/interfaces/i-notification.d.ts +5 -5
  96. package/dist/package.json +1 -1
  97. package/dist/partner/entities/partner.entity.d.ts +2 -2
  98. package/dist/partner/entities/partner.entity.js +1 -1
  99. package/dist/partner/interfaces/i-partner.d.ts +2 -2
  100. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- export declare enum DocTypeEnum {
1
+ export declare enum EDocType {
2
2
  CPF = "CPF",
3
3
  CNPJ = "CNPJ"
4
4
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DocTypeEnum = void 0;
4
- var DocTypeEnum;
5
- (function (DocTypeEnum) {
6
- DocTypeEnum["CPF"] = "CPF";
7
- DocTypeEnum["CNPJ"] = "CNPJ";
8
- })(DocTypeEnum || (exports.DocTypeEnum = DocTypeEnum = {}));
3
+ exports.EDocType = void 0;
4
+ var EDocType;
5
+ (function (EDocType) {
6
+ EDocType["CPF"] = "CPF";
7
+ EDocType["CNPJ"] = "CNPJ";
8
+ })(EDocType || (exports.EDocType = EDocType = {}));
@@ -1,6 +1,6 @@
1
1
  export { EBankSlipStatus } from './bank-slip-status.enum';
2
2
  export { BooleanStringEnum } from './boolean-string.enum';
3
- export { DocTypeEnum } from './doc-type.enum';
3
+ export { EDocType } from './doc-type.enum';
4
4
  export { EDiscountType } from './e-discount-type.enum';
5
5
  export { EFiscalDocModelCode } from './fiscal-doc-model-code.enum';
6
6
  export { IntervalTypeEnum } from './interval-type.enum';
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ESponsorshipValues = exports.PaymentProviderEnum = exports.PlatfomrEnum = exports.LegalEntiyEnum = exports.EPaymentType = exports.PaymentStatusEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.OsEnum = exports.LeadOriginEnum = exports.IntervalTypeEnum = exports.EFiscalDocModelCode = exports.EDiscountType = exports.DocTypeEnum = exports.BooleanStringEnum = exports.EBankSlipStatus = void 0;
3
+ exports.ESponsorshipValues = exports.PaymentProviderEnum = exports.PlatfomrEnum = exports.LegalEntiyEnum = exports.EPaymentType = exports.PaymentStatusEnum = exports.PaymentModeEnum = exports.PaymentChannelEnum = exports.OsEnum = exports.LeadOriginEnum = exports.IntervalTypeEnum = exports.EFiscalDocModelCode = exports.EDiscountType = exports.EDocType = exports.BooleanStringEnum = exports.EBankSlipStatus = void 0;
4
4
  var bank_slip_status_enum_1 = require("./bank-slip-status.enum");
5
5
  Object.defineProperty(exports, "EBankSlipStatus", { enumerable: true, get: function () { return bank_slip_status_enum_1.EBankSlipStatus; } });
6
6
  var boolean_string_enum_1 = require("./boolean-string.enum");
7
7
  Object.defineProperty(exports, "BooleanStringEnum", { enumerable: true, get: function () { return boolean_string_enum_1.BooleanStringEnum; } });
8
8
  var doc_type_enum_1 = require("./doc-type.enum");
9
- Object.defineProperty(exports, "DocTypeEnum", { enumerable: true, get: function () { return doc_type_enum_1.DocTypeEnum; } });
9
+ Object.defineProperty(exports, "EDocType", { enumerable: true, get: function () { return doc_type_enum_1.EDocType; } });
10
10
  var e_discount_type_enum_1 = require("./e-discount-type.enum");
11
11
  Object.defineProperty(exports, "EDiscountType", { enumerable: true, get: function () { return e_discount_type_enum_1.EDiscountType; } });
12
12
  var fiscal_doc_model_code_enum_1 = require("./fiscal-doc-model-code.enum");
@@ -6,15 +6,15 @@ export declare class GlobalSettingIuguEntity implements IGlobalSettingIugu {
6
6
  * dias após a data de vencimento.
7
7
  */
8
8
  bankSlipExtraDue: number;
9
+ /**
10
+ * Prazo de dias para o vencimento da fatura.
11
+ */
12
+ billingDays: number;
9
13
  /**
10
14
  * Se true, garante que a data de vencimento seja apenas em dias de semana,
11
15
  * e não em sábados ou domingos.
12
16
  */
13
17
  ensureWorkdayDueDate: boolean;
14
- /**
15
- * Prazo de dias para o vencimento da fatura.
16
- */
17
- billingDays: number;
18
18
  /**
19
19
  * Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
20
20
  * Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
@@ -2,25 +2,25 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GlobalSettingIuguEntity = void 0;
4
4
  var GlobalSettingIuguEntity = /** @class */ (function () {
5
- // #endregion Properties (9)
5
+ // #endregion Properties (10)
6
6
  // #region Constructors (1)
7
7
  function GlobalSettingIuguEntity(data) {
8
- // #region Properties (9)
8
+ // #region Properties (10)
9
9
  /**
10
10
  * Prazo máximo para pagamento do boleto após o vencimento.
11
11
  * O prazo máximo para pagamento deve ser entre "1" e "30"
12
12
  * dias após a data de vencimento.
13
13
  */
14
14
  this.bankSlipExtraDue = 1;
15
+ /**
16
+ * Prazo de dias para o vencimento da fatura.
17
+ */
18
+ this.billingDays = 10;
15
19
  /**
16
20
  * Se true, garante que a data de vencimento seja apenas em dias de semana,
17
21
  * e não em sábados ou domingos.
18
22
  */
19
23
  this.ensureWorkdayDueDate = true;
20
- /**
21
- * Prazo de dias para o vencimento da fatura.
22
- */
23
- this.billingDays = 10;
24
24
  /**
25
25
  * Expira uma fatura e impossibilita o seu pagamento depois 'x' dias após o vencimento.
26
26
  * Valor enviado precisa estar entre 0 e 30. Se for enviado "0", a fatura ficará
@@ -1,21 +1,11 @@
1
1
  import { IGlobalSettingMaster } from '../interfaces/i-global-setting-master';
2
2
  export declare class GlobalSettingMasterEntity implements IGlobalSettingMaster {
3
- /**
4
- * Prazo de dias para o vencimento da fatura.
5
- */
3
+ billingDays: number;
6
4
  deleteInvoicesPlacedDays: number;
7
5
  deleteSubscriptionsPlacedDays: number;
8
- /**
9
- * Dias em que a fatura expira após o vencimento
10
- *
11
- * */
6
+ subscriptionSuspendedTimes: number;
12
7
  subscriptionsCancelDays: number;
13
8
  subscriptionsExpireDays: number;
14
9
  subscriptionsSuspendDays: number;
15
- /**
16
- * Dias em que a fatura é suspensa após o vencimento
17
- */
18
- suspendDays: number;
19
10
  constructor(data?: Partial<GlobalSettingMasterEntity>);
20
- billingDays: number;
21
11
  }
@@ -2,26 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GlobalSettingMasterEntity = void 0;
4
4
  var GlobalSettingMasterEntity = /** @class */ (function () {
5
- // #endregion Properties (6)
5
+ // #endregion Properties (8)
6
6
  // #region Constructors (1)
7
7
  function GlobalSettingMasterEntity(data) {
8
- // #region Properties (6)
9
- /**
10
- * Prazo de dias para o vencimento da fatura.
11
- */
8
+ // #region Properties (8)
9
+ this.billingDays = 10;
12
10
  this.deleteInvoicesPlacedDays = 10;
13
11
  this.deleteSubscriptionsPlacedDays = 10;
14
- /**
15
- * Dias em que a fatura expira após o vencimento
16
- *
17
- * */
12
+ this.subscriptionSuspendedTimes = 3;
18
13
  this.subscriptionsCancelDays = 3;
19
14
  this.subscriptionsExpireDays = 1;
20
15
  this.subscriptionsSuspendDays = 1;
21
- /**
22
- * Dias em que a fatura é suspensa após o vencimento
23
- */
24
- this.suspendDays = 3;
25
16
  if (data) {
26
17
  for (var key in data) {
27
18
  if (data.hasOwnProperty(key) && key in this) {
@@ -2,7 +2,8 @@ export interface IGlobalSettingMaster {
2
2
  billingDays: number;
3
3
  deleteInvoicesPlacedDays: number;
4
4
  deleteSubscriptionsPlacedDays: number;
5
+ subscriptionSuspendedTimes: number;
5
6
  subscriptionsCancelDays: number;
6
- subscriptionsSuspendDays: number;
7
7
  subscriptionsExpireDays: number;
8
+ subscriptionsSuspendDays: number;
8
9
  }
package/dist/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  export * from './app';
2
2
  export * from './campaign';
3
+ export * from './clients';
3
4
  export * from './company';
4
5
  export * from './container';
6
+ export * from './customer';
5
7
  export * from './device';
6
8
  export * from './feature';
7
9
  export * from './general';
package/dist/index.js CHANGED
@@ -16,8 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./app"), exports);
18
18
  __exportStar(require("./campaign"), exports);
19
+ __exportStar(require("./clients"), exports);
19
20
  __exportStar(require("./company"), exports);
20
21
  __exportStar(require("./container"), exports);
22
+ __exportStar(require("./customer"), exports);
21
23
  __exportStar(require("./device"), exports);
22
24
  __exportStar(require("./feature"), exports);
23
25
  __exportStar(require("./general"), exports);
@@ -1,4 +1,4 @@
1
- import { DocTypeEnum } from '../../general';
1
+ import { EDocType } from '../../general';
2
2
  import { InviteStatusEnum } from '../enums';
3
3
  import { IInvite } from '../interfaces';
4
4
  export declare class InviteEntity implements IInvite {
@@ -7,7 +7,7 @@ export declare class InviteEntity implements IInvite {
7
7
  containerId: string;
8
8
  createdAt: Date;
9
9
  doc: string;
10
- docType: DocTypeEnum;
10
+ docType: EDocType;
11
11
  email: string;
12
12
  expireAt: Date;
13
13
  expired: boolean;
@@ -13,7 +13,7 @@ var InviteEntity = /** @class */ (function () {
13
13
  this.containerId = '';
14
14
  this.createdAt = new Date();
15
15
  this.doc = '';
16
- this.docType = general_1.DocTypeEnum.CNPJ;
16
+ this.docType = general_1.EDocType.CNPJ;
17
17
  this.email = '';
18
18
  this.expireAt = new Date(new Date().getTime() + 86400000);
19
19
  this.expired = false;
@@ -1,4 +1,4 @@
1
- import { DocTypeEnum } from '../../general';
1
+ import { EDocType } from '../../general';
2
2
  import { InviteStatusEnum } from '../enums';
3
3
  export interface IInvite {
4
4
  companyId: string;
@@ -6,7 +6,7 @@ export interface IInvite {
6
6
  containerId: string;
7
7
  createdAt: Date;
8
8
  doc: string;
9
- docType: DocTypeEnum;
9
+ docType: EDocType;
10
10
  email: string;
11
11
  expireAt: Date;
12
12
  expired: boolean;
@@ -1,9 +1,9 @@
1
- import { AddressEntity, DocTypeEnum } from '../../general';
1
+ import { AddressEntity, EDocType } from '../../general';
2
2
  import { IInvoicePayer } from '../interfaces/i-invoice-payer';
3
3
  export declare class InvoicePayerEntity implements IInvoicePayer {
4
4
  address: AddressEntity;
5
5
  doc: string;
6
- docType: DocTypeEnum;
6
+ docType: EDocType;
7
7
  email: string;
8
8
  name: string;
9
9
  phoneNumber: string | null;
@@ -9,7 +9,7 @@ var InvoicePayerEntity = /** @class */ (function () {
9
9
  // #region Properties (6)
10
10
  this.address = new general_1.AddressEntity();
11
11
  this.doc = '';
12
- this.docType = general_1.DocTypeEnum.CNPJ;
12
+ this.docType = general_1.EDocType.CNPJ;
13
13
  this.email = '';
14
14
  this.name = '';
15
15
  this.phoneNumber = null;
@@ -1,8 +1,8 @@
1
- import { DocTypeEnum, IAddress } from '../../general';
1
+ import { EDocType, IAddress } from '../../general';
2
2
  export interface IInvoicePayer {
3
3
  address: IAddress;
4
4
  doc: string;
5
- docType: DocTypeEnum;
5
+ docType: EDocType;
6
6
  email: string;
7
7
  name: string;
8
8
  phoneNumber: string | null;
@@ -1,4 +1,4 @@
1
- import { DocTypeEnum, LeadOriginEnum } from '../../general/enums';
1
+ import { EDocType, LeadOriginEnum } from '../../general/enums';
2
2
  import { LeadStatusEnum } from '../enums';
3
3
  import { ILead } from '../interfaces';
4
4
  export declare class LeadEntity implements ILead {
@@ -15,7 +15,7 @@ export declare class LeadEntity implements ILead {
15
15
  /**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
16
16
  doc: string;
17
17
  /**Identificador único do lead. */
18
- docType: DocTypeEnum;
18
+ docType: EDocType;
19
19
  /**Nome completo ou razão social do lead. */
20
20
  email: string;
21
21
  id: string;
@@ -21,7 +21,7 @@ var LeadEntity = /** @class */ (function () {
21
21
  /**Tipo de documento (CPF, CNPJ, Passaporte, etc.). */
22
22
  this.doc = '';
23
23
  /**Identificador único do lead. */
24
- this.docType = enums_1.DocTypeEnum.CNPJ;
24
+ this.docType = enums_1.EDocType.CNPJ;
25
25
  /**Nome completo ou razão social do lead. */
26
26
  this.email = '';
27
27
  this.id = '';
@@ -6,14 +6,14 @@ export declare class NotificationEntity implements INotification {
6
6
  category: NotificationCategoryEnum;
7
7
  createdAt: Date;
8
8
  data: string;
9
- expirationTime: number;
10
- title: string;
11
9
  description: string;
10
+ expirationTime: number;
12
11
  id: string;
13
12
  imageUrl: string;
14
13
  priority: NotificationPriorityEnum;
15
14
  sound: boolean;
16
15
  status: NotificationStatusEnum;
16
+ title: string;
17
17
  topicName: string;
18
18
  constructor(data?: Partial<NotificationEntity>);
19
19
  }
@@ -4,22 +4,22 @@ exports.NotificationEntity = void 0;
4
4
  var enums_1 = require("../enums");
5
5
  var notification_action_entity_1 = require("./notification-action.entity");
6
6
  var NotificationEntity = /** @class */ (function () {
7
- // #endregion Properties (11)
7
+ // #endregion Properties (13)
8
8
  // #region Constructors (1)
9
9
  function NotificationEntity(data) {
10
- // #region Properties (11)
10
+ // #region Properties (13)
11
11
  this.action = new notification_action_entity_1.NotificationActionEntity();
12
12
  this.category = enums_1.NotificationCategoryEnum.ALERT;
13
13
  this.createdAt = new Date();
14
14
  this.data = '';
15
- this.expirationTime = 3600;
16
- this.title = '';
17
15
  this.description = '';
16
+ this.expirationTime = 3600;
18
17
  this.id = '';
19
18
  this.imageUrl = '';
20
19
  this.priority = enums_1.NotificationPriorityEnum.HIGH;
21
20
  this.sound = true;
22
21
  this.status = enums_1.NotificationStatusEnum.DELIVERED;
22
+ this.title = '';
23
23
  this.topicName = '';
24
24
  if (data) {
25
25
  for (var key in data) {
@@ -2,16 +2,16 @@ import { NotificationCategoryEnum, NotificationPriorityEnum, NotificationStatusE
2
2
  import { INotificationAction } from './i-notification-action';
3
3
  export interface INotification {
4
4
  action: INotificationAction;
5
- priority: NotificationPriorityEnum;
6
5
  category: NotificationCategoryEnum;
7
6
  createdAt: Date;
8
- title: string;
7
+ data: string;
9
8
  description: string;
10
9
  expirationTime: number;
11
- status: NotificationStatusEnum;
10
+ id: string;
12
11
  imageUrl: string;
12
+ priority: NotificationPriorityEnum;
13
13
  sound: boolean;
14
- id: string;
15
- data: string;
14
+ status: NotificationStatusEnum;
15
+ title: string;
16
16
  topicName: string;
17
17
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.63",
3
+ "version": "1.1.65",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,11 +1,11 @@
1
1
  import { AddressEntity, PaymentProviderEntity } from '../../general';
2
- import { DocTypeEnum } from '../../general/enums';
2
+ import { EDocType } from '../../general/enums';
3
3
  import { IPartner } from '../interfaces';
4
4
  export declare class PartnerEntity implements IPartner {
5
5
  active: boolean;
6
6
  address: AddressEntity;
7
7
  doc: string;
8
- docType: DocTypeEnum;
8
+ docType: EDocType;
9
9
  email: string;
10
10
  fullName: string;
11
11
  id: string;
@@ -11,7 +11,7 @@ var PartnerEntity = /** @class */ (function () {
11
11
  this.active = true;
12
12
  this.address = new general_1.AddressEntity();
13
13
  this.doc = '';
14
- this.docType = enums_1.DocTypeEnum.CNPJ;
14
+ this.docType = enums_1.EDocType.CNPJ;
15
15
  this.email = '';
16
16
  this.fullName = '';
17
17
  this.id = '';
@@ -1,10 +1,10 @@
1
1
  import { IAddress, IPaymentProvider } from '../../general';
2
- import { DocTypeEnum } from '../../general/enums';
2
+ import { EDocType } from '../../general/enums';
3
3
  export interface IPartner {
4
4
  active: boolean;
5
5
  address: IAddress;
6
6
  doc: string;
7
- docType: DocTypeEnum;
7
+ docType: EDocType;
8
8
  email: string;
9
9
  level: number;
10
10
  fullName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.63",
3
+ "version": "1.1.65",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",