nfets 0.0.16 → 0.0.18
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/chunk-5KI5OGAA.mjs +7 -0
- package/dist/chunk-I4KZJHBR.mjs +0 -0
- package/dist/chunk-PEB34YMB.mjs +259 -0
- package/dist/core/index.cjs +58 -58
- package/dist/core/index.d.cts +18 -355
- package/dist/core/index.d.ts +18 -355
- package/dist/core/index.mjs +1 -1
- package/dist/index.cjs +78 -78
- package/dist/index.d.cts +2 -64
- package/dist/index.d.ts +2 -64
- package/dist/index.mjs +1 -1
- package/dist/nfe/index.cjs +248 -11
- package/dist/nfe/index.d.cts +147 -201
- package/dist/nfe/index.d.ts +147 -201
- package/dist/nfe/index.mjs +1 -1
- package/dist/types-BVhE6D84.d.cts +405 -0
- package/dist/types-BVhE6D84.d.ts +405 -0
- package/package.json +4 -8
- package/dist/chunk-3WPW27WV.mjs +0 -24
- package/dist/chunk-H4DRLHOC.mjs +0 -238
- package/dist/chunk-MOAUKJKC.mjs +0 -7
- package/dist/either-CdHd_Yt7.d.cts +0 -20
- package/dist/either-CdHd_Yt7.d.ts +0 -20
package/dist/nfe/index.d.ts
CHANGED
|
@@ -1,65 +1,5 @@
|
|
|
1
|
-
import { StateCode, EnvironmentCode, DecimalValue, Signature, StateAcronym, TransmitterOptions, Transmitter, Client, RequestConfig, SignedEntity, NFeTsError, ReadCertificateResponse, RemoteTransmissionRepository, Namespaced, ReadCertificateRequest, HttpClient, XmlToolkit, CacheAdapter, CertificateRepository } from '
|
|
2
|
-
import
|
|
3
|
-
import { StateCode as StateCode$1, EnvironmentCode as EnvironmentCode$1, StateCodes, StateAcronym as StateAcronym$1, Either as Either$1, CertificateRepository as CertificateRepository$1, SignedEntity as SignedEntity$1, Signature as Signature$1 } from '@nfets/core';
|
|
4
|
-
import { Either as Either$2, DeepPartial } from '@nfets/core/shared';
|
|
5
|
-
import { Ide as Ide$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/ide';
|
|
6
|
-
import { InfNFeAttributes as InfNFeAttributes$1, InfNFe as InfNFe$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe';
|
|
7
|
-
import { Emit as Emit$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/emit';
|
|
8
|
-
import { Dest as Dest$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/dest';
|
|
9
|
-
import { Pag as Pag$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/pag';
|
|
10
|
-
import { Det as Det$1, DetAttributes as DetAttributes$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det';
|
|
11
|
-
import { Imposto as Imposto$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/imposto';
|
|
12
|
-
import { COFINS as COFINS$1, COFINSST as COFINSST$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/imposto/cofins';
|
|
13
|
-
import { ICMS as ICMS$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/imposto/icms';
|
|
14
|
-
import { ICMSUFDest as ICMSUFDest$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/imposto/icmsufdest';
|
|
15
|
-
import { II as II$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/imposto/ii';
|
|
16
|
-
import { IPI as IPI$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/imposto/ipi';
|
|
17
|
-
import { ISSQN as ISSQN$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/imposto/issqn';
|
|
18
|
-
import { PIS as PIS$1, PISST as PISST$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/imposto/pis';
|
|
19
|
-
import { Prod as Prod$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/det/prod';
|
|
20
|
-
import { Total as Total$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/total';
|
|
21
|
-
import { Transp as Transp$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/transp';
|
|
22
|
-
import { Cobr as Cobr$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/cobr';
|
|
23
|
-
import { InfIntermed as InfIntermed$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/infintermed';
|
|
24
|
-
import { Exporta as Exporta$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/exporta';
|
|
25
|
-
import { Compra as Compra$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/compra';
|
|
26
|
-
import { Cana as Cana$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/cana';
|
|
27
|
-
import { InfRespTec as InfRespTec$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/infresptec';
|
|
28
|
-
import { InfSolicNFF as InfSolicNFF$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/inf-solic-nff';
|
|
29
|
-
import { InfAdic as InfAdic$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/infadic';
|
|
30
|
-
import { Avulsa as Avulsa$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/avulsa';
|
|
31
|
-
import { Local as Local$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/local';
|
|
32
|
-
import { AutXML as AutXML$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe/autxml';
|
|
33
|
-
import { AccessKey as AccessKey$1, VerifiedAccessKey as VerifiedAccessKey$1 } from '@nfets/nfe/domain/entities/access-keys/access-key';
|
|
34
|
-
import { INfeXmlBuilder as INfeXmlBuilder$1, InfNFeBuilder as InfNFeBuilder$1, IdeBuilder as IdeBuilder$1, TotalBuilder as TotalBuilder$1, TranspBuilder as TranspBuilder$1 } from '@nfets/nfe/domain/entities/xml-builder/nfe-xml-builder';
|
|
35
|
-
import * as _nfets_nfe_domain_entities_services_autorizacao from '@nfets/nfe/domain/entities/services/autorizacao';
|
|
36
|
-
import { AutorizacaoPayload as AutorizacaoPayload$1, AutorizacaoResponse as AutorizacaoResponse$1 } from '@nfets/nfe/domain/entities/services/autorizacao';
|
|
37
|
-
import { L as Left, R as Right, E as Either$3, N as NFeTsError$1 } from '../either-CdHd_Yt7.js';
|
|
38
|
-
import { NfeTransmitter as NfeTransmitter$1, NfeRemoteClient as NfeRemoteClient$1, NfeTransmitterOptions as NfeTransmitterOptions$1, ContingencyOptions as ContingencyOptions$1 } from '@nfets/nfe/domain/entities/transmission/nfe-remote-client';
|
|
39
|
-
import { NFe as NFe$3 } from '@nfets/nfe/infrastructure/dto/nfe/nfe';
|
|
40
|
-
import { EntitySigner } from '@nfets/core/application';
|
|
41
|
-
import * as _nfets_nfe_domain_entities_services_consulta_cadastro from '@nfets/nfe/domain/entities/services/consulta-cadastro';
|
|
42
|
-
import { ConsultaCadastroPayload as ConsultaCadastroPayload$1 } from '@nfets/nfe/domain/entities/services/consulta-cadastro';
|
|
43
|
-
import * as _nfets_nfe_domain_entities_services_evento from '@nfets/nfe/domain/entities/services/evento';
|
|
44
|
-
import { EventoRequest as EventoRequest$1 } from '@nfets/nfe/domain/entities/services/evento';
|
|
45
|
-
import * as _nfets_nfe_domain_entities_services_ret_autorizacao from '@nfets/nfe/domain/entities/services/ret-autorizacao';
|
|
46
|
-
import { RetAutorizacaoPayload as RetAutorizacaoPayload$1 } from '@nfets/nfe/domain/entities/services/ret-autorizacao';
|
|
47
|
-
import * as _nfets_nfe_domain_entities_services_consulta_protocolo from '@nfets/nfe/domain/entities/services/consulta-protocolo';
|
|
48
|
-
import { ConsultaProtocoloPayload as ConsultaProtocoloPayload$1 } from '@nfets/nfe/domain/entities/services/consulta-protocolo';
|
|
49
|
-
import * as _nfets_nfe_domain_entities_services_inutilizacao from '@nfets/nfe/domain/entities/services/inutilizacao';
|
|
50
|
-
import { InutilizacaoPayload as InutilizacaoPayload$1 } from '@nfets/nfe/domain/entities/services/inutilizacao';
|
|
51
|
-
import * as _nfets_nfe_domain_entities_services_consult_status from '@nfets/nfe/domain/entities/services/consult-status';
|
|
52
|
-
import { ConsultStatusPayload as ConsultStatusPayload$1 } from '@nfets/nfe/domain/entities/services/consult-status';
|
|
53
|
-
import { ServiceOptions as ServiceOptions$1, Webservice } from '@nfets/nfe/domain/entities/transmission/services';
|
|
54
|
-
import { NFe as NFe$2, NFeAttributes as NFeAttributes$1 } from '@nfets/nfe/domain/entities/nfe/nfe';
|
|
55
|
-
import { NfceQrcodeOptions as NfceQrcodeOptions$1, NfceQrcodeOptionsBase as NfceQrcodeOptionsBase$1, NfceTransmitter as NfceTransmitter$1, NfceRemoteClient as NfceRemoteClient$1, NfceTransmitterOptions as NfceTransmitterOptions$1 } from '@nfets/nfe/domain/entities/transmission/nfce-remote-client';
|
|
56
|
-
import { NFCe as NFCe$3 } from '@nfets/nfe/infrastructure/dto/nfe/nfce';
|
|
57
|
-
import { InfNFeSupl as InfNFeSupl$1 } from '@nfets/nfe/domain/entities/nfe/inf-nfe-supl';
|
|
58
|
-
import { NFCe as NFCe$2 } from '@nfets/nfe/domain/entities/nfe/nfce';
|
|
59
|
-
import * as _nfets_nfe_domain_entities_xml_builder_nfe_det_xml_builder from '@nfets/nfe/domain/entities/xml-builder/nfe-det-xml-builder';
|
|
60
|
-
import { ProdBuilder as ProdBuilder$1, AssembleDetXmlBuilder as AssembleDetXmlBuilder$1, INfeDetXmlBuilder as INfeDetXmlBuilder$1, DetBuilder as DetBuilder$2 } from '@nfets/nfe/domain/entities/xml-builder/nfe-det-xml-builder';
|
|
61
|
-
import { DetBuilderAggregator as DetBuilderAggregator$1 } from '@nfets/nfe/application/aggregator/det-builder-aggregator';
|
|
62
|
-
import { TotalBuilderAggregator as TotalBuilderAggregator$1 } from '@nfets/nfe/application/aggregator/total-builder-aggregator';
|
|
1
|
+
import { h as StateCode, j as EnvironmentCode, D as DecimalValue, l as Signature, i as StateAcronym, f as StateCodes, p as TransmitterOptions, q as Transmitter, m as Client, G as RequestConfig, O as SignedEntity, V as Either, x as NFeTsError, a as ReadCertificateResponse, $ as DeepPartial, L as RemoteTransmissionRepository, W as Left, Y as Right, N as Namespaced, R as ReadCertificateRequest, J as HttpClient, w as XmlToolkit, y as CacheAdapter, z as CertificateRepository, U as EntitySigner } from '../types-BVhE6D84.js';
|
|
2
|
+
import 'node:crypto';
|
|
63
3
|
|
|
64
4
|
interface AccessKey {
|
|
65
5
|
cUF: string | number;
|
|
@@ -1411,15 +1351,21 @@ declare const schemas: {
|
|
|
1411
1351
|
declare const directory: string;
|
|
1412
1352
|
type Schema = (typeof schemas)[keyof typeof schemas];
|
|
1413
1353
|
|
|
1414
|
-
type WebserviceForState<WS extends Record<string, unknown>, S extends StateCode
|
|
1354
|
+
type WebserviceForState<WS extends Record<string, unknown>, S extends StateCode> = S extends keyof WS ? WS[S] : never;
|
|
1415
1355
|
type UfMap = typeof StateCodes;
|
|
1416
|
-
type StateAcronymFromCode<S extends StateCode
|
|
1417
|
-
[K in keyof UfMap]: S extends UfMap[K] ? Extract<K, StateAcronym
|
|
1356
|
+
type StateAcronymFromCode<S extends StateCode> = {
|
|
1357
|
+
[K in keyof UfMap]: S extends UfMap[K] ? Extract<K, StateAcronym> : never;
|
|
1418
1358
|
}[keyof UfMap];
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1359
|
+
interface Webservice {
|
|
1360
|
+
url: string;
|
|
1361
|
+
method: string;
|
|
1362
|
+
operation: string;
|
|
1363
|
+
version: string;
|
|
1364
|
+
}
|
|
1365
|
+
type GroupServicesForState<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode> = WebserviceForState<WS, S> extends keyof O ? E extends keyof O[WebserviceForState<WS, S>] ? keyof O[WebserviceForState<WS, S>][E] : never : never;
|
|
1366
|
+
type StateServicesForState<O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode> = StateAcronymFromCode<S> extends keyof O ? E extends keyof O[StateAcronymFromCode<S>] ? keyof O[StateAcronymFromCode<S>][E] : never : never;
|
|
1367
|
+
type ServicesForState<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode> = GroupServicesForState<WS, O, S, E> | StateServicesForState<O, S, E>;
|
|
1368
|
+
type ServiceOptions<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode> = {
|
|
1423
1369
|
cUF?: S;
|
|
1424
1370
|
tpAmb?: E;
|
|
1425
1371
|
service: ServicesForState<WS, O, S, E>;
|
|
@@ -1482,57 +1428,57 @@ interface NfceTransmitterOptions extends NfeTransmitterOptions {
|
|
|
1482
1428
|
}
|
|
1483
1429
|
interface NfceTransmitter extends NfeTransmitter, Transmitter<NfceRemoteClient> {
|
|
1484
1430
|
configure(options: NfceTransmitterOptions): this;
|
|
1485
|
-
autorizacao(payload: AutorizacaoPayload<SignedEntity<NFCe$1>>): Promise<Either
|
|
1431
|
+
autorizacao(payload: AutorizacaoPayload<SignedEntity<NFCe$1>>): Promise<Either<NFeTsError, AutorizacaoResponse>>;
|
|
1486
1432
|
}
|
|
1487
1433
|
interface NfceRemoteClient extends NfeRemoteClient {
|
|
1488
1434
|
nfeAutorizacaoLote(args: AutorizacaoRequest<SignedEntity<NFCe$1>>, opt?: RequestConfig): Promise<AutorizacaoResponse>;
|
|
1489
1435
|
}
|
|
1490
1436
|
|
|
1491
1437
|
interface DetBuilder$1 {
|
|
1492
|
-
det($: DetAttributes
|
|
1438
|
+
det($: DetAttributes): ProdBuilder;
|
|
1493
1439
|
}
|
|
1494
1440
|
interface ProdBuilder {
|
|
1495
|
-
prod(payload: Prod
|
|
1441
|
+
prod(payload: Prod): ImpostoBuilder & IcmsOrIssQnBuilder;
|
|
1496
1442
|
}
|
|
1497
1443
|
interface ImpostoBuilder {
|
|
1498
|
-
imposto(payload: Imposto
|
|
1444
|
+
imposto(payload: Imposto): IcmsOrIssQnBuilder & AssembleDetXmlBuilder;
|
|
1499
1445
|
}
|
|
1500
1446
|
interface IcmsBuilder {
|
|
1501
|
-
icms(payload: ICMS
|
|
1447
|
+
icms(payload: ICMS): IcmsIpiBuilder & IIBuilder & PisBuilder & PisStBuilder & CofinsBuilder & CofinsStBuilder & AssembleDetXmlBuilder;
|
|
1502
1448
|
}
|
|
1503
1449
|
interface IssQnBuilder {
|
|
1504
|
-
issqn(payload: ISSQN
|
|
1450
|
+
issqn(payload: ISSQN): IssIpiBuilder & PisBuilder & PisStBuilder & AssembleDetXmlBuilder;
|
|
1505
1451
|
}
|
|
1506
1452
|
interface IcmsOrIssQnBuilder extends IcmsBuilder, IssQnBuilder {
|
|
1507
1453
|
}
|
|
1508
1454
|
interface OptionalSharedImpostoBuilder extends PisBuilder, CofinsBuilder, IcmsufdestBuilder, AssembleDetXmlBuilder {
|
|
1509
1455
|
}
|
|
1510
1456
|
interface IcmsIpiBuilder {
|
|
1511
|
-
ipi(payload: IPI
|
|
1457
|
+
ipi(payload: IPI): IIBuilder & PisBuilder & PisStBuilder & IcmsufdestBuilder & AssembleDetXmlBuilder;
|
|
1512
1458
|
}
|
|
1513
1459
|
interface IssIpiBuilder {
|
|
1514
|
-
ipi(payload: IPI
|
|
1460
|
+
ipi(payload: IPI): PisBuilder & PisStBuilder & IcmsufdestBuilder & AssembleDetXmlBuilder;
|
|
1515
1461
|
}
|
|
1516
1462
|
interface IIBuilder {
|
|
1517
|
-
ii(payload: II
|
|
1463
|
+
ii(payload: II): PisBuilder & PisStBuilder & IcmsufdestBuilder & AssembleDetXmlBuilder;
|
|
1518
1464
|
}
|
|
1519
1465
|
interface PisBuilder {
|
|
1520
|
-
pis(payload: PIS
|
|
1466
|
+
pis(payload: PIS): IcmsufdestBuilder & CofinsBuilder & CofinsStBuilder & PisStBuilder & AssembleDetXmlBuilder;
|
|
1521
1467
|
}
|
|
1522
1468
|
interface PisStBuilder {
|
|
1523
|
-
pisst(payload: PISST
|
|
1469
|
+
pisst(payload: PISST): IcmsufdestBuilder & CofinsBuilder & CofinsStBuilder & AssembleDetXmlBuilder;
|
|
1524
1470
|
}
|
|
1525
1471
|
interface CofinsBuilder {
|
|
1526
|
-
cofins(payload: COFINS
|
|
1472
|
+
cofins(payload: COFINS): IcmsufdestBuilder & CofinsStBuilder & AssembleDetXmlBuilder;
|
|
1527
1473
|
}
|
|
1528
1474
|
interface CofinsStBuilder {
|
|
1529
|
-
cofinsst(payload: COFINSST
|
|
1475
|
+
cofinsst(payload: COFINSST): IcmsufdestBuilder & AssembleDetXmlBuilder;
|
|
1530
1476
|
}
|
|
1531
1477
|
interface IcmsufdestBuilder {
|
|
1532
|
-
icmsufdest(payload: ICMSUFDest
|
|
1478
|
+
icmsufdest(payload: ICMSUFDest): AssembleDetXmlBuilder;
|
|
1533
1479
|
}
|
|
1534
1480
|
interface AssembleDetXmlBuilder {
|
|
1535
|
-
assemble(): Det
|
|
1481
|
+
assemble(): Det;
|
|
1536
1482
|
}
|
|
1537
1483
|
interface INfeDetXmlBuilder extends DetBuilder$1, ProdBuilder, ImpostoBuilder, IcmsOrIssQnBuilder, OptionalSharedImpostoBuilder, AssembleDetXmlBuilder {
|
|
1538
1484
|
}
|
|
@@ -1558,70 +1504,70 @@ declare namespace nfeDetXmlBuilder {
|
|
|
1558
1504
|
}
|
|
1559
1505
|
|
|
1560
1506
|
interface InfNFeBuilder<T extends object> {
|
|
1561
|
-
infNFe(payload: InfNFeAttributes
|
|
1507
|
+
infNFe(payload: InfNFeAttributes): IdeBuilder<T>;
|
|
1562
1508
|
}
|
|
1563
1509
|
interface IdeBuilder<T extends object> {
|
|
1564
|
-
ide(payload: Ide
|
|
1510
|
+
ide(payload: Ide): EmitBuilder<T>;
|
|
1565
1511
|
}
|
|
1566
1512
|
interface EmitBuilder<T extends object> {
|
|
1567
|
-
emit(payload: Emit
|
|
1513
|
+
emit(payload: Emit): AvulsaBuilder<T> & DestBuilder<T> & RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetBuilder<T>;
|
|
1568
1514
|
}
|
|
1569
1515
|
interface AvulsaBuilder<T extends object> {
|
|
1570
|
-
avulsa(payload: Avulsa
|
|
1516
|
+
avulsa(payload: Avulsa): DestBuilder<T> & RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetBuilder<T>;
|
|
1571
1517
|
}
|
|
1572
1518
|
interface DestBuilder<T extends object> {
|
|
1573
|
-
dest(payload: Dest
|
|
1519
|
+
dest(payload: Dest): RetiradaBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetBuilder<T>;
|
|
1574
1520
|
}
|
|
1575
1521
|
interface RetiradaBuilder<T extends object> {
|
|
1576
|
-
retirada(payload: Local
|
|
1522
|
+
retirada(payload: Local): DestBuilder<T> & EntregaBuilder<T> & AutXMLBuilder<T> & DetBuilder<T>;
|
|
1577
1523
|
}
|
|
1578
1524
|
interface EntregaBuilder<T extends object> {
|
|
1579
|
-
entrega(payload: Local
|
|
1525
|
+
entrega(payload: Local): DestBuilder<T> & AutXMLBuilder<T> & DetBuilder<T>;
|
|
1580
1526
|
}
|
|
1581
1527
|
interface AutXMLBuilder<T extends object> {
|
|
1582
|
-
autXML(payload: AutXML
|
|
1528
|
+
autXML(payload: AutXML): AutXMLBuilder<T> & DetBuilder<T>;
|
|
1583
1529
|
}
|
|
1584
1530
|
interface DetBuilder<T extends object> {
|
|
1585
1531
|
det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
|
|
1586
1532
|
}
|
|
1587
1533
|
interface TotalBuilder<T extends object> {
|
|
1588
|
-
total(payload: Total
|
|
1589
|
-
increment(callback: (context: DeepPartial<Total
|
|
1534
|
+
total(payload: Total): TranspBuilder<T>;
|
|
1535
|
+
increment(callback: (context: DeepPartial<Total>) => DeepPartial<Total>): TranspBuilder<T>;
|
|
1590
1536
|
}
|
|
1591
1537
|
interface TranspBuilder<T extends object> {
|
|
1592
|
-
transp(payload: Transp
|
|
1538
|
+
transp(payload: Transp): CobrBuilder<T> & PagBuilder<T>;
|
|
1593
1539
|
}
|
|
1594
1540
|
interface CobrBuilder<T extends object> {
|
|
1595
|
-
cobr(payload: Cobr
|
|
1541
|
+
cobr(payload: Cobr): PagBuilder<T>;
|
|
1596
1542
|
}
|
|
1597
1543
|
interface PagBuilder<T extends object> {
|
|
1598
|
-
pag(payload: Pag
|
|
1544
|
+
pag(payload: Pag): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & ExportaBuilder<T> & InfRespTecBuilder<T> & InfIntermedBuilder<T>;
|
|
1599
1545
|
}
|
|
1600
1546
|
interface InfIntermedBuilder<T extends object> {
|
|
1601
|
-
infIntermed(payload: InfIntermed
|
|
1547
|
+
infIntermed(payload: InfIntermed): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & InfRespTecBuilder<T> & ExportaBuilder<T>;
|
|
1602
1548
|
}
|
|
1603
1549
|
interface InfAdicBuilder<T extends object> {
|
|
1604
|
-
infAdic(payload: InfAdic
|
|
1550
|
+
infAdic(payload: InfAdic): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T> & CompraBuilder<T> & ExportaBuilder<T>;
|
|
1605
1551
|
}
|
|
1606
1552
|
interface ExportaBuilder<T extends object> {
|
|
1607
|
-
exporta(payload: Exporta
|
|
1553
|
+
exporta(payload: Exporta): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T> & CompraBuilder<T>;
|
|
1608
1554
|
}
|
|
1609
1555
|
interface CompraBuilder<T extends object> {
|
|
1610
|
-
compra(payload: Compra
|
|
1556
|
+
compra(payload: Compra): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T> & CanaBuilder<T>;
|
|
1611
1557
|
}
|
|
1612
1558
|
interface CanaBuilder<T extends object> {
|
|
1613
|
-
cana(payload: Cana
|
|
1559
|
+
cana(payload: Cana): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T> & InfRespTecBuilder<T>;
|
|
1614
1560
|
}
|
|
1615
1561
|
interface InfRespTecBuilder<T extends object> {
|
|
1616
|
-
infRespTec(payload: InfRespTec
|
|
1562
|
+
infRespTec(payload: InfRespTec): AssembleNfeBuilder<T> & AvulsaBuilder<T> & InfAdicBuilder<T> & InfSolicNFFBuilder<T>;
|
|
1617
1563
|
}
|
|
1618
1564
|
interface InfSolicNFFBuilder<T extends object> {
|
|
1619
|
-
infSolicNFF(payload: InfSolicNFF
|
|
1565
|
+
infSolicNFF(payload: InfSolicNFF): AssembleNfeBuilder<T> & InfAdicBuilder<T> & AvulsaBuilder<T>;
|
|
1620
1566
|
}
|
|
1621
1567
|
interface AssembleNfeBuilder<T extends object> {
|
|
1622
1568
|
quiet(): AssembleNfeBuilder<T>;
|
|
1623
|
-
toObject(): Either
|
|
1624
|
-
assemble(): Promise<Either
|
|
1569
|
+
toObject(): Either<NFeTsError, T>;
|
|
1570
|
+
assemble(): Promise<Either<NFeTsError, string>>;
|
|
1625
1571
|
}
|
|
1626
1572
|
interface INfeXmlBuilder<T extends object> extends InfNFeBuilder<T>, IdeBuilder<T>, DetBuilder<T>, DestBuilder<T>, RetiradaBuilder<T>, EntregaBuilder<T>, AutXMLBuilder<T>, TotalBuilder<T>, TranspBuilder<T>, PagBuilder<T>, InfIntermedBuilder<T>, ExportaBuilder<T>, CompraBuilder<T>, CanaBuilder<T>, InfRespTecBuilder<T>, InfSolicNFFBuilder<T>, InfAdicBuilder<T>, AvulsaBuilder<T>, AssembleNfeBuilder<T> {
|
|
1627
1573
|
}
|
|
@@ -1653,22 +1599,22 @@ declare namespace nfeXmlBuilder {
|
|
|
1653
1599
|
}
|
|
1654
1600
|
|
|
1655
1601
|
declare class AccessKeyBuilder {
|
|
1656
|
-
compile(payload: AccessKey
|
|
1657
|
-
decompile(accessKey: string): VerifiedAccessKey
|
|
1602
|
+
compile(payload: AccessKey): string;
|
|
1603
|
+
decompile(accessKey: string): VerifiedAccessKey | undefined;
|
|
1658
1604
|
private code;
|
|
1659
1605
|
private isCodeValid;
|
|
1660
1606
|
private verifyingDigit;
|
|
1661
1607
|
}
|
|
1662
1608
|
|
|
1663
1609
|
interface DetBuilderAggregator {
|
|
1664
|
-
prod(payload: Prod
|
|
1665
|
-
icms(payload: ICMS
|
|
1610
|
+
prod(payload: Prod): void;
|
|
1611
|
+
icms(payload: ICMS): void;
|
|
1666
1612
|
}
|
|
1667
1613
|
declare class DefaultDetBuilderAggregator<T extends object> implements DetBuilderAggregator {
|
|
1668
1614
|
private readonly builder;
|
|
1669
|
-
constructor(builder: INfeXmlBuilder
|
|
1670
|
-
prod(payload: Prod
|
|
1671
|
-
icms(_payload: ICMS
|
|
1615
|
+
constructor(builder: INfeXmlBuilder<T>);
|
|
1616
|
+
prod(payload: Prod): void;
|
|
1617
|
+
icms(_payload: ICMS): void;
|
|
1672
1618
|
}
|
|
1673
1619
|
|
|
1674
1620
|
interface TotalBuilderAggregator {
|
|
@@ -1676,10 +1622,16 @@ interface TotalBuilderAggregator {
|
|
|
1676
1622
|
}
|
|
1677
1623
|
declare class DefaultTotalBuilderAggregator<T extends object> implements TotalBuilderAggregator {
|
|
1678
1624
|
private readonly builder;
|
|
1679
|
-
constructor(builder: INfeXmlBuilder
|
|
1625
|
+
constructor(builder: INfeXmlBuilder<T>);
|
|
1680
1626
|
aggregate(): void;
|
|
1681
1627
|
}
|
|
1682
1628
|
|
|
1629
|
+
declare class NFe implements NFe$1 {
|
|
1630
|
+
$: NFeAttributes;
|
|
1631
|
+
infNFe: InfNFe;
|
|
1632
|
+
Signature?: Signature;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1683
1635
|
declare const _default$1: {
|
|
1684
1636
|
readonly AM: {
|
|
1685
1637
|
readonly "2": {
|
|
@@ -3036,13 +2988,13 @@ declare const webservices$1: {
|
|
|
3036
2988
|
readonly SVCRS: "SVCRS";
|
|
3037
2989
|
};
|
|
3038
2990
|
|
|
3039
|
-
declare class NfeRemoteTransmitter implements NfeTransmitter
|
|
3040
|
-
protected readonly remoteTransmissionRepository: RemoteTransmissionRepository<NfeRemoteClient
|
|
3041
|
-
constructor(remoteTransmissionRepository: RemoteTransmissionRepository<NfeRemoteClient
|
|
3042
|
-
protected options: NfeTransmitterOptions
|
|
2991
|
+
declare class NfeRemoteTransmitter implements NfeTransmitter {
|
|
2992
|
+
protected readonly remoteTransmissionRepository: RemoteTransmissionRepository<NfeRemoteClient>;
|
|
2993
|
+
constructor(remoteTransmissionRepository: RemoteTransmissionRepository<NfeRemoteClient>);
|
|
2994
|
+
protected options: NfeTransmitterOptions;
|
|
3043
2995
|
protected readonly xmlns = "http://www.portalfiscal.inf.br/nfe";
|
|
3044
|
-
configure(options: NfeTransmitterOptions
|
|
3045
|
-
service<WS extends Record<string, unknown> = typeof webservices$1, O extends Record<string, unknown> = typeof _default$1, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode>(options: ServiceOptions
|
|
2996
|
+
configure(options: NfeTransmitterOptions): this;
|
|
2997
|
+
service<WS extends Record<string, unknown> = typeof webservices$1, O extends Record<string, unknown> = typeof _default$1, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode>(options: ServiceOptions<WS, O, S, E>): Webservice;
|
|
3046
2998
|
protected errors(): string[] | undefined;
|
|
3047
2999
|
protected validate<T extends object>(payload: T): Left<NFeTsError> | Right<T>;
|
|
3048
3000
|
protected ns<T extends object>(payload: Namespaced<T>, version: string): T & {
|
|
@@ -3052,13 +3004,13 @@ declare class NfeRemoteTransmitter implements NfeTransmitter$1 {
|
|
|
3052
3004
|
};
|
|
3053
3005
|
};
|
|
3054
3006
|
protected xsd(name: string): string;
|
|
3055
|
-
consultStatus(payload: ConsultStatusPayload
|
|
3056
|
-
inutilizacao(payload: InutilizacaoPayload
|
|
3057
|
-
consultaProtocolo(payload: ConsultaProtocoloPayload
|
|
3058
|
-
autorizacao(payload: AutorizacaoPayload
|
|
3059
|
-
retAutorizacao(payload: RetAutorizacaoPayload
|
|
3060
|
-
recepcaoEvento<T>(payload: EventoRequest
|
|
3061
|
-
consultaCadastro(payload: ConsultaCadastroPayload
|
|
3007
|
+
consultStatus(payload: ConsultStatusPayload): Promise<Either<NFeTsError, ConsultStatusResponse>>;
|
|
3008
|
+
inutilizacao(payload: InutilizacaoPayload): Promise<Either<NFeTsError, InutilizacaoResponse>>;
|
|
3009
|
+
consultaProtocolo(payload: ConsultaProtocoloPayload): Promise<Either<NFeTsError, ConsultaProtocoloResponse>>;
|
|
3010
|
+
autorizacao(payload: AutorizacaoPayload<SignedEntity<NFe$1>>): Promise<Either<NFeTsError, AutorizacaoResponse>>;
|
|
3011
|
+
retAutorizacao(payload: RetAutorizacaoPayload): Promise<Either<NFeTsError, RetAutorizacaoResponse>>;
|
|
3012
|
+
recepcaoEvento<T>(payload: EventoRequest<T>['envEvento']): Promise<Either<NFeTsError, EventoResponse>>;
|
|
3013
|
+
consultaCadastro(payload: ConsultaCadastroPayload): Promise<Either<NFeTsError, ConsultaCadastroResponse>>;
|
|
3062
3014
|
}
|
|
3063
3015
|
|
|
3064
3016
|
declare abstract class Pipeline {
|
|
@@ -3068,7 +3020,7 @@ declare abstract class Pipeline {
|
|
|
3068
3020
|
protected readonly toolkit: XmlToolkit;
|
|
3069
3021
|
protected readonly caching: CacheAdapter;
|
|
3070
3022
|
protected readonly certificates: CertificateRepository;
|
|
3071
|
-
protected readonly soap: RemoteTransmissionRepository<NfeRemoteClient
|
|
3023
|
+
protected readonly soap: RemoteTransmissionRepository<NfeRemoteClient>;
|
|
3072
3024
|
protected readonly transmitter: NfeRemoteTransmitter;
|
|
3073
3025
|
protected readonly signer: EntitySigner;
|
|
3074
3026
|
constructor(certificate: ReadCertificateRequest);
|
|
@@ -3076,8 +3028,8 @@ declare abstract class Pipeline {
|
|
|
3076
3028
|
}
|
|
3077
3029
|
|
|
3078
3030
|
declare class NfeAuthorizerPipeline extends Pipeline {
|
|
3079
|
-
execute(payload: AutorizacaoPayload
|
|
3080
|
-
protected contingency(payload: AutorizacaoPayload
|
|
3031
|
+
execute(payload: AutorizacaoPayload<NFe>, options?: Pick<NfeTransmitterOptions, 'schema'>): Promise<Either<NFeTsError, AutorizacaoResponse>>;
|
|
3032
|
+
protected contingency(payload: AutorizacaoPayload<NFe>): {
|
|
3081
3033
|
dhCont: string;
|
|
3082
3034
|
xJust: string;
|
|
3083
3035
|
} | undefined;
|
|
@@ -4309,10 +4261,17 @@ declare const webservices: {
|
|
|
4309
4261
|
readonly SVRS: "SVRS";
|
|
4310
4262
|
};
|
|
4311
4263
|
|
|
4264
|
+
declare class NFCe implements NFCe$1 {
|
|
4265
|
+
$: NFeAttributes;
|
|
4266
|
+
infNFe: InfNFe;
|
|
4267
|
+
infNFeSupl: InfNFeSupl;
|
|
4268
|
+
Signature?: Signature;
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4312
4271
|
declare class NfceQrcode {
|
|
4313
4272
|
private readonly certificateRepository;
|
|
4314
|
-
constructor(certificateRepository: CertificateRepository
|
|
4315
|
-
execute(entity: SignedEntity
|
|
4273
|
+
constructor(certificateRepository: CertificateRepository);
|
|
4274
|
+
execute(entity: SignedEntity<NFCe$1>, options: NfceQrcodeOptions & NfceQrcodeOptionsBase): Promise<Left<NFeTsError> | Right<InfNFeSupl>>;
|
|
4316
4275
|
private content;
|
|
4317
4276
|
private isVersion200;
|
|
4318
4277
|
private isVersion300;
|
|
@@ -4322,13 +4281,13 @@ declare class NfceQrcode {
|
|
|
4322
4281
|
private execute300;
|
|
4323
4282
|
}
|
|
4324
4283
|
|
|
4325
|
-
declare class NfceRemoteTransmitter extends NfeRemoteTransmitter implements NfceTransmitter
|
|
4326
|
-
protected readonly remoteTransmissionRepository: RemoteTransmissionRepository<NfceRemoteClient
|
|
4284
|
+
declare class NfceRemoteTransmitter extends NfeRemoteTransmitter implements NfceTransmitter {
|
|
4285
|
+
protected readonly remoteTransmissionRepository: RemoteTransmissionRepository<NfceRemoteClient>;
|
|
4327
4286
|
protected readonly qrCode: NfceQrcode;
|
|
4328
|
-
protected options: NfceTransmitterOptions
|
|
4329
|
-
constructor(remoteTransmissionRepository: RemoteTransmissionRepository<NfceRemoteClient
|
|
4330
|
-
configure(options: NfceTransmitterOptions
|
|
4331
|
-
service<WS extends Record<string, unknown> = typeof webservices, O extends Record<string, unknown> = typeof _default, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode>(options: ServiceOptions
|
|
4287
|
+
protected options: NfceTransmitterOptions;
|
|
4288
|
+
constructor(remoteTransmissionRepository: RemoteTransmissionRepository<NfceRemoteClient>, qrCode: NfceQrcode);
|
|
4289
|
+
configure(options: NfceTransmitterOptions): this;
|
|
4290
|
+
service<WS extends Record<string, unknown> = typeof webservices, O extends Record<string, unknown> = typeof _default, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode>(options: ServiceOptions<WS, O, S, E>): Webservice | {
|
|
4332
4291
|
readonly method: "QR-CODE";
|
|
4333
4292
|
readonly operation: "NfeConsultaQR";
|
|
4334
4293
|
readonly version: "300";
|
|
@@ -4599,43 +4558,43 @@ declare class NfceRemoteTransmitter extends NfeRemoteTransmitter implements Nfce
|
|
|
4599
4558
|
readonly version: "200";
|
|
4600
4559
|
readonly url: "http://www.sefaz.to.gov.br/nfce/qrcode";
|
|
4601
4560
|
};
|
|
4602
|
-
autorizacao(payload: AutorizacaoPayload
|
|
4561
|
+
autorizacao(payload: AutorizacaoPayload<SignedEntity<NFCe>>): Promise<Either<NFeTsError, AutorizacaoResponse>>;
|
|
4603
4562
|
private getUrlConsult;
|
|
4604
4563
|
private infNfeSupl;
|
|
4605
4564
|
}
|
|
4606
4565
|
|
|
4607
|
-
declare class NfeXmlBuilder<T extends object = NFe$
|
|
4566
|
+
declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<T> {
|
|
4608
4567
|
protected readonly builder: XmlToolkit;
|
|
4609
|
-
protected contingency?: ContingencyOptions
|
|
4610
|
-
protected readonly data: NFe$
|
|
4568
|
+
protected contingency?: ContingencyOptions | undefined;
|
|
4569
|
+
protected readonly data: NFe$1;
|
|
4611
4570
|
protected get entity(): new () => T;
|
|
4612
4571
|
protected readonly root = "NFe";
|
|
4613
|
-
protected readonly $det: DetBuilderAggregator
|
|
4614
|
-
protected readonly $total: TotalBuilderAggregator
|
|
4615
|
-
protected readonly nfeDetXmlBuilder:
|
|
4616
|
-
static create<T extends object = NFe$
|
|
4617
|
-
protected constructor(builder: XmlToolkit, contingency?: ContingencyOptions
|
|
4618
|
-
infNFe($: InfNFeAttributes
|
|
4619
|
-
ide(payload: Ide
|
|
4620
|
-
emit(payload: Emit
|
|
4621
|
-
avulsa(payload: Avulsa
|
|
4622
|
-
dest(payload: Dest
|
|
4623
|
-
retirada(payload: Local
|
|
4624
|
-
entrega(payload: Local
|
|
4625
|
-
autXML(payload: AutXML
|
|
4626
|
-
det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder
|
|
4627
|
-
total(payload: Total
|
|
4628
|
-
increment(callback: (context: DeepPartial<Total
|
|
4629
|
-
transp(payload: Transp
|
|
4630
|
-
cobr(payload: Cobr
|
|
4631
|
-
pag(payload: Pag
|
|
4632
|
-
infIntermed(payload: InfIntermed
|
|
4633
|
-
infAdic(payload: InfAdic
|
|
4634
|
-
exporta(payload: Exporta
|
|
4635
|
-
compra(payload: Compra
|
|
4636
|
-
cana(payload: Cana
|
|
4637
|
-
infRespTec(payload: InfRespTec
|
|
4638
|
-
infSolicNFF(payload: InfSolicNFF
|
|
4572
|
+
protected readonly $det: DetBuilderAggregator | undefined;
|
|
4573
|
+
protected readonly $total: TotalBuilderAggregator | undefined;
|
|
4574
|
+
protected readonly nfeDetXmlBuilder: DetBuilder$1 & ProdBuilder;
|
|
4575
|
+
static create<T extends object = NFe$1>(builder: XmlToolkit, contingency?: ContingencyOptions): InfNFeBuilder<T> & IdeBuilder<T>;
|
|
4576
|
+
protected constructor(builder: XmlToolkit, contingency?: ContingencyOptions | undefined);
|
|
4577
|
+
infNFe($: InfNFeAttributes): this;
|
|
4578
|
+
ide(payload: Ide): this;
|
|
4579
|
+
emit(payload: Emit): this;
|
|
4580
|
+
avulsa(payload: Avulsa): this;
|
|
4581
|
+
dest(payload: Dest): this;
|
|
4582
|
+
retirada(payload: Local): this;
|
|
4583
|
+
entrega(payload: Local): this;
|
|
4584
|
+
autXML(payload: AutXML): this;
|
|
4585
|
+
det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
|
|
4586
|
+
total(payload: Total): this;
|
|
4587
|
+
increment(callback: (context: DeepPartial<Total>) => DeepPartial<Total>): this;
|
|
4588
|
+
transp(payload: Transp): this;
|
|
4589
|
+
cobr(payload: Cobr): this;
|
|
4590
|
+
pag(payload: Pag): this;
|
|
4591
|
+
infIntermed(payload: InfIntermed): this;
|
|
4592
|
+
infAdic(payload: InfAdic): this;
|
|
4593
|
+
exporta(payload: Exporta): this;
|
|
4594
|
+
compra(payload: Compra): this;
|
|
4595
|
+
cana(payload: Cana): this;
|
|
4596
|
+
infRespTec(payload: InfRespTec): this;
|
|
4597
|
+
infSolicNFF(payload: InfSolicNFF): this;
|
|
4639
4598
|
quiet(): this;
|
|
4640
4599
|
toObject(): Left<NFeTsError> | Right<T>;
|
|
4641
4600
|
assemble(): Promise<Left<NFeTsError> | Right<string>>;
|
|
@@ -4647,45 +4606,32 @@ declare class NfeXmlBuilder<T extends object = NFe$2> implements INfeXmlBuilder$
|
|
|
4647
4606
|
private fillAccessKeyIfEmpty;
|
|
4648
4607
|
}
|
|
4649
4608
|
|
|
4650
|
-
declare class NfceXmlBuilder<T extends object = NFCe$
|
|
4651
|
-
protected readonly data: NFCe$
|
|
4609
|
+
declare class NfceXmlBuilder<T extends object = NFCe$1> extends NfeXmlBuilder<T> implements INfeXmlBuilder<T> {
|
|
4610
|
+
protected readonly data: NFCe$1;
|
|
4652
4611
|
protected get entity(): new () => T;
|
|
4653
|
-
static create<T extends object = NFCe$
|
|
4612
|
+
static create<T extends object = NFCe$1>(builder: XmlToolkit, contingency?: ContingencyOptions): InfNFeBuilder<T> & IdeBuilder<T>;
|
|
4654
4613
|
protected assertHomologValidations(): boolean;
|
|
4655
4614
|
protected assertContingencyModes(): void;
|
|
4656
4615
|
}
|
|
4657
4616
|
|
|
4658
|
-
declare class NfeDetXmlBuilder implements INfeDetXmlBuilder
|
|
4617
|
+
declare class NfeDetXmlBuilder implements INfeDetXmlBuilder {
|
|
4659
4618
|
private readonly listener?;
|
|
4660
|
-
protected readonly data: Det
|
|
4661
|
-
static create(listener?: DetBuilderAggregator
|
|
4662
|
-
protected constructor(listener?: DetBuilderAggregator
|
|
4663
|
-
det(payload: DetAttributes
|
|
4664
|
-
prod(payload: Prod
|
|
4665
|
-
imposto(payload: Imposto
|
|
4666
|
-
icms(payload: ICMS
|
|
4667
|
-
issqn(payload: ISSQN
|
|
4668
|
-
ii(payload: II
|
|
4669
|
-
ipi(payload: IPI
|
|
4670
|
-
pis(payload: PIS
|
|
4671
|
-
pisst(payload: PISST
|
|
4672
|
-
cofins(payload: COFINS
|
|
4673
|
-
cofinsst(payload: COFINSST
|
|
4674
|
-
icmsufdest(payload: ICMSUFDest
|
|
4675
|
-
assemble(): Det
|
|
4676
|
-
}
|
|
4677
|
-
|
|
4678
|
-
declare class NFe implements NFe$2 {
|
|
4679
|
-
$: NFeAttributes$1;
|
|
4680
|
-
infNFe: InfNFe$1;
|
|
4681
|
-
Signature?: Signature$1;
|
|
4682
|
-
}
|
|
4683
|
-
|
|
4684
|
-
declare class NFCe implements NFCe$2 {
|
|
4685
|
-
$: NFeAttributes$1;
|
|
4686
|
-
infNFe: InfNFe$1;
|
|
4687
|
-
infNFeSupl: InfNFeSupl$1;
|
|
4688
|
-
Signature?: Signature;
|
|
4619
|
+
protected readonly data: Det;
|
|
4620
|
+
static create(listener?: DetBuilderAggregator): DetBuilder$1 & ProdBuilder;
|
|
4621
|
+
protected constructor(listener?: DetBuilderAggregator | undefined);
|
|
4622
|
+
det(payload: DetAttributes): this;
|
|
4623
|
+
prod(payload: Prod): this;
|
|
4624
|
+
imposto(payload: Imposto): this;
|
|
4625
|
+
icms(payload: ICMS): this;
|
|
4626
|
+
issqn(payload: ISSQN): this;
|
|
4627
|
+
ii(payload: II): this;
|
|
4628
|
+
ipi(payload: IPI): this;
|
|
4629
|
+
pis(payload: PIS): this;
|
|
4630
|
+
pisst(payload: PISST): this;
|
|
4631
|
+
cofins(payload: COFINS): this;
|
|
4632
|
+
cofinsst(payload: COFINSST): this;
|
|
4633
|
+
icmsufdest(payload: ICMSUFDest): this;
|
|
4634
|
+
assemble(): Det;
|
|
4689
4635
|
}
|
|
4690
4636
|
|
|
4691
4637
|
export { type AccessKey, AccessKeyBuilder, type ContingencyOptions, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DetBuilderAggregator, nfeDetXmlBuilder as INfeDetXmlBuilder, nfeXmlBuilder as INfeXmlBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceXmlBuilder, NfeAuthorizerPipeline, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeXmlBuilder, type Schema, type TotalBuilderAggregator, TpEmis, type VerifiedAccessKey, directory };
|
package/dist/nfe/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n}from"../chunk-5KI5OGAA.mjs";import"../chunk-PEB34YMB.mjs";import"../chunk-W6MRGYXP.mjs";export{c as AccessKeyBuilder,d as DefaultDetBuilderAggregator,e as DefaultTotalBuilderAggregator,i as NFCeDto,f as NFeDto,k as NfceQrcode,j as NfceRemoteTransmitter,n as NfceXmlBuilder,h as NfeAuthorizerPipeline,l as NfeDetXmlBuilder,g as NfeRemoteTransmitter,m as NfeXmlBuilder,a as TpEmis,b as directory};
|