@vendasta/billing 14.44.0 → 14.46.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.
@@ -26,7 +26,7 @@ export { CreditType, PurchaseStatus, ListPurchaseRequestState, } from './purchas
26
26
  export { ReferenceType, RefundReason, RefundStatus, } from './refund.enum';
27
27
  export { SalesCreditNoteStatus, } from './sales-credit-note.enum';
28
28
  export { PaymentStatuses, SalesInvoiceStatus, SalesInvoiceType, } from './sales-invoice.enum';
29
- export { TaxRuleEntityType, TaxRuleType, } from './tax-rule.enum';
29
+ export { TaxProviderType, TaxRuleEntityType, TaxRuleType, } from './tax-rule.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';
@@ -1,3 +1,8 @@
1
+ export declare enum TaxProviderType {
2
+ TAX_PROVIDER_TYPE_UNSET = 0,
3
+ TAX_PROVIDER_TYPE_INTERNAL = 1,
4
+ TAX_PROVIDER_TYPE_AVALARA = 2
5
+ }
1
6
  export declare enum TaxRuleEntityType {
2
7
  TAX_RULE_ENTITY_TYPE_UNSET = 0,
3
8
  TAX_RULE_ENTITY_TYPE_CUSTOMER = 1,
@@ -24,6 +24,7 @@ export interface GenerateVendorReportRequestInterface {
24
24
  periodEnd?: Date;
25
25
  vendorName?: string;
26
26
  markAsApproved?: boolean;
27
+ vendorMerchantId?: string;
27
28
  }
28
29
  export interface GenerateVendorReportResponseInterface {
29
30
  url?: string;
@@ -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';
@@ -34,7 +34,7 @@ export { AppliedCreditInterface, ListPurchaseRequestListPurchaseBillingStrategyF
34
34
  export { CreateRefundRequestInterface, ListRefundsRequestInterface, ListRefundsResponseInterface, RefundInterface, } from './refund.interface';
35
35
  export { CreateSalesCreditNoteRequestInterface, ListSalesCreditNoteRequestListSalesCreditNoteFiltersInterface, ListSalesCreditNoteRequestInterface, ListSalesCreditNoteResponseInterface, SalesCreditNoteInterface, } from './sales-credit-note.interface';
36
36
  export { GetSalesInvoiceRequestInterface, GetSalesInvoiceResponseInterface, ListSalesInvoiceRequestListSalesInvoiceFiltersInterface, ListSalesInvoiceRequestInterface, ListSalesInvoiceResponseInterface, PostSalesInvoiceRequestInterface, SalesInvoiceInterface, SendSalesInvoiceEmailRequestInterface, SendSalesInvoiceReceiptEmailRequestInterface, } from './sales-invoice.interface';
37
- export { BulkReplaceTaxRulesRequestInterface, BulkReplaceTaxRulesResponseInterface, TaxRuleCustomerCustomerAddressInterface, DeleteTaxRuleRequestInterface, ListTaxRulesRequestFiltersInterface, GetTaxRuleRequestInterface, GetTaxRuleResponseInterface, ListTaxRulesRequestInterface, ListTaxRulesResponseInterface, TaxRuleProductProductIdentifierInterface, ReplaceTaxRuleRequestInterface, ReplaceTaxRuleResponseInterface, TaxRuleInterface, TaxRuleCustomerInterface, TaxRuleTaxRuleEntityInterface, TaxRuleProductInterface, } from './tax-rule.interface';
37
+ export { BulkReplaceTaxRulesRequestInterface, BulkReplaceTaxRulesResponseInterface, TaxRuleCustomerCustomerAddressInterface, DeleteTaxRuleRequestInterface, ListTaxRulesRequestFiltersInterface, GetTaxProviderRequestInterface, GetTaxProviderResponseInterface, GetTaxRuleRequestInterface, GetTaxRuleResponseInterface, ListTaxRulesRequestInterface, ListTaxRulesResponseInterface, TaxRuleProductProductIdentifierInterface, ReplaceTaxRuleRequestInterface, ReplaceTaxRuleResponseInterface, TaxRuleInterface, TaxRuleCustomerInterface, TaxRuleTaxRuleEntityInterface, TaxRuleProductInterface, } from './tax-rule.interface';
38
38
  export { ContractDocumentInterface, DeleteContractDocumentRequestInterface, ListContractDocumentsRequestFiltersInterface, ListContractDocumentsRequestInterface, ListContractDocumentsResponseInterface, } from './contract-document.interface';
39
39
  export { GetRetailCustomerConfigurationRequestInterface, GetRetailCustomerConfigurationResponseInterface, RetailCustomerConfigurationInterface, UpsertRetailCustomerConfigurationRequestInterface, } from './retail-customer-configuration.interface';
40
40
  export { AddCreditRequestInterface, CreditBalanceInterface, GetBalanceRequestInterface, GetBalanceResponseInterface, } from './credit.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;
@@ -23,6 +23,12 @@ export interface ListTaxRulesRequestFiltersInterface {
23
23
  consumer?: e.Consumer;
24
24
  entityType?: e.TaxRuleEntityType;
25
25
  }
26
+ export interface GetTaxProviderRequestInterface {
27
+ merchantId?: string;
28
+ }
29
+ export interface GetTaxProviderResponseInterface {
30
+ taxProviderType?: e.TaxProviderType;
31
+ }
26
32
  export interface GetTaxRuleRequestInterface {
27
33
  id?: string;
28
34
  }
@@ -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
  }
@@ -35,6 +35,7 @@ export declare class GenerateVendorReportRequest implements i.GenerateVendorRepo
35
35
  periodEnd: Date;
36
36
  vendorName: string;
37
37
  markAsApproved: boolean;
38
+ vendorMerchantId: string;
38
39
  static fromProto(proto: any): GenerateVendorReportRequest;
39
40
  constructor(kwargs?: i.GenerateVendorReportRequestInterface);
40
41
  toApiJson(): object;
@@ -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';
@@ -34,7 +34,7 @@ export { AppliedCredit, ListPurchaseRequestListPurchaseBillingStrategyFilter, Li
34
34
  export { CreateRefundRequest, ListRefundsRequest, ListRefundsResponse, Refund, } from './refund';
35
35
  export { CreateSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteRequest, ListSalesCreditNoteResponse, SalesCreditNote, } from './sales-credit-note';
36
36
  export { GetSalesInvoiceRequest, GetSalesInvoiceResponse, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceRequest, ListSalesInvoiceResponse, PostSalesInvoiceRequest, SalesInvoice, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, } from './sales-invoice';
37
- export { BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, TaxRuleCustomerCustomerAddress, DeleteTaxRuleRequest, ListTaxRulesRequestFilters, GetTaxRuleRequest, GetTaxRuleResponse, ListTaxRulesRequest, ListTaxRulesResponse, TaxRuleProductProductIdentifier, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, TaxRule, TaxRuleCustomer, TaxRuleTaxRuleEntity, TaxRuleProduct, } from './tax-rule';
37
+ export { BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, TaxRuleCustomerCustomerAddress, DeleteTaxRuleRequest, ListTaxRulesRequestFilters, GetTaxProviderRequest, GetTaxProviderResponse, GetTaxRuleRequest, GetTaxRuleResponse, ListTaxRulesRequest, ListTaxRulesResponse, TaxRuleProductProductIdentifier, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, TaxRule, TaxRuleCustomer, TaxRuleTaxRuleEntity, TaxRuleProduct, } from './tax-rule';
38
38
  export { ContractDocument, DeleteContractDocumentRequest, ListContractDocumentsRequestFilters, ListContractDocumentsRequest, ListContractDocumentsResponse, } from './contract-document';
39
39
  export { GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, RetailCustomerConfiguration, UpsertRetailCustomerConfigurationRequest, } from './retail-customer-configuration';
40
40
  export { AddCreditRequest, CreditBalance, GetBalanceRequest, GetBalanceResponse, } from './credit';
@@ -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;
@@ -40,6 +40,18 @@ export declare class ListTaxRulesRequestFilters implements i.ListTaxRulesRequest
40
40
  constructor(kwargs?: i.ListTaxRulesRequestFiltersInterface);
41
41
  toApiJson(): object;
42
42
  }
43
+ export declare class GetTaxProviderRequest implements i.GetTaxProviderRequestInterface {
44
+ merchantId: string;
45
+ static fromProto(proto: any): GetTaxProviderRequest;
46
+ constructor(kwargs?: i.GetTaxProviderRequestInterface);
47
+ toApiJson(): object;
48
+ }
49
+ export declare class GetTaxProviderResponse implements i.GetTaxProviderResponseInterface {
50
+ taxProviderType: e.TaxProviderType;
51
+ static fromProto(proto: any): GetTaxProviderResponse;
52
+ constructor(kwargs?: i.GetTaxProviderResponseInterface);
53
+ toApiJson(): object;
54
+ }
43
55
  export declare class GetTaxRuleRequest implements i.GetTaxRuleRequestInterface {
44
56
  id: string;
45
57
  static fromProto(proto: any): GetTaxRuleRequest;
@@ -1,5 +1,5 @@
1
- import { ArchiveTaxRequest, BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, CalculateLineItemTaxesRequest, CalculateLineItemTaxesResponse, CalculateTaxRequest, CalculateTaxResponse, CreateTaxRequest, CreateTaxResponse, DeleteTaxRuleRequest, GetMultiTaxRequest, GetMultiTaxResponse, GetTaxRuleRequest, GetTaxRuleResponse, ListTaxRequest, ListTaxResponse, ListTaxRulesRequest, ListTaxRulesResponse, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, UpdateTaxRequest } from './objects/';
2
- import { ArchiveTaxRequestInterface, BulkReplaceTaxRulesRequestInterface, CalculateLineItemTaxesRequestInterface, CalculateTaxRequestInterface, CreateTaxRequestInterface, DeleteTaxRuleRequestInterface, GetMultiTaxRequestInterface, GetTaxRuleRequestInterface, ListTaxRequestInterface, ListTaxRulesRequestInterface, ReplaceTaxRuleRequestInterface, UpdateTaxRequestInterface } from './interfaces/';
1
+ import { ArchiveTaxRequest, BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, CalculateLineItemTaxesRequest, CalculateLineItemTaxesResponse, CalculateTaxRequest, CalculateTaxResponse, CreateTaxRequest, CreateTaxResponse, DeleteTaxRuleRequest, GetMultiTaxRequest, GetMultiTaxResponse, GetTaxProviderRequest, GetTaxProviderResponse, GetTaxRuleRequest, GetTaxRuleResponse, ListTaxRequest, ListTaxResponse, ListTaxRulesRequest, ListTaxRulesResponse, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, UpdateTaxRequest } from './objects/';
2
+ import { ArchiveTaxRequestInterface, BulkReplaceTaxRulesRequestInterface, CalculateLineItemTaxesRequestInterface, CalculateTaxRequestInterface, CreateTaxRequestInterface, DeleteTaxRuleRequestInterface, GetMultiTaxRequestInterface, GetTaxProviderRequestInterface, GetTaxRuleRequestInterface, ListTaxRequestInterface, ListTaxRulesRequestInterface, ReplaceTaxRuleRequestInterface, UpdateTaxRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -20,6 +20,7 @@ export declare class TaxApiService {
20
20
  getTaxRule(r: GetTaxRuleRequest | GetTaxRuleRequestInterface): Observable<GetTaxRuleResponse>;
21
21
  listTaxRules(r: ListTaxRulesRequest | ListTaxRulesRequestInterface): Observable<ListTaxRulesResponse>;
22
22
  deleteTaxRule(r: DeleteTaxRuleRequest | DeleteTaxRuleRequestInterface): Observable<HttpResponse<null>>;
23
+ getTaxProvider(r: GetTaxProviderRequest | GetTaxProviderRequestInterface): Observable<GetTaxProviderResponse>;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<TaxApiService, never>;
24
25
  static ɵprov: i0.ɵɵInjectableDeclaration<TaxApiService>;
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "14.44.0",
3
+ "version": "14.46.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"