@vendasta/billing 14.41.0 → 14.43.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/index.mjs +4 -4
- package/esm2022/lib/_internal/enums/invoice.enum.mjs +9 -1
- 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/objects/index.mjs +2 -2
- package/esm2022/lib/_internal/objects/invoice.mjs +13 -1
- package/esm2022/lib/_internal/objects/payment.mjs +7 -1
- package/fesm2022/vendasta-billing.mjs +4120 -4094
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +3 -3
- package/lib/_internal/enums/invoice.enum.d.ts +7 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/invoice.interface.d.ts +2 -0
- package/lib/_internal/interfaces/payment.interface.d.ts +1 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/invoice.d.ts +2 -0
- package/lib/_internal/objects/payment.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,7 +11,9 @@ export { ContractSubscriptionStatus, } from './contract.enum';
|
|
|
11
11
|
export { ProductSummaryBillingStrategy, ProductSummaryDiscountDiscountType, ProductSummaryProductType, PricingRuleType, } from './product-summary.enum';
|
|
12
12
|
export { PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, } from './payment-card.enum';
|
|
13
13
|
export { PaymentMethodType, } from './payment-method.enum';
|
|
14
|
-
export {
|
|
14
|
+
export { PaymentProcessor, } from './payment-processor.enum';
|
|
15
|
+
export { CollectionMethod, Interval, RecurringInvoiceStatus, } from './recurring-invoice.enum';
|
|
16
|
+
export { ListInvoicesRequestFiltersDateFilterDateField, InvoiceStatus, LastPaymentStatus, Origin, } from './invoice.enum';
|
|
15
17
|
export { PayoutStatus, PayoutType, } from './payout.enum';
|
|
16
18
|
export { SortDirection, } from './sort-direction.enum';
|
|
17
19
|
export { MerchantType, SearchMerchantsRequestSortBy, } from './merchant.enum';
|
|
@@ -25,8 +27,6 @@ export { ReferenceType, RefundReason, RefundStatus, } from './refund.enum';
|
|
|
25
27
|
export { SalesCreditNoteStatus, } from './sales-credit-note.enum';
|
|
26
28
|
export { PaymentStatuses, SalesInvoiceStatus, SalesInvoiceType, } from './sales-invoice.enum';
|
|
27
29
|
export { TaxRuleEntityType, TaxRuleType, } from './tax-rule.enum';
|
|
28
|
-
export { PaymentProcessor, } from './payment-processor.enum';
|
|
29
|
-
export { CollectionMethod, Interval, RecurringInvoiceStatus, } from './recurring-invoice.enum';
|
|
30
30
|
export { MerchantServicesReportRunStatus, MerchantServicesReportRunType, } from './report-run.enum';
|
|
31
31
|
export { EntityType, RelationshipType, } from './subscription-relationship.enum';
|
|
32
32
|
export { AppliedReferenceType, CreditNoteReason, } from './credit-note.enum';
|
|
@@ -19,6 +19,7 @@ export { ArchiveTaxRequestInterface, CalculateLineItemTaxesRequestInterface, Cal
|
|
|
19
19
|
export { AppliedBundleInterface, AppliedBundleItemInterface, } from './applied-bundle.interface';
|
|
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
|
+
export { RecurringInvoiceCustomerAddressInterface, ListRecurringInvoicesFiltersDateFilterInterface, DeleteRecurringInvoiceRequestInterface, ListRecurringInvoicesFiltersDetailedIntervalInterface, GetRecurringInvoiceRequestInterface, ListRecurringInvoicesFiltersInterface, ListRecurringInvoicesRequestInterface, ListRecurringInvoicesResponseInterface, RecurringInvoiceInterface, RecurringInvoiceBundleInterface, RecurringInvoiceItemInterface, RecurringInvoiceLineItemInterface, UpdateRecurringInvoiceRequestInterface, } from './recurring-invoice.interface';
|
|
22
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
24
|
export { AccountBalanceInterface, BalanceInterface, BalanceAmountInterface, } from './balance.interface';
|
|
24
25
|
export { DateRangeInterface, } from './date-range.interface';
|
|
@@ -37,7 +38,6 @@ export { BulkReplaceTaxRulesRequestInterface, BulkReplaceTaxRulesResponseInterfa
|
|
|
37
38
|
export { ContractDocumentInterface, DeleteContractDocumentRequestInterface, ListContractDocumentsRequestFiltersInterface, ListContractDocumentsRequestInterface, ListContractDocumentsResponseInterface, } from './contract-document.interface';
|
|
38
39
|
export { GetRetailCustomerConfigurationRequestInterface, GetRetailCustomerConfigurationResponseInterface, RetailCustomerConfigurationInterface, UpsertRetailCustomerConfigurationRequestInterface, } from './retail-customer-configuration.interface';
|
|
39
40
|
export { AddCreditRequestInterface, CreditBalanceInterface, GetBalanceRequestInterface, GetBalanceResponseInterface, } from './credit.interface';
|
|
40
|
-
export { RecurringInvoiceCustomerAddressInterface, ListRecurringInvoicesFiltersDateFilterInterface, DeleteRecurringInvoiceRequestInterface, ListRecurringInvoicesFiltersDetailedIntervalInterface, GetRecurringInvoiceRequestInterface, ListRecurringInvoicesFiltersInterface, ListRecurringInvoicesRequestInterface, ListRecurringInvoicesResponseInterface, RecurringInvoiceInterface, RecurringInvoiceBundleInterface, RecurringInvoiceItemInterface, RecurringInvoiceLineItemInterface, UpdateRecurringInvoiceRequestInterface, } from './recurring-invoice.interface';
|
|
41
41
|
export { CreateMerchantServicesReportRunInterface, GetMerchantServicesReportRunInterface, MerchantServicesReportRunInterface, } from './report-run.interface';
|
|
42
42
|
export { AccessInterface, } from './annotations.interface';
|
|
43
43
|
export { ListSubscriptionRelationshipsRequestFiltersInterface, GetMultiSubscriptionRelationshipsRequestInterface, GetMultiSubscriptionRelationshipsResponseInterface, ListSubscriptionRelationshipsRequestInterface, ListSubscriptionRelationshipsResponseInterface, ReplaceSubscriptionRelationshipsRequestInterface, ReplaceSubscriptionRelationshipsResponseInterface, SubscriptionRelationshipInterface, } from './subscription-relationship.interface';
|
|
@@ -48,6 +48,8 @@ export interface CreateInvoiceRequestInterface {
|
|
|
48
48
|
items?: InvoiceItemInterface[];
|
|
49
49
|
defaultPaymentMethod?: string;
|
|
50
50
|
contactId?: string;
|
|
51
|
+
collectionMethod?: e.CollectionMethod;
|
|
52
|
+
origin?: e.Origin;
|
|
51
53
|
}
|
|
52
54
|
export interface CreateInvoiceResponseInterface {
|
|
53
55
|
invoiceId?: string;
|
|
@@ -58,6 +58,7 @@ export interface DisputeInterface {
|
|
|
58
58
|
paymentReferenceType?: e.RetailPaymentReferenceType;
|
|
59
59
|
paymentDescription?: string;
|
|
60
60
|
paymentReceivedAt?: Date;
|
|
61
|
+
resolvedAt?: Date;
|
|
61
62
|
}
|
|
62
63
|
export interface DisputeEvidenceInterface {
|
|
63
64
|
customerCommunication?: FileInterface;
|
|
@@ -19,6 +19,7 @@ export { ArchiveTaxRequest, CalculateLineItemTaxesRequest, CalculateLineItemTaxe
|
|
|
19
19
|
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
|
+
export { RecurringInvoiceCustomerAddress, ListRecurringInvoicesFiltersDateFilter, DeleteRecurringInvoiceRequest, ListRecurringInvoicesFiltersDetailedInterval, GetRecurringInvoiceRequest, ListRecurringInvoicesFilters, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, RecurringInvoice, RecurringInvoiceBundle, RecurringInvoiceItem, RecurringInvoiceLineItem, UpdateRecurringInvoiceRequest, } from './recurring-invoice';
|
|
22
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
24
|
export { AccountBalance, Balance, BalanceAmount, } from './balance';
|
|
24
25
|
export { DateRange, } from './date-range';
|
|
@@ -37,7 +38,6 @@ export { BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, TaxRuleCustome
|
|
|
37
38
|
export { ContractDocument, DeleteContractDocumentRequest, ListContractDocumentsRequestFilters, ListContractDocumentsRequest, ListContractDocumentsResponse, } from './contract-document';
|
|
38
39
|
export { GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, RetailCustomerConfiguration, UpsertRetailCustomerConfigurationRequest, } from './retail-customer-configuration';
|
|
39
40
|
export { AddCreditRequest, CreditBalance, GetBalanceRequest, GetBalanceResponse, } from './credit';
|
|
40
|
-
export { RecurringInvoiceCustomerAddress, ListRecurringInvoicesFiltersDateFilter, DeleteRecurringInvoiceRequest, ListRecurringInvoicesFiltersDetailedInterval, GetRecurringInvoiceRequest, ListRecurringInvoicesFilters, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, RecurringInvoice, RecurringInvoiceBundle, RecurringInvoiceItem, RecurringInvoiceLineItem, UpdateRecurringInvoiceRequest, } from './recurring-invoice';
|
|
41
41
|
export { CreateMerchantServicesReportRun, GetMerchantServicesReportRun, MerchantServicesReportRun, } from './report-run';
|
|
42
42
|
export { Access, } from './annotations';
|
|
43
43
|
export { ListSubscriptionRelationshipsRequestFilters, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, SubscriptionRelationship, } from './subscription-relationship';
|
|
@@ -68,6 +68,8 @@ export declare class CreateInvoiceRequest implements i.CreateInvoiceRequestInter
|
|
|
68
68
|
items: InvoiceItem[];
|
|
69
69
|
defaultPaymentMethod: string;
|
|
70
70
|
contactId: string;
|
|
71
|
+
collectionMethod: e.CollectionMethod;
|
|
72
|
+
origin: e.Origin;
|
|
71
73
|
static fromProto(proto: any): CreateInvoiceRequest;
|
|
72
74
|
constructor(kwargs?: i.CreateInvoiceRequestInterface);
|
|
73
75
|
toApiJson(): object;
|
|
@@ -84,6 +84,7 @@ export declare class Dispute implements i.DisputeInterface {
|
|
|
84
84
|
paymentReferenceType: e.RetailPaymentReferenceType;
|
|
85
85
|
paymentDescription: string;
|
|
86
86
|
paymentReceivedAt: Date;
|
|
87
|
+
resolvedAt: Date;
|
|
87
88
|
static fromProto(proto: any): Dispute;
|
|
88
89
|
constructor(kwargs?: i.DisputeInterface);
|
|
89
90
|
toApiJson(): object;
|