@seidor-cloud-produtos/tax-core 1.0.7 → 1.0.10

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { MongoClient } from 'mongodb';
2
- import { PoolConfig } from 'pg';
2
+ import { ClientConfig, Pool } from 'pg';
3
3
 
4
4
  interface Cloneable {
5
5
  clone(): this;
@@ -2041,50 +2041,17 @@ interface DocumentRepository {
2041
2041
  getAll(filters: FiltersDocument): AsyncIterableIterator<Document>;
2042
2042
  }
2043
2043
 
2044
- declare class MongoConfig {
2045
- host: string;
2046
- port: number;
2047
- database: string;
2048
- username?: string;
2049
- password?: string;
2050
- isSrv: boolean;
2051
- maxPoolSize: number;
2052
- minPoolSize: number;
2053
- connectTimeoutMS: number;
2054
- socketTimeoutMS: number;
2055
- /**
2056
- * MongoDB configuration class.
2057
- * @param host - The host of the MongoDB server.
2058
- * @param port - The port of the MongoDB server.
2059
- * @param database - The name of the database to connect to.
2060
- * @param username - Optional username for authentication.
2061
- * @param password - Optional password for authentication.
2062
- * @param isSrv - Whether to use SRV connection string format (default: false).
2063
- * @param maxPoolSize - Maximum number of connections in the pool (default: 20).
2064
- * @param minPoolSize - Minimum number of connections in the pool (default: 5).
2065
- * @param connectTimeoutMS - Connection timeout in milliseconds (default: 10000).
2066
- * @param socketTimeoutMS - Socket timeout in milliseconds (default: 45000).
2067
- */
2068
- constructor(host: string, port: number, database: string, username?: string, password?: string, isSrv?: boolean, maxPoolSize?: number, minPoolSize?: number, connectTimeoutMS?: number, socketTimeoutMS?: number);
2069
- getConnectionString(): string;
2070
- getPoolOptions(): {
2071
- maxPoolSize: number;
2072
- minPoolSize: number;
2073
- connectTimeoutMS: number;
2074
- socketTimeoutMS: number;
2075
- };
2076
- }
2077
- declare class MongoRepository implements DocumentRepository {
2078
- private readonly _client;
2079
- private _isConnected;
2080
- constructor(mongoConfig: MongoConfig);
2081
- private isConnected;
2082
- connect(): Promise<MongoClient>;
2083
- close(): Promise<void>;
2084
- getAll(filters: FiltersDocument): AsyncIterableIterator<Document>;
2085
- findOne(id: string, tenant_id: string): Promise<Document>;
2044
+ interface IBaseHeadersDTO {
2045
+ created_at: Date;
2046
+ updated_at: Date;
2047
+ created_by: string;
2048
+ updated_by: string;
2086
2049
  }
2087
2050
 
2051
+ declare function calculate_bases_values(percentage: number, value: number): number;
2052
+
2053
+ declare function normalizeServiceCode(service_code: string): string | undefined;
2054
+
2088
2055
  interface IDocumentMongo {
2089
2056
  _id: any;
2090
2057
  active: boolean;
@@ -2281,39 +2248,83 @@ declare class MongoToDocumentBuilder {
2281
2248
 
2282
2249
  declare function buildMongoFilter(filters: FiltersDocument): any;
2283
2250
 
2284
- declare class PostgresConfig {
2251
+ declare class MongoConfig {
2285
2252
  host: string;
2286
2253
  port: number;
2287
2254
  database: string;
2288
- user?: string;
2255
+ username?: string;
2289
2256
  password?: string;
2290
- private readonly _poolConfig;
2257
+ isSrv: boolean;
2258
+ maxPoolSize: number;
2259
+ minPoolSize: number;
2260
+ connectTimeoutMS: number;
2261
+ socketTimeoutMS: number;
2291
2262
  /**
2292
- * PostgreSQL configuration class.
2293
- * @param host - The host of the PostgreSQL server.
2294
- * @param port - The port of the PostgreSQL server.
2263
+ * MongoDB configuration class.
2264
+ * @param host - The host of the MongoDB server.
2265
+ * @param port - The port of the MongoDB server.
2295
2266
  * @param database - The name of the database to connect to.
2296
- * @param user - Username for authentication.
2297
- * @param password - Password for authentication.
2298
- * @param max - Maximum number of clients in the pool (default: 20).
2299
- * @param idleTimeoutMillis - How long a client is allowed to remain idle before being closed (default: 10000).
2300
- * @param connectionTimeoutMillis - How long to wait for a client from the pool (default: 10000).
2267
+ * @param username - Optional username for authentication.
2268
+ * @param password - Optional password for authentication.
2269
+ * @param isSrv - Whether to use SRV connection string format (default: false).
2270
+ * @param maxPoolSize - Maximum number of connections in the pool (default: 20).
2271
+ * @param minPoolSize - Minimum number of connections in the pool (default: 5).
2272
+ * @param connectTimeoutMS - Connection timeout in milliseconds (default: 10000).
2273
+ * @param socketTimeoutMS - Socket timeout in milliseconds (default: 45000).
2301
2274
  */
2302
- constructor(host: string, port: number, database: string, user?: string, password?: string);
2303
- getPoolConfig(): PoolConfig;
2275
+ constructor(host: string, port: number, database: string, username?: string, password?: string, isSrv?: boolean, maxPoolSize?: number, minPoolSize?: number, connectTimeoutMS?: number, socketTimeoutMS?: number);
2304
2276
  getConnectionString(): string;
2277
+ getPoolOptions(): {
2278
+ maxPoolSize: number;
2279
+ minPoolSize: number;
2280
+ connectTimeoutMS: number;
2281
+ socketTimeoutMS: number;
2282
+ };
2305
2283
  }
2306
2284
 
2307
- interface IBaseHeadersDTO {
2308
- created_at: Date;
2309
- updated_at: Date;
2310
- created_by: string;
2311
- updated_by: string;
2285
+ declare class PostgresConfig {
2286
+ config: {
2287
+ user: string;
2288
+ host: string;
2289
+ database: string;
2290
+ password: string;
2291
+ port: number;
2292
+ ssl?: {
2293
+ rejectUnauthorized: boolean;
2294
+ };
2295
+ };
2296
+ /**
2297
+ * PostgresDB configuration class.
2298
+ * @param user - The username for authentication.
2299
+ * @param host - The host of the PostgresDB server.
2300
+ * @param database - The name of the database to connect to.
2301
+ * @param password - The password for authentication.
2302
+ * @param port - The port of the PostgresDB server.
2303
+ * @param ssl - The ssl connection of the PostgresDB server.
2304
+ */
2305
+ constructor(config: {
2306
+ user: string;
2307
+ host: string;
2308
+ database: string;
2309
+ password: string;
2310
+ port: number;
2311
+ ssl?: {
2312
+ rejectUnauthorized: boolean;
2313
+ };
2314
+ });
2315
+ getConnection(): ClientConfig;
2312
2316
  }
2313
2317
 
2314
- declare function calculate_bases_values(percentage: number, value: number): number;
2315
-
2316
- declare function normalizeServiceCode(service_code: string): string | undefined;
2318
+ declare class MongoRepository implements DocumentRepository {
2319
+ private readonly _client;
2320
+ private _isConnected;
2321
+ constructor(mongoConfig: MongoConfig);
2322
+ private isConnected;
2323
+ connect(): Promise<MongoClient>;
2324
+ close(): Promise<void>;
2325
+ getAll(filters: FiltersDocument): AsyncIterableIterator<Document>;
2326
+ findOne(id: string, tenant_id: string): Promise<Document>;
2327
+ }
2317
2328
 
2318
2329
  declare class ModelRollback {
2319
2330
  execute(document: any): any;
@@ -2856,6 +2867,7 @@ interface IIcmsAdjustmentSetting {
2856
2867
  tenantid: string;
2857
2868
  profile_id: string;
2858
2869
  establishment_id: string;
2870
+ code: number;
2859
2871
  tax_type: IcmsAdjustmentTaxTypeEnum;
2860
2872
  adjustment_type: IcmsAdjustmentTypeEnum;
2861
2873
  initial_date: string;
@@ -3144,6 +3156,7 @@ declare class IcmsAdjustmentSetting {
3144
3156
  protected _tenantid: string;
3145
3157
  protected _profile_id: string;
3146
3158
  protected _establishment_id: string;
3159
+ protected _code: number;
3147
3160
  protected _tax_type: IcmsAdjustmentTaxTypeEnum;
3148
3161
  protected _adjustment_type: IcmsAdjustmentTypeEnum;
3149
3162
  protected _initial_date: string;
@@ -3162,6 +3175,7 @@ declare class IcmsAdjustmentSetting {
3162
3175
  set tenantid(tenantid: string);
3163
3176
  set profile_id(profile_id: string);
3164
3177
  set establishment_id(establishment_id: string);
3178
+ set code(code: number);
3165
3179
  set tax_type(value: IcmsAdjustmentTaxTypeEnum);
3166
3180
  set adjustment_type(value: IcmsAdjustmentTypeEnum);
3167
3181
  set initial_date(value: string);
@@ -3180,6 +3194,7 @@ declare class IcmsAdjustmentSetting {
3180
3194
  get tenantid(): string;
3181
3195
  get profile_id(): string;
3182
3196
  get establishment_id(): string;
3197
+ get code(): number;
3183
3198
  get tax_type(): IcmsAdjustmentTaxTypeEnum;
3184
3199
  get adjustment_type(): IcmsAdjustmentTypeEnum;
3185
3200
  get initial_date(): string;
@@ -3195,19 +3210,6 @@ declare class IcmsAdjustmentSetting {
3195
3210
  get infos(): IIcmsAdjustmentExtraInfo[];
3196
3211
  }
3197
3212
 
3198
- declare class CNPJ implements IdentificationNumber {
3199
- private readonly _value;
3200
- constructor(cnpj: string);
3201
- private removeInvalidDigits;
3202
- isValid(): boolean;
3203
- get rawValue(): string;
3204
- get formattedValue(): string;
3205
- validationErrors(): string[];
3206
- private allDigitsTheSame;
3207
- private calculateDigit;
3208
- private extractActualDigit;
3209
- }
3210
-
3211
3213
  declare enum SimpleNationalOption {
3212
3214
  SIM = "1",
3213
3215
  NAO = "0"
@@ -3245,6 +3247,36 @@ declare enum FiscalQualificationType {
3245
3247
  OUTROS = "9"
3246
3248
  }
3247
3249
 
3250
+ declare enum StateCollectionSettingsTaxTypeEnum {
3251
+ ICMS = "ICMS",// ICMS
3252
+ ICMS_ST = "ICMS_ST",// ICMS-ST
3253
+ ICMS_SUB_AUDITING = "ICMS_SUB_AUDITING",// ICMS Sub-Apuração
3254
+ DIFAL_FCP = "DIFAL_FCP"
3255
+ }
3256
+
3257
+ declare enum StateCollectionSettingsConfigTypeEnum {
3258
+ TAX_TO_COLLECTED = "TAX_TO_COLLECTED",// Imposto a Recolher
3259
+ EXTRA_VALUE_CALCULATION = "EXTRA_VALUE_CALCULATION"
3260
+ }
3261
+
3262
+ declare enum TaxCollectionTypeEnum {
3263
+ OPERATION = "OPERATION",// Operação
3264
+ APURATION = "APURATION"
3265
+ }
3266
+
3267
+ declare class CNPJ implements IdentificationNumber {
3268
+ private readonly _value;
3269
+ constructor(cnpj: string);
3270
+ private removeInvalidDigits;
3271
+ isValid(): boolean;
3272
+ get rawValue(): string;
3273
+ get formattedValue(): string;
3274
+ validationErrors(): string[];
3275
+ private allDigitsTheSame;
3276
+ private calculateDigit;
3277
+ private extractActualDigit;
3278
+ }
3279
+
3248
3280
  declare class EstablishmentEvent {
3249
3281
  protected _special_situation: '0' | '1' | '2' | '3' | '4' | '5' | '6';
3250
3282
  protected _situation_date: Date;
@@ -3370,6 +3402,84 @@ declare class Signatory {
3370
3402
  get tenantid(): string | undefined;
3371
3403
  }
3372
3404
 
3405
+ declare class StateCollectionSettings {
3406
+ protected _id: string;
3407
+ protected _tenantid: string;
3408
+ protected _active: boolean;
3409
+ protected _inactivation_date?: Date;
3410
+ protected _tax_type: string;
3411
+ protected _config_type: string;
3412
+ protected _obligation_code: string;
3413
+ protected _due_date: number;
3414
+ protected _revenue_code: string;
3415
+ protected _uf?: string;
3416
+ protected _config_fcp: boolean;
3417
+ protected _obligation_code_fcp?: string;
3418
+ protected _due_date_fcp?: number;
3419
+ protected _revenue_code_fcp?: string;
3420
+ protected _tax_collection_type?: string;
3421
+ protected _judicial_process_id?: string;
3422
+ protected _judicial_process_number?: string;
3423
+ protected _judicial_process_description?: string;
3424
+ protected _judicial_process_origin_indicator?: string;
3425
+ protected _created_at: Date;
3426
+ protected _updated_at: Date;
3427
+ protected _created_by_name: string;
3428
+ protected _created_by_email: string;
3429
+ protected _updated_by_name: string;
3430
+ protected _updated_by_email: string;
3431
+ set id(id: string);
3432
+ set tenantid(tenantid: string);
3433
+ set active(active: boolean);
3434
+ set inactivation_date(inactivation_date: Date | undefined);
3435
+ set tax_type(tax_type: string);
3436
+ set config_type(config_type: string);
3437
+ set obligation_code(obligation_code: string);
3438
+ set due_date(due_date: number);
3439
+ set revenue_code(revenue_code: string);
3440
+ set uf(uf: string | undefined);
3441
+ set config_fcp(config_fcp: boolean);
3442
+ set obligation_code_fcp(obligation_code_fcp: string | undefined);
3443
+ set due_date_fcp(due_date_fcp: number | undefined);
3444
+ set revenue_code_fcp(revenue_code_fcp: string | undefined);
3445
+ set tax_collection_type(tax_collection_type: string | undefined);
3446
+ set judicial_process_id(judicial_process_id: string | undefined);
3447
+ set judicial_process_number(judicial_process_number: string | undefined);
3448
+ set judicial_process_description(judicial_process_description: number | undefined);
3449
+ set judicial_process_origin_indicator(judicial_process_origin_indicator: string | undefined);
3450
+ set created_at(created_at: Date);
3451
+ set updated_at(updated_at: Date);
3452
+ set created_by_name(created_by_name: string);
3453
+ set created_by_email(created_by_email: string);
3454
+ set updated_by_name(updated_by_name: string);
3455
+ set updated_by_email(updated_by_email: string);
3456
+ get id(): string;
3457
+ get tenantid(): string;
3458
+ get active(): boolean;
3459
+ get inactivation_date(): Date | undefined;
3460
+ get tax_type(): string;
3461
+ get config_type(): string;
3462
+ get obligation_code(): string;
3463
+ get due_date(): number;
3464
+ get revenue_code(): string;
3465
+ get uf(): string | undefined;
3466
+ get config_fcp(): boolean;
3467
+ get obligation_code_fcp(): string | undefined;
3468
+ get due_date_fcp(): number | undefined;
3469
+ get revenue_code_fcp(): string | undefined;
3470
+ get tax_collection_type(): string | undefined;
3471
+ get judicial_process_id(): string | undefined;
3472
+ get judicial_process_number(): string | undefined;
3473
+ get judicial_process_description(): string | undefined;
3474
+ get judicial_process_origin_indicator(): string | undefined;
3475
+ get created_at(): Date;
3476
+ get updated_at(): Date;
3477
+ get created_by_name(): string;
3478
+ get created_by_email(): string;
3479
+ get updated_by_name(): string;
3480
+ get updated_by_email(): string;
3481
+ }
3482
+
3373
3483
  declare class Establishment {
3374
3484
  protected _alias: string;
3375
3485
  protected _tenantid: string;
@@ -3389,6 +3499,7 @@ declare class Establishment {
3389
3499
  protected _signatories: Signatory[];
3390
3500
  protected _scps: Scp[];
3391
3501
  protected _events: EstablishmentEvent[];
3502
+ protected _stateCollectionsSettings: StateCollectionSettings[];
3392
3503
  get alias(): string;
3393
3504
  set alias(alias: string);
3394
3505
  set tenantid(tenantid: string);
@@ -3425,6 +3536,9 @@ declare class Establishment {
3425
3536
  get scps(): Scp[];
3426
3537
  set events(events: EstablishmentEvent[]);
3427
3538
  get events(): EstablishmentEvent[];
3539
+ set stateCollectionSettings(stateCollectionSettings: StateCollectionSettings[]);
3540
+ get stateCollectionSettings(): StateCollectionSettings[];
3541
+ getStateCollectionSettingsByTaxType(tax_type: StateCollectionSettingsTaxTypeEnum): StateCollectionSettings;
3428
3542
  }
3429
3543
 
3430
3544
  interface IReinfAdditionalFields {
@@ -3726,6 +3840,10 @@ interface IProfileRepository {
3726
3840
  getProfileById(profile_id: string, tenantid: string, period?: string): Promise<Profile>;
3727
3841
  }
3728
3842
 
3843
+ interface IStateCollectionSettingsRepository {
3844
+ getStateCollectionSettings(establishment_id: string, tenantid: string): Promise<StateCollectionSettings[]>;
3845
+ }
3846
+
3729
3847
  interface IProfile {
3730
3848
  validFrom: string;
3731
3849
  alias: string;
@@ -3819,8 +3937,10 @@ interface IEstablishmentEvent {
3819
3937
 
3820
3938
  declare class ProfileRestRepository implements IProfileRepository {
3821
3939
  private readonly urls;
3822
- constructor(urls: IProfileServiceUrls);
3940
+ private readonly stateSettingsRepository;
3941
+ constructor(urls: IProfileServiceUrls, stateSettingsRepository: IStateCollectionSettingsRepository);
3823
3942
  getProfileById(profile_id: string, tenantid: string, period?: any): Promise<Profile>;
3943
+ private getStateCollectionSettings;
3824
3944
  getProfileRestById(profile_id: string, tenantid: string): Promise<IProfile>;
3825
3945
  getProfileByBranchId(branch_id: string, tenantid: string): Promise<IProfile[]>;
3826
3946
  getEstablishmentByProfileId(profile_id: string, tenantid: string): Promise<Establishment[]>;
@@ -3897,6 +4017,16 @@ interface IEcfSpecializedProfile {
3897
4017
  tenantid: string;
3898
4018
  }
3899
4019
 
4020
+ declare class PostgresRepository implements IStateCollectionSettingsRepository {
4021
+ private readonly _client;
4022
+ private _isConnected;
4023
+ constructor(postgresConfig: PostgresConfig);
4024
+ private isConnected;
4025
+ connect(): Promise<Pool>;
4026
+ close(): Promise<void>;
4027
+ getStateCollectionSettings(establishment_id: string, tenantid: string): Promise<StateCollectionSettings[]>;
4028
+ }
4029
+
3900
4030
  interface ProfileDbRepositoryConfig {
3901
4031
  taxServiceDb: PostgresConfig;
3902
4032
  efdContribDb?: MongoConfig;
@@ -4323,4 +4453,4 @@ declare function logWithContext<T extends MessageCodeType>(messageCode: T, param
4323
4453
  actionSuggestion: string;
4324
4454
  };
4325
4455
 
4326
- export { ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, Block, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CPF, CST, CalculationBasisNatureSetting, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, ConfigTypeEnum, ConsoleOutput, ConversionFactor, CounterBlock, CounterRegister, CountryCodeEnum, CprbOption, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, Establishment, EstablishmentEvent, Event, EventEnum, FieldDataType, type FieldFormat, type FiltersDocument, FiscalQualificationType, FreightContractedNatureIndicatorEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type IAddition, type IAddressMongo, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, 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 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, MongoConfig, MongoRepository, MongoToDocumentBuilder, MunicipalObligation, MunicipalObligationIdEnum, MunicipalObligationNameEnum, MunicipalObligationTypeEnum, Municipality, NameCountryEnum, NatureCode, NatureConfig, Numeric, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, Person, PostgresConfig, ProductOriginEnum, Profile, ProfileDbRepository, ProfileRestRepository, ProfileTaxTypeEnum, Register, type RegisterDefinition, type RegisterEventData, type RegisterEventNotifier, type RegisterGenerator, type RegisterPersist, type RegisterSubscriber, ReinfSpecializedProfile, type ReportGenerationOptions, ReportGenerator, type Repository, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, State, StateEnum, StateRegistrationIndicatorEnum, StatusDocumentEnum, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, ZfmPresumedCreditTypeEnum, buildMongoFilter, calculate_bases_values, formatMessage, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState };
4456
+ export { ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, Block, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CPF, CST, CalculationBasisNatureSetting, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, ConfigTypeEnum, ConsoleOutput, ConversionFactor, CounterBlock, CounterRegister, CountryCodeEnum, CprbOption, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, Establishment, EstablishmentEvent, Event, EventEnum, FieldDataType, type FieldFormat, type FiltersDocument, FiscalQualificationType, FreightContractedNatureIndicatorEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type IAddition, type IAddressMongo, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, 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 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, MongoConfig, MongoRepository, MongoToDocumentBuilder, MunicipalObligation, MunicipalObligationIdEnum, MunicipalObligationNameEnum, MunicipalObligationTypeEnum, Municipality, NameCountryEnum, NatureCode, NatureConfig, Numeric, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, Person, 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, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, State, StateCollectionSettings, StateCollectionSettingsConfigTypeEnum, StateCollectionSettingsTaxTypeEnum, StateEnum, StateRegistrationIndicatorEnum, StatusDocumentEnum, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxCollectionTypeEnum, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, ZfmPresumedCreditTypeEnum, buildMongoFilter, calculate_bases_values, formatMessage, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState };