cecon-interfaces 1.1.64 → 1.1.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) 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/index.mjs +3 -1
  60. package/dist/esm2022/invite/entities/invite.entity.mjs +3 -3
  61. package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
  62. package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +3 -3
  63. package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +1 -1
  64. package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
  65. package/dist/esm2022/partner/entities/partner.entity.mjs +3 -3
  66. package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
  67. package/dist/fesm2022/cecon-interfaces.mjs +119 -11
  68. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  69. package/dist/general/enums/doc-type.enum.d.ts +1 -1
  70. package/dist/general/enums/doc-type.enum.js +6 -6
  71. package/dist/general/enums/index.d.ts +1 -1
  72. package/dist/general/enums/index.js +2 -2
  73. package/dist/index.d.ts +2 -0
  74. package/dist/index.js +2 -0
  75. package/dist/invite/entities/invite.entity.d.ts +2 -2
  76. package/dist/invite/entities/invite.entity.js +1 -1
  77. package/dist/invite/interfaces/i-invite.d.ts +2 -2
  78. package/dist/invoice/entities/invoice-payer.entity.d.ts +2 -2
  79. package/dist/invoice/entities/invoice-payer.entity.js +1 -1
  80. package/dist/invoice/interfaces/i-invoice-payer.d.ts +2 -2
  81. package/dist/lead/entities/lead.entity.d.ts +2 -2
  82. package/dist/lead/entities/lead.entity.js +1 -1
  83. package/dist/package.json +1 -1
  84. package/dist/partner/entities/partner.entity.d.ts +2 -2
  85. package/dist/partner/entities/partner.entity.js +1 -1
  86. package/dist/partner/interfaces/i-partner.d.ts +2 -2
  87. 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");
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 = '';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.64",
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.64",
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",