@vendasta/billing 14.45.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.
- package/esm2022/lib/_internal/enums/index.mjs +2 -2
- package/esm2022/lib/_internal/enums/tax-rule.enum.mjs +7 -1
- package/esm2022/lib/_internal/interfaces/annotations.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/billable-item.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/invoice.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/pricing-plan-product.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/subscription.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/tax-rule.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/annotations.mjs +21 -1
- package/esm2022/lib/_internal/objects/api.mjs +4 -1
- package/esm2022/lib/_internal/objects/billable-item.mjs +56 -27
- package/esm2022/lib/_internal/objects/index.mjs +6 -6
- package/esm2022/lib/_internal/objects/invoice.mjs +36 -1
- package/esm2022/lib/_internal/objects/pricing-plan-product.mjs +5 -5
- package/esm2022/lib/_internal/objects/subscription.mjs +7 -1
- package/esm2022/lib/_internal/objects/tax-rule.mjs +44 -1
- package/esm2022/lib/_internal/tax.api.service.mjs +7 -2
- package/fesm2022/vendasta-billing.mjs +178 -31
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/tax-rule.enum.d.ts +5 -0
- package/lib/_internal/interfaces/annotations.interface.d.ts +3 -0
- package/lib/_internal/interfaces/api.interface.d.ts +1 -0
- package/lib/_internal/interfaces/billable-item.interface.d.ts +10 -5
- package/lib/_internal/interfaces/index.d.ts +5 -5
- package/lib/_internal/interfaces/invoice.interface.d.ts +6 -0
- package/lib/_internal/interfaces/pricing-plan-product.interface.d.ts +2 -2
- package/lib/_internal/interfaces/subscription.interface.d.ts +2 -0
- package/lib/_internal/interfaces/tax-rule.interface.d.ts +6 -0
- package/lib/_internal/objects/annotations.d.ts +6 -0
- package/lib/_internal/objects/api.d.ts +1 -0
- package/lib/_internal/objects/billable-item.d.ts +16 -8
- package/lib/_internal/objects/index.d.ts +5 -5
- package/lib/_internal/objects/invoice.d.ts +9 -0
- package/lib/_internal/objects/pricing-plan-product.d.ts +6 -6
- package/lib/_internal/objects/subscription.d.ts +2 -0
- package/lib/_internal/objects/tax-rule.d.ts +12 -0
- package/lib/_internal/tax.api.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -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';
|
|
@@ -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,
|
|
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,18 +28,18 @@ 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,
|
|
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';
|
|
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';
|
|
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
|
|
55
|
+
export interface CreatePricingPlanProductRequestPricingEntryInterface {
|
|
56
56
|
key?: string;
|
|
57
57
|
value?: PricingPlanProductPricingInterface;
|
|
58
58
|
}
|
|
59
|
-
export interface
|
|
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;
|
|
@@ -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
|
}
|
|
@@ -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
|
+
}
|
|
@@ -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;
|
|
@@ -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,
|
|
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,18 +28,18 @@ 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,
|
|
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';
|
|
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';
|
|
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
|
|
87
|
+
export declare class CreatePricingPlanProductRequestPricingEntry implements i.CreatePricingPlanProductRequestPricingEntryInterface {
|
|
88
88
|
key: string;
|
|
89
89
|
value: PricingPlanProductPricing;
|
|
90
|
-
static fromProto(proto: any):
|
|
91
|
-
constructor(kwargs?: i.
|
|
90
|
+
static fromProto(proto: any): CreatePricingPlanProductRequestPricingEntry;
|
|
91
|
+
constructor(kwargs?: i.CreatePricingPlanProductRequestPricingEntryInterface);
|
|
92
92
|
toApiJson(): object;
|
|
93
93
|
}
|
|
94
|
-
export declare class
|
|
94
|
+
export declare class PricingPlanProductPricingEntry implements i.PricingPlanProductPricingEntryInterface {
|
|
95
95
|
key: string;
|
|
96
96
|
value: PricingPlanProductPricing;
|
|
97
|
-
static fromProto(proto: any):
|
|
98
|
-
constructor(kwargs?: i.
|
|
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;
|
|
@@ -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
|
}
|