cecon-interfaces 1.7.19 → 1.7.22

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 (27) hide show
  1. package/dist/esm2022/natipay/company/entities/company.entity.mjs +4 -3
  2. package/dist/esm2022/natipay/company/interfaces/i-company.mjs +1 -1
  3. package/dist/esm2022/natipay/desenfila/interfaces/i-desenfila-config-mepa.mjs +2 -0
  4. package/dist/esm2022/natipay/desenfila/interfaces/i-desenfila-config.mjs +2 -0
  5. package/dist/esm2022/natipay/desenfila/interfaces/i-desenfila-fee.mjs +2 -0
  6. package/dist/esm2022/natipay/desenfila/interfaces/i-desenfila-token.mjs +2 -0
  7. package/dist/esm2022/natipay/desenfila/interfaces/i-desenfila.mjs +2 -0
  8. package/dist/esm2022/natipay/desenfila/interfaces/index.mjs +2 -0
  9. package/dist/fesm2022/cecon-interfaces.mjs +2 -1
  10. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  11. package/dist/natipay/company/entities/company.entity.d.ts +4 -2
  12. package/dist/natipay/company/entities/company.entity.js +2 -1
  13. package/dist/natipay/company/interfaces/i-company.d.ts +6 -4
  14. package/dist/natipay/desenfila/interfaces/i-desenfila-config-mepa.d.ts +6 -0
  15. package/dist/natipay/desenfila/interfaces/i-desenfila-config-mepa.js +2 -0
  16. package/dist/natipay/desenfila/interfaces/i-desenfila-config.d.ts +6 -0
  17. package/dist/natipay/desenfila/interfaces/i-desenfila-config.js +2 -0
  18. package/dist/natipay/desenfila/interfaces/i-desenfila-fee.d.ts +5 -0
  19. package/dist/natipay/desenfila/interfaces/i-desenfila-fee.js +2 -0
  20. package/dist/natipay/desenfila/interfaces/i-desenfila-token.d.ts +5 -0
  21. package/dist/natipay/desenfila/interfaces/i-desenfila-token.js +2 -0
  22. package/dist/natipay/desenfila/interfaces/i-desenfila.d.ts +13 -0
  23. package/dist/natipay/desenfila/interfaces/i-desenfila.js +2 -0
  24. package/dist/natipay/desenfila/interfaces/index.d.ts +5 -0
  25. package/dist/natipay/desenfila/interfaces/index.js +2 -0
  26. package/dist/package.json +1 -1
  27. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
- import { EIntDocType, IPaymentProvider } from '../../../general';
1
+ import { EDocType, IPaymentProvider } from '../../../general';
2
2
  import { IPixKeys } from '../../../general/interfaces/i-pix-keys';
3
+ import { IDesenfila } from '../../desenfila/interfaces';
3
4
  import { INatipayCompany } from '../interfaces/i-company';
4
5
  import { NatiapyAddressEntity } from './address.entity';
5
6
  export declare class NatipayCompanyEntity implements INatipayCompany {
@@ -10,8 +11,9 @@ export declare class NatipayCompanyEntity implements INatipayCompany {
10
11
  country: string;
11
12
  createdAt: Date;
12
13
  currency: string;
14
+ desenfila: IDesenfila | null;
13
15
  doc: string;
14
- docType: EIntDocType;
16
+ docType: EDocType;
15
17
  email: string;
16
18
  id: string;
17
19
  imageUrl: string | null;
@@ -12,8 +12,9 @@ var NatipayCompanyEntity = /** @class */ (function () {
12
12
  this.country = 'BR';
13
13
  this.createdAt = new Date();
14
14
  this.currency = 'BRL';
15
+ this.desenfila = null;
15
16
  this.doc = '';
16
- this.docType = general_1.EIntDocType.CNPJ;
17
+ this.docType = general_1.EDocType.CNPJ;
17
18
  this.email = '';
18
19
  this.id = '';
19
20
  this.imageUrl = null;
@@ -1,15 +1,19 @@
1
- import { EIntDocType } from '../../../general';
1
+ import { EDocType } from '../../../general';
2
2
  import { IPaymentProvider } from '../../../general/interfaces/i-payment-provider';
3
3
  import { IPixKeys } from '../../../general/interfaces/i-pix-keys';
4
+ import { IDesenfila } from '../../desenfila/interfaces';
4
5
  import { INatipayAddress } from './i-address';
5
6
  export interface INatipayCompany {
6
7
  active: boolean;
7
8
  address: INatipayAddress;
8
9
  containerId: string;
9
10
  containerName: string;
11
+ country: string;
10
12
  createdAt: Date;
13
+ currency: string;
14
+ desenfila: IDesenfila | null;
11
15
  doc: string;
12
- docType: EIntDocType;
16
+ docType: EDocType;
13
17
  email: string;
14
18
  id: string;
15
19
  imageUrl: string | null;
@@ -22,8 +26,6 @@ export interface INatipayCompany {
22
26
  sandbox: boolean;
23
27
  shortName: string;
24
28
  tags: string[];
25
- currency: string;
26
- country: string;
27
29
  updatedAt: Date;
28
30
  version: string;
29
31
  }
@@ -0,0 +1,6 @@
1
+ export interface IDesenfilaConfigMercadoPago {
2
+ automationFee: number;
3
+ active: boolean;
4
+ fee: number;
5
+ mobyoFee: number;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { IDesenfilaConfigMercadoPago } from './i-desenfila-config-mepa';
2
+ export interface IDesenfilaConfig {
3
+ id: string;
4
+ active: boolean;
5
+ mercadoPago: IDesenfilaConfigMercadoPago;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { EFrom } from '../../../general';
2
+ export interface IDesenfilaFee {
3
+ type: EFrom;
4
+ value: number;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface IDesenfilaToken {
2
+ id: string;
3
+ prefix: string | null;
4
+ masterConfig: boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import { IDesenfilaConfig } from './i-desenfila-config';
2
+ import { IDesenfilaFee } from './i-desenfila-fee';
3
+ import { IDesenfilaToken } from './i-desenfila-token';
4
+ export interface IDesenfila {
5
+ containerId: string;
6
+ merchantId: string;
7
+ token: IDesenfilaToken | null;
8
+ balance: number;
9
+ blockedBalance: number;
10
+ goLive: boolean;
11
+ fees: IDesenfilaFee[];
12
+ config: IDesenfilaConfig | null;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export { IDesenfila } from './i-desenfila';
2
+ export { IDesenfilaConfig } from './i-desenfila-config';
3
+ export { IDesenfilaConfigMercadoPago } from './i-desenfila-config-mepa';
4
+ export { IDesenfilaFee } from './i-desenfila-fee';
5
+ export { IDesenfilaToken } from './i-desenfila-token';
@@ -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.7.19",
3
+ "version": "1.7.22",
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.7.19",
3
+ "version": "1.7.22",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",