@vendasta/billing 14.4.0 → 14.5.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/enums/payment-method.enum.mjs +2 -1
- package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/payment-method.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/index.mjs +2 -2
- package/esm2022/lib/_internal/objects/payment-method.mjs +27 -1
- package/fesm2022/vendasta-billing.mjs +28 -1
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/enums/payment-method.enum.d.ts +2 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/payment-method.interface.d.ts +4 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/payment-method.d.ts +7 -0
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ export { AppliedTaxRateInterface, } from './applied-tax-rate.interface';
|
|
|
18
18
|
export { ArchiveTaxRequestInterface, CalculateLineItemTaxesRequestInterface, CalculateLineItemTaxesResponseInterface, CalculateTaxRequestInterface, CalculateTaxResponseInterface, CreateTaxRequestInterface, ListTaxRequestFiltersInterface, GetMultiTaxRequestInterface, GetMultiTaxResponseInterface, CalculateLineItemTaxesRequestLineItemInterface, CalculateLineItemTaxesResponseLineItemTaxesInterface, ListTaxRequestInterface, ListTaxResponseInterface, TaxRateInterface, UpdateTaxRequestInterface, } from './tax-rate.interface';
|
|
19
19
|
export { AppliedBundleInterface, AppliedBundleItemInterface, } from './applied-bundle.interface';
|
|
20
20
|
export { CreatePaymentCardRequestInterface, DeletePaymentCardRequestInterface, ListPaymentCardsRequestInterface, ListPaymentCardsResponseInterface, PaymentCardInterface, SetDefaultPaymentMethodRequestInterface, UpdatePaymentCardRequestInterface, } from './payment-card.interface';
|
|
21
|
-
export { ListPaymentMethodsRequestInterface, ListPaymentMethodsResponseInterface, PaymentACHDebitInterface, PaymentMethodInterface, } from './payment-method.interface';
|
|
21
|
+
export { ListPaymentMethodsRequestInterface, ListPaymentMethodsResponseInterface, PaymentACHDebitInterface, PaymentACSSDebitInterface, PaymentMethodInterface, } from './payment-method.interface';
|
|
22
22
|
export { AddBundleRequestInterface, AddBundleResponseInterface, AddLineItemRequestInterface, AddLineItemResponseInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreateInvoiceResponseInterface, CreatePaymentLinkRequestInterface, CreatePaymentLinkResponseInterface, InvoiceCustomerAddressInterface, ListInvoicesRequestFiltersDateFilterInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DeleteLineItemResponseInterface, DuplicateInvoiceRequestInterface, DuplicateInvoiceResponseInterface, ListInvoicesRequestFiltersInterface, GetInvoiceRequestInterface, GetInvoiceResponseInterface, GetUpcomingInvoicePreviewRequestInterface, GetUpcomingInvoicePreviewResponseInterface, InvoiceInterface, InvoiceItemInterface, ListInvoicesRequestInterface, ListInvoicesResponseInterface, NoteInterface, PayInvoiceRequestInterface, PaymentLinkItemInterface, RemoveBundleRequestInterface, RemoveBundleResponseInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateBundleResponseInterface, UpdateDefaultTaxRatesRequestInterface, UpdateDefaultTaxRatesResponseInterface, UpdateInvoiceRequestInterface, UpdateInvoiceResponseInterface, UpdateLineItemRequestInterface, UpdateLineItemResponseInterface, VoidInvoiceRequestInterface, } from './invoice.interface';
|
|
23
23
|
export { AccountBalanceInterface, BalanceInterface, BalanceAmountInterface, } from './balance.interface';
|
|
24
24
|
export { DateRangeInterface, } from './date-range.interface';
|
|
@@ -10,8 +10,12 @@ export interface ListPaymentMethodsResponseInterface {
|
|
|
10
10
|
export interface PaymentACHDebitInterface {
|
|
11
11
|
lastFourDigits?: string;
|
|
12
12
|
}
|
|
13
|
+
export interface PaymentACSSDebitInterface {
|
|
14
|
+
lastFourDigits?: string;
|
|
15
|
+
}
|
|
13
16
|
export interface PaymentMethodInterface {
|
|
14
17
|
type?: e.PaymentMethodType;
|
|
15
18
|
card?: PaymentCardInterface;
|
|
16
19
|
achDebit?: PaymentACHDebitInterface;
|
|
20
|
+
acssDebit?: PaymentACSSDebitInterface;
|
|
17
21
|
}
|
|
@@ -18,7 +18,7 @@ export { AppliedTaxRate, } from './applied-tax-rate';
|
|
|
18
18
|
export { ArchiveTaxRequest, CalculateLineItemTaxesRequest, CalculateLineItemTaxesResponse, CalculateTaxRequest, CalculateTaxResponse, CreateTaxRequest, ListTaxRequestFilters, GetMultiTaxRequest, GetMultiTaxResponse, CalculateLineItemTaxesRequestLineItem, CalculateLineItemTaxesResponseLineItemTaxes, ListTaxRequest, ListTaxResponse, TaxRate, UpdateTaxRequest, } from './tax-rate';
|
|
19
19
|
export { AppliedBundle, AppliedBundleItem, } from './applied-bundle';
|
|
20
20
|
export { CreatePaymentCardRequest, DeletePaymentCardRequest, ListPaymentCardsRequest, ListPaymentCardsResponse, PaymentCard, SetDefaultPaymentMethodRequest, UpdatePaymentCardRequest, } from './payment-card';
|
|
21
|
-
export { ListPaymentMethodsRequest, ListPaymentMethodsResponse, PaymentACHDebit, PaymentMethod, } from './payment-method';
|
|
21
|
+
export { ListPaymentMethodsRequest, ListPaymentMethodsResponse, PaymentACHDebit, PaymentACSSDebit, PaymentMethod, } from './payment-method';
|
|
22
22
|
export { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, CreatePaymentLinkRequest, CreatePaymentLinkResponse, InvoiceCustomerAddress, ListInvoicesRequestFiltersDateFilter, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, ListInvoicesRequestFilters, GetInvoiceRequest, GetInvoiceResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, Invoice, InvoiceItem, ListInvoicesRequest, ListInvoicesResponse, Note, PayInvoiceRequest, PaymentLinkItem, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest, } from './invoice';
|
|
23
23
|
export { AccountBalance, Balance, BalanceAmount, } from './balance';
|
|
24
24
|
export { DateRange, } from './date-range';
|
|
@@ -21,10 +21,17 @@ export declare class PaymentACHDebit implements i.PaymentACHDebitInterface {
|
|
|
21
21
|
constructor(kwargs?: i.PaymentACHDebitInterface);
|
|
22
22
|
toApiJson(): object;
|
|
23
23
|
}
|
|
24
|
+
export declare class PaymentACSSDebit implements i.PaymentACSSDebitInterface {
|
|
25
|
+
lastFourDigits: string;
|
|
26
|
+
static fromProto(proto: any): PaymentACSSDebit;
|
|
27
|
+
constructor(kwargs?: i.PaymentACSSDebitInterface);
|
|
28
|
+
toApiJson(): object;
|
|
29
|
+
}
|
|
24
30
|
export declare class PaymentMethod implements i.PaymentMethodInterface {
|
|
25
31
|
type: e.PaymentMethodType;
|
|
26
32
|
card: PaymentCard;
|
|
27
33
|
achDebit: PaymentACHDebit;
|
|
34
|
+
acssDebit: PaymentACSSDebit;
|
|
28
35
|
static fromProto(proto: any): PaymentMethod;
|
|
29
36
|
constructor(kwargs?: i.PaymentMethodInterface);
|
|
30
37
|
toApiJson(): object;
|