nfets 0.0.74 → 0.0.75
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-RNQ25WCH.mjs → chunk-CTG5M5GA.mjs} +13 -13
- package/dist/{chunk-K44FK57L.mjs → chunk-TVNW3GQ7.mjs} +52 -52
- package/dist/core/index.cjs +55 -55
- package/dist/core/index.d.cts +41 -3
- package/dist/core/index.d.ts +41 -3
- package/dist/core/index.mjs +1 -1
- package/dist/index.cjs +66 -66
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/nfe/index.cjs +65 -65
- package/dist/nfe/index.d.cts +1 -58
- package/dist/nfe/index.d.ts +1 -58
- package/dist/nfe/index.mjs +1 -1
- package/dist/{xml-signer-Cu3OlWV1.d.cts → xml-signer-CA6BEgl1.d.cts} +59 -1
- package/dist/{xml-signer-Cu3OlWV1.d.ts → xml-signer-CA6BEgl1.d.ts} +59 -1
- package/package.json +1 -1
package/dist/nfe/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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, a7 as Either, x as NFeTsError, a as ReadCertificateResponse, Q as SignerRepository, d as SignatureAlgorithm, a8 as Left, a9 as Right, R as ReadCertificateRequest, J as HttpClient, w as XmlToolkit, y as CacheAdapter, z as CertificateRepository, L as RemoteTransmissionRepository, V as EntitySigner, W as XmlSigner, N as Namespaced, aa as RowBuilderOptions, Z as PdfBuilder } from '../xml-signer-CA6BEgl1.cjs';
|
|
2
2
|
import { Writable } from 'node:stream';
|
|
3
3
|
import 'node:crypto';
|
|
4
4
|
|
|
@@ -4854,63 +4854,6 @@ declare class NfceXmlBuilderPipeline<T extends object> extends NfeXmlBuilderPipe
|
|
|
4854
4854
|
protected readonly builder: (InfNFeBuilder<T> & IdeBuilder<T>) | AssembleNfeBuilder<T>;
|
|
4855
4855
|
}
|
|
4856
4856
|
|
|
4857
|
-
type DocumentOptions = PDFKit.PDFDocumentOptions;
|
|
4858
|
-
interface TextOptions extends PDFKit.Mixins.TextOptions {
|
|
4859
|
-
x?: number | undefined;
|
|
4860
|
-
y?: number | undefined;
|
|
4861
|
-
}
|
|
4862
|
-
type ImageOptions = PDFKit.Mixins.ImageOption;
|
|
4863
|
-
type ColorValue = PDFKit.Mixins.ColorValue;
|
|
4864
|
-
type RuleValue = PDFKit.Mixins.RuleValue;
|
|
4865
|
-
type TableOptionsWithData = PDFKit.Mixins.TableOptionsWithData;
|
|
4866
|
-
type TupleOfLength<N extends number, T = unknown> = N extends N ? number extends N ? T[] : _TupleOfLength<T, N, []> : never;
|
|
4867
|
-
type _TupleOfLength<T, N extends number, R extends readonly unknown[]> = R['length'] extends N ? R : _TupleOfLength<T, N, readonly [...R, T]>;
|
|
4868
|
-
interface RowBuilderOptions {
|
|
4869
|
-
x: number;
|
|
4870
|
-
y: number;
|
|
4871
|
-
width: number;
|
|
4872
|
-
}
|
|
4873
|
-
interface RowOptions<C extends number> {
|
|
4874
|
-
columns?: C;
|
|
4875
|
-
gap?: number;
|
|
4876
|
-
left?: number;
|
|
4877
|
-
right?: number;
|
|
4878
|
-
size?: TupleOfLength<C, number>;
|
|
4879
|
-
}
|
|
4880
|
-
type RowBuilderFunction = (options: RowBuilderOptions) => PdfBuilder;
|
|
4881
|
-
interface PdfBuilder {
|
|
4882
|
-
table(options: TableOptionsWithData): this;
|
|
4883
|
-
restore(): this;
|
|
4884
|
-
save(): this;
|
|
4885
|
-
end(): void;
|
|
4886
|
-
path(path: string): this;
|
|
4887
|
-
translate(x: number, y: number): this;
|
|
4888
|
-
scale(x: number, y?: number): this;
|
|
4889
|
-
page(options?: DocumentOptions): this;
|
|
4890
|
-
pipe(stream: Writable): this;
|
|
4891
|
-
configure(options: DocumentOptions): this;
|
|
4892
|
-
font(font: string, familyOrSize?: string | number, size?: number): this;
|
|
4893
|
-
fontSize(size: number): this;
|
|
4894
|
-
text(text: string, options?: TextOptions): this;
|
|
4895
|
-
widthOfString(text: string, options?: PDFKit.Mixins.TextOptions): number;
|
|
4896
|
-
heightOfString(text: string, options?: PDFKit.Mixins.TextOptions): number;
|
|
4897
|
-
currentLineHeight(includeGap?: boolean): number;
|
|
4898
|
-
rect(x: number, y: number, w: number, h: number): this;
|
|
4899
|
-
fill(rule: RuleValue): this;
|
|
4900
|
-
fill(color?: ColorValue, rule?: RuleValue): this;
|
|
4901
|
-
stroke(color?: ColorValue): this;
|
|
4902
|
-
image(image: string, x: number, y: number, options?: ImageOptions): this;
|
|
4903
|
-
image(image: string, options?: ImageOptions): this;
|
|
4904
|
-
pageWidth(): number;
|
|
4905
|
-
pageHeight(): number;
|
|
4906
|
-
pageMargins(): PDFKit.Mixins.ExpandedSides<number>;
|
|
4907
|
-
x(): number;
|
|
4908
|
-
y(): number;
|
|
4909
|
-
moveDown(amount?: number): this;
|
|
4910
|
-
row(...items: [...TupleOfLength<1, RowBuilderFunction>]): this;
|
|
4911
|
-
row<C extends number>(options: RowOptions<C>, ...items: [...TupleOfLength<C, RowBuilderFunction>]): this;
|
|
4912
|
-
}
|
|
4913
|
-
|
|
4914
4857
|
interface Builder {
|
|
4915
4858
|
setup(): void;
|
|
4916
4859
|
build(options?: RowBuilderOptions): Promise<PdfBuilder> | PdfBuilder;
|
package/dist/nfe/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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, a7 as Either, x as NFeTsError, a as ReadCertificateResponse, Q as SignerRepository, d as SignatureAlgorithm, a8 as Left, a9 as Right, R as ReadCertificateRequest, J as HttpClient, w as XmlToolkit, y as CacheAdapter, z as CertificateRepository, L as RemoteTransmissionRepository, V as EntitySigner, W as XmlSigner, N as Namespaced, aa as RowBuilderOptions, Z as PdfBuilder } from '../xml-signer-CA6BEgl1.js';
|
|
2
2
|
import { Writable } from 'node:stream';
|
|
3
3
|
import 'node:crypto';
|
|
4
4
|
|
|
@@ -4854,63 +4854,6 @@ declare class NfceXmlBuilderPipeline<T extends object> extends NfeXmlBuilderPipe
|
|
|
4854
4854
|
protected readonly builder: (InfNFeBuilder<T> & IdeBuilder<T>) | AssembleNfeBuilder<T>;
|
|
4855
4855
|
}
|
|
4856
4856
|
|
|
4857
|
-
type DocumentOptions = PDFKit.PDFDocumentOptions;
|
|
4858
|
-
interface TextOptions extends PDFKit.Mixins.TextOptions {
|
|
4859
|
-
x?: number | undefined;
|
|
4860
|
-
y?: number | undefined;
|
|
4861
|
-
}
|
|
4862
|
-
type ImageOptions = PDFKit.Mixins.ImageOption;
|
|
4863
|
-
type ColorValue = PDFKit.Mixins.ColorValue;
|
|
4864
|
-
type RuleValue = PDFKit.Mixins.RuleValue;
|
|
4865
|
-
type TableOptionsWithData = PDFKit.Mixins.TableOptionsWithData;
|
|
4866
|
-
type TupleOfLength<N extends number, T = unknown> = N extends N ? number extends N ? T[] : _TupleOfLength<T, N, []> : never;
|
|
4867
|
-
type _TupleOfLength<T, N extends number, R extends readonly unknown[]> = R['length'] extends N ? R : _TupleOfLength<T, N, readonly [...R, T]>;
|
|
4868
|
-
interface RowBuilderOptions {
|
|
4869
|
-
x: number;
|
|
4870
|
-
y: number;
|
|
4871
|
-
width: number;
|
|
4872
|
-
}
|
|
4873
|
-
interface RowOptions<C extends number> {
|
|
4874
|
-
columns?: C;
|
|
4875
|
-
gap?: number;
|
|
4876
|
-
left?: number;
|
|
4877
|
-
right?: number;
|
|
4878
|
-
size?: TupleOfLength<C, number>;
|
|
4879
|
-
}
|
|
4880
|
-
type RowBuilderFunction = (options: RowBuilderOptions) => PdfBuilder;
|
|
4881
|
-
interface PdfBuilder {
|
|
4882
|
-
table(options: TableOptionsWithData): this;
|
|
4883
|
-
restore(): this;
|
|
4884
|
-
save(): this;
|
|
4885
|
-
end(): void;
|
|
4886
|
-
path(path: string): this;
|
|
4887
|
-
translate(x: number, y: number): this;
|
|
4888
|
-
scale(x: number, y?: number): this;
|
|
4889
|
-
page(options?: DocumentOptions): this;
|
|
4890
|
-
pipe(stream: Writable): this;
|
|
4891
|
-
configure(options: DocumentOptions): this;
|
|
4892
|
-
font(font: string, familyOrSize?: string | number, size?: number): this;
|
|
4893
|
-
fontSize(size: number): this;
|
|
4894
|
-
text(text: string, options?: TextOptions): this;
|
|
4895
|
-
widthOfString(text: string, options?: PDFKit.Mixins.TextOptions): number;
|
|
4896
|
-
heightOfString(text: string, options?: PDFKit.Mixins.TextOptions): number;
|
|
4897
|
-
currentLineHeight(includeGap?: boolean): number;
|
|
4898
|
-
rect(x: number, y: number, w: number, h: number): this;
|
|
4899
|
-
fill(rule: RuleValue): this;
|
|
4900
|
-
fill(color?: ColorValue, rule?: RuleValue): this;
|
|
4901
|
-
stroke(color?: ColorValue): this;
|
|
4902
|
-
image(image: string, x: number, y: number, options?: ImageOptions): this;
|
|
4903
|
-
image(image: string, options?: ImageOptions): this;
|
|
4904
|
-
pageWidth(): number;
|
|
4905
|
-
pageHeight(): number;
|
|
4906
|
-
pageMargins(): PDFKit.Mixins.ExpandedSides<number>;
|
|
4907
|
-
x(): number;
|
|
4908
|
-
y(): number;
|
|
4909
|
-
moveDown(amount?: number): this;
|
|
4910
|
-
row(...items: [...TupleOfLength<1, RowBuilderFunction>]): this;
|
|
4911
|
-
row<C extends number>(options: RowOptions<C>, ...items: [...TupleOfLength<C, RowBuilderFunction>]): this;
|
|
4912
|
-
}
|
|
4913
|
-
|
|
4914
4857
|
interface Builder {
|
|
4915
4858
|
setup(): void;
|
|
4916
4859
|
build(options?: RowBuilderOptions): Promise<PdfBuilder> | PdfBuilder;
|
package/dist/nfe/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../chunk-
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../chunk-CTG5M5GA.mjs";import"../chunk-TVNW3GQ7.mjs";import"../chunk-W6MRGYXP.mjs";export{d as AccessKeyBuilder,x as DanfceDefaultPdfDocument,y as DanfceReducedPdfDocument,e as DefaultDetBuilderAggregator,f as DefaultTotalBuilderAggregator,u as NFCeDto,q as NFeDto,k as NfceAuthorizerPipeline,m as NfceConsultStatusPipeline,j as NfceQrcode,i as NfceRemoteTransmitter,v as NfceXmlBuilder,w as NfceXmlBuilderPipeline,n as NfeAuthorizationResponsePipeline,h as NfeAuthorizerPipeline,l as NfeConsultStatusPipeline,r as NfeDetXmlBuilder,o as NfeNfceCancelPipeline,p as NfeNfceVoidRangePipeline,g as NfeRemoteTransmitter,s as NfeXmlBuilder,t as NfeXmlBuilderPipeline,a as TpEmis,b as TpEvent,c as schemas};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Writable } from 'node:stream';
|
|
1
2
|
import { X509Certificate, KeyObject } from 'node:crypto';
|
|
2
3
|
|
|
3
4
|
type DecimalRounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
@@ -335,6 +336,63 @@ interface SignerRepository {
|
|
|
335
336
|
sign(content: string, cert: ReadCertificateResponse, algorithm: SignatureAlgorithm): Promise<Either<NFeTsError, string>>;
|
|
336
337
|
}
|
|
337
338
|
|
|
339
|
+
type DocumentOptions = PDFKit.PDFDocumentOptions;
|
|
340
|
+
interface TextOptions extends PDFKit.Mixins.TextOptions {
|
|
341
|
+
x?: number | undefined;
|
|
342
|
+
y?: number | undefined;
|
|
343
|
+
}
|
|
344
|
+
type ImageOptions = PDFKit.Mixins.ImageOption;
|
|
345
|
+
type ColorValue = PDFKit.Mixins.ColorValue;
|
|
346
|
+
type RuleValue = PDFKit.Mixins.RuleValue;
|
|
347
|
+
type TableOptionsWithData = PDFKit.Mixins.TableOptionsWithData;
|
|
348
|
+
type TupleOfLength<N extends number, T = unknown> = N extends N ? number extends N ? T[] : _TupleOfLength<T, N, []> : never;
|
|
349
|
+
type _TupleOfLength<T, N extends number, R extends readonly unknown[]> = R['length'] extends N ? R : _TupleOfLength<T, N, readonly [...R, T]>;
|
|
350
|
+
interface RowBuilderOptions {
|
|
351
|
+
x: number;
|
|
352
|
+
y: number;
|
|
353
|
+
width: number;
|
|
354
|
+
}
|
|
355
|
+
interface RowOptions<C extends number> {
|
|
356
|
+
columns?: C;
|
|
357
|
+
gap?: number;
|
|
358
|
+
left?: number;
|
|
359
|
+
right?: number;
|
|
360
|
+
size?: TupleOfLength<C, number>;
|
|
361
|
+
}
|
|
362
|
+
type RowBuilderFunction = (options: RowBuilderOptions) => PdfBuilder;
|
|
363
|
+
interface PdfBuilder {
|
|
364
|
+
table(options: TableOptionsWithData): this;
|
|
365
|
+
restore(): this;
|
|
366
|
+
save(): this;
|
|
367
|
+
end(): void;
|
|
368
|
+
path(path: string): this;
|
|
369
|
+
translate(x: number, y: number): this;
|
|
370
|
+
scale(x: number, y?: number): this;
|
|
371
|
+
page(options?: DocumentOptions): this;
|
|
372
|
+
pipe(stream: Writable): this;
|
|
373
|
+
configure(options: DocumentOptions): this;
|
|
374
|
+
font(font: string, familyOrSize?: string | number, size?: number): this;
|
|
375
|
+
fontSize(size: number): this;
|
|
376
|
+
text(text: string, options?: TextOptions): this;
|
|
377
|
+
widthOfString(text: string, options?: PDFKit.Mixins.TextOptions): number;
|
|
378
|
+
heightOfString(text: string, options?: PDFKit.Mixins.TextOptions): number;
|
|
379
|
+
currentLineHeight(includeGap?: boolean): number;
|
|
380
|
+
rect(x: number, y: number, w: number, h: number): this;
|
|
381
|
+
fill(rule: RuleValue): this;
|
|
382
|
+
fill(color?: ColorValue, rule?: RuleValue): this;
|
|
383
|
+
stroke(color?: ColorValue): this;
|
|
384
|
+
image(image: string, x: number, y: number, options?: ImageOptions): this;
|
|
385
|
+
image(image: string, options?: ImageOptions): this;
|
|
386
|
+
pageWidth(): number;
|
|
387
|
+
pageHeight(): number;
|
|
388
|
+
pageMargins(): PDFKit.Mixins.ExpandedSides<number>;
|
|
389
|
+
x(): number;
|
|
390
|
+
y(): number;
|
|
391
|
+
moveDown(amount?: number): this;
|
|
392
|
+
row(...items: [...TupleOfLength<1, RowBuilderFunction>]): this;
|
|
393
|
+
row<C extends number>(options: RowOptions<C>, ...items: [...TupleOfLength<C, RowBuilderFunction>]): this;
|
|
394
|
+
}
|
|
395
|
+
|
|
338
396
|
declare abstract class Signer {
|
|
339
397
|
protected readonly toolkit: XmlToolkit;
|
|
340
398
|
protected readonly certificateRepository: CertificateRepository;
|
|
@@ -403,4 +461,4 @@ declare class XmlSigner extends Signer {
|
|
|
403
461
|
sign(xml: string, options: SignerOptions, cert: ReadCertificateResponse): Promise<Left<NFeTsError> | Right<string>>;
|
|
404
462
|
}
|
|
405
463
|
|
|
406
|
-
export {
|
|
464
|
+
export { type ColorValue as $, type HttpClientHeaders as A, type BuilderOptions as B, type CertificateInfo as C, type DecimalValue as D, Environment as E, type ResponseType as F, type RequestConfig as G, type HeaderValue as H, type HttpResponse as I, type HttpClient as J, type KnownKeys as K, type RemoteTransmissionRepository as L, type SignerOptions as M, type Namespaced as N, type SignedEntity as O, type ParserOptions as P, type SignerRepository as Q, type ReadCertificateRequest as R, SignatureNamespace as S, type Transforms as T, Signer as U, EntitySigner as V, XmlSigner as W, type XmlDeclarationAttributes as X, type Decimal as Y, type PdfBuilder as Z, type DocumentOptions as _, type ReadCertificateResponse as a, type TableOptionsWithData as a0, type TextOptions as a1, type ImageOptions as a2, type RuleValue as a3, type RowOptions as a4, type RowBuilderFunction as a5, type TupleOfLength as a6, type Either as a7, Left as a8, Right as a9, type RowBuilderOptions as aa, CanonicalizationMethod$1 as b, SignatureMethod$1 as c, SignatureAlgorithm as d, DigestAlgorithm as e, StateCodes as f, StateAcronyms as g, type StateCode as h, type StateAcronym as i, type EnvironmentCode as j, type SignedInfo as k, type Signature as l, type Client as m, type SendTransmissionPayload as n, type ExtractReturnType as o, type TransmitterOptions as p, type Transmitter as q, defaultCanonicalizeOptions as r, type CanonicalizeOptions as s, defaultBuilderOptions as t, type RenderOptions as u, defaultParserOptions as v, type XmlToolkit as w, NFeTsError as x, type CacheAdapter as y, type CertificateRepository as z };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Writable } from 'node:stream';
|
|
1
2
|
import { X509Certificate, KeyObject } from 'node:crypto';
|
|
2
3
|
|
|
3
4
|
type DecimalRounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
@@ -335,6 +336,63 @@ interface SignerRepository {
|
|
|
335
336
|
sign(content: string, cert: ReadCertificateResponse, algorithm: SignatureAlgorithm): Promise<Either<NFeTsError, string>>;
|
|
336
337
|
}
|
|
337
338
|
|
|
339
|
+
type DocumentOptions = PDFKit.PDFDocumentOptions;
|
|
340
|
+
interface TextOptions extends PDFKit.Mixins.TextOptions {
|
|
341
|
+
x?: number | undefined;
|
|
342
|
+
y?: number | undefined;
|
|
343
|
+
}
|
|
344
|
+
type ImageOptions = PDFKit.Mixins.ImageOption;
|
|
345
|
+
type ColorValue = PDFKit.Mixins.ColorValue;
|
|
346
|
+
type RuleValue = PDFKit.Mixins.RuleValue;
|
|
347
|
+
type TableOptionsWithData = PDFKit.Mixins.TableOptionsWithData;
|
|
348
|
+
type TupleOfLength<N extends number, T = unknown> = N extends N ? number extends N ? T[] : _TupleOfLength<T, N, []> : never;
|
|
349
|
+
type _TupleOfLength<T, N extends number, R extends readonly unknown[]> = R['length'] extends N ? R : _TupleOfLength<T, N, readonly [...R, T]>;
|
|
350
|
+
interface RowBuilderOptions {
|
|
351
|
+
x: number;
|
|
352
|
+
y: number;
|
|
353
|
+
width: number;
|
|
354
|
+
}
|
|
355
|
+
interface RowOptions<C extends number> {
|
|
356
|
+
columns?: C;
|
|
357
|
+
gap?: number;
|
|
358
|
+
left?: number;
|
|
359
|
+
right?: number;
|
|
360
|
+
size?: TupleOfLength<C, number>;
|
|
361
|
+
}
|
|
362
|
+
type RowBuilderFunction = (options: RowBuilderOptions) => PdfBuilder;
|
|
363
|
+
interface PdfBuilder {
|
|
364
|
+
table(options: TableOptionsWithData): this;
|
|
365
|
+
restore(): this;
|
|
366
|
+
save(): this;
|
|
367
|
+
end(): void;
|
|
368
|
+
path(path: string): this;
|
|
369
|
+
translate(x: number, y: number): this;
|
|
370
|
+
scale(x: number, y?: number): this;
|
|
371
|
+
page(options?: DocumentOptions): this;
|
|
372
|
+
pipe(stream: Writable): this;
|
|
373
|
+
configure(options: DocumentOptions): this;
|
|
374
|
+
font(font: string, familyOrSize?: string | number, size?: number): this;
|
|
375
|
+
fontSize(size: number): this;
|
|
376
|
+
text(text: string, options?: TextOptions): this;
|
|
377
|
+
widthOfString(text: string, options?: PDFKit.Mixins.TextOptions): number;
|
|
378
|
+
heightOfString(text: string, options?: PDFKit.Mixins.TextOptions): number;
|
|
379
|
+
currentLineHeight(includeGap?: boolean): number;
|
|
380
|
+
rect(x: number, y: number, w: number, h: number): this;
|
|
381
|
+
fill(rule: RuleValue): this;
|
|
382
|
+
fill(color?: ColorValue, rule?: RuleValue): this;
|
|
383
|
+
stroke(color?: ColorValue): this;
|
|
384
|
+
image(image: string, x: number, y: number, options?: ImageOptions): this;
|
|
385
|
+
image(image: string, options?: ImageOptions): this;
|
|
386
|
+
pageWidth(): number;
|
|
387
|
+
pageHeight(): number;
|
|
388
|
+
pageMargins(): PDFKit.Mixins.ExpandedSides<number>;
|
|
389
|
+
x(): number;
|
|
390
|
+
y(): number;
|
|
391
|
+
moveDown(amount?: number): this;
|
|
392
|
+
row(...items: [...TupleOfLength<1, RowBuilderFunction>]): this;
|
|
393
|
+
row<C extends number>(options: RowOptions<C>, ...items: [...TupleOfLength<C, RowBuilderFunction>]): this;
|
|
394
|
+
}
|
|
395
|
+
|
|
338
396
|
declare abstract class Signer {
|
|
339
397
|
protected readonly toolkit: XmlToolkit;
|
|
340
398
|
protected readonly certificateRepository: CertificateRepository;
|
|
@@ -403,4 +461,4 @@ declare class XmlSigner extends Signer {
|
|
|
403
461
|
sign(xml: string, options: SignerOptions, cert: ReadCertificateResponse): Promise<Left<NFeTsError> | Right<string>>;
|
|
404
462
|
}
|
|
405
463
|
|
|
406
|
-
export {
|
|
464
|
+
export { type ColorValue as $, type HttpClientHeaders as A, type BuilderOptions as B, type CertificateInfo as C, type DecimalValue as D, Environment as E, type ResponseType as F, type RequestConfig as G, type HeaderValue as H, type HttpResponse as I, type HttpClient as J, type KnownKeys as K, type RemoteTransmissionRepository as L, type SignerOptions as M, type Namespaced as N, type SignedEntity as O, type ParserOptions as P, type SignerRepository as Q, type ReadCertificateRequest as R, SignatureNamespace as S, type Transforms as T, Signer as U, EntitySigner as V, XmlSigner as W, type XmlDeclarationAttributes as X, type Decimal as Y, type PdfBuilder as Z, type DocumentOptions as _, type ReadCertificateResponse as a, type TableOptionsWithData as a0, type TextOptions as a1, type ImageOptions as a2, type RuleValue as a3, type RowOptions as a4, type RowBuilderFunction as a5, type TupleOfLength as a6, type Either as a7, Left as a8, Right as a9, type RowBuilderOptions as aa, CanonicalizationMethod$1 as b, SignatureMethod$1 as c, SignatureAlgorithm as d, DigestAlgorithm as e, StateCodes as f, StateAcronyms as g, type StateCode as h, type StateAcronym as i, type EnvironmentCode as j, type SignedInfo as k, type Signature as l, type Client as m, type SendTransmissionPayload as n, type ExtractReturnType as o, type TransmitterOptions as p, type Transmitter as q, defaultCanonicalizeOptions as r, type CanonicalizeOptions as s, defaultBuilderOptions as t, type RenderOptions as u, defaultParserOptions as v, type XmlToolkit as w, NFeTsError as x, type CacheAdapter as y, type CertificateRepository as z };
|