@vendasta/billing 14.47.0 → 14.48.0

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.
@@ -13,7 +13,7 @@ export { PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, } from './payment-card.e
13
13
  export { PaymentMethodType, } from './payment-method.enum';
14
14
  export { PaymentProcessor, } from './payment-processor.enum';
15
15
  export { CollectionMethod, Interval, RecurringInvoiceStatus, } from './recurring-invoice.enum';
16
- export { ListInvoicesRequestFiltersDateFilterDateField, InvoiceStatus, LastPaymentStatus, Origin, } from './invoice.enum';
16
+ export { ListInvoicesRequestFiltersDateFilterDateField, InvoiceStatus, LastPaymentStatus, Origin, ProcessingFailureCode, } from './invoice.enum';
17
17
  export { PayoutStatus, PayoutType, } from './payout.enum';
18
18
  export { SortDirection, } from './sort-direction.enum';
19
19
  export { MerchantType, SearchMerchantsRequestSortBy, } from './merchant.enum';
@@ -21,3 +21,8 @@ export declare enum Origin {
21
21
  RENEWAL = 3,
22
22
  TEMPLATE = 4
23
23
  }
24
+ export declare enum ProcessingFailureCode {
25
+ PROCESSING_FAILURE_CODE_UNSET = 0,
26
+ PROCESSING_FAILURE_CODE_TAX_CALCULATION_INVALID_ADDRESS = 1,
27
+ PROCESSING_FAILURE_CODE_TAX_CALCULATION_GENERAL_ERROR = 2
28
+ }
@@ -168,6 +168,7 @@ export interface InvoiceInterface {
168
168
  lastPaymentStatus?: e.LastPaymentStatus;
169
169
  amountOwing?: number;
170
170
  appliedCreditNotes?: AppliedCreditNoteInterface[];
171
+ processingFailureCode?: e.ProcessingFailureCode;
171
172
  }
172
173
  export interface InvoiceItemInterface {
173
174
  id?: string;
@@ -242,6 +242,7 @@ export declare class Invoice implements i.InvoiceInterface {
242
242
  lastPaymentStatus: e.LastPaymentStatus;
243
243
  amountOwing: number;
244
244
  appliedCreditNotes: AppliedCreditNote[];
245
+ processingFailureCode: e.ProcessingFailureCode;
245
246
  static fromProto(proto: any): Invoice;
246
247
  constructor(kwargs?: i.InvoiceInterface);
247
248
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "14.47.0",
3
+ "version": "14.48.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"