@seidor-cloud-produtos/tax-core 1.0.38 → 1.0.40
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/index.d.mts +162 -3
- package/dist/index.d.ts +162 -3
- package/dist/index.js +7 -4
- package/dist/index.mjs +7 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -720,7 +720,8 @@ declare enum MunicipalObligationIdEnum {
|
|
|
720
720
|
RIO_DE_JANEIRO = "RIO_DE_JANEIRO",
|
|
721
721
|
RECIFE = "RECIFE",
|
|
722
722
|
SAO_BERNARDO_DO_CAMPO = "SAO_BERNARDO_DO_CAMPO",
|
|
723
|
-
FLORIANOPOLIS = "FLORIANOPOLIS"
|
|
723
|
+
FLORIANOPOLIS = "FLORIANOPOLIS",
|
|
724
|
+
CAMPOS_DOS_GOYTACAZES_RJ = "CAMPOS_DOS_GOYTACAZES_RJ"
|
|
724
725
|
}
|
|
725
726
|
|
|
726
727
|
declare enum MunicipalObligationNameEnum {
|
|
@@ -1577,6 +1578,7 @@ declare class Tax implements Cloneable {
|
|
|
1577
1578
|
private _non_taxable_value;
|
|
1578
1579
|
private _base_amount;
|
|
1579
1580
|
private _fcp_st_value;
|
|
1581
|
+
private _fcp_st_withheld_value?;
|
|
1580
1582
|
private _fcp_value;
|
|
1581
1583
|
private _fcp_base;
|
|
1582
1584
|
private _fcp_rate;
|
|
@@ -1624,6 +1626,8 @@ declare class Tax implements Cloneable {
|
|
|
1624
1626
|
set base_amount(value: number);
|
|
1625
1627
|
get fcp_st_value(): number;
|
|
1626
1628
|
set fcp_st_value(value: number);
|
|
1629
|
+
get fcp_st_withheld_value(): number | undefined;
|
|
1630
|
+
set fcp_st_withheld_value(value: number | undefined);
|
|
1627
1631
|
get fcp_value(): number;
|
|
1628
1632
|
set fcp_value(value: number);
|
|
1629
1633
|
get fcp_base(): number;
|
|
@@ -2285,6 +2289,7 @@ declare class BuilderTax {
|
|
|
2285
2289
|
withNonTaxableValue(non_taxable_value: number): BuilderTax;
|
|
2286
2290
|
withBaseAmount(base_amount: number): BuilderTax;
|
|
2287
2291
|
withFcpStValue(fcp_st_value: number): BuilderTax;
|
|
2292
|
+
withFcpStWithheldValue(fcp_st_withheld_value: number | undefined): BuilderTax;
|
|
2288
2293
|
withFcpValue(fcp_value: number): BuilderTax;
|
|
2289
2294
|
withFcpBase(fcp_base: number): BuilderTax;
|
|
2290
2295
|
withFcpRate(fcp_rate: number): BuilderTax;
|
|
@@ -2517,6 +2522,7 @@ interface ITaxMongo {
|
|
|
2517
2522
|
non_taxable_value: number;
|
|
2518
2523
|
base_amount: number;
|
|
2519
2524
|
fcp_st_value: number;
|
|
2525
|
+
fcp_st_withheld_value?: number;
|
|
2520
2526
|
fcp_value: number;
|
|
2521
2527
|
fcp_base: number;
|
|
2522
2528
|
fcp_rate: number;
|
|
@@ -3261,6 +3267,7 @@ interface IEfdicmsipiAdditionalFields {
|
|
|
3261
3267
|
tax_type_config: ITaxTypeConfig[];
|
|
3262
3268
|
has_blockH: 'true' | 'false';
|
|
3263
3269
|
blockH_movement_indicator: '0' | '1';
|
|
3270
|
+
generate_c191?: 'true' | 'false';
|
|
3264
3271
|
gia_st_layout_version: string;
|
|
3265
3272
|
icms_credit_config?: IIcmsCreditBaseConfig;
|
|
3266
3273
|
tenantid: string;
|
|
@@ -3391,6 +3398,7 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
3391
3398
|
protected _tax_type_config: ITaxTypeConfig[];
|
|
3392
3399
|
protected _has_blockH: 'true' | 'false';
|
|
3393
3400
|
protected _blockH_movement_indicator: '0' | '1';
|
|
3401
|
+
protected _generate_c191?: 'true' | 'false';
|
|
3394
3402
|
protected _icms_credit_config?: IIcmsCreditBaseConfig;
|
|
3395
3403
|
protected _gia_st_layout_version?: string;
|
|
3396
3404
|
protected _tenantid: string;
|
|
@@ -3412,6 +3420,7 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
3412
3420
|
set tax_type_config(tax_type_config: ITaxTypeConfig[]);
|
|
3413
3421
|
set has_blockH(has_blockH: 'true' | 'false');
|
|
3414
3422
|
set blockH_movement_indicator(blockH_movement_indicator: '0' | '1');
|
|
3423
|
+
set generate_c191(generate_c191: 'true' | 'false' | undefined);
|
|
3415
3424
|
set icms_credit_config(icms_credit_config: IIcmsCreditBaseConfig);
|
|
3416
3425
|
set tenantid(tenantid: string);
|
|
3417
3426
|
set id(id: string);
|
|
@@ -3433,6 +3442,7 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
3433
3442
|
get tax_type_config(): ITaxTypeConfig[];
|
|
3434
3443
|
get has_blockH(): 'true' | 'false';
|
|
3435
3444
|
get blockH_movement_indicator(): '0' | '1';
|
|
3445
|
+
get generate_c191(): 'true' | 'false' | undefined;
|
|
3436
3446
|
get icms_credit_config(): IIcmsCreditBaseConfig;
|
|
3437
3447
|
get tenantid(): string;
|
|
3438
3448
|
get id(): string;
|
|
@@ -4757,11 +4767,25 @@ interface RegisterPersist {
|
|
|
4757
4767
|
getByKey(registerKey: string): RegisterDefinition | undefined;
|
|
4758
4768
|
}
|
|
4759
4769
|
|
|
4770
|
+
declare abstract class RegisterSorter {
|
|
4771
|
+
abstract sort(registers: RegisterDefinition[]): RegisterDefinition[];
|
|
4772
|
+
}
|
|
4773
|
+
declare class AlphabeticalRegisterSorter extends RegisterSorter {
|
|
4774
|
+
static createInstance(): AlphabeticalRegisterSorter;
|
|
4775
|
+
sort(registers: RegisterDefinition[]): RegisterDefinition[];
|
|
4776
|
+
}
|
|
4777
|
+
declare class InsertionOrderRegisterSorter extends RegisterSorter {
|
|
4778
|
+
static createInstance(): InsertionOrderRegisterSorter;
|
|
4779
|
+
sort(registers: RegisterDefinition[]): RegisterDefinition[];
|
|
4780
|
+
}
|
|
4781
|
+
declare const alphabeticalByReg: AlphabeticalRegisterSorter;
|
|
4782
|
+
declare const insertionOrder: InsertionOrderRegisterSorter;
|
|
4760
4783
|
declare abstract class Block implements RegisterEventNotifier, RegisterSubscriber {
|
|
4761
4784
|
private readonly _name;
|
|
4762
4785
|
private eventEmitter;
|
|
4763
4786
|
protected registersPersist: RegisterPersist;
|
|
4764
|
-
protected
|
|
4787
|
+
protected sortStrategy: RegisterSorter;
|
|
4788
|
+
protected constructor(name: string, regPersist: RegisterPersist, sortStrategy?: RegisterSorter);
|
|
4765
4789
|
abstract eventHandler(eventData: RegisterEventData): void;
|
|
4766
4790
|
notifyEvent(eventData: RegisterEventData): void;
|
|
4767
4791
|
get name(): string;
|
|
@@ -4814,6 +4838,10 @@ interface RegisterGenerator {
|
|
|
4814
4838
|
generate(register: RegisterDefinition): void;
|
|
4815
4839
|
save(): void;
|
|
4816
4840
|
}
|
|
4841
|
+
interface NestedRegisterGenerator extends RegisterGenerator {
|
|
4842
|
+
beginRegister(register: RegisterDefinition): void;
|
|
4843
|
+
endRegister(register: RegisterDefinition): void;
|
|
4844
|
+
}
|
|
4817
4845
|
|
|
4818
4846
|
interface ReportGenerationOptions {
|
|
4819
4847
|
openSuffix: string;
|
|
@@ -4911,15 +4939,26 @@ declare class StringArrayOutput implements OutputWriter {
|
|
|
4911
4939
|
get Output(): string[];
|
|
4912
4940
|
}
|
|
4913
4941
|
|
|
4942
|
+
type FieldOrder = 'legacy' | 'declaration';
|
|
4943
|
+
declare class FieldKeyResolver {
|
|
4944
|
+
private readonly mode;
|
|
4945
|
+
private constructor();
|
|
4946
|
+
static newWithOptions(mode?: FieldOrder): FieldKeyResolver;
|
|
4947
|
+
resolve(register: object): string[];
|
|
4948
|
+
}
|
|
4949
|
+
|
|
4914
4950
|
interface TaxRegisterGenerationOptions {
|
|
4915
4951
|
writer: OutputWriter;
|
|
4916
4952
|
fieldSeparator: string;
|
|
4917
4953
|
separatorAtTheRegisterStart: boolean;
|
|
4918
4954
|
separatorAtTheRegisterEnd: boolean;
|
|
4919
4955
|
writeRegisterTag: boolean;
|
|
4956
|
+
fieldOrder?: FieldOrder;
|
|
4920
4957
|
}
|
|
4921
4958
|
declare class TaxRegisterGenerator implements RegisterGenerator {
|
|
4922
4959
|
protected _options: TaxRegisterGenerationOptions;
|
|
4960
|
+
private readonly fieldKeyResolver;
|
|
4961
|
+
private readonly fieldFormatter;
|
|
4923
4962
|
private constructor();
|
|
4924
4963
|
save(): void;
|
|
4925
4964
|
static defaultOptions(writer?: OutputWriter): TaxRegisterGenerationOptions;
|
|
@@ -4931,6 +4970,126 @@ declare class TaxRegisterGenerator implements RegisterGenerator {
|
|
|
4931
4970
|
private numericValue;
|
|
4932
4971
|
}
|
|
4933
4972
|
|
|
4973
|
+
interface FormatValueContext {
|
|
4974
|
+
omitZeroWhenOptional: boolean;
|
|
4975
|
+
stripLeadingZeros: boolean;
|
|
4976
|
+
fieldSeparator?: string;
|
|
4977
|
+
}
|
|
4978
|
+
declare class FieldFormatter {
|
|
4979
|
+
private readonly ctx;
|
|
4980
|
+
private constructor();
|
|
4981
|
+
static newWithOptions(ctx: FormatValueContext): FieldFormatter;
|
|
4982
|
+
alphanumericValue(metadata: FieldFormat, value: unknown): string;
|
|
4983
|
+
numericValue(metadata: FieldFormat, value: unknown, stripLeadingZeros?: boolean): string;
|
|
4984
|
+
}
|
|
4985
|
+
|
|
4986
|
+
declare const XML_CHILD_DATA_TYPE: "child";
|
|
4987
|
+
type XmlFieldKind = 'element' | 'attribute' | 'child';
|
|
4988
|
+
type XmlDateFormat = 'date' | 'dateTime';
|
|
4989
|
+
interface XmlFieldMeta {
|
|
4990
|
+
name: string;
|
|
4991
|
+
kind: XmlFieldKind;
|
|
4992
|
+
emitEmpty?: boolean;
|
|
4993
|
+
stripLeadingZeros?: boolean;
|
|
4994
|
+
dateFormat?: XmlDateFormat;
|
|
4995
|
+
}
|
|
4996
|
+
interface XmlTypeMeta {
|
|
4997
|
+
name: string;
|
|
4998
|
+
prefix?: string;
|
|
4999
|
+
}
|
|
5000
|
+
interface XmlNamespaces {
|
|
5001
|
+
default?: string;
|
|
5002
|
+
[prefix: string]: string | undefined;
|
|
5003
|
+
}
|
|
5004
|
+
interface StrictError {
|
|
5005
|
+
register: string;
|
|
5006
|
+
field: string;
|
|
5007
|
+
reason: string;
|
|
5008
|
+
}
|
|
5009
|
+
interface XmlReportGenerationOptions {
|
|
5010
|
+
writer: OutputWriter;
|
|
5011
|
+
rootElement: string;
|
|
5012
|
+
xmlDeclaration?: boolean;
|
|
5013
|
+
encoding?: string;
|
|
5014
|
+
namespaces?: XmlNamespaces;
|
|
5015
|
+
fieldOrder?: FieldOrder;
|
|
5016
|
+
indent?: string | false;
|
|
5017
|
+
strict?: boolean;
|
|
5018
|
+
}
|
|
5019
|
+
interface ResolvedXmlOptions {
|
|
5020
|
+
writer: OutputWriter;
|
|
5021
|
+
rootElement: string;
|
|
5022
|
+
xmlDeclaration: boolean;
|
|
5023
|
+
encoding: string;
|
|
5024
|
+
namespaces: XmlNamespaces;
|
|
5025
|
+
fieldOrder: FieldOrder;
|
|
5026
|
+
indent: string | false;
|
|
5027
|
+
strict: boolean;
|
|
5028
|
+
}
|
|
5029
|
+
interface XmlGenerationResult {
|
|
5030
|
+
xml: string;
|
|
5031
|
+
strictErrors: StrictError[];
|
|
5032
|
+
}
|
|
5033
|
+
|
|
5034
|
+
declare function XmlElement(name: string, opts?: Partial<XmlFieldMeta>): PropertyDecorator;
|
|
5035
|
+
declare function XmlAttribute(name: string): PropertyDecorator;
|
|
5036
|
+
declare function XmlChild(): PropertyDecorator;
|
|
5037
|
+
declare function XmlComplexType(name: string, opts?: {
|
|
5038
|
+
prefix?: string;
|
|
5039
|
+
}): ClassDecorator;
|
|
5040
|
+
declare function XmlDate(): PropertyDecorator;
|
|
5041
|
+
declare function XmlDateTime(): PropertyDecorator;
|
|
5042
|
+
declare class XmlMetadata {
|
|
5043
|
+
static getType(register: object): XmlTypeMeta | undefined;
|
|
5044
|
+
static getField(register: object, prop: string): XmlFieldMeta | undefined;
|
|
5045
|
+
}
|
|
5046
|
+
|
|
5047
|
+
declare class XmlFieldFormatter {
|
|
5048
|
+
private readonly numericFormatter;
|
|
5049
|
+
private constructor();
|
|
5050
|
+
static newWithDefaultOptions(): XmlFieldFormatter;
|
|
5051
|
+
escape(value: string): string;
|
|
5052
|
+
isMissing(value: unknown): boolean;
|
|
5053
|
+
format(fmt: FieldFormat, xml: XmlFieldMeta, value: unknown, strictErrors: StrictError[] | undefined, registerName: string, field: string): string | undefined;
|
|
5054
|
+
private formatDate;
|
|
5055
|
+
private pad2;
|
|
5056
|
+
}
|
|
5057
|
+
|
|
5058
|
+
declare class XmlStrictError extends Error {
|
|
5059
|
+
readonly strictErrors: StrictError[];
|
|
5060
|
+
readonly xml: string;
|
|
5061
|
+
constructor(strictErrors: StrictError[], xml: string);
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5064
|
+
declare class XmlRegisterGenerator implements NestedRegisterGenerator {
|
|
5065
|
+
private readonly opts;
|
|
5066
|
+
private readonly writer;
|
|
5067
|
+
readonly strictErrors: StrictError[];
|
|
5068
|
+
private readonly chunks;
|
|
5069
|
+
private readonly fieldKeyResolver;
|
|
5070
|
+
private readonly fieldFormatter;
|
|
5071
|
+
constructor(opts: ResolvedXmlOptions, writer: OutputWriter);
|
|
5072
|
+
get output(): string;
|
|
5073
|
+
generate(register: RegisterDefinition): void;
|
|
5074
|
+
save(): void;
|
|
5075
|
+
beginRegister(register: RegisterDefinition): void;
|
|
5076
|
+
endRegister(_register: RegisterDefinition): void;
|
|
5077
|
+
append(chunk: string): void;
|
|
5078
|
+
serializeRegister(register: RegisterDefinition, depth: number, inheritedPrefix?: string): void;
|
|
5079
|
+
private nl;
|
|
5080
|
+
private qualify;
|
|
5081
|
+
}
|
|
5082
|
+
|
|
5083
|
+
declare class XmlReportGenerator {
|
|
5084
|
+
private readonly opts;
|
|
5085
|
+
private constructor();
|
|
5086
|
+
static newWithOptions(opts: XmlReportGenerationOptions): XmlReportGenerator;
|
|
5087
|
+
get writer(): OutputWriter;
|
|
5088
|
+
generateFile(taxReport: TaxReport): XmlGenerationResult;
|
|
5089
|
+
private static resolveOptions;
|
|
5090
|
+
private namespaceDeclarations;
|
|
5091
|
+
}
|
|
5092
|
+
|
|
4934
5093
|
declare const MessageCode: {
|
|
4935
5094
|
AUTH: {
|
|
4936
5095
|
UNAUTHORIZED: string;
|
|
@@ -5094,4 +5253,4 @@ declare class Calendar {
|
|
|
5094
5253
|
|
|
5095
5254
|
declare const BRAZIL_HOLIDAYS: HolidayDefinition[];
|
|
5096
5255
|
|
|
5097
|
-
export { AccountServicePostgresRepository, AccountingDocument, ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditAction, type AuditActorType, type AuditChangeSet, type AuditChangeSetType, type AuditContext, type AuditEvent, AuditEventBuilder, AuditEventService, type AuditFieldChange, type AuditServiceConfig, type AuditSourceType, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, BRAZIL_HOLIDAYS, Block, BuilderAccountingDocument, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CNPJ_FLEXIBLE_REGEX, CNPJ_MASKED_REGEX, CNPJ_RAW_REGEX, CPF, CPF_FLEXIBLE_REGEX, CPF_MASKED_REGEX, CPF_RAW_REGEX, CST, CalculationBasisNatureSetting, Calendar, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, type CompareOptions, type CompareResult, ConfigTypeEnum, ConsoleOutput, Contact, ContactTypesEnum, ConversionFactor, CounterBlock, CounterRegister, Country, CountryCodeEnum, CprbOption, CreditBalanceOriginCreditTypeEnum, CreditBalanceRegimeTypeEnum, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, DayOfWeek, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, DueDateAdjustmentEnum, EasterCalculator, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, EnrichmentField, Establishment, EstablishmentEvent, Event, EventEnum, FederalCollectionSettings, FieldDataType, type FieldEnricherFn, type FieldFormat, type FiltersDocument, FiscalQualificationType, FreightContractedNatureIndicatorEnum, FreightTypeCodeEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type HolidayDefinition, type HolidayLocation, type HolidayScope, type IAccountingDocumentMongo, type IAddition, type IAddressMongo, type IAuditEventRepository, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, type ICollectionSettings, type IConversionFactor, type IDocumentMongo, type IEcdSpecializedProfile, type IEcfSpecializedProfile, type IEfdContribSpecializedProfile, type IEfdicmsipiAdditionalFields, type IEstablishment, type IEstablishmentEvent, type IGrossRevenueContributionHeader, type IIcmsAdjustmentExtraInfo, type IIcmsAdjustmentSetting, type IIcmsCreditBaseConfig, type IIcmsCreditConfigLog, type IImportDeclaration, type IItemMongo, type IJudicialProcess, type INatureConfig, type INatureOfIncomeBusinessPartner, type IPersonMongo, type IProfile, type IProfileRepository, type IProfileServiceUrls, type IReinfAdditionalFields, type IRevenueNatureSettings, type IScp, type ISignatory, type IStartingCreditBalance, type IStateCollectionSettingsRepository, type ITable9, type ITaxMongo, type ITaxTypeConfig, type ITaxTypeConfigBase, type ITaxTypeConfigCreateOrUpdate, type ITaxTypeConfigLog, IcmsAdjustmentGroupEnum, IcmsAdjustmentRegistryEnum, IcmsAdjustmentSetting, IcmsAdjustmentTaxTypeEnum, IcmsAdjustmentTypeEnum, IcmsCalculationIndicatorEnum, type IdentificationNumber, ImportDeclaration, IntermediationTypeEnum, type InternalServerErrorParams, InternationalTransportTypeEnum, IssuerIndicatorEnum, Item, ItemTypeEnum, JudicialProcessOriginEnum, Key, type KeyComposition, type KeyFieldDefinition, LayoutDateFormat, type Locale, MaximumNumericLength, MemoryMasterDataRepository, MemoryPersist, MessageCategory, MessageCode, type MessageCodeType, Messages, ModelConverter, ModelRollback, MongoAuditEventRepository, MongoConfig, MongoRepository, MongoToDocumentBuilder, MunicipalObligation, MunicipalObligationIdEnum, MunicipalObligationNameEnum, MunicipalObligationTypeEnum, MunicipalRegistration, Municipality, NameCountryEnum, NatureCode, NatureConfig, Numeric, ObjectComparator, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, PeriodDateFieldEnum, Person, type PisCofinsOptions, PostgresConfig, PostgresRepository, ProductOriginEnum, Profile, ProfileDbRepository, ProfileRestRepository, ProfileTaxTypeEnum, Register, type RegisterDefinition, type RegisterEventData, type RegisterEventNotifier, type RegisterGenerator, type RegisterPersist, type RegisterSubscriber, ReinfSpecializedProfile, type ReportGenerationOptions, ReportGenerator, type Repository, type ResolvedHoliday, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, StartingCreditBalance, StartingCreditBalanceTypeEnum, State, StateCollectionSettings, StateCollectionSettingsConfigTypeEnum, StateCollectionSettingsTaxTypeEnum, StateEnum, StateRegistration, StateRegistrationIndicatorEnum, StatusDocumentEnum, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxCollectionTypeEnum, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Telephone, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, WEEKDAYS, ZERO_PIS_COFINS_BY_CST, ZfmPresumedCreditTypeEnum, buildMongoFilter, buildMongoFilterToRetainedTax, calculate_bases_values, cleanData, createReferentialAccountPlanEnricher, formatMessage, isEmptyObject, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState, toSafeNumber, validationValue };
|
|
5256
|
+
export { AccountServicePostgresRepository, AccountingDocument, ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, AlphabeticalRegisterSorter, Alphanumeric, type AuditAction, type AuditActorType, type AuditChangeSet, type AuditChangeSetType, type AuditContext, type AuditEvent, AuditEventBuilder, AuditEventService, type AuditFieldChange, type AuditServiceConfig, type AuditSourceType, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, BRAZIL_HOLIDAYS, Block, BuilderAccountingDocument, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CNPJ_FLEXIBLE_REGEX, CNPJ_MASKED_REGEX, CNPJ_RAW_REGEX, CPF, CPF_FLEXIBLE_REGEX, CPF_MASKED_REGEX, CPF_RAW_REGEX, CST, CalculationBasisNatureSetting, Calendar, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, type CompareOptions, type CompareResult, ConfigTypeEnum, ConsoleOutput, Contact, ContactTypesEnum, ConversionFactor, CounterBlock, CounterRegister, Country, CountryCodeEnum, CprbOption, CreditBalanceOriginCreditTypeEnum, CreditBalanceRegimeTypeEnum, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, DayOfWeek, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, DueDateAdjustmentEnum, EasterCalculator, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, EnrichmentField, Establishment, EstablishmentEvent, Event, EventEnum, FederalCollectionSettings, FieldDataType, type FieldEnricherFn, type FieldFormat, FieldFormatter, FieldKeyResolver, type FieldOrder, type FiltersDocument, FiscalQualificationType, type FormatValueContext, FreightContractedNatureIndicatorEnum, FreightTypeCodeEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type HolidayDefinition, type HolidayLocation, type HolidayScope, type IAccountingDocumentMongo, type IAddition, type IAddressMongo, type IAuditEventRepository, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, type ICollectionSettings, type IConversionFactor, type IDocumentMongo, type IEcdSpecializedProfile, type IEcfSpecializedProfile, type IEfdContribSpecializedProfile, type IEfdicmsipiAdditionalFields, type IEstablishment, type IEstablishmentEvent, type IGrossRevenueContributionHeader, type IIcmsAdjustmentExtraInfo, type IIcmsAdjustmentSetting, type IIcmsCreditBaseConfig, type IIcmsCreditConfigLog, type IImportDeclaration, type IItemMongo, type IJudicialProcess, type INatureConfig, type INatureOfIncomeBusinessPartner, type IPersonMongo, type IProfile, type IProfileRepository, type IProfileServiceUrls, type IReinfAdditionalFields, type IRevenueNatureSettings, type IScp, type ISignatory, type IStartingCreditBalance, type IStateCollectionSettingsRepository, type ITable9, type ITaxMongo, type ITaxTypeConfig, type ITaxTypeConfigBase, type ITaxTypeConfigCreateOrUpdate, type ITaxTypeConfigLog, IcmsAdjustmentGroupEnum, IcmsAdjustmentRegistryEnum, IcmsAdjustmentSetting, IcmsAdjustmentTaxTypeEnum, IcmsAdjustmentTypeEnum, IcmsCalculationIndicatorEnum, type IdentificationNumber, ImportDeclaration, InsertionOrderRegisterSorter, IntermediationTypeEnum, type InternalServerErrorParams, InternationalTransportTypeEnum, IssuerIndicatorEnum, Item, ItemTypeEnum, JudicialProcessOriginEnum, Key, type KeyComposition, type KeyFieldDefinition, LayoutDateFormat, type Locale, MaximumNumericLength, MemoryMasterDataRepository, MemoryPersist, MessageCategory, MessageCode, type MessageCodeType, Messages, ModelConverter, ModelRollback, MongoAuditEventRepository, MongoConfig, MongoRepository, MongoToDocumentBuilder, MunicipalObligation, MunicipalObligationIdEnum, MunicipalObligationNameEnum, MunicipalObligationTypeEnum, MunicipalRegistration, Municipality, NameCountryEnum, NatureCode, NatureConfig, type NestedRegisterGenerator, Numeric, ObjectComparator, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, PeriodDateFieldEnum, Person, type PisCofinsOptions, PostgresConfig, PostgresRepository, ProductOriginEnum, Profile, ProfileDbRepository, ProfileRestRepository, ProfileTaxTypeEnum, Register, type RegisterDefinition, type RegisterEventData, type RegisterEventNotifier, type RegisterGenerator, type RegisterPersist, RegisterSorter, type RegisterSubscriber, ReinfSpecializedProfile, type ReportGenerationOptions, ReportGenerator, type Repository, type ResolvedHoliday, type ResolvedXmlOptions, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, StartingCreditBalance, StartingCreditBalanceTypeEnum, State, StateCollectionSettings, StateCollectionSettingsConfigTypeEnum, StateCollectionSettingsTaxTypeEnum, StateEnum, StateRegistration, StateRegistrationIndicatorEnum, StatusDocumentEnum, type StrictError, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxCollectionTypeEnum, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Telephone, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, WEEKDAYS, XML_CHILD_DATA_TYPE, XmlAttribute, XmlChild, XmlComplexType, XmlDate, type XmlDateFormat, XmlDateTime, XmlElement, XmlFieldFormatter, type XmlFieldKind, type XmlFieldMeta, type XmlGenerationResult, XmlMetadata, type XmlNamespaces, XmlRegisterGenerator, type XmlReportGenerationOptions, XmlReportGenerator, XmlStrictError, type XmlTypeMeta, ZERO_PIS_COFINS_BY_CST, ZfmPresumedCreditTypeEnum, alphabeticalByReg, buildMongoFilter, buildMongoFilterToRetainedTax, calculate_bases_values, cleanData, createReferentialAccountPlanEnricher, formatMessage, insertionOrder, isEmptyObject, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState, toSafeNumber, validationValue };
|
package/dist/index.d.ts
CHANGED
|
@@ -720,7 +720,8 @@ declare enum MunicipalObligationIdEnum {
|
|
|
720
720
|
RIO_DE_JANEIRO = "RIO_DE_JANEIRO",
|
|
721
721
|
RECIFE = "RECIFE",
|
|
722
722
|
SAO_BERNARDO_DO_CAMPO = "SAO_BERNARDO_DO_CAMPO",
|
|
723
|
-
FLORIANOPOLIS = "FLORIANOPOLIS"
|
|
723
|
+
FLORIANOPOLIS = "FLORIANOPOLIS",
|
|
724
|
+
CAMPOS_DOS_GOYTACAZES_RJ = "CAMPOS_DOS_GOYTACAZES_RJ"
|
|
724
725
|
}
|
|
725
726
|
|
|
726
727
|
declare enum MunicipalObligationNameEnum {
|
|
@@ -1577,6 +1578,7 @@ declare class Tax implements Cloneable {
|
|
|
1577
1578
|
private _non_taxable_value;
|
|
1578
1579
|
private _base_amount;
|
|
1579
1580
|
private _fcp_st_value;
|
|
1581
|
+
private _fcp_st_withheld_value?;
|
|
1580
1582
|
private _fcp_value;
|
|
1581
1583
|
private _fcp_base;
|
|
1582
1584
|
private _fcp_rate;
|
|
@@ -1624,6 +1626,8 @@ declare class Tax implements Cloneable {
|
|
|
1624
1626
|
set base_amount(value: number);
|
|
1625
1627
|
get fcp_st_value(): number;
|
|
1626
1628
|
set fcp_st_value(value: number);
|
|
1629
|
+
get fcp_st_withheld_value(): number | undefined;
|
|
1630
|
+
set fcp_st_withheld_value(value: number | undefined);
|
|
1627
1631
|
get fcp_value(): number;
|
|
1628
1632
|
set fcp_value(value: number);
|
|
1629
1633
|
get fcp_base(): number;
|
|
@@ -2285,6 +2289,7 @@ declare class BuilderTax {
|
|
|
2285
2289
|
withNonTaxableValue(non_taxable_value: number): BuilderTax;
|
|
2286
2290
|
withBaseAmount(base_amount: number): BuilderTax;
|
|
2287
2291
|
withFcpStValue(fcp_st_value: number): BuilderTax;
|
|
2292
|
+
withFcpStWithheldValue(fcp_st_withheld_value: number | undefined): BuilderTax;
|
|
2288
2293
|
withFcpValue(fcp_value: number): BuilderTax;
|
|
2289
2294
|
withFcpBase(fcp_base: number): BuilderTax;
|
|
2290
2295
|
withFcpRate(fcp_rate: number): BuilderTax;
|
|
@@ -2517,6 +2522,7 @@ interface ITaxMongo {
|
|
|
2517
2522
|
non_taxable_value: number;
|
|
2518
2523
|
base_amount: number;
|
|
2519
2524
|
fcp_st_value: number;
|
|
2525
|
+
fcp_st_withheld_value?: number;
|
|
2520
2526
|
fcp_value: number;
|
|
2521
2527
|
fcp_base: number;
|
|
2522
2528
|
fcp_rate: number;
|
|
@@ -3261,6 +3267,7 @@ interface IEfdicmsipiAdditionalFields {
|
|
|
3261
3267
|
tax_type_config: ITaxTypeConfig[];
|
|
3262
3268
|
has_blockH: 'true' | 'false';
|
|
3263
3269
|
blockH_movement_indicator: '0' | '1';
|
|
3270
|
+
generate_c191?: 'true' | 'false';
|
|
3264
3271
|
gia_st_layout_version: string;
|
|
3265
3272
|
icms_credit_config?: IIcmsCreditBaseConfig;
|
|
3266
3273
|
tenantid: string;
|
|
@@ -3391,6 +3398,7 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
3391
3398
|
protected _tax_type_config: ITaxTypeConfig[];
|
|
3392
3399
|
protected _has_blockH: 'true' | 'false';
|
|
3393
3400
|
protected _blockH_movement_indicator: '0' | '1';
|
|
3401
|
+
protected _generate_c191?: 'true' | 'false';
|
|
3394
3402
|
protected _icms_credit_config?: IIcmsCreditBaseConfig;
|
|
3395
3403
|
protected _gia_st_layout_version?: string;
|
|
3396
3404
|
protected _tenantid: string;
|
|
@@ -3412,6 +3420,7 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
3412
3420
|
set tax_type_config(tax_type_config: ITaxTypeConfig[]);
|
|
3413
3421
|
set has_blockH(has_blockH: 'true' | 'false');
|
|
3414
3422
|
set blockH_movement_indicator(blockH_movement_indicator: '0' | '1');
|
|
3423
|
+
set generate_c191(generate_c191: 'true' | 'false' | undefined);
|
|
3415
3424
|
set icms_credit_config(icms_credit_config: IIcmsCreditBaseConfig);
|
|
3416
3425
|
set tenantid(tenantid: string);
|
|
3417
3426
|
set id(id: string);
|
|
@@ -3433,6 +3442,7 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
3433
3442
|
get tax_type_config(): ITaxTypeConfig[];
|
|
3434
3443
|
get has_blockH(): 'true' | 'false';
|
|
3435
3444
|
get blockH_movement_indicator(): '0' | '1';
|
|
3445
|
+
get generate_c191(): 'true' | 'false' | undefined;
|
|
3436
3446
|
get icms_credit_config(): IIcmsCreditBaseConfig;
|
|
3437
3447
|
get tenantid(): string;
|
|
3438
3448
|
get id(): string;
|
|
@@ -4757,11 +4767,25 @@ interface RegisterPersist {
|
|
|
4757
4767
|
getByKey(registerKey: string): RegisterDefinition | undefined;
|
|
4758
4768
|
}
|
|
4759
4769
|
|
|
4770
|
+
declare abstract class RegisterSorter {
|
|
4771
|
+
abstract sort(registers: RegisterDefinition[]): RegisterDefinition[];
|
|
4772
|
+
}
|
|
4773
|
+
declare class AlphabeticalRegisterSorter extends RegisterSorter {
|
|
4774
|
+
static createInstance(): AlphabeticalRegisterSorter;
|
|
4775
|
+
sort(registers: RegisterDefinition[]): RegisterDefinition[];
|
|
4776
|
+
}
|
|
4777
|
+
declare class InsertionOrderRegisterSorter extends RegisterSorter {
|
|
4778
|
+
static createInstance(): InsertionOrderRegisterSorter;
|
|
4779
|
+
sort(registers: RegisterDefinition[]): RegisterDefinition[];
|
|
4780
|
+
}
|
|
4781
|
+
declare const alphabeticalByReg: AlphabeticalRegisterSorter;
|
|
4782
|
+
declare const insertionOrder: InsertionOrderRegisterSorter;
|
|
4760
4783
|
declare abstract class Block implements RegisterEventNotifier, RegisterSubscriber {
|
|
4761
4784
|
private readonly _name;
|
|
4762
4785
|
private eventEmitter;
|
|
4763
4786
|
protected registersPersist: RegisterPersist;
|
|
4764
|
-
protected
|
|
4787
|
+
protected sortStrategy: RegisterSorter;
|
|
4788
|
+
protected constructor(name: string, regPersist: RegisterPersist, sortStrategy?: RegisterSorter);
|
|
4765
4789
|
abstract eventHandler(eventData: RegisterEventData): void;
|
|
4766
4790
|
notifyEvent(eventData: RegisterEventData): void;
|
|
4767
4791
|
get name(): string;
|
|
@@ -4814,6 +4838,10 @@ interface RegisterGenerator {
|
|
|
4814
4838
|
generate(register: RegisterDefinition): void;
|
|
4815
4839
|
save(): void;
|
|
4816
4840
|
}
|
|
4841
|
+
interface NestedRegisterGenerator extends RegisterGenerator {
|
|
4842
|
+
beginRegister(register: RegisterDefinition): void;
|
|
4843
|
+
endRegister(register: RegisterDefinition): void;
|
|
4844
|
+
}
|
|
4817
4845
|
|
|
4818
4846
|
interface ReportGenerationOptions {
|
|
4819
4847
|
openSuffix: string;
|
|
@@ -4911,15 +4939,26 @@ declare class StringArrayOutput implements OutputWriter {
|
|
|
4911
4939
|
get Output(): string[];
|
|
4912
4940
|
}
|
|
4913
4941
|
|
|
4942
|
+
type FieldOrder = 'legacy' | 'declaration';
|
|
4943
|
+
declare class FieldKeyResolver {
|
|
4944
|
+
private readonly mode;
|
|
4945
|
+
private constructor();
|
|
4946
|
+
static newWithOptions(mode?: FieldOrder): FieldKeyResolver;
|
|
4947
|
+
resolve(register: object): string[];
|
|
4948
|
+
}
|
|
4949
|
+
|
|
4914
4950
|
interface TaxRegisterGenerationOptions {
|
|
4915
4951
|
writer: OutputWriter;
|
|
4916
4952
|
fieldSeparator: string;
|
|
4917
4953
|
separatorAtTheRegisterStart: boolean;
|
|
4918
4954
|
separatorAtTheRegisterEnd: boolean;
|
|
4919
4955
|
writeRegisterTag: boolean;
|
|
4956
|
+
fieldOrder?: FieldOrder;
|
|
4920
4957
|
}
|
|
4921
4958
|
declare class TaxRegisterGenerator implements RegisterGenerator {
|
|
4922
4959
|
protected _options: TaxRegisterGenerationOptions;
|
|
4960
|
+
private readonly fieldKeyResolver;
|
|
4961
|
+
private readonly fieldFormatter;
|
|
4923
4962
|
private constructor();
|
|
4924
4963
|
save(): void;
|
|
4925
4964
|
static defaultOptions(writer?: OutputWriter): TaxRegisterGenerationOptions;
|
|
@@ -4931,6 +4970,126 @@ declare class TaxRegisterGenerator implements RegisterGenerator {
|
|
|
4931
4970
|
private numericValue;
|
|
4932
4971
|
}
|
|
4933
4972
|
|
|
4973
|
+
interface FormatValueContext {
|
|
4974
|
+
omitZeroWhenOptional: boolean;
|
|
4975
|
+
stripLeadingZeros: boolean;
|
|
4976
|
+
fieldSeparator?: string;
|
|
4977
|
+
}
|
|
4978
|
+
declare class FieldFormatter {
|
|
4979
|
+
private readonly ctx;
|
|
4980
|
+
private constructor();
|
|
4981
|
+
static newWithOptions(ctx: FormatValueContext): FieldFormatter;
|
|
4982
|
+
alphanumericValue(metadata: FieldFormat, value: unknown): string;
|
|
4983
|
+
numericValue(metadata: FieldFormat, value: unknown, stripLeadingZeros?: boolean): string;
|
|
4984
|
+
}
|
|
4985
|
+
|
|
4986
|
+
declare const XML_CHILD_DATA_TYPE: "child";
|
|
4987
|
+
type XmlFieldKind = 'element' | 'attribute' | 'child';
|
|
4988
|
+
type XmlDateFormat = 'date' | 'dateTime';
|
|
4989
|
+
interface XmlFieldMeta {
|
|
4990
|
+
name: string;
|
|
4991
|
+
kind: XmlFieldKind;
|
|
4992
|
+
emitEmpty?: boolean;
|
|
4993
|
+
stripLeadingZeros?: boolean;
|
|
4994
|
+
dateFormat?: XmlDateFormat;
|
|
4995
|
+
}
|
|
4996
|
+
interface XmlTypeMeta {
|
|
4997
|
+
name: string;
|
|
4998
|
+
prefix?: string;
|
|
4999
|
+
}
|
|
5000
|
+
interface XmlNamespaces {
|
|
5001
|
+
default?: string;
|
|
5002
|
+
[prefix: string]: string | undefined;
|
|
5003
|
+
}
|
|
5004
|
+
interface StrictError {
|
|
5005
|
+
register: string;
|
|
5006
|
+
field: string;
|
|
5007
|
+
reason: string;
|
|
5008
|
+
}
|
|
5009
|
+
interface XmlReportGenerationOptions {
|
|
5010
|
+
writer: OutputWriter;
|
|
5011
|
+
rootElement: string;
|
|
5012
|
+
xmlDeclaration?: boolean;
|
|
5013
|
+
encoding?: string;
|
|
5014
|
+
namespaces?: XmlNamespaces;
|
|
5015
|
+
fieldOrder?: FieldOrder;
|
|
5016
|
+
indent?: string | false;
|
|
5017
|
+
strict?: boolean;
|
|
5018
|
+
}
|
|
5019
|
+
interface ResolvedXmlOptions {
|
|
5020
|
+
writer: OutputWriter;
|
|
5021
|
+
rootElement: string;
|
|
5022
|
+
xmlDeclaration: boolean;
|
|
5023
|
+
encoding: string;
|
|
5024
|
+
namespaces: XmlNamespaces;
|
|
5025
|
+
fieldOrder: FieldOrder;
|
|
5026
|
+
indent: string | false;
|
|
5027
|
+
strict: boolean;
|
|
5028
|
+
}
|
|
5029
|
+
interface XmlGenerationResult {
|
|
5030
|
+
xml: string;
|
|
5031
|
+
strictErrors: StrictError[];
|
|
5032
|
+
}
|
|
5033
|
+
|
|
5034
|
+
declare function XmlElement(name: string, opts?: Partial<XmlFieldMeta>): PropertyDecorator;
|
|
5035
|
+
declare function XmlAttribute(name: string): PropertyDecorator;
|
|
5036
|
+
declare function XmlChild(): PropertyDecorator;
|
|
5037
|
+
declare function XmlComplexType(name: string, opts?: {
|
|
5038
|
+
prefix?: string;
|
|
5039
|
+
}): ClassDecorator;
|
|
5040
|
+
declare function XmlDate(): PropertyDecorator;
|
|
5041
|
+
declare function XmlDateTime(): PropertyDecorator;
|
|
5042
|
+
declare class XmlMetadata {
|
|
5043
|
+
static getType(register: object): XmlTypeMeta | undefined;
|
|
5044
|
+
static getField(register: object, prop: string): XmlFieldMeta | undefined;
|
|
5045
|
+
}
|
|
5046
|
+
|
|
5047
|
+
declare class XmlFieldFormatter {
|
|
5048
|
+
private readonly numericFormatter;
|
|
5049
|
+
private constructor();
|
|
5050
|
+
static newWithDefaultOptions(): XmlFieldFormatter;
|
|
5051
|
+
escape(value: string): string;
|
|
5052
|
+
isMissing(value: unknown): boolean;
|
|
5053
|
+
format(fmt: FieldFormat, xml: XmlFieldMeta, value: unknown, strictErrors: StrictError[] | undefined, registerName: string, field: string): string | undefined;
|
|
5054
|
+
private formatDate;
|
|
5055
|
+
private pad2;
|
|
5056
|
+
}
|
|
5057
|
+
|
|
5058
|
+
declare class XmlStrictError extends Error {
|
|
5059
|
+
readonly strictErrors: StrictError[];
|
|
5060
|
+
readonly xml: string;
|
|
5061
|
+
constructor(strictErrors: StrictError[], xml: string);
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5064
|
+
declare class XmlRegisterGenerator implements NestedRegisterGenerator {
|
|
5065
|
+
private readonly opts;
|
|
5066
|
+
private readonly writer;
|
|
5067
|
+
readonly strictErrors: StrictError[];
|
|
5068
|
+
private readonly chunks;
|
|
5069
|
+
private readonly fieldKeyResolver;
|
|
5070
|
+
private readonly fieldFormatter;
|
|
5071
|
+
constructor(opts: ResolvedXmlOptions, writer: OutputWriter);
|
|
5072
|
+
get output(): string;
|
|
5073
|
+
generate(register: RegisterDefinition): void;
|
|
5074
|
+
save(): void;
|
|
5075
|
+
beginRegister(register: RegisterDefinition): void;
|
|
5076
|
+
endRegister(_register: RegisterDefinition): void;
|
|
5077
|
+
append(chunk: string): void;
|
|
5078
|
+
serializeRegister(register: RegisterDefinition, depth: number, inheritedPrefix?: string): void;
|
|
5079
|
+
private nl;
|
|
5080
|
+
private qualify;
|
|
5081
|
+
}
|
|
5082
|
+
|
|
5083
|
+
declare class XmlReportGenerator {
|
|
5084
|
+
private readonly opts;
|
|
5085
|
+
private constructor();
|
|
5086
|
+
static newWithOptions(opts: XmlReportGenerationOptions): XmlReportGenerator;
|
|
5087
|
+
get writer(): OutputWriter;
|
|
5088
|
+
generateFile(taxReport: TaxReport): XmlGenerationResult;
|
|
5089
|
+
private static resolveOptions;
|
|
5090
|
+
private namespaceDeclarations;
|
|
5091
|
+
}
|
|
5092
|
+
|
|
4934
5093
|
declare const MessageCode: {
|
|
4935
5094
|
AUTH: {
|
|
4936
5095
|
UNAUTHORIZED: string;
|
|
@@ -5094,4 +5253,4 @@ declare class Calendar {
|
|
|
5094
5253
|
|
|
5095
5254
|
declare const BRAZIL_HOLIDAYS: HolidayDefinition[];
|
|
5096
5255
|
|
|
5097
|
-
export { AccountServicePostgresRepository, AccountingDocument, ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditAction, type AuditActorType, type AuditChangeSet, type AuditChangeSetType, type AuditContext, type AuditEvent, AuditEventBuilder, AuditEventService, type AuditFieldChange, type AuditServiceConfig, type AuditSourceType, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, BRAZIL_HOLIDAYS, Block, BuilderAccountingDocument, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CNPJ_FLEXIBLE_REGEX, CNPJ_MASKED_REGEX, CNPJ_RAW_REGEX, CPF, CPF_FLEXIBLE_REGEX, CPF_MASKED_REGEX, CPF_RAW_REGEX, CST, CalculationBasisNatureSetting, Calendar, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, type CompareOptions, type CompareResult, ConfigTypeEnum, ConsoleOutput, Contact, ContactTypesEnum, ConversionFactor, CounterBlock, CounterRegister, Country, CountryCodeEnum, CprbOption, CreditBalanceOriginCreditTypeEnum, CreditBalanceRegimeTypeEnum, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, DayOfWeek, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, DueDateAdjustmentEnum, EasterCalculator, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, EnrichmentField, Establishment, EstablishmentEvent, Event, EventEnum, FederalCollectionSettings, FieldDataType, type FieldEnricherFn, type FieldFormat, type FiltersDocument, FiscalQualificationType, FreightContractedNatureIndicatorEnum, FreightTypeCodeEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type HolidayDefinition, type HolidayLocation, type HolidayScope, type IAccountingDocumentMongo, type IAddition, type IAddressMongo, type IAuditEventRepository, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, type ICollectionSettings, type IConversionFactor, type IDocumentMongo, type IEcdSpecializedProfile, type IEcfSpecializedProfile, type IEfdContribSpecializedProfile, type IEfdicmsipiAdditionalFields, type IEstablishment, type IEstablishmentEvent, type IGrossRevenueContributionHeader, type IIcmsAdjustmentExtraInfo, type IIcmsAdjustmentSetting, type IIcmsCreditBaseConfig, type IIcmsCreditConfigLog, type IImportDeclaration, type IItemMongo, type IJudicialProcess, type INatureConfig, type INatureOfIncomeBusinessPartner, type IPersonMongo, type IProfile, type IProfileRepository, type IProfileServiceUrls, type IReinfAdditionalFields, type IRevenueNatureSettings, type IScp, type ISignatory, type IStartingCreditBalance, type IStateCollectionSettingsRepository, type ITable9, type ITaxMongo, type ITaxTypeConfig, type ITaxTypeConfigBase, type ITaxTypeConfigCreateOrUpdate, type ITaxTypeConfigLog, IcmsAdjustmentGroupEnum, IcmsAdjustmentRegistryEnum, IcmsAdjustmentSetting, IcmsAdjustmentTaxTypeEnum, IcmsAdjustmentTypeEnum, IcmsCalculationIndicatorEnum, type IdentificationNumber, ImportDeclaration, IntermediationTypeEnum, type InternalServerErrorParams, InternationalTransportTypeEnum, IssuerIndicatorEnum, Item, ItemTypeEnum, JudicialProcessOriginEnum, Key, type KeyComposition, type KeyFieldDefinition, LayoutDateFormat, type Locale, MaximumNumericLength, MemoryMasterDataRepository, MemoryPersist, MessageCategory, MessageCode, type MessageCodeType, Messages, ModelConverter, ModelRollback, MongoAuditEventRepository, MongoConfig, MongoRepository, MongoToDocumentBuilder, MunicipalObligation, MunicipalObligationIdEnum, MunicipalObligationNameEnum, MunicipalObligationTypeEnum, MunicipalRegistration, Municipality, NameCountryEnum, NatureCode, NatureConfig, Numeric, ObjectComparator, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, PeriodDateFieldEnum, Person, type PisCofinsOptions, PostgresConfig, PostgresRepository, ProductOriginEnum, Profile, ProfileDbRepository, ProfileRestRepository, ProfileTaxTypeEnum, Register, type RegisterDefinition, type RegisterEventData, type RegisterEventNotifier, type RegisterGenerator, type RegisterPersist, type RegisterSubscriber, ReinfSpecializedProfile, type ReportGenerationOptions, ReportGenerator, type Repository, type ResolvedHoliday, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, StartingCreditBalance, StartingCreditBalanceTypeEnum, State, StateCollectionSettings, StateCollectionSettingsConfigTypeEnum, StateCollectionSettingsTaxTypeEnum, StateEnum, StateRegistration, StateRegistrationIndicatorEnum, StatusDocumentEnum, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxCollectionTypeEnum, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Telephone, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, WEEKDAYS, ZERO_PIS_COFINS_BY_CST, ZfmPresumedCreditTypeEnum, buildMongoFilter, buildMongoFilterToRetainedTax, calculate_bases_values, cleanData, createReferentialAccountPlanEnricher, formatMessage, isEmptyObject, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState, toSafeNumber, validationValue };
|
|
5256
|
+
export { AccountServicePostgresRepository, AccountingDocument, ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, AlphabeticalRegisterSorter, Alphanumeric, type AuditAction, type AuditActorType, type AuditChangeSet, type AuditChangeSetType, type AuditContext, type AuditEvent, AuditEventBuilder, AuditEventService, type AuditFieldChange, type AuditServiceConfig, type AuditSourceType, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, BRAZIL_HOLIDAYS, Block, BuilderAccountingDocument, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CNPJ_FLEXIBLE_REGEX, CNPJ_MASKED_REGEX, CNPJ_RAW_REGEX, CPF, CPF_FLEXIBLE_REGEX, CPF_MASKED_REGEX, CPF_RAW_REGEX, CST, CalculationBasisNatureSetting, Calendar, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, type CompareOptions, type CompareResult, ConfigTypeEnum, ConsoleOutput, Contact, ContactTypesEnum, ConversionFactor, CounterBlock, CounterRegister, Country, CountryCodeEnum, CprbOption, CreditBalanceOriginCreditTypeEnum, CreditBalanceRegimeTypeEnum, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, DayOfWeek, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, DueDateAdjustmentEnum, EasterCalculator, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, EnrichmentField, Establishment, EstablishmentEvent, Event, EventEnum, FederalCollectionSettings, FieldDataType, type FieldEnricherFn, type FieldFormat, FieldFormatter, FieldKeyResolver, type FieldOrder, type FiltersDocument, FiscalQualificationType, type FormatValueContext, FreightContractedNatureIndicatorEnum, FreightTypeCodeEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type HolidayDefinition, type HolidayLocation, type HolidayScope, type IAccountingDocumentMongo, type IAddition, type IAddressMongo, type IAuditEventRepository, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, type ICollectionSettings, type IConversionFactor, type IDocumentMongo, type IEcdSpecializedProfile, type IEcfSpecializedProfile, type IEfdContribSpecializedProfile, type IEfdicmsipiAdditionalFields, type IEstablishment, type IEstablishmentEvent, type IGrossRevenueContributionHeader, type IIcmsAdjustmentExtraInfo, type IIcmsAdjustmentSetting, type IIcmsCreditBaseConfig, type IIcmsCreditConfigLog, type IImportDeclaration, type IItemMongo, type IJudicialProcess, type INatureConfig, type INatureOfIncomeBusinessPartner, type IPersonMongo, type IProfile, type IProfileRepository, type IProfileServiceUrls, type IReinfAdditionalFields, type IRevenueNatureSettings, type IScp, type ISignatory, type IStartingCreditBalance, type IStateCollectionSettingsRepository, type ITable9, type ITaxMongo, type ITaxTypeConfig, type ITaxTypeConfigBase, type ITaxTypeConfigCreateOrUpdate, type ITaxTypeConfigLog, IcmsAdjustmentGroupEnum, IcmsAdjustmentRegistryEnum, IcmsAdjustmentSetting, IcmsAdjustmentTaxTypeEnum, IcmsAdjustmentTypeEnum, IcmsCalculationIndicatorEnum, type IdentificationNumber, ImportDeclaration, InsertionOrderRegisterSorter, IntermediationTypeEnum, type InternalServerErrorParams, InternationalTransportTypeEnum, IssuerIndicatorEnum, Item, ItemTypeEnum, JudicialProcessOriginEnum, Key, type KeyComposition, type KeyFieldDefinition, LayoutDateFormat, type Locale, MaximumNumericLength, MemoryMasterDataRepository, MemoryPersist, MessageCategory, MessageCode, type MessageCodeType, Messages, ModelConverter, ModelRollback, MongoAuditEventRepository, MongoConfig, MongoRepository, MongoToDocumentBuilder, MunicipalObligation, MunicipalObligationIdEnum, MunicipalObligationNameEnum, MunicipalObligationTypeEnum, MunicipalRegistration, Municipality, NameCountryEnum, NatureCode, NatureConfig, type NestedRegisterGenerator, Numeric, ObjectComparator, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, PeriodDateFieldEnum, Person, type PisCofinsOptions, PostgresConfig, PostgresRepository, ProductOriginEnum, Profile, ProfileDbRepository, ProfileRestRepository, ProfileTaxTypeEnum, Register, type RegisterDefinition, type RegisterEventData, type RegisterEventNotifier, type RegisterGenerator, type RegisterPersist, RegisterSorter, type RegisterSubscriber, ReinfSpecializedProfile, type ReportGenerationOptions, ReportGenerator, type Repository, type ResolvedHoliday, type ResolvedXmlOptions, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, StartingCreditBalance, StartingCreditBalanceTypeEnum, State, StateCollectionSettings, StateCollectionSettingsConfigTypeEnum, StateCollectionSettingsTaxTypeEnum, StateEnum, StateRegistration, StateRegistrationIndicatorEnum, StatusDocumentEnum, type StrictError, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxCollectionTypeEnum, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Telephone, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, WEEKDAYS, XML_CHILD_DATA_TYPE, XmlAttribute, XmlChild, XmlComplexType, XmlDate, type XmlDateFormat, XmlDateTime, XmlElement, XmlFieldFormatter, type XmlFieldKind, type XmlFieldMeta, type XmlGenerationResult, XmlMetadata, type XmlNamespaces, XmlRegisterGenerator, type XmlReportGenerationOptions, XmlReportGenerator, XmlStrictError, type XmlTypeMeta, ZERO_PIS_COFINS_BY_CST, ZfmPresumedCreditTypeEnum, alphabeticalByReg, buildMongoFilter, buildMongoFilterToRetainedTax, calculate_bases_values, cleanData, createReferentialAccountPlanEnricher, formatMessage, insertionOrder, isEmptyObject, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState, toSafeNumber, validationValue };
|