@vendasta/billing 14.45.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;
@@ -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';
@@ -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
  }
@@ -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;
@@ -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';
@@ -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.45.0",
3
+ "version": "14.46.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"