7vdomain 1.5.0 → 1.5.2
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/dist/PortalContador/Request/ImpostoEstadualProdutoRequest.d.ts +2 -11
- package/dist/PortalContador/Request/ImpostoEstadualProdutoRequest.js +13 -0
- package/dist/PortalContador/Request/ImpostoFederalProdutoRequest.d.ts +0 -9
- package/dist/PortalContador/Request/ImpostoProdutoBaseRequest.d.ts +2 -2
- package/dist/PortalContador/Request/ImpostoProdutoBaseRequest.js +15 -0
- package/dist/PortalContador/Response/ImpostoEstadualProdutoResponse.d.ts +8 -10
- package/dist/PortalContador/Response/ImpostoEstadualProdutoResponse.js +21 -0
- package/dist/PortalContador/Response/ImpostoFederalProdutoResponse.d.ts +16 -19
- package/dist/PortalContador/Response/ImpostoFederalProdutoResponse.js +29 -0
- package/package.json +1 -1
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import { ImpostoProdutoBaseRequest } from "./ImpostoProdutoBaseRequest";
|
|
2
|
-
export
|
|
3
|
-
codigoDeBarras: string;
|
|
4
|
-
produtoNome: string;
|
|
5
|
-
produtoUnMedidaPadrao: string;
|
|
6
|
-
produtoOrigemMercadoria: number;
|
|
7
|
-
ncm: string;
|
|
8
|
-
ncmDescricao: string;
|
|
2
|
+
export declare class ImpostoProdutoEstadualRequest extends ImpostoProdutoBaseRequest {
|
|
9
3
|
cest: string;
|
|
10
|
-
|
|
11
|
-
cstIcms: number | string;
|
|
4
|
+
cstIcms: number;
|
|
12
5
|
aliqIcms: number;
|
|
13
6
|
percMva: number;
|
|
14
7
|
percRedBci: number;
|
|
15
|
-
consumidorFinal: boolean;
|
|
16
|
-
ufDestino: number;
|
|
17
8
|
}
|
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImpostoProdutoEstadualRequest = void 0;
|
|
4
|
+
const ImpostoProdutoBaseRequest_1 = require("./ImpostoProdutoBaseRequest");
|
|
5
|
+
class ImpostoProdutoEstadualRequest extends ImpostoProdutoBaseRequest_1.ImpostoProdutoBaseRequest {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.cest = '';
|
|
9
|
+
this.cstIcms = 0; // pode usar enum ou number
|
|
10
|
+
this.aliqIcms = 0;
|
|
11
|
+
this.percMva = 0;
|
|
12
|
+
this.percRedBci = 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.ImpostoProdutoEstadualRequest = ImpostoProdutoEstadualRequest;
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
import { ImpostoProdutoBaseRequest } from "./ImpostoProdutoBaseRequest";
|
|
2
2
|
export interface ImpostoProdutoFederalArquivoRequest extends ImpostoProdutoBaseRequest {
|
|
3
|
-
codigoDeBarras: string;
|
|
4
|
-
produtoNome: string;
|
|
5
|
-
produtoUnMedidaPadrao: string;
|
|
6
|
-
produtoOrigemMercadoria: number;
|
|
7
|
-
ncm: string;
|
|
8
|
-
ncmDescricao: string;
|
|
9
3
|
cstPis: string;
|
|
10
4
|
aliqPis: number;
|
|
11
5
|
codNatReceitaPis: string;
|
|
12
|
-
cfop: string;
|
|
13
6
|
codNatReceitaCofins: string;
|
|
14
7
|
codigoEnquadramento: string;
|
|
15
8
|
cstIpi: string;
|
|
16
9
|
aliqIpi: number;
|
|
17
10
|
cstCofins: string;
|
|
18
11
|
aliqCofins: number;
|
|
19
|
-
ufDestino: number;
|
|
20
|
-
consumidorFinal: boolean;
|
|
21
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare class ImpostoProdutoBaseRequest {
|
|
2
2
|
codigoDeBarras: string;
|
|
3
3
|
produtoNome: string;
|
|
4
4
|
produtoUnMedidaPadrao: string;
|
|
@@ -6,6 +6,6 @@ export interface ImpostoProdutoBaseRequest {
|
|
|
6
6
|
ncm: string;
|
|
7
7
|
ncmDescricao: string;
|
|
8
8
|
cfop: string;
|
|
9
|
-
consumidorFinal: boolean;
|
|
10
9
|
ufDestino: number;
|
|
10
|
+
consumidorFinal: boolean;
|
|
11
11
|
}
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImpostoProdutoBaseRequest = void 0;
|
|
4
|
+
class ImpostoProdutoBaseRequest {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.codigoDeBarras = '';
|
|
7
|
+
this.produtoNome = '';
|
|
8
|
+
this.produtoUnMedidaPadrao = '';
|
|
9
|
+
this.produtoOrigemMercadoria = 0;
|
|
10
|
+
this.ncm = '';
|
|
11
|
+
this.ncmDescricao = '';
|
|
12
|
+
this.cfop = '';
|
|
13
|
+
this.ufDestino = 0;
|
|
14
|
+
this.consumidorFinal = false;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ImpostoProdutoBaseRequest = ImpostoProdutoBaseRequest;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
export
|
|
2
|
-
pessoaGuid: string;
|
|
1
|
+
export declare class ImpostoEstadualProdutoResponse {
|
|
3
2
|
pessoaEmpresaGuid: string;
|
|
4
3
|
produtoGuid: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
produtoUnMedidaPadrao: string;
|
|
8
|
-
produtoOrigemMercadoria: number;
|
|
9
|
-
ncm: string;
|
|
10
|
-
ncmDescricao: string;
|
|
11
|
-
cest: string;
|
|
4
|
+
codBarras: string;
|
|
5
|
+
nomeProduto: string;
|
|
12
6
|
cfop: string;
|
|
13
|
-
|
|
7
|
+
ncmId: number;
|
|
8
|
+
cest: string;
|
|
9
|
+
ncmCodigo: string;
|
|
10
|
+
cstIcms: number;
|
|
14
11
|
aliqIcms: number;
|
|
15
12
|
percMva: number;
|
|
16
13
|
percRedBci: number;
|
|
17
14
|
consumidorFinal: boolean;
|
|
18
15
|
ufDestino: number;
|
|
16
|
+
regimeTributarioPessoaRegistradora: number;
|
|
19
17
|
}
|
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImpostoEstadualProdutoResponse = void 0;
|
|
4
|
+
class ImpostoEstadualProdutoResponse {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.pessoaEmpresaGuid = ''; // Guid em TS normalmente string
|
|
7
|
+
this.produtoGuid = '';
|
|
8
|
+
this.codBarras = '';
|
|
9
|
+
this.nomeProduto = '';
|
|
10
|
+
this.cfop = '';
|
|
11
|
+
this.ncmId = 0;
|
|
12
|
+
this.cest = '';
|
|
13
|
+
this.ncmCodigo = '';
|
|
14
|
+
this.cstIcms = 0; // pode ser enum ou number
|
|
15
|
+
this.aliqIcms = 0;
|
|
16
|
+
this.percMva = 0;
|
|
17
|
+
this.percRedBci = 0;
|
|
18
|
+
this.consumidorFinal = false;
|
|
19
|
+
this.ufDestino = 0;
|
|
20
|
+
this.regimeTributarioPessoaRegistradora = 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.ImpostoEstadualProdutoResponse = ImpostoEstadualProdutoResponse;
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
pessoaGuid: string;
|
|
4
|
-
pessoaEmpresaGuid: string;
|
|
1
|
+
export declare class ImpostoFederalProdutoResponse {
|
|
2
|
+
pessoaRegistradoraGuid: string;
|
|
5
3
|
produtoGuid: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ncmDescricao: string;
|
|
12
|
-
cstPis: string;
|
|
4
|
+
codBarras: string;
|
|
5
|
+
nomeProduto: string;
|
|
6
|
+
ncmId: number;
|
|
7
|
+
ncmCodigo: string;
|
|
8
|
+
cstPis: number;
|
|
13
9
|
aliqPis: number;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
codNatReceitaCofins: string;
|
|
17
|
-
codigoEnquadramentoIpi: string;
|
|
18
|
-
cstIpi: string;
|
|
10
|
+
cst: number;
|
|
11
|
+
cstIpi: number;
|
|
19
12
|
aliqIpi: number;
|
|
20
|
-
|
|
13
|
+
codigoEnquadramentoIpi: string;
|
|
14
|
+
cfop: string;
|
|
15
|
+
codNatReceitaPis: string;
|
|
21
16
|
aliqCofins: number;
|
|
22
|
-
|
|
17
|
+
cstCofins: number;
|
|
18
|
+
codNatReceitaCofins: string;
|
|
23
19
|
consumidorFinal: boolean;
|
|
24
|
-
|
|
20
|
+
ufDestino: number;
|
|
21
|
+
regimeTributarioPessoaRegistradora: number;
|
|
25
22
|
}
|
|
@@ -1,2 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImpostoFederalProdutoResponse = void 0;
|
|
4
|
+
class ImpostoFederalProdutoResponse {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.pessoaRegistradoraGuid = ''; // Guid → string
|
|
7
|
+
this.produtoGuid = '';
|
|
8
|
+
this.codBarras = '';
|
|
9
|
+
this.nomeProduto = '';
|
|
10
|
+
this.ncmId = 0;
|
|
11
|
+
this.ncmCodigo = '';
|
|
12
|
+
// PIS
|
|
13
|
+
this.cstPis = 0; // pode ser enum ou number
|
|
14
|
+
this.aliqPis = 0;
|
|
15
|
+
this.cst = 0;
|
|
16
|
+
// IPI
|
|
17
|
+
this.cstIpi = 0;
|
|
18
|
+
this.aliqIpi = 0;
|
|
19
|
+
this.codigoEnquadramentoIpi = '';
|
|
20
|
+
this.cfop = '';
|
|
21
|
+
this.codNatReceitaPis = '';
|
|
22
|
+
// COFINS
|
|
23
|
+
this.aliqCofins = 0;
|
|
24
|
+
this.cstCofins = 0;
|
|
25
|
+
this.codNatReceitaCofins = '';
|
|
26
|
+
this.consumidorFinal = false;
|
|
27
|
+
this.ufDestino = 0;
|
|
28
|
+
this.regimeTributarioPessoaRegistradora = 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.ImpostoFederalProdutoResponse = ImpostoFederalProdutoResponse;
|