@vendasta/billing 14.44.0 → 14.45.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.
@@ -20,7 +20,7 @@ export { AppliedBundleInterface, AppliedBundleItemInterface, } from './applied-b
20
20
  export { CreatePaymentCardRequestInterface, DeletePaymentCardRequestInterface, ListPaymentCardsRequestInterface, ListPaymentCardsResponseInterface, PaymentCardInterface, SetDefaultPaymentMethodRequestInterface, UpdatePaymentCardRequestInterface, } from './payment-card.interface';
21
21
  export { ListPaymentMethodsRequestInterface, ListPaymentMethodsResponseInterface, PaymentACHDebitInterface, PaymentACSSDebitInterface, PaymentMethodInterface, } from './payment-method.interface';
22
22
  export { RecurringInvoiceCustomerAddressInterface, ListRecurringInvoicesFiltersDateFilterInterface, DeleteRecurringInvoiceRequestInterface, ListRecurringInvoicesFiltersDetailedIntervalInterface, GetRecurringInvoiceRequestInterface, ListRecurringInvoicesFiltersInterface, ListRecurringInvoicesRequestInterface, ListRecurringInvoicesResponseInterface, RecurringInvoiceInterface, RecurringInvoiceBundleInterface, RecurringInvoiceItemInterface, RecurringInvoiceLineItemInterface, UpdateRecurringInvoiceRequestInterface, } from './recurring-invoice.interface';
23
- export { AddBundleRequestInterface, AddBundleResponseInterface, AddLineItemRequestInterface, AddLineItemResponseInterface, AppliedCreditNoteInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreateInvoiceResponseInterface, CreatePaymentLinkRequestInterface, CreatePaymentLinkResponseInterface, InvoiceCustomerAddressInterface, ListInvoicesRequestFiltersDateFilterInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DeleteLineItemResponseInterface, DuplicateInvoiceRequestInterface, DuplicateInvoiceResponseInterface, ListInvoicesRequestFiltersInterface, GetInvoiceRequestInterface, GetInvoiceResponseInterface, GetUpcomingInvoicePreviewRequestInterface, GetUpcomingInvoicePreviewResponseInterface, InvoiceInterface, InvoiceItemInterface, ListInvoicesRequestInterface, ListInvoicesResponseInterface, PayInvoiceRequestInterface, PaymentLinkItemInterface, RemoveBundleRequestInterface, RemoveBundleResponseInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateBundleResponseInterface, UpdateDefaultTaxRatesRequestInterface, UpdateDefaultTaxRatesResponseInterface, UpdateInvoiceRequestInterface, UpdateInvoiceResponseInterface, UpdateLineItemRequestInterface, UpdateLineItemResponseInterface, VoidInvoiceRequestInterface, } from './invoice.interface';
23
+ export { AddBundleRequestInterface, AddBundleResponseInterface, AddLineItemRequestInterface, AddLineItemResponseInterface, AppliedCreditNoteInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreateInvoiceResponseInterface, CreatePaymentLinkRequestInterface, CreatePaymentLinkResponseInterface, InvoiceCustomerAddressInterface, ListInvoicesRequestFiltersDateFilterInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DeleteLineItemResponseInterface, DuplicateInvoiceRequestInterface, DuplicateInvoiceResponseInterface, ListInvoicesRequestFiltersInterface, GetInvoiceRequestInterface, GetInvoiceResponseInterface, GetInvoiceWithCalculatedTaxesRequestInterface, GetInvoiceWithCalculatedTaxesResponseInterface, GetUpcomingInvoicePreviewRequestInterface, GetUpcomingInvoicePreviewResponseInterface, InvoiceInterface, InvoiceItemInterface, ListInvoicesRequestInterface, ListInvoicesResponseInterface, PayInvoiceRequestInterface, PaymentLinkItemInterface, RemoveBundleRequestInterface, RemoveBundleResponseInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateBundleResponseInterface, UpdateDefaultTaxRatesRequestInterface, UpdateDefaultTaxRatesResponseInterface, UpdateInvoiceRequestInterface, UpdateInvoiceResponseInterface, UpdateLineItemRequestInterface, UpdateLineItemResponseInterface, VoidInvoiceRequestInterface, } from './invoice.interface';
24
24
  export { AccountBalanceInterface, BalanceInterface, BalanceAmountInterface, } from './balance.interface';
25
25
  export { DateRangeInterface, } from './date-range.interface';
26
26
  export { ListPayoutsRequestFiltersInterface, ListPayoutsRequestInterface, ListPayoutsResponseInterface, PayoutInterface, ReconcilePayoutRequestInterface, ReconcilePayoutResponseInterface, RetailPayoutInterface, } from './payout.interface';
@@ -114,6 +114,13 @@ export interface GetInvoiceRequestInterface {
114
114
  export interface GetInvoiceResponseInterface {
115
115
  invoice?: InvoiceInterface;
116
116
  }
117
+ export interface GetInvoiceWithCalculatedTaxesRequestInterface {
118
+ merchantId?: string;
119
+ invoiceId?: string;
120
+ }
121
+ export interface GetInvoiceWithCalculatedTaxesResponseInterface {
122
+ invoice?: InvoiceInterface;
123
+ }
117
124
  export interface GetUpcomingInvoicePreviewRequestInterface {
118
125
  merchantId?: string;
119
126
  customerId?: string;
@@ -1,5 +1,5 @@
1
- import { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, CreatePaymentLinkRequest, CreatePaymentLinkResponse, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, GetInvoiceRequest, GetInvoiceResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest } from './objects/';
2
- import { AddBundleRequestInterface, AddLineItemRequestInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreatePaymentLinkRequestInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DuplicateInvoiceRequestInterface, GetInvoiceRequestInterface, GetUpcomingInvoicePreviewRequestInterface, ListInvoicesRequestInterface, PayInvoiceRequestInterface, RemoveBundleRequestInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateDefaultTaxRatesRequestInterface, UpdateInvoiceRequestInterface, UpdateLineItemRequestInterface, VoidInvoiceRequestInterface } from './interfaces/';
1
+ import { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, CreatePaymentLinkRequest, CreatePaymentLinkResponse, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceWithCalculatedTaxesRequest, GetInvoiceWithCalculatedTaxesResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest } from './objects/';
2
+ import { AddBundleRequestInterface, AddLineItemRequestInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreatePaymentLinkRequestInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DuplicateInvoiceRequestInterface, GetInvoiceRequestInterface, GetInvoiceWithCalculatedTaxesRequestInterface, GetUpcomingInvoicePreviewRequestInterface, ListInvoicesRequestInterface, PayInvoiceRequestInterface, RemoveBundleRequestInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateDefaultTaxRatesRequestInterface, UpdateInvoiceRequestInterface, UpdateLineItemRequestInterface, VoidInvoiceRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -27,6 +27,7 @@ export declare class InvoiceApiService {
27
27
  updateBundle(r: UpdateBundleRequest | UpdateBundleRequestInterface): Observable<UpdateBundleResponse>;
28
28
  createPaymentLink(r: CreatePaymentLinkRequest | CreatePaymentLinkRequestInterface): Observable<CreatePaymentLinkResponse>;
29
29
  getUpcomingInvoicePreview(r: GetUpcomingInvoicePreviewRequest | GetUpcomingInvoicePreviewRequestInterface): Observable<GetUpcomingInvoicePreviewResponse>;
30
+ getWithCalculatedTaxes(r: GetInvoiceWithCalculatedTaxesRequest | GetInvoiceWithCalculatedTaxesRequestInterface): Observable<GetInvoiceWithCalculatedTaxesResponse>;
30
31
  static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceApiService, never>;
31
32
  static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceApiService>;
32
33
  }
@@ -20,7 +20,7 @@ export { AppliedBundle, AppliedBundleItem, } from './applied-bundle';
20
20
  export { CreatePaymentCardRequest, DeletePaymentCardRequest, ListPaymentCardsRequest, ListPaymentCardsResponse, PaymentCard, SetDefaultPaymentMethodRequest, UpdatePaymentCardRequest, } from './payment-card';
21
21
  export { ListPaymentMethodsRequest, ListPaymentMethodsResponse, PaymentACHDebit, PaymentACSSDebit, PaymentMethod, } from './payment-method';
22
22
  export { RecurringInvoiceCustomerAddress, ListRecurringInvoicesFiltersDateFilter, DeleteRecurringInvoiceRequest, ListRecurringInvoicesFiltersDetailedInterval, GetRecurringInvoiceRequest, ListRecurringInvoicesFilters, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, RecurringInvoice, RecurringInvoiceBundle, RecurringInvoiceItem, RecurringInvoiceLineItem, UpdateRecurringInvoiceRequest, } from './recurring-invoice';
23
- export { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, AppliedCreditNote, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, CreatePaymentLinkRequest, CreatePaymentLinkResponse, InvoiceCustomerAddress, ListInvoicesRequestFiltersDateFilter, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, ListInvoicesRequestFilters, GetInvoiceRequest, GetInvoiceResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, Invoice, InvoiceItem, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, PaymentLinkItem, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest, } from './invoice';
23
+ export { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, AppliedCreditNote, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, CreatePaymentLinkRequest, CreatePaymentLinkResponse, InvoiceCustomerAddress, ListInvoicesRequestFiltersDateFilter, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, ListInvoicesRequestFilters, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceWithCalculatedTaxesRequest, GetInvoiceWithCalculatedTaxesResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, Invoice, InvoiceItem, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, PaymentLinkItem, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest, } from './invoice';
24
24
  export { AccountBalance, Balance, BalanceAmount, } from './balance';
25
25
  export { DateRange, } from './date-range';
26
26
  export { ListPayoutsRequestFilters, ListPayoutsRequest, ListPayoutsResponse, Payout, ReconcilePayoutRequest, ReconcilePayoutResponse, RetailPayout, } from './payout';
@@ -176,6 +176,19 @@ export declare class GetInvoiceResponse implements i.GetInvoiceResponseInterface
176
176
  constructor(kwargs?: i.GetInvoiceResponseInterface);
177
177
  toApiJson(): object;
178
178
  }
179
+ export declare class GetInvoiceWithCalculatedTaxesRequest implements i.GetInvoiceWithCalculatedTaxesRequestInterface {
180
+ merchantId: string;
181
+ invoiceId: string;
182
+ static fromProto(proto: any): GetInvoiceWithCalculatedTaxesRequest;
183
+ constructor(kwargs?: i.GetInvoiceWithCalculatedTaxesRequestInterface);
184
+ toApiJson(): object;
185
+ }
186
+ export declare class GetInvoiceWithCalculatedTaxesResponse implements i.GetInvoiceWithCalculatedTaxesResponseInterface {
187
+ invoice: Invoice;
188
+ static fromProto(proto: any): GetInvoiceWithCalculatedTaxesResponse;
189
+ constructor(kwargs?: i.GetInvoiceWithCalculatedTaxesResponseInterface);
190
+ toApiJson(): object;
191
+ }
179
192
  export declare class GetUpcomingInvoicePreviewRequest implements i.GetUpcomingInvoicePreviewRequestInterface {
180
193
  merchantId: string;
181
194
  customerId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "14.44.0",
3
+ "version": "14.45.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"