7vsdk-pessoas 1.0.14 → 1.0.16

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.
package/package.json CHANGED
@@ -1,19 +1,17 @@
1
1
  {
2
2
  "name": "7vsdk-pessoas",
3
- "version": "1.0.14",
4
- "description": "SDK de clientes para a API de Pessoas da 7Virtual.",
5
- "compilerOptions": {
6
- "target": "es6",
7
- "module": "commonjs",
8
- "outDir": "out",
9
- "rootDir": "src",
10
- "strict": true,
11
- "esModuleInterop": true
3
+ "version": "1.0.16",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "build": "tsc",
8
+ "start": "node dist/index.js",
9
+ "watch": "tsc --watch"
10
+ },
11
+ "devDependencies": {
12
+ "typescript": "^5.0.0"
12
13
  },
13
- "include": [
14
- "src/**/*"
15
- ],
16
14
  "dependencies": {
17
- "7vdomain": "^1.1.14"
15
+ "7vdomain": "^1.0.18"
18
16
  }
19
17
  }
@@ -1,6 +1,7 @@
1
+ // src/clients/pessoas/index.ts
1
2
  export * from "./PessoaClient";
2
- export * from "./PessoaCnpjClient";
3
3
  export * from "./PessoaCpfClient";
4
+ export * from "./PessoaCnpjClient";
4
5
  export * from "./PessoaEmailClient";
5
6
  export * from "./PessoaEnderecoClient";
6
7
  export * from "./PessoaNascimentoClient";
@@ -9,4 +10,5 @@ export * from "./PessoaProcedimentoClient";
9
10
  export * from "./PessoaRelacaoClient";
10
11
  export * from "./PessoaRelacaoGrupoClient";
11
12
  export * from "./PessoaRelacaoTipoClient";
12
- export * from "./PessoaTipoClient";
13
+ export * from "./PessoaTelefoneClient";
14
+ export * from "./PessoaTipoClient";
package/src/index.ts CHANGED
@@ -1 +1,4 @@
1
- export * from "./clients"
1
+ export * from "./clients/pessoas"; // exporta todos os clients de pessoas
2
+ export * from "./clients/enderecos"; // exporta todos os clients de endereços
3
+ export * from "./clients/base"; // exporta classes base, se necessário
4
+ export * from "./clients/portalContador";
package/tsconfig.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "module": "CommonJS",
4
- "target": "ES2020",
5
- "baseUrl": "src",
6
- "rootDir": "src",
7
- "outDir": "dist",
3
+ "target": "ES2017",
4
+ "module": "NodeNext", // corrigido de ESNext
5
+ "moduleResolution": "NodeNext",
8
6
  "declaration": true,
7
+ "outDir": "dist",
8
+ "strict": true,
9
9
  "esModuleInterop": true,
10
- "moduleResolution": "Node"
10
+ "lib": ["ES2017", "DOM"]
11
11
  },
12
- "include": ["src"]
12
+ "include": ["src/**/*"]
13
13
  }