@vendasta/billing 14.46.0 → 14.47.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 (27) hide show
  1. package/esm2022/lib/_internal/interfaces/annotations.interface.mjs +1 -1
  2. package/esm2022/lib/_internal/interfaces/billable-item.interface.mjs +1 -1
  3. package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
  4. package/esm2022/lib/_internal/interfaces/invoice.interface.mjs +1 -1
  5. package/esm2022/lib/_internal/interfaces/pricing-plan-product.interface.mjs +1 -1
  6. package/esm2022/lib/_internal/interfaces/subscription.interface.mjs +1 -1
  7. package/esm2022/lib/_internal/objects/annotations.mjs +21 -1
  8. package/esm2022/lib/_internal/objects/billable-item.mjs +56 -27
  9. package/esm2022/lib/_internal/objects/index.mjs +5 -5
  10. package/esm2022/lib/_internal/objects/invoice.mjs +36 -1
  11. package/esm2022/lib/_internal/objects/pricing-plan-product.mjs +5 -5
  12. package/esm2022/lib/_internal/objects/subscription.mjs +7 -1
  13. package/fesm2022/vendasta-billing.mjs +121 -31
  14. package/fesm2022/vendasta-billing.mjs.map +1 -1
  15. package/lib/_internal/interfaces/annotations.interface.d.ts +3 -0
  16. package/lib/_internal/interfaces/billable-item.interface.d.ts +10 -5
  17. package/lib/_internal/interfaces/index.d.ts +4 -4
  18. package/lib/_internal/interfaces/invoice.interface.d.ts +6 -0
  19. package/lib/_internal/interfaces/pricing-plan-product.interface.d.ts +2 -2
  20. package/lib/_internal/interfaces/subscription.interface.d.ts +2 -0
  21. package/lib/_internal/objects/annotations.d.ts +6 -0
  22. package/lib/_internal/objects/billable-item.d.ts +16 -8
  23. package/lib/_internal/objects/index.d.ts +4 -4
  24. package/lib/_internal/objects/invoice.d.ts +9 -0
  25. package/lib/_internal/objects/pricing-plan-product.d.ts +6 -6
  26. package/lib/_internal/objects/subscription.d.ts +2 -0
  27. package/package.json +1 -1
@@ -2,3 +2,6 @@ export interface AccessInterface {
2
2
  scope?: string[];
3
3
  public?: boolean;
4
4
  }
5
+ export interface MCPOptionsInterface {
6
+ serverId?: string[];
7
+ }
@@ -47,6 +47,7 @@ export interface BillableItemInterface {
47
47
  nextServicePeriodStart?: Date;
48
48
  nextServicePeriodEnd?: Date;
49
49
  nextInvoiceDate?: Date;
50
+ retailSubscriptionGroup?: BillableItemRetailSubscriptionGroupInterface;
50
51
  }
51
52
  export interface CanBillItemRequestInterface {
52
53
  merchantId?: string;
@@ -85,6 +86,11 @@ export interface ExportSubscriptionsRequestInterface {
85
86
  filters?: ListSubscriptionsRequestFiltersInterface;
86
87
  consumer?: e.Consumer;
87
88
  }
89
+ export interface ListBillableItemsRequestFiltersInterface {
90
+ skus?: string[];
91
+ merchantId?: string;
92
+ customerId?: string;
93
+ }
88
94
  export interface ListSubscriptionsRequestFiltersInterface {
89
95
  skus?: string[];
90
96
  merchantId?: string;
@@ -95,11 +101,6 @@ export interface ListSubscriptionsRequestFiltersInterface {
95
101
  expiredDateLte?: Date;
96
102
  frequencies?: e.Frequency[];
97
103
  }
98
- export interface ListBillableItemsRequestFiltersInterface {
99
- skus?: string[];
100
- merchantId?: string;
101
- customerId?: string;
102
- }
103
104
  export interface GetBillableItemRequestInterface {
104
105
  merchantId?: string;
105
106
  sku?: string;
@@ -148,6 +149,10 @@ export interface ListSubscriptionsResponseInterface {
148
149
  subscriptions?: BillableItemInterface[];
149
150
  pagingMetadata?: PagedResponseMetadataInterface;
150
151
  }
152
+ export interface BillableItemRetailSubscriptionGroupInterface {
153
+ id?: string;
154
+ name?: string;
155
+ }
151
156
  export interface UpdateSubscriptionRequestSubscriptionInterface {
152
157
  subscriptionId?: string;
153
158
  description?: string;
@@ -6,7 +6,7 @@ export { ComponentPricingInterface, CreatePricingPlanRequestInterface, CreatePri
6
6
  export { ProductPricesInterface, ProductPricingInterface, WholesaleCostItemRequestInterface, } from './product-pricing.interface';
7
7
  export { SubscribeValidationInterface, } from './subscribe-validation.interface';
8
8
  export { AlignmentSubscriptionInterface, CanCreateSubscriptionsRequestInterface, CanCreateSubscriptionsResponseInterface, ChangeCustomUnitPriceRequestInterface, ChangeFrequencyRequestInterface, ChangeRenewalDateRequestInterface, CreateSubscriptionRequestInterface, CreateSubscriptionResponseInterface, CreateSubscriptionsRequestInterface, CreateSubscriptionsResponseInterface, ReverseSubscriptionRequestInterface, SetAutoBillableRequestInterface, SetRenewalStartRequestInterface, CanCreateSubscriptionsRequestSkusEntryInterface, SubscriptionInterface, CanCreateSubscriptionsRequestSubscriptionItemInterface, ValidateResponseInterface, } from './subscription.interface';
9
- export { BillItemRequestInterface, BillMultipleItemsRequestInterface, BillMultipleItemsResponseInterface, BillableItemInterface, CanBillItemRequestInterface, CreateUsageRequestInterface, BillableItemCustomerAddressInterface, DeleteBillableItemRequestInterface, ExpireBillableItemRequestInterface, ExportSubscriptionsRequestInterface, ListSubscriptionsRequestFiltersInterface, ListBillableItemsRequestFiltersInterface, GetBillableItemRequestInterface, GetBillableItemResponseInterface, GetMultiSubscriptionsRequestInterface, GetMultiSubscriptionsResponseInterface, ItemInterface, GetMultiSubscriptionsRequestKeyInterface, ListBillableItemsRequestInterface, ListBillableItemsResponseInterface, ListSubscriptionsRequestInterface, ListSubscriptionsResponseInterface, UpdateSubscriptionRequestSubscriptionInterface, SubscriptionProjectionFilterInterface, UnexpireBillableItemRequestInterface, UpdateSubscriptionRequestInterface, UpdateSubscriptionResponseInterface, } from './billable-item.interface';
9
+ export { BillItemRequestInterface, BillMultipleItemsRequestInterface, BillMultipleItemsResponseInterface, BillableItemInterface, CanBillItemRequestInterface, CreateUsageRequestInterface, BillableItemCustomerAddressInterface, DeleteBillableItemRequestInterface, ExpireBillableItemRequestInterface, ExportSubscriptionsRequestInterface, ListBillableItemsRequestFiltersInterface, ListSubscriptionsRequestFiltersInterface, GetBillableItemRequestInterface, GetBillableItemResponseInterface, GetMultiSubscriptionsRequestInterface, GetMultiSubscriptionsResponseInterface, ItemInterface, GetMultiSubscriptionsRequestKeyInterface, ListBillableItemsRequestInterface, ListBillableItemsResponseInterface, ListSubscriptionsRequestInterface, ListSubscriptionsResponseInterface, BillableItemRetailSubscriptionGroupInterface, UpdateSubscriptionRequestSubscriptionInterface, SubscriptionProjectionFilterInterface, UnexpireBillableItemRequestInterface, UpdateSubscriptionRequestInterface, UpdateSubscriptionResponseInterface, } from './billable-item.interface';
10
10
  export { AppliedDiscountInterface, } from './applied-discount.interface';
11
11
  export { BundleInterface, BundleItemInterface, BundlePricingInterface, GetMultiBundleResponseBundlesEntryInterface, ListBundlesRequestFiltersInterface, GetMultiBundleRequestInterface, GetMultiBundleResponseInterface, ListBundlesRequestInterface, ListBundlesResponseInterface, BundleItemPriceInterface, BundlePricingPriceAndFrequencyInterface, UpsertBundleRequestInterface, } from './bundle.interface';
12
12
  export { ContractInterface, GetMultiContractsResponseContractsEntryInterface, CreateContractRequestInterface, CreateContractResponseInterface, GetContractRequestInterface, GetContractResponseInterface, GetMerchantWholesaleCurrencyRequestInterface, GetMerchantWholesaleCurrencyResponseInterface, GetMultiContractsRequestInterface, GetMultiContractsResponseInterface, ListContractsRequestInterface, ListContractsResponseInterface, UpdateContractRequestMutationInterface, ResetContractPricingRequestInterface, UpdateContractRequestInterface, UpdateContractResponseInterface, UpdateContractSubscriptionRequestInterface, } from './contract.interface';
@@ -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, 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';
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, InvoiceItemRetailSubscriptionGroupInterface, 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';
@@ -28,7 +28,7 @@ export { CancelRetailBillingRequestInterface, ChargeSalesInvoiceRequestInterface
28
28
  export { ListMerchantBillingReportsRequestInterface, ListMerchantBillingReportsResponseInterface, MerchantReportInterface, } from './merchant-report.interface';
29
29
  export { CreateMeteredComponentRequestInterface, MeteredComponentInterface, TickComponentUsageRequestInterface, } from './metered-component.interface';
30
30
  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';
31
- export { CreatePricingPlanProductRequestInterface, CreatePricingPlanProductResponseInterface, DeletePricingPlanProductRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanProductResponseInterface, GetPricingPlanProductRequestInterface, GetPricingPlanProductResponseInterface, ListPricingPlanProductsRequestListPricingPlanProductsFiltersInterface, ListPricingPlanProductsRequestInterface, ListPricingPlanProductsResponseInterface, PricingPlanProductPricingEntryInterface, CreatePricingPlanProductRequestPricingEntryInterface, UpdatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanProductResponseInterface, UpsertWholesalePricingRequestInterface, } from './pricing-plan-product.interface';
31
+ export { CreatePricingPlanProductRequestInterface, CreatePricingPlanProductResponseInterface, DeletePricingPlanProductRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanProductResponseInterface, GetPricingPlanProductRequestInterface, GetPricingPlanProductResponseInterface, ListPricingPlanProductsRequestListPricingPlanProductsFiltersInterface, ListPricingPlanProductsRequestInterface, ListPricingPlanProductsResponseInterface, CreatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductPricingEntryInterface, UpdatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanProductResponseInterface, UpsertWholesalePricingRequestInterface, } from './pricing-plan-product.interface';
32
32
  export { CreateProductRequestInterface, DeleteProductRequestInterface, GetMultiProductRequestInterface, GetMultiProductResponseInterface, ListProductsRequestListProductsFiltersInterface, ListProductsRequestInterface, ListProductsResponseInterface, ProductInterface, GetMultiProductResponseProductsEntryInterface, UpdateProductRequestInterface, } from './product.interface';
33
33
  export { AppliedCreditInterface, ListPurchaseRequestListPurchaseBillingStrategyFilterInterface, ListPurchaseRequestListPurchaseFiltersInterface, ListPurchaseItemsRequestListPurchaseItemsFiltersInterface, ListPurchaseItemsRequestInterface, ListPurchaseItemsResponseInterface, ListPurchaseRequestInterface, ListPurchaseResponseInterface, PauseDunningRequestInterface, PurchaseInterface, PurchaseItemInterface, ResumeDunningRequestInterface, RetryPurchaseRequestInterface, StopDunningRequestInterface, VoidPurchaseRequestInterface, } from './purchase.interface';
34
34
  export { CreateRefundRequestInterface, ListRefundsRequestInterface, ListRefundsResponseInterface, RefundInterface, } from './refund.interface';
@@ -39,7 +39,7 @@ export { ContractDocumentInterface, DeleteContractDocumentRequestInterface, List
39
39
  export { GetRetailCustomerConfigurationRequestInterface, GetRetailCustomerConfigurationResponseInterface, RetailCustomerConfigurationInterface, UpsertRetailCustomerConfigurationRequestInterface, } from './retail-customer-configuration.interface';
40
40
  export { AddCreditRequestInterface, CreditBalanceInterface, GetBalanceRequestInterface, GetBalanceResponseInterface, } from './credit.interface';
41
41
  export { CreateMerchantServicesReportRunInterface, GetMerchantServicesReportRunInterface, MerchantServicesReportRunInterface, } from './report-run.interface';
42
- export { AccessInterface, } from './annotations.interface';
42
+ export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
43
43
  export { ListSubscriptionRelationshipsRequestFiltersInterface, GetMultiSubscriptionRelationshipsRequestInterface, GetMultiSubscriptionRelationshipsResponseInterface, ListSubscriptionRelationshipsRequestInterface, ListSubscriptionRelationshipsResponseInterface, ReplaceSubscriptionRelationshipsRequestInterface, ReplaceSubscriptionRelationshipsResponseInterface, SubscriptionRelationshipInterface, } from './subscription-relationship.interface';
44
44
  export { ReplaceSubscriptionPresetsRequestInterface, ReplaceSubscriptionPresetsResponseInterface, SubscriptionPresetInterface, } from './subscription-preset.interface';
45
45
  export { AppliedToInterface, CalculateCreditNoteRequestInterface, CalculateCreditNoteResponseInterface, CreateCreditNoteRequestInterface, CreateCreditNoteResponseInterface, CreditNoteInterface, ListCreditNotesRequestFiltersInterface, GetCreditNoteRequestInterface, GetCreditNoteResponseInterface, GetMultiCreditNoteRequestInterface, GetMultiCreditNoteResponseInterface, LineItemInterface, ListCreditNotesRequestInterface, ListCreditNotesResponseInterface, SendCreditNoteRequestInterface, } from './credit-note.interface';
@@ -50,6 +50,7 @@ export interface CreateInvoiceRequestInterface {
50
50
  contactId?: string;
51
51
  collectionMethod?: e.CollectionMethod;
52
52
  origin?: e.Origin;
53
+ issued?: Date;
53
54
  }
54
55
  export interface CreateInvoiceResponseInterface {
55
56
  invoiceId?: string;
@@ -183,6 +184,7 @@ export interface InvoiceItemInterface {
183
184
  bundleInstanceId?: string;
184
185
  servicePeriodStart?: Date;
185
186
  servicePeriodEnd?: Date;
187
+ retailSubscriptionGroup?: InvoiceItemRetailSubscriptionGroupInterface;
186
188
  }
187
189
  export interface ListInvoicesRequestInterface {
188
190
  filters?: ListInvoicesRequestFiltersInterface;
@@ -211,6 +213,10 @@ export interface RemoveBundleRequestInterface {
211
213
  export interface RemoveBundleResponseInterface {
212
214
  invoice?: InvoiceInterface;
213
215
  }
216
+ export interface InvoiceItemRetailSubscriptionGroupInterface {
217
+ id?: string;
218
+ name?: string;
219
+ }
214
220
  export interface SendInvoiceRequestInterface {
215
221
  merchantId?: string;
216
222
  invoiceId?: string;
@@ -52,11 +52,11 @@ export interface ListPricingPlanProductsResponseInterface {
52
52
  products?: PricingPlanProductInterface[];
53
53
  pagingMetadata?: PagedResponseMetadataInterface;
54
54
  }
55
- export interface PricingPlanProductPricingEntryInterface {
55
+ export interface CreatePricingPlanProductRequestPricingEntryInterface {
56
56
  key?: string;
57
57
  value?: PricingPlanProductPricingInterface;
58
58
  }
59
- export interface CreatePricingPlanProductRequestPricingEntryInterface {
59
+ export interface PricingPlanProductPricingEntryInterface {
60
60
  key?: string;
61
61
  value?: PricingPlanProductPricingInterface;
62
62
  }
@@ -57,6 +57,7 @@ export interface CreateSubscriptionRequestInterface {
57
57
  autoBillable?: boolean;
58
58
  subscriptionId?: string;
59
59
  billingCycleAnchor?: Date;
60
+ retailSubscriptionGroupId?: string;
60
61
  }
61
62
  export interface CreateSubscriptionResponseInterface {
62
63
  subscriptionId?: string;
@@ -110,6 +111,7 @@ export interface SubscriptionInterface {
110
111
  autoBillable?: boolean;
111
112
  subscriptionId?: string;
112
113
  billingCycleAnchor?: Date;
114
+ retailSubscriptionGroupId?: string;
113
115
  }
114
116
  export interface CanCreateSubscriptionsRequestSubscriptionItemInterface {
115
117
  sku?: string;
@@ -7,3 +7,9 @@ export declare class Access implements i.AccessInterface {
7
7
  constructor(kwargs?: i.AccessInterface);
8
8
  toApiJson(): object;
9
9
  }
10
+ export declare class MCPOptions implements i.MCPOptionsInterface {
11
+ serverId: string[];
12
+ static fromProto(proto: any): MCPOptions;
13
+ constructor(kwargs?: i.MCPOptionsInterface);
14
+ toApiJson(): object;
15
+ }
@@ -58,6 +58,7 @@ export declare class BillableItem implements i.BillableItemInterface {
58
58
  nextServicePeriodStart: Date;
59
59
  nextServicePeriodEnd: Date;
60
60
  nextInvoiceDate: Date;
61
+ retailSubscriptionGroup: BillableItemRetailSubscriptionGroup;
61
62
  static fromProto(proto: any): BillableItem;
62
63
  constructor(kwargs?: i.BillableItemInterface);
63
64
  toApiJson(): object;
@@ -117,6 +118,14 @@ export declare class ExportSubscriptionsRequest implements i.ExportSubscriptions
117
118
  constructor(kwargs?: i.ExportSubscriptionsRequestInterface);
118
119
  toApiJson(): object;
119
120
  }
121
+ export declare class ListBillableItemsRequestFilters implements i.ListBillableItemsRequestFiltersInterface {
122
+ skus: string[];
123
+ merchantId: string;
124
+ customerId: string;
125
+ static fromProto(proto: any): ListBillableItemsRequestFilters;
126
+ constructor(kwargs?: i.ListBillableItemsRequestFiltersInterface);
127
+ toApiJson(): object;
128
+ }
120
129
  export declare class ListSubscriptionsRequestFilters implements i.ListSubscriptionsRequestFiltersInterface {
121
130
  skus: string[];
122
131
  merchantId: string;
@@ -130,14 +139,6 @@ export declare class ListSubscriptionsRequestFilters implements i.ListSubscripti
130
139
  constructor(kwargs?: i.ListSubscriptionsRequestFiltersInterface);
131
140
  toApiJson(): object;
132
141
  }
133
- export declare class ListBillableItemsRequestFilters implements i.ListBillableItemsRequestFiltersInterface {
134
- skus: string[];
135
- merchantId: string;
136
- customerId: string;
137
- static fromProto(proto: any): ListBillableItemsRequestFilters;
138
- constructor(kwargs?: i.ListBillableItemsRequestFiltersInterface);
139
- toApiJson(): object;
140
- }
141
142
  export declare class GetBillableItemRequest implements i.GetBillableItemRequestInterface {
142
143
  merchantId: string;
143
144
  sku: string;
@@ -216,6 +217,13 @@ export declare class ListSubscriptionsResponse implements i.ListSubscriptionsRes
216
217
  constructor(kwargs?: i.ListSubscriptionsResponseInterface);
217
218
  toApiJson(): object;
218
219
  }
220
+ export declare class BillableItemRetailSubscriptionGroup implements i.BillableItemRetailSubscriptionGroupInterface {
221
+ id: string;
222
+ name: string;
223
+ static fromProto(proto: any): BillableItemRetailSubscriptionGroup;
224
+ constructor(kwargs?: i.BillableItemRetailSubscriptionGroupInterface);
225
+ toApiJson(): object;
226
+ }
219
227
  export declare class UpdateSubscriptionRequestSubscription implements i.UpdateSubscriptionRequestSubscriptionInterface {
220
228
  subscriptionId: string;
221
229
  description: string;
@@ -6,7 +6,7 @@ export { ComponentPricing, CreatePricingPlanRequest, CreatePricingPlanResponse,
6
6
  export { ProductPrices, ProductPricing, WholesaleCostItemRequest, } from './product-pricing';
7
7
  export { SubscribeValidation, } from './subscribe-validation';
8
8
  export { AlignmentSubscription, CanCreateSubscriptionsRequest, CanCreateSubscriptionsResponse, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionsRequest, CreateSubscriptionsResponse, ReverseSubscriptionRequest, SetAutoBillableRequest, SetRenewalStartRequest, CanCreateSubscriptionsRequestSkusEntry, Subscription, CanCreateSubscriptionsRequestSubscriptionItem, ValidateResponse, } from './subscription';
9
- export { BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, CanBillItemRequest, CreateUsageRequest, BillableItemCustomerAddress, DeleteBillableItemRequest, ExpireBillableItemRequest, ExportSubscriptionsRequest, ListSubscriptionsRequestFilters, ListBillableItemsRequestFilters, GetBillableItemRequest, GetBillableItemResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsResponse, Item, GetMultiSubscriptionsRequestKey, ListBillableItemsRequest, ListBillableItemsResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, UpdateSubscriptionRequestSubscription, SubscriptionProjectionFilter, UnexpireBillableItemRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, } from './billable-item';
9
+ export { BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, CanBillItemRequest, CreateUsageRequest, BillableItemCustomerAddress, DeleteBillableItemRequest, ExpireBillableItemRequest, ExportSubscriptionsRequest, ListBillableItemsRequestFilters, ListSubscriptionsRequestFilters, GetBillableItemRequest, GetBillableItemResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsResponse, Item, GetMultiSubscriptionsRequestKey, ListBillableItemsRequest, ListBillableItemsResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, BillableItemRetailSubscriptionGroup, UpdateSubscriptionRequestSubscription, SubscriptionProjectionFilter, UnexpireBillableItemRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, } from './billable-item';
10
10
  export { AppliedDiscount, } from './applied-discount';
11
11
  export { Bundle, BundleItem, BundlePricing, GetMultiBundleResponseBundlesEntry, ListBundlesRequestFilters, GetMultiBundleRequest, GetMultiBundleResponse, ListBundlesRequest, ListBundlesResponse, BundleItemPrice, BundlePricingPriceAndFrequency, UpsertBundleRequest, } from './bundle';
12
12
  export { Contract, GetMultiContractsResponseContractsEntry, CreateContractRequest, CreateContractResponse, GetContractRequest, GetContractResponse, GetMerchantWholesaleCurrencyRequest, GetMerchantWholesaleCurrencyResponse, GetMultiContractsRequest, GetMultiContractsResponse, ListContractsRequest, ListContractsResponse, UpdateContractRequestMutation, ResetContractPricingRequest, UpdateContractRequest, UpdateContractResponse, UpdateContractSubscriptionRequest, } from './contract';
@@ -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, GetInvoiceWithCalculatedTaxesRequest, GetInvoiceWithCalculatedTaxesResponse, 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, InvoiceItemRetailSubscriptionGroup, 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';
@@ -28,7 +28,7 @@ export { CancelRetailBillingRequest, ChargeSalesInvoiceRequest, ConnectStripeAcc
28
28
  export { ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, MerchantReport, } from './merchant-report';
29
29
  export { CreateMeteredComponentRequest, MeteredComponent, TickComponentUsageRequest, } from './metered-component';
30
30
  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';
31
- export { CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, DeletePricingPlanProductRequest, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsRequest, ListPricingPlanProductsResponse, PricingPlanProductPricingEntry, CreatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductRequestPricingEntry, PricingPlanProduct, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpsertWholesalePricingRequest, } from './pricing-plan-product';
31
+ export { CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, DeletePricingPlanProductRequest, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsRequest, ListPricingPlanProductsResponse, CreatePricingPlanProductRequestPricingEntry, PricingPlanProductPricingEntry, UpdatePricingPlanProductRequestPricingEntry, PricingPlanProduct, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpsertWholesalePricingRequest, } from './pricing-plan-product';
32
32
  export { CreateProductRequest, DeleteProductRequest, GetMultiProductRequest, GetMultiProductResponse, ListProductsRequestListProductsFilters, ListProductsRequest, ListProductsResponse, Product, GetMultiProductResponseProductsEntry, UpdateProductRequest, } from './product';
33
33
  export { AppliedCredit, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsRequest, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseResponse, PauseDunningRequest, Purchase, PurchaseItem, ResumeDunningRequest, RetryPurchaseRequest, StopDunningRequest, VoidPurchaseRequest, } from './purchase';
34
34
  export { CreateRefundRequest, ListRefundsRequest, ListRefundsResponse, Refund, } from './refund';
@@ -39,7 +39,7 @@ export { ContractDocument, DeleteContractDocumentRequest, ListContractDocumentsR
39
39
  export { GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, RetailCustomerConfiguration, UpsertRetailCustomerConfigurationRequest, } from './retail-customer-configuration';
40
40
  export { AddCreditRequest, CreditBalance, GetBalanceRequest, GetBalanceResponse, } from './credit';
41
41
  export { CreateMerchantServicesReportRun, GetMerchantServicesReportRun, MerchantServicesReportRun, } from './report-run';
42
- export { Access, } from './annotations';
42
+ export { Access, MCPOptions, } from './annotations';
43
43
  export { ListSubscriptionRelationshipsRequestFilters, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, SubscriptionRelationship, } from './subscription-relationship';
44
44
  export { ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, SubscriptionPreset, } from './subscription-preset';
45
45
  export { AppliedTo, CalculateCreditNoteRequest, CalculateCreditNoteResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreditNote, ListCreditNotesRequestFilters, GetCreditNoteRequest, GetCreditNoteResponse, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, LineItem, ListCreditNotesRequest, ListCreditNotesResponse, SendCreditNoteRequest, } from './credit-note';
@@ -70,6 +70,7 @@ export declare class CreateInvoiceRequest implements i.CreateInvoiceRequestInter
70
70
  contactId: string;
71
71
  collectionMethod: e.CollectionMethod;
72
72
  origin: e.Origin;
73
+ issued: Date;
73
74
  static fromProto(proto: any): CreateInvoiceRequest;
74
75
  constructor(kwargs?: i.CreateInvoiceRequestInterface);
75
76
  toApiJson(): object;
@@ -260,6 +261,7 @@ export declare class InvoiceItem implements i.InvoiceItemInterface {
260
261
  bundleInstanceId: string;
261
262
  servicePeriodStart: Date;
262
263
  servicePeriodEnd: Date;
264
+ retailSubscriptionGroup: InvoiceItemRetailSubscriptionGroup;
263
265
  static fromProto(proto: any): InvoiceItem;
264
266
  constructor(kwargs?: i.InvoiceItemInterface);
265
267
  toApiJson(): object;
@@ -309,6 +311,13 @@ export declare class RemoveBundleResponse implements i.RemoveBundleResponseInter
309
311
  constructor(kwargs?: i.RemoveBundleResponseInterface);
310
312
  toApiJson(): object;
311
313
  }
314
+ export declare class InvoiceItemRetailSubscriptionGroup implements i.InvoiceItemRetailSubscriptionGroupInterface {
315
+ id: string;
316
+ name: string;
317
+ static fromProto(proto: any): InvoiceItemRetailSubscriptionGroup;
318
+ constructor(kwargs?: i.InvoiceItemRetailSubscriptionGroupInterface);
319
+ toApiJson(): object;
320
+ }
312
321
  export declare class SendInvoiceRequest implements i.SendInvoiceRequestInterface {
313
322
  merchantId: string;
314
323
  invoiceId: string;
@@ -84,18 +84,18 @@ export declare class ListPricingPlanProductsResponse implements i.ListPricingPla
84
84
  constructor(kwargs?: i.ListPricingPlanProductsResponseInterface);
85
85
  toApiJson(): object;
86
86
  }
87
- export declare class PricingPlanProductPricingEntry implements i.PricingPlanProductPricingEntryInterface {
87
+ export declare class CreatePricingPlanProductRequestPricingEntry implements i.CreatePricingPlanProductRequestPricingEntryInterface {
88
88
  key: string;
89
89
  value: PricingPlanProductPricing;
90
- static fromProto(proto: any): PricingPlanProductPricingEntry;
91
- constructor(kwargs?: i.PricingPlanProductPricingEntryInterface);
90
+ static fromProto(proto: any): CreatePricingPlanProductRequestPricingEntry;
91
+ constructor(kwargs?: i.CreatePricingPlanProductRequestPricingEntryInterface);
92
92
  toApiJson(): object;
93
93
  }
94
- export declare class CreatePricingPlanProductRequestPricingEntry implements i.CreatePricingPlanProductRequestPricingEntryInterface {
94
+ export declare class PricingPlanProductPricingEntry implements i.PricingPlanProductPricingEntryInterface {
95
95
  key: string;
96
96
  value: PricingPlanProductPricing;
97
- static fromProto(proto: any): CreatePricingPlanProductRequestPricingEntry;
98
- constructor(kwargs?: i.CreatePricingPlanProductRequestPricingEntryInterface);
97
+ static fromProto(proto: any): PricingPlanProductPricingEntry;
98
+ constructor(kwargs?: i.PricingPlanProductPricingEntryInterface);
99
99
  toApiJson(): object;
100
100
  }
101
101
  export declare class UpdatePricingPlanProductRequestPricingEntry implements i.UpdatePricingPlanProductRequestPricingEntryInterface {
@@ -77,6 +77,7 @@ export declare class CreateSubscriptionRequest implements i.CreateSubscriptionRe
77
77
  autoBillable: boolean;
78
78
  subscriptionId: string;
79
79
  billingCycleAnchor: Date;
80
+ retailSubscriptionGroupId: string;
80
81
  static fromProto(proto: any): CreateSubscriptionRequest;
81
82
  constructor(kwargs?: i.CreateSubscriptionRequestInterface);
82
83
  toApiJson(): object;
@@ -154,6 +155,7 @@ export declare class Subscription implements i.SubscriptionInterface {
154
155
  autoBillable: boolean;
155
156
  subscriptionId: string;
156
157
  billingCycleAnchor: Date;
158
+ retailSubscriptionGroupId: string;
157
159
  static fromProto(proto: any): Subscription;
158
160
  constructor(kwargs?: i.SubscriptionInterface);
159
161
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "14.46.0",
3
+ "version": "14.47.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"