@vendasta/billing 14.43.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.
- package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/invoice.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/payment.interface.mjs +1 -1
- package/esm2022/lib/_internal/invoice.api.service.mjs +7 -2
- package/esm2022/lib/_internal/objects/index.mjs +2 -2
- package/esm2022/lib/_internal/objects/invoice.mjs +47 -1
- package/esm2022/lib/_internal/objects/payment.mjs +7 -1
- package/fesm2022/vendasta-billing.mjs +58 -1
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/invoice.interface.d.ts +7 -0
- package/lib/_internal/interfaces/payment.interface.d.ts +1 -0
- package/lib/_internal/invoice.api.service.d.ts +3 -2
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/invoice.d.ts +13 -0
- package/lib/_internal/objects/payment.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -253,6 +253,7 @@ export interface RetailPaymentInterface {
|
|
|
253
253
|
acssDebitDetails?: RetailPaymentACSSDetailsInterface;
|
|
254
254
|
paymentFacilitatorFee?: number;
|
|
255
255
|
paymentFacilitatorType?: e.PaymentFacilitatorType;
|
|
256
|
+
settledAt?: Date;
|
|
256
257
|
}
|
|
257
258
|
export interface RetailPaymentsEnabledRequestInterface {
|
|
258
259
|
merchantId?: 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;
|
|
@@ -378,6 +378,7 @@ export declare class RetailPayment implements i.RetailPaymentInterface {
|
|
|
378
378
|
acssDebitDetails: RetailPaymentACSSDetails;
|
|
379
379
|
paymentFacilitatorFee: number;
|
|
380
380
|
paymentFacilitatorType: e.PaymentFacilitatorType;
|
|
381
|
+
settledAt: Date;
|
|
381
382
|
static fromProto(proto: any): RetailPayment;
|
|
382
383
|
constructor(kwargs?: i.RetailPaymentInterface);
|
|
383
384
|
toApiJson(): object;
|