7vdomain 1.5.2 → 1.5.3
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/PortalDoContador/ImpostoProdutoBase.d.ts +12 -0
- package/dist/PortalDoContador/ImpostoProdutoBase.js +19 -0
- package/dist/PortalDoContador/Request/ImpostoEstadualProdutoRequest.d.ts +8 -0
- package/dist/PortalDoContador/Request/ImpostoEstadualProdutoRequest.js +15 -0
- package/dist/PortalDoContador/Request/ImpostoFederalProdutoRequest.d.ts +12 -0
- package/dist/PortalDoContador/Request/ImpostoFederalProdutoRequest.js +2 -0
- package/dist/PortalDoContador/Request/IncluirEmpresaRootRequest.d.ts +14 -0
- package/dist/PortalDoContador/Request/IncluirEmpresaRootRequest.js +2 -0
- package/dist/PortalDoContador/Request/index.d.ts +3 -0
- package/dist/PortalDoContador/Request/index.js +19 -0
- package/dist/PortalDoContador/Response/EmpresaRootResponse.d.ts +20 -0
- package/dist/PortalDoContador/Response/EmpresaRootResponse.js +2 -0
- package/dist/PortalDoContador/Response/ImpostoEstadualProdutoResponse.d.ts +8 -0
- package/dist/PortalDoContador/Response/ImpostoEstadualProdutoResponse.js +15 -0
- package/dist/PortalDoContador/Response/ImpostoFederalProdutoResponse.d.ts +13 -0
- package/dist/PortalDoContador/Response/ImpostoFederalProdutoResponse.js +23 -0
- package/dist/PortalDoContador/Response/index.d.ts +3 -0
- package/dist/PortalDoContador/Response/index.js +19 -0
- package/dist/PortalDoContador/index.d.ts +3 -0
- package/dist/PortalDoContador/index.js +19 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class ImpostoProdutoBase {
|
|
2
|
+
pessoaGuid: string;
|
|
3
|
+
produtoGuid: string;
|
|
4
|
+
codigoDeBarras: string;
|
|
5
|
+
nomeProduto: string;
|
|
6
|
+
ncmId: number;
|
|
7
|
+
ncmCodigo: string;
|
|
8
|
+
cfop: string;
|
|
9
|
+
consumidorFinal: boolean;
|
|
10
|
+
ufDestino: number;
|
|
11
|
+
regimeTributarioPessoaRegistradora: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImpostoProdutoBase = void 0;
|
|
4
|
+
class ImpostoProdutoBase {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.pessoaGuid = '';
|
|
7
|
+
this.produtoGuid = '';
|
|
8
|
+
this.codigoDeBarras = '';
|
|
9
|
+
this.nomeProduto = '';
|
|
10
|
+
this.ncmId = 0;
|
|
11
|
+
this.ncmCodigo = '';
|
|
12
|
+
this.cfop = '';
|
|
13
|
+
this.consumidorFinal = false;
|
|
14
|
+
this.ufDestino = 0;
|
|
15
|
+
this.regimeTributarioPessoaRegistradora = 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.ImpostoProdutoBase = ImpostoProdutoBase;
|
|
19
|
+
// Estadual herda a base
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImpostoProdutoEstadualRequest = void 0;
|
|
4
|
+
const ImpostoProdutoBase_1 = require("../ImpostoProdutoBase");
|
|
5
|
+
class ImpostoProdutoEstadualRequest extends ImpostoProdutoBase_1.ImpostoProdutoBase {
|
|
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;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ImpostoProdutoBase } from "../ImpostoProdutoBase";
|
|
2
|
+
export interface ImpostoProdutoFederalArquivoRequest extends ImpostoProdutoBase {
|
|
3
|
+
cstPis: string;
|
|
4
|
+
aliqPis: number;
|
|
5
|
+
codNatReceitaPis: string;
|
|
6
|
+
codNatReceitaCofins: string;
|
|
7
|
+
codigoEnquadramento: string;
|
|
8
|
+
cstIpi: string;
|
|
9
|
+
aliqIpi: number;
|
|
10
|
+
cstCofins: string;
|
|
11
|
+
aliqCofins: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RegimeEnum } from "../../Enums/RegimeEnum";
|
|
2
|
+
import { SistemasEnum } from "../../Enums/SistemasEnum";
|
|
3
|
+
export interface IncluirEmpresaRootRequest {
|
|
4
|
+
pessoaRegistradoraId: string;
|
|
5
|
+
sistema: SistemasEnum;
|
|
6
|
+
numeroCnpj: string;
|
|
7
|
+
ie: string;
|
|
8
|
+
razaoSocial: string;
|
|
9
|
+
nomeFantasia: string;
|
|
10
|
+
lucroReal: boolean;
|
|
11
|
+
industria: boolean;
|
|
12
|
+
grupo: string;
|
|
13
|
+
regimeTributario: RegimeEnum;
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./IncluirEmpresaRootRequest"), exports);
|
|
18
|
+
__exportStar(require("./ImpostoEstadualProdutoRequest"), exports);
|
|
19
|
+
__exportStar(require("./ImpostoFederalProdutoRequest"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EnderecoCidadeResponse, PessoaTelefoneResponse } from "../../Response";
|
|
2
|
+
import { RegimeEnum } from "../../Enums/RegimeEnum";
|
|
3
|
+
import { SistemasEnum } from "../../Enums/SistemasEnum";
|
|
4
|
+
export interface EmpresaRootResponse {
|
|
5
|
+
pessoaEmpresaGuid: string;
|
|
6
|
+
empresaCnpjId: number;
|
|
7
|
+
pessoaCnpjId: number;
|
|
8
|
+
pessoaRegistradoraId: string;
|
|
9
|
+
sistema: SistemasEnum;
|
|
10
|
+
numeroCnpj: string;
|
|
11
|
+
ie: string;
|
|
12
|
+
razaoSocial: string;
|
|
13
|
+
cidades: EnderecoCidadeResponse[];
|
|
14
|
+
telefones: PessoaTelefoneResponse[];
|
|
15
|
+
nomeFantasia: string;
|
|
16
|
+
lucroReal: boolean;
|
|
17
|
+
industria: boolean;
|
|
18
|
+
grupo: string;
|
|
19
|
+
regimeTributario: RegimeEnum;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImpostoEstadualProdutoResponse = void 0;
|
|
4
|
+
const ImpostoProdutoBase_1 = require("../ImpostoProdutoBase");
|
|
5
|
+
class ImpostoEstadualProdutoResponse extends ImpostoProdutoBase_1.ImpostoProdutoBase {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.cest = '';
|
|
9
|
+
this.cstIcms = 0; // ou enum
|
|
10
|
+
this.aliqIcms = 0;
|
|
11
|
+
this.percMva = 0;
|
|
12
|
+
this.percRedBci = 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.ImpostoEstadualProdutoResponse = ImpostoEstadualProdutoResponse;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ImpostoProdutoBase } from "../ImpostoProdutoBase";
|
|
2
|
+
export declare class ImpostoFederalProdutoResponse extends ImpostoProdutoBase {
|
|
3
|
+
cstPis: number;
|
|
4
|
+
aliqPis: number;
|
|
5
|
+
cst: number;
|
|
6
|
+
cstIpi: number;
|
|
7
|
+
aliqIpi: number;
|
|
8
|
+
codigoEnquadramentoIpi: string;
|
|
9
|
+
codNatReceitaPis: string;
|
|
10
|
+
aliqCofins: number;
|
|
11
|
+
cstCofins: number;
|
|
12
|
+
codNatReceitaCofins: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImpostoFederalProdutoResponse = void 0;
|
|
4
|
+
const ImpostoProdutoBase_1 = require("../ImpostoProdutoBase");
|
|
5
|
+
class ImpostoFederalProdutoResponse extends ImpostoProdutoBase_1.ImpostoProdutoBase {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
// PIS
|
|
9
|
+
this.cstPis = 0;
|
|
10
|
+
this.aliqPis = 0;
|
|
11
|
+
this.cst = 0;
|
|
12
|
+
// IPI
|
|
13
|
+
this.cstIpi = 0;
|
|
14
|
+
this.aliqIpi = 0;
|
|
15
|
+
this.codigoEnquadramentoIpi = '';
|
|
16
|
+
this.codNatReceitaPis = '';
|
|
17
|
+
// COFINS
|
|
18
|
+
this.aliqCofins = 0;
|
|
19
|
+
this.cstCofins = 0;
|
|
20
|
+
this.codNatReceitaCofins = '';
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.ImpostoFederalProdutoResponse = ImpostoFederalProdutoResponse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./EmpresaRootResponse"), exports);
|
|
18
|
+
__exportStar(require("./ImpostoEstadualProdutoResponse"), exports);
|
|
19
|
+
__exportStar(require("./ImpostoFederalProdutoResponse"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ImpostoProdutoBase"), exports);
|
|
18
|
+
__exportStar(require("./Request"), exports);
|
|
19
|
+
__exportStar(require("./Response"), exports);
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@ __exportStar(require("./Enums"), exports);
|
|
|
20
20
|
/* exports dos request e response */
|
|
21
21
|
__exportStar(require("./Request"), exports);
|
|
22
22
|
__exportStar(require("./Response"), exports);
|
|
23
|
-
__exportStar(require("./
|
|
23
|
+
__exportStar(require("./PortalDoContador"), exports);
|