@vendasta/billing 14.51.0 → 14.52.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.
Files changed (25) hide show
  1. package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
  2. package/esm2022/lib/_internal/interfaces/purchase.interface.mjs +1 -1
  3. package/esm2022/lib/_internal/interfaces/retail-subscription-group.interface.mjs +1 -7
  4. package/esm2022/lib/_internal/interfaces/vendor-split.interface.mjs +1 -1
  5. package/esm2022/lib/_internal/objects/index.mjs +4 -4
  6. package/esm2022/lib/_internal/objects/purchase.mjs +30 -1
  7. package/esm2022/lib/_internal/objects/retail-subscription-group.mjs +97 -1
  8. package/esm2022/lib/_internal/objects/vendor-split.mjs +44 -1
  9. package/esm2022/lib/_internal/purchase.api.service.mjs +6 -2
  10. package/esm2022/lib/_internal/retail-subscription-group.api.service.mjs +12 -2
  11. package/esm2022/lib/_internal/vendor-split.api.service.mjs +7 -2
  12. package/fesm2022/vendasta-billing.mjs +187 -1
  13. package/fesm2022/vendasta-billing.mjs.map +1 -1
  14. package/lib/_internal/interfaces/index.d.ts +3 -3
  15. package/lib/_internal/interfaces/purchase.interface.d.ts +6 -0
  16. package/lib/_internal/interfaces/retail-subscription-group.interface.d.ts +14 -0
  17. package/lib/_internal/interfaces/vendor-split.interface.d.ts +6 -0
  18. package/lib/_internal/objects/index.d.ts +3 -3
  19. package/lib/_internal/objects/purchase.d.ts +9 -0
  20. package/lib/_internal/objects/retail-subscription-group.d.ts +26 -0
  21. package/lib/_internal/objects/vendor-split.d.ts +12 -0
  22. package/lib/_internal/purchase.api.service.d.ts +3 -2
  23. package/lib/_internal/retail-subscription-group.api.service.d.ts +4 -2
  24. package/lib/_internal/vendor-split.api.service.d.ts +3 -2
  25. 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 { CreateRetailSubscriptionGroupRequestInterface, CreateRetailSubscriptionGroupResponseInterface, RetailSubscriptionGroupInterface, } from './retail-subscription-group.interface';
23
+ export { CreateRetailSubscriptionGroupRequestInterface, CreateRetailSubscriptionGroupResponseInterface, GetMultiRetailSubscriptionGroupRequestInterface, GetMultiRetailSubscriptionGroupResponseInterface, RetailSubscriptionGroupInterface, UpdateRetailSubscriptionGroupRequestInterface, UpdateRetailSubscriptionGroupResponseInterface, } from './retail-subscription-group.interface';
24
24
  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, InvoiceItemRetailSubscriptionGroupInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateBundleResponseInterface, UpdateDefaultTaxRatesRequestInterface, UpdateDefaultTaxRatesResponseInterface, UpdateInvoiceRequestInterface, UpdateInvoiceResponseInterface, UpdateLineItemRequestInterface, UpdateLineItemResponseInterface, VoidInvoiceRequestInterface, } from './invoice.interface';
25
25
  export { AccountBalanceInterface, BalanceInterface, BalanceAmountInterface, } from './balance.interface';
26
26
  export { DateRangeInterface, } from './date-range.interface';
@@ -31,7 +31,7 @@ export { CreateMeteredComponentRequestInterface, MeteredComponentInterface, Tick
31
31
  export { RetailPaymentACHDetailsInterface, RetailPaymentACSSDetailsInterface, AdjustmentInterface, RetailPaymentCardDetailsInterface, CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfigureRetailPaymentProviderResponseInterface, ConfirmRetailPaymentRequestInterface, DisputeInterface, DisputeEvidenceInterface, SubmitEvidenceRequestDisputeEvidenceInterface, DisputeEvidenceDetailsInterface, FileInterface, GetRetailDisputeRequestInterface, GetRetailDisputeResponseInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentProviderResponseInterface, GetRetailPaymentRequestInterface, GetRetailPaymentResponseInterface, GetWholesaleProviderPublicKeyRequestInterface, GetWholesaleProviderPublicKeyResponseInterface, ListPaymentRequestListPaymentFiltersInterface, ListPaymentRequestInterface, ListPaymentResponseInterface, ListRetailDisputesRequestListRetailDisputesFiltersInterface, ListRetailDisputesRequestInterface, ListRetailDisputesResponseInterface, ListRetailPaymentsRequestListRetailPaymentsFiltersInterface, ListRetailPaymentsRequestInterface, ListRetailPaymentsResponseInterface, ListRetailTransactionsRequestListRetailTransactionsFiltersInterface, ListRetailTransactionsRequestInterface, ListRetailTransactionsResponseInterface, PrepareRetailPaymentRequestOrderInterface, PaymentInterface, PaymentPaymentAllocationInterface, PaymentIntentInterface, PrepareRetailPaymentRequestInterface, PrepareRetailPaymentResponseInterface, RefundRetailPaymentRequestInterface, RefundRetailPaymentResponseInterface, RetailPaymentInterface, RetailPaymentsEnabledRequestInterface, RetailPaymentsEnabledResponseInterface, RetailRefundInterface, RetailStatusRequestInterface, RetailStatusResponseInterface, RetailTransactionInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface, RetailStatusResponseVerificationErrorInterface, RetailStatusResponseVerificationRequirementsInterface, } from './payment.interface';
32
32
  export { CreatePricingPlanProductRequestInterface, CreatePricingPlanProductResponseInterface, DeletePricingPlanProductRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanProductResponseInterface, GetPricingPlanProductRequestInterface, GetPricingPlanProductResponseInterface, ListPricingPlanProductsRequestListPricingPlanProductsFiltersInterface, ListPricingPlanProductsRequestInterface, ListPricingPlanProductsResponseInterface, CreatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductPricingEntryInterface, UpdatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanProductResponseInterface, UpsertWholesalePricingRequestInterface, } from './pricing-plan-product.interface';
33
33
  export { CreateProductRequestInterface, DeleteProductRequestInterface, GetMultiProductRequestInterface, GetMultiProductResponseInterface, ListProductsRequestListProductsFiltersInterface, ListProductsRequestInterface, ListProductsResponseInterface, ProductInterface, GetMultiProductResponseProductsEntryInterface, UpdateProductRequestInterface, } from './product.interface';
34
- export { AppliedCreditInterface, ListPurchaseRequestListPurchaseBillingStrategyFilterInterface, ListPurchaseRequestListPurchaseFiltersInterface, ListPurchaseItemsRequestListPurchaseItemsFiltersInterface, ListPurchaseItemsRequestInterface, ListPurchaseItemsResponseInterface, ListPurchaseRequestInterface, ListPurchaseResponseInterface, PauseDunningRequestInterface, PurchaseInterface, PurchaseItemInterface, ResumeDunningRequestInterface, RetryPurchaseRequestInterface, StopDunningRequestInterface, VoidPurchaseRequestInterface, } from './purchase.interface';
34
+ export { AppliedCreditInterface, ListPurchaseRequestListPurchaseBillingStrategyFilterInterface, ListPurchaseRequestListPurchaseFiltersInterface, ListPurchaseItemsRequestListPurchaseItemsFiltersInterface, ListPurchaseItemsRequestInterface, ListPurchaseItemsResponseInterface, ListPurchaseRequestInterface, ListPurchaseResponseInterface, MarkPurchaseAsPaidRequestInterface, PauseDunningRequestInterface, PurchaseInterface, PurchaseItemInterface, ResumeDunningRequestInterface, RetryPurchaseRequestInterface, StopDunningRequestInterface, VoidPurchaseRequestInterface, } from './purchase.interface';
35
35
  export { CreateRefundRequestInterface, ListRefundsRequestInterface, ListRefundsResponseInterface, RefundInterface, } from './refund.interface';
36
36
  export { CreateSalesCreditNoteRequestInterface, ListSalesCreditNoteRequestListSalesCreditNoteFiltersInterface, ListSalesCreditNoteRequestInterface, ListSalesCreditNoteResponseInterface, SalesCreditNoteInterface, } from './sales-credit-note.interface';
37
37
  export { GetSalesInvoiceRequestInterface, GetSalesInvoiceResponseInterface, ListSalesInvoiceRequestListSalesInvoiceFiltersInterface, ListSalesInvoiceRequestInterface, ListSalesInvoiceResponseInterface, PostSalesInvoiceRequestInterface, SalesInvoiceInterface, SendSalesInvoiceEmailRequestInterface, SendSalesInvoiceReceiptEmailRequestInterface, } from './sales-invoice.interface';
@@ -44,6 +44,6 @@ export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
44
44
  export { ListSubscriptionRelationshipsRequestFiltersInterface, GetMultiSubscriptionRelationshipsRequestInterface, GetMultiSubscriptionRelationshipsResponseInterface, ListSubscriptionRelationshipsRequestInterface, ListSubscriptionRelationshipsResponseInterface, ReplaceSubscriptionRelationshipsRequestInterface, ReplaceSubscriptionRelationshipsResponseInterface, SubscriptionRelationshipInterface, } from './subscription-relationship.interface';
45
45
  export { ReplaceSubscriptionPresetsRequestInterface, ReplaceSubscriptionPresetsResponseInterface, SubscriptionPresetInterface, } from './subscription-preset.interface';
46
46
  export { AppliedToInterface, CalculateCreditNoteRequestInterface, CalculateCreditNoteResponseInterface, CreateCreditNoteRequestInterface, CreateCreditNoteResponseInterface, CreditNoteInterface, ListCreditNotesRequestFiltersInterface, GetCreditNoteRequestInterface, GetCreditNoteResponseInterface, GetMultiCreditNoteRequestInterface, GetMultiCreditNoteResponseInterface, LineItemInterface, ListCreditNotesRequestInterface, ListCreditNotesResponseInterface, SendCreditNoteRequestInterface, } from './credit-note.interface';
47
- export { GetVendorSplitRequestInterface, GetVendorSplitResponseInterface, UpsertVendorSplitRequestInterface, UpsertVendorSplitResponseInterface, VendorSplitInterface, } from './vendor-split.interface';
47
+ export { GetMultiVendorSplitRequestInterface, GetMultiVendorSplitResponseInterface, GetVendorSplitRequestInterface, GetVendorSplitResponseInterface, UpsertVendorSplitRequestInterface, UpsertVendorSplitResponseInterface, VendorSplitInterface, } from './vendor-split.interface';
48
48
  export { AvalaraConfigurationInterface, CreateAvalaraConfigurationRequestInterface, CreateAvalaraConfigurationResponseInterface, DeleteAvalaraConfigurationRequestInterface, GetAvalaraConfigurationRequestInterface, GetAvalaraConfigurationResponseInterface, UpdateAvalaraConfigurationRequestInterface, UpdateAvalaraConfigurationResponseInterface, } from './avalara.interface';
49
49
  export { DeleteRetailPricingRequestInterface, GenerateBillableItemsCSVRequestInterface, GenerateBillableItemsCSVResponseInterface, GenerateVendorReportRequestInterface, GenerateVendorReportResponseInterface, GetMultiBundleRetailPricingRequestInterface, GetMultiBundleRetailPricingResponseInterface, GetMultiProductPricingRequestInterface, GetMultiProductPricingResponseInterface, GetMultiRetailPricingRequestInterface, GetMultiRetailPricingResponseInterface, GetMultiWholesaleCostRequestInterface, GetMultiWholesaleCostResponseInterface, GetPurchaseCostRequestInterface, GetPurchaseCostResponseInterface, GetRevenueStatsRequestInterface, GetRevenueStatsResponseInterface, GetStatisticsRequestInterface, GetStatisticsResponseInterface, GetWholesaleComparisonRequestGetWholesaleComparisonFiltersInterface, GetWholesaleComparisonRequestInterface, GetWholesaleComparisonResponseInterface, GetWholesaleComparisonResponseGetWholesaleComparisonResultInterface, GetMultiBundleRetailPricingResponsePricesEntryInterface, UpsertRetailPricingRequestPricingEntryInterface, GetMultiRetailPricingResponseProductPricesEntryInterface, GetMultiProductPricingResponseProductPricesEntryInterface, SetWholesaleProductStrategyRequestInterface, SetWholesaleProductVolumeCommitmentRequestInterface, StartRevRecTemplateBackfillRequestInterface, UpsertRetailPricingRequestInterface, } from './api.interface';
@@ -47,6 +47,11 @@ export interface ListPurchaseResponseInterface {
47
47
  purchases?: PurchaseInterface[];
48
48
  pagingMetadata?: PagedResponseMetadataInterface;
49
49
  }
50
+ export interface MarkPurchaseAsPaidRequestInterface {
51
+ purchaseId?: string;
52
+ merchantId?: string;
53
+ day?: string;
54
+ }
50
55
  export interface PauseDunningRequestInterface {
51
56
  purchaseId?: string;
52
57
  merchantId?: string;
@@ -72,6 +77,7 @@ export interface PurchaseInterface {
72
77
  taxAmount?: number;
73
78
  appliedTaxRates?: AppliedTaxRateInterface[];
74
79
  pauseDunningUntil?: Date;
80
+ day?: string;
75
81
  }
76
82
  export interface PurchaseItemInterface {
77
83
  sku?: string;
@@ -1,3 +1,4 @@
1
+ import { FieldMaskInterface } from './field-mask.interface';
1
2
  import * as e from '../enums';
2
3
  export interface CreateRetailSubscriptionGroupRequestInterface {
3
4
  retailSubscriptionGroup?: RetailSubscriptionGroupInterface;
@@ -5,8 +6,21 @@ export interface CreateRetailSubscriptionGroupRequestInterface {
5
6
  export interface CreateRetailSubscriptionGroupResponseInterface {
6
7
  id?: string;
7
8
  }
9
+ export interface GetMultiRetailSubscriptionGroupRequestInterface {
10
+ ids?: string[];
11
+ }
12
+ export interface GetMultiRetailSubscriptionGroupResponseInterface {
13
+ retailSubscriptionGroups?: RetailSubscriptionGroupInterface[];
14
+ }
8
15
  export interface RetailSubscriptionGroupInterface {
9
16
  id?: string;
10
17
  name?: string;
11
18
  displayOption?: e.DisplayOption;
12
19
  }
20
+ export interface UpdateRetailSubscriptionGroupRequestInterface {
21
+ retailSubscriptionGroup?: RetailSubscriptionGroupInterface;
22
+ fieldMask?: FieldMaskInterface;
23
+ }
24
+ export interface UpdateRetailSubscriptionGroupResponseInterface {
25
+ retailSubscriptionGroup?: RetailSubscriptionGroupInterface;
26
+ }
@@ -1,3 +1,9 @@
1
+ export interface GetMultiVendorSplitRequestInterface {
2
+ skus?: string[];
3
+ }
4
+ export interface GetMultiVendorSplitResponseInterface {
5
+ vendorSplits?: VendorSplitInterface[];
6
+ }
1
7
  export interface GetVendorSplitRequestInterface {
2
8
  sku?: string;
3
9
  }
@@ -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 { CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse, RetailSubscriptionGroup, } from './retail-subscription-group';
23
+ export { CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse, GetMultiRetailSubscriptionGroupRequest, GetMultiRetailSubscriptionGroupResponse, RetailSubscriptionGroup, UpdateRetailSubscriptionGroupRequest, UpdateRetailSubscriptionGroupResponse, } from './retail-subscription-group';
24
24
  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, InvoiceItemRetailSubscriptionGroup, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest, } from './invoice';
25
25
  export { AccountBalance, Balance, BalanceAmount, } from './balance';
26
26
  export { DateRange, } from './date-range';
@@ -31,7 +31,7 @@ export { CreateMeteredComponentRequest, MeteredComponent, TickComponentUsageRequ
31
31
  export { RetailPaymentACHDetails, RetailPaymentACSSDetails, Adjustment, RetailPaymentCardDetails, CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, Dispute, DisputeEvidence, SubmitEvidenceRequestDisputeEvidence, DisputeEvidenceDetails, File, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, ListPaymentRequestListPaymentFilters, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequestListRetailDisputesFilters, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsRequest, ListRetailPaymentsResponse, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsRequest, ListRetailTransactionsResponse, PrepareRetailPaymentRequestOrder, Payment, PaymentPaymentAllocation, PaymentIntent, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPayment, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailRefund, RetailStatusRequest, RetailStatusResponse, RetailTransaction, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, } from './payment';
32
32
  export { CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, DeletePricingPlanProductRequest, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsRequest, ListPricingPlanProductsResponse, CreatePricingPlanProductRequestPricingEntry, PricingPlanProductPricingEntry, UpdatePricingPlanProductRequestPricingEntry, PricingPlanProduct, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpsertWholesalePricingRequest, } from './pricing-plan-product';
33
33
  export { CreateProductRequest, DeleteProductRequest, GetMultiProductRequest, GetMultiProductResponse, ListProductsRequestListProductsFilters, ListProductsRequest, ListProductsResponse, Product, GetMultiProductResponseProductsEntry, UpdateProductRequest, } from './product';
34
- export { AppliedCredit, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsRequest, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseResponse, PauseDunningRequest, Purchase, PurchaseItem, ResumeDunningRequest, RetryPurchaseRequest, StopDunningRequest, VoidPurchaseRequest, } from './purchase';
34
+ export { AppliedCredit, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsRequest, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseResponse, MarkPurchaseAsPaidRequest, PauseDunningRequest, Purchase, PurchaseItem, ResumeDunningRequest, RetryPurchaseRequest, StopDunningRequest, VoidPurchaseRequest, } from './purchase';
35
35
  export { CreateRefundRequest, ListRefundsRequest, ListRefundsResponse, Refund, } from './refund';
36
36
  export { CreateSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteRequest, ListSalesCreditNoteResponse, SalesCreditNote, } from './sales-credit-note';
37
37
  export { GetSalesInvoiceRequest, GetSalesInvoiceResponse, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceRequest, ListSalesInvoiceResponse, PostSalesInvoiceRequest, SalesInvoice, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, } from './sales-invoice';
@@ -44,6 +44,6 @@ export { Access, MCPOptions, } from './annotations';
44
44
  export { ListSubscriptionRelationshipsRequestFilters, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, SubscriptionRelationship, } from './subscription-relationship';
45
45
  export { ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, SubscriptionPreset, } from './subscription-preset';
46
46
  export { AppliedTo, CalculateCreditNoteRequest, CalculateCreditNoteResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreditNote, ListCreditNotesRequestFilters, GetCreditNoteRequest, GetCreditNoteResponse, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, LineItem, ListCreditNotesRequest, ListCreditNotesResponse, SendCreditNoteRequest, } from './credit-note';
47
- export { GetVendorSplitRequest, GetVendorSplitResponse, UpsertVendorSplitRequest, UpsertVendorSplitResponse, VendorSplit, } from './vendor-split';
47
+ export { GetMultiVendorSplitRequest, GetMultiVendorSplitResponse, GetVendorSplitRequest, GetVendorSplitResponse, UpsertVendorSplitRequest, UpsertVendorSplitResponse, VendorSplit, } from './vendor-split';
48
48
  export { AvalaraConfiguration, CreateAvalaraConfigurationRequest, CreateAvalaraConfigurationResponse, DeleteAvalaraConfigurationRequest, GetAvalaraConfigurationRequest, GetAvalaraConfigurationResponse, UpdateAvalaraConfigurationRequest, UpdateAvalaraConfigurationResponse, } from './avalara';
49
49
  export { DeleteRetailPricingRequest, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GenerateVendorReportRequest, GenerateVendorReportResponse, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetRevenueStatsRequest, GetRevenueStatsResponse, GetStatisticsRequest, GetStatisticsResponse, GetWholesaleComparisonRequestGetWholesaleComparisonFilters, GetWholesaleComparisonRequest, GetWholesaleComparisonResponse, GetWholesaleComparisonResponseGetWholesaleComparisonResult, GetMultiBundleRetailPricingResponsePricesEntry, UpsertRetailPricingRequestPricingEntry, GetMultiRetailPricingResponseProductPricesEntry, GetMultiProductPricingResponseProductPricesEntry, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, StartRevRecTemplateBackfillRequest, UpsertRetailPricingRequest, } from './api';
@@ -73,6 +73,14 @@ export declare class ListPurchaseResponse implements i.ListPurchaseResponseInter
73
73
  constructor(kwargs?: i.ListPurchaseResponseInterface);
74
74
  toApiJson(): object;
75
75
  }
76
+ export declare class MarkPurchaseAsPaidRequest implements i.MarkPurchaseAsPaidRequestInterface {
77
+ purchaseId: string;
78
+ merchantId: string;
79
+ day: string;
80
+ static fromProto(proto: any): MarkPurchaseAsPaidRequest;
81
+ constructor(kwargs?: i.MarkPurchaseAsPaidRequestInterface);
82
+ toApiJson(): object;
83
+ }
76
84
  export declare class PauseDunningRequest implements i.PauseDunningRequestInterface {
77
85
  purchaseId: string;
78
86
  merchantId: string;
@@ -101,6 +109,7 @@ export declare class Purchase implements i.PurchaseInterface {
101
109
  taxAmount: number;
102
110
  appliedTaxRates: AppliedTaxRate[];
103
111
  pauseDunningUntil: Date;
112
+ day: string;
104
113
  static fromProto(proto: any): Purchase;
105
114
  constructor(kwargs?: i.PurchaseInterface);
106
115
  toApiJson(): object;
@@ -1,4 +1,5 @@
1
1
  import * as i from '../interfaces';
2
+ import { FieldMask } from './field-mask';
2
3
  import * as e from '../enums';
3
4
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
5
  export declare class CreateRetailSubscriptionGroupRequest implements i.CreateRetailSubscriptionGroupRequestInterface {
@@ -13,6 +14,18 @@ export declare class CreateRetailSubscriptionGroupResponse implements i.CreateRe
13
14
  constructor(kwargs?: i.CreateRetailSubscriptionGroupResponseInterface);
14
15
  toApiJson(): object;
15
16
  }
17
+ export declare class GetMultiRetailSubscriptionGroupRequest implements i.GetMultiRetailSubscriptionGroupRequestInterface {
18
+ ids: string[];
19
+ static fromProto(proto: any): GetMultiRetailSubscriptionGroupRequest;
20
+ constructor(kwargs?: i.GetMultiRetailSubscriptionGroupRequestInterface);
21
+ toApiJson(): object;
22
+ }
23
+ export declare class GetMultiRetailSubscriptionGroupResponse implements i.GetMultiRetailSubscriptionGroupResponseInterface {
24
+ retailSubscriptionGroups: RetailSubscriptionGroup[];
25
+ static fromProto(proto: any): GetMultiRetailSubscriptionGroupResponse;
26
+ constructor(kwargs?: i.GetMultiRetailSubscriptionGroupResponseInterface);
27
+ toApiJson(): object;
28
+ }
16
29
  export declare class RetailSubscriptionGroup implements i.RetailSubscriptionGroupInterface {
17
30
  id: string;
18
31
  name: string;
@@ -21,3 +34,16 @@ export declare class RetailSubscriptionGroup implements i.RetailSubscriptionGrou
21
34
  constructor(kwargs?: i.RetailSubscriptionGroupInterface);
22
35
  toApiJson(): object;
23
36
  }
37
+ export declare class UpdateRetailSubscriptionGroupRequest implements i.UpdateRetailSubscriptionGroupRequestInterface {
38
+ retailSubscriptionGroup: RetailSubscriptionGroup;
39
+ fieldMask: FieldMask;
40
+ static fromProto(proto: any): UpdateRetailSubscriptionGroupRequest;
41
+ constructor(kwargs?: i.UpdateRetailSubscriptionGroupRequestInterface);
42
+ toApiJson(): object;
43
+ }
44
+ export declare class UpdateRetailSubscriptionGroupResponse implements i.UpdateRetailSubscriptionGroupResponseInterface {
45
+ retailSubscriptionGroup: RetailSubscriptionGroup;
46
+ static fromProto(proto: any): UpdateRetailSubscriptionGroupResponse;
47
+ constructor(kwargs?: i.UpdateRetailSubscriptionGroupResponseInterface);
48
+ toApiJson(): object;
49
+ }
@@ -1,5 +1,17 @@
1
1
  import * as i from '../interfaces';
2
2
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
+ export declare class GetMultiVendorSplitRequest implements i.GetMultiVendorSplitRequestInterface {
4
+ skus: string[];
5
+ static fromProto(proto: any): GetMultiVendorSplitRequest;
6
+ constructor(kwargs?: i.GetMultiVendorSplitRequestInterface);
7
+ toApiJson(): object;
8
+ }
9
+ export declare class GetMultiVendorSplitResponse implements i.GetMultiVendorSplitResponseInterface {
10
+ vendorSplits: VendorSplit[];
11
+ static fromProto(proto: any): GetMultiVendorSplitResponse;
12
+ constructor(kwargs?: i.GetMultiVendorSplitResponseInterface);
13
+ toApiJson(): object;
14
+ }
3
15
  export declare class GetVendorSplitRequest implements i.GetVendorSplitRequestInterface {
4
16
  sku: string;
5
17
  static fromProto(proto: any): GetVendorSplitRequest;
@@ -1,5 +1,5 @@
1
- import { GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, ListPurchaseItemsRequest, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseResponse, PauseDunningRequest, ResumeDunningRequest, RetryPurchaseRequest, StopDunningRequest, VoidPurchaseRequest } from './objects/';
2
- import { GetMultiCustomerSummariesRequestInterface, ListPurchaseItemsRequestInterface, ListPurchaseRequestInterface, PauseDunningRequestInterface, ResumeDunningRequestInterface, RetryPurchaseRequestInterface, StopDunningRequestInterface, VoidPurchaseRequestInterface } from './interfaces/';
1
+ import { GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, ListPurchaseItemsRequest, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseResponse, MarkPurchaseAsPaidRequest, PauseDunningRequest, ResumeDunningRequest, RetryPurchaseRequest, StopDunningRequest, VoidPurchaseRequest } from './objects/';
2
+ import { GetMultiCustomerSummariesRequestInterface, ListPurchaseItemsRequestInterface, ListPurchaseRequestInterface, MarkPurchaseAsPaidRequestInterface, PauseDunningRequestInterface, ResumeDunningRequestInterface, RetryPurchaseRequestInterface, StopDunningRequestInterface, VoidPurchaseRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -16,6 +16,7 @@ export declare class PurchaseApiService {
16
16
  pauseDunning(r: PauseDunningRequest | PauseDunningRequestInterface): Observable<HttpResponse<null>>;
17
17
  resumeDunning(r: ResumeDunningRequest | ResumeDunningRequestInterface): Observable<HttpResponse<null>>;
18
18
  stopDunning(r: StopDunningRequest | StopDunningRequestInterface): Observable<HttpResponse<null>>;
19
+ markAsPaid(r: MarkPurchaseAsPaidRequest | MarkPurchaseAsPaidRequestInterface): Observable<HttpResponse<null>>;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<PurchaseApiService, never>;
20
21
  static ɵprov: i0.ɵɵInjectableDeclaration<PurchaseApiService>;
21
22
  }
@@ -1,5 +1,5 @@
1
- import { CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse } from './objects/';
2
- import { CreateRetailSubscriptionGroupRequestInterface } from './interfaces/';
1
+ import { CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse, GetMultiRetailSubscriptionGroupRequest, GetMultiRetailSubscriptionGroupResponse, UpdateRetailSubscriptionGroupRequest, UpdateRetailSubscriptionGroupResponse } from './objects/';
2
+ import { CreateRetailSubscriptionGroupRequestInterface, GetMultiRetailSubscriptionGroupRequestInterface, UpdateRetailSubscriptionGroupRequestInterface } from './interfaces/';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class RetailSubscriptionGroupApiService {
@@ -8,6 +8,8 @@ export declare class RetailSubscriptionGroupApiService {
8
8
  private _host;
9
9
  private apiOptions;
10
10
  createRetailSubscriptionGroup(r: CreateRetailSubscriptionGroupRequest | CreateRetailSubscriptionGroupRequestInterface): Observable<CreateRetailSubscriptionGroupResponse>;
11
+ getMulti(r: GetMultiRetailSubscriptionGroupRequest | GetMultiRetailSubscriptionGroupRequestInterface): Observable<GetMultiRetailSubscriptionGroupResponse>;
12
+ update(r: UpdateRetailSubscriptionGroupRequest | UpdateRetailSubscriptionGroupRequestInterface): Observable<UpdateRetailSubscriptionGroupResponse>;
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<RetailSubscriptionGroupApiService, never>;
12
14
  static ɵprov: i0.ɵɵInjectableDeclaration<RetailSubscriptionGroupApiService>;
13
15
  }
@@ -1,5 +1,5 @@
1
- import { GetVendorSplitRequest, GetVendorSplitResponse, UpsertVendorSplitRequest, UpsertVendorSplitResponse } from './objects/';
2
- import { GetVendorSplitRequestInterface, UpsertVendorSplitRequestInterface } from './interfaces/';
1
+ import { GetMultiVendorSplitRequest, GetMultiVendorSplitResponse, GetVendorSplitRequest, GetVendorSplitResponse, UpsertVendorSplitRequest, UpsertVendorSplitResponse } from './objects/';
2
+ import { GetMultiVendorSplitRequestInterface, GetVendorSplitRequestInterface, UpsertVendorSplitRequestInterface } from './interfaces/';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class VendorSplitApiService {
@@ -9,6 +9,7 @@ export declare class VendorSplitApiService {
9
9
  private apiOptions;
10
10
  get(r: GetVendorSplitRequest | GetVendorSplitRequestInterface): Observable<GetVendorSplitResponse>;
11
11
  upsert(r: UpsertVendorSplitRequest | UpsertVendorSplitRequestInterface): Observable<UpsertVendorSplitResponse>;
12
+ getMulti(r: GetMultiVendorSplitRequest | GetMultiVendorSplitRequestInterface): Observable<GetMultiVendorSplitResponse>;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<VendorSplitApiService, never>;
13
14
  static ɵprov: i0.ɵɵInjectableDeclaration<VendorSplitApiService>;
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "14.51.0",
3
+ "version": "14.52.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"