@seidor-cloud-produtos/tax-core 1.0.35 → 1.0.37

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
@@ -900,9 +900,15 @@ declare class Address implements Cloneable {
900
900
 
901
901
  declare enum CodeStatusEnum {
902
902
  AUTHORIZED = "00",
903
+ EXTEMPORANEOUS_AUTHORIZED = "01",
903
904
  CANCELLED = "02",
905
+ EXTEMPORANEOUS_CANCELLED = "03",
904
906
  LATE_REGULARIZED = "04",
905
907
  LATE_CANCELLED = "05",
908
+ COMPLEMENTARY = "06",
909
+ EXTEMPORANEOUS_COMPLEMENTARY = "07",
910
+ SPECIAL_REGIME = "08",
911
+ REPLACED = "09",
906
912
  NOT_APPLICABLE = ""
907
913
  }
908
914
  declare namespace CodeStatusEnum {
@@ -1914,6 +1920,7 @@ declare class Document implements Cloneable {
1914
1920
  private _payment_value;
1915
1921
  private _issuer_indicator;
1916
1922
  private _rps_number;
1923
+ private _business_partner_id;
1917
1924
  private _issuer;
1918
1925
  private _recipient;
1919
1926
  private _items;
@@ -1984,6 +1991,8 @@ declare class Document implements Cloneable {
1984
1991
  set issuer_indicator(value: IssuerIndicatorEnum);
1985
1992
  get rps_number(): string;
1986
1993
  set rps_number(value: string);
1994
+ get business_partner_id(): string;
1995
+ set business_partner_id(value: string);
1987
1996
  private get isInboundOwnIssuance();
1988
1997
  get issuer(): Person;
1989
1998
  get issuerOrigin(): Person;
@@ -2031,6 +2040,7 @@ declare class Document implements Cloneable {
2031
2040
  };
2032
2041
  isInbound(): boolean;
2033
2042
  isOutbound(): boolean;
2043
+ getBusinessPartner(): Person;
2034
2044
  isCancelled(): boolean;
2035
2045
  }
2036
2046
 
@@ -2092,6 +2102,7 @@ declare class BuilderDocument {
2092
2102
  withTotalAmount(total_amount: number): BuilderDocument;
2093
2103
  withPaymentValue(payment_value: number): BuilderDocument;
2094
2104
  withRpsNumber(rps_number: string): BuilderDocument;
2105
+ withBusinessPartnerId(business_partner_id: string): BuilderDocument;
2095
2106
  withFiscalSituation(fiscal_situation: CodeStatusEnum): BuilderDocument;
2096
2107
  withErpIntegrationStatus(erp_integration_status: StatusDocumentEnum): BuilderDocument;
2097
2108
  withManualEntry(manual_entry: boolean): BuilderDocument;
@@ -2273,6 +2284,7 @@ declare enum DescriptionStatusEnum {
2273
2284
  }
2274
2285
  declare namespace DescriptionStatusEnum {
2275
2286
  function fromOldValue(value: DescriptionStatusEnum): CodeStatusEnum | undefined;
2287
+ function toCodeStatuses(value: DescriptionStatusEnum): CodeStatusEnum[];
2276
2288
  function fromNewValue(value: CodeStatusEnum): DescriptionStatusEnum | undefined;
2277
2289
  }
2278
2290
 
@@ -2357,6 +2369,7 @@ interface IDocumentMongo {
2357
2369
  model: string;
2358
2370
  number: string;
2359
2371
  accounting_additional_information: string;
2372
+ business_partner_id?: string;
2360
2373
  series: string;
2361
2374
  subseries: string;
2362
2375
  cte_type: CteTypeEnum;
package/dist/index.d.ts CHANGED
@@ -900,9 +900,15 @@ declare class Address implements Cloneable {
900
900
 
901
901
  declare enum CodeStatusEnum {
902
902
  AUTHORIZED = "00",
903
+ EXTEMPORANEOUS_AUTHORIZED = "01",
903
904
  CANCELLED = "02",
905
+ EXTEMPORANEOUS_CANCELLED = "03",
904
906
  LATE_REGULARIZED = "04",
905
907
  LATE_CANCELLED = "05",
908
+ COMPLEMENTARY = "06",
909
+ EXTEMPORANEOUS_COMPLEMENTARY = "07",
910
+ SPECIAL_REGIME = "08",
911
+ REPLACED = "09",
906
912
  NOT_APPLICABLE = ""
907
913
  }
908
914
  declare namespace CodeStatusEnum {
@@ -1914,6 +1920,7 @@ declare class Document implements Cloneable {
1914
1920
  private _payment_value;
1915
1921
  private _issuer_indicator;
1916
1922
  private _rps_number;
1923
+ private _business_partner_id;
1917
1924
  private _issuer;
1918
1925
  private _recipient;
1919
1926
  private _items;
@@ -1984,6 +1991,8 @@ declare class Document implements Cloneable {
1984
1991
  set issuer_indicator(value: IssuerIndicatorEnum);
1985
1992
  get rps_number(): string;
1986
1993
  set rps_number(value: string);
1994
+ get business_partner_id(): string;
1995
+ set business_partner_id(value: string);
1987
1996
  private get isInboundOwnIssuance();
1988
1997
  get issuer(): Person;
1989
1998
  get issuerOrigin(): Person;
@@ -2031,6 +2040,7 @@ declare class Document implements Cloneable {
2031
2040
  };
2032
2041
  isInbound(): boolean;
2033
2042
  isOutbound(): boolean;
2043
+ getBusinessPartner(): Person;
2034
2044
  isCancelled(): boolean;
2035
2045
  }
2036
2046
 
@@ -2092,6 +2102,7 @@ declare class BuilderDocument {
2092
2102
  withTotalAmount(total_amount: number): BuilderDocument;
2093
2103
  withPaymentValue(payment_value: number): BuilderDocument;
2094
2104
  withRpsNumber(rps_number: string): BuilderDocument;
2105
+ withBusinessPartnerId(business_partner_id: string): BuilderDocument;
2095
2106
  withFiscalSituation(fiscal_situation: CodeStatusEnum): BuilderDocument;
2096
2107
  withErpIntegrationStatus(erp_integration_status: StatusDocumentEnum): BuilderDocument;
2097
2108
  withManualEntry(manual_entry: boolean): BuilderDocument;
@@ -2273,6 +2284,7 @@ declare enum DescriptionStatusEnum {
2273
2284
  }
2274
2285
  declare namespace DescriptionStatusEnum {
2275
2286
  function fromOldValue(value: DescriptionStatusEnum): CodeStatusEnum | undefined;
2287
+ function toCodeStatuses(value: DescriptionStatusEnum): CodeStatusEnum[];
2276
2288
  function fromNewValue(value: CodeStatusEnum): DescriptionStatusEnum | undefined;
2277
2289
  }
2278
2290
 
@@ -2357,6 +2369,7 @@ interface IDocumentMongo {
2357
2369
  model: string;
2358
2370
  number: string;
2359
2371
  accounting_additional_information: string;
2372
+ business_partner_id?: string;
2360
2373
  series: string;
2361
2374
  subseries: string;
2362
2375
  cte_type: CteTypeEnum;