@vendasta/billing 14.50.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.
- package/esm2022/lib/_internal/enums/index.mjs +2 -2
- package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/invoice.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/purchase.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/retail-subscription-group.interface.mjs +1 -7
- package/esm2022/lib/_internal/interfaces/vendor-split.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/index.mjs +4 -4
- package/esm2022/lib/_internal/objects/invoice.mjs +11 -1
- package/esm2022/lib/_internal/objects/purchase.mjs +30 -1
- package/esm2022/lib/_internal/objects/retail-subscription-group.mjs +97 -1
- package/esm2022/lib/_internal/objects/vendor-split.mjs +44 -1
- package/esm2022/lib/_internal/purchase.api.service.mjs +6 -2
- package/esm2022/lib/_internal/retail-subscription-group.api.service.mjs +12 -2
- package/esm2022/lib/_internal/vendor-split.api.service.mjs +7 -2
- package/fesm2022/vendasta-billing.mjs +384 -189
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/interfaces/index.d.ts +3 -3
- package/lib/_internal/interfaces/invoice.interface.d.ts +3 -0
- package/lib/_internal/interfaces/purchase.interface.d.ts +6 -0
- package/lib/_internal/interfaces/retail-subscription-group.interface.d.ts +14 -0
- package/lib/_internal/interfaces/vendor-split.interface.d.ts +6 -0
- package/lib/_internal/objects/index.d.ts +3 -3
- package/lib/_internal/objects/invoice.d.ts +3 -0
- package/lib/_internal/objects/purchase.d.ts +9 -0
- package/lib/_internal/objects/retail-subscription-group.d.ts +26 -0
- package/lib/_internal/objects/vendor-split.d.ts +12 -0
- package/lib/_internal/purchase.api.service.d.ts +3 -2
- package/lib/_internal/retail-subscription-group.api.service.d.ts +4 -2
- package/lib/_internal/vendor-split.api.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export { PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, } from './payment-card.e
|
|
|
13
13
|
export { PaymentMethodType, } from './payment-method.enum';
|
|
14
14
|
export { PaymentProcessor, } from './payment-processor.enum';
|
|
15
15
|
export { CollectionMethod, Interval, RecurringInvoiceStatus, } from './recurring-invoice.enum';
|
|
16
|
+
export { DisplayOption, } from './retail-subscription-group.enum';
|
|
16
17
|
export { ListInvoicesRequestFiltersDateFilterDateField, InvoiceStatus, LastPaymentStatus, Origin, ProcessingFailureCode, } from './invoice.enum';
|
|
17
18
|
export { PayoutStatus, PayoutType, } from './payout.enum';
|
|
18
19
|
export { SortDirection, } from './sort-direction.enum';
|
|
@@ -30,4 +31,3 @@ export { TaxProviderType, TaxRuleEntityType, TaxRuleType, } from './tax-rule.enu
|
|
|
30
31
|
export { MerchantServicesReportRunStatus, MerchantServicesReportRunType, } from './report-run.enum';
|
|
31
32
|
export { EntityType, RelationshipType, } from './subscription-relationship.enum';
|
|
32
33
|
export { AppliedReferenceType, CreditNoteReason, } from './credit-note.enum';
|
|
33
|
-
export { DisplayOption, } from './retail-subscription-group.enum';
|
|
@@ -20,6 +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, GetMultiRetailSubscriptionGroupRequestInterface, GetMultiRetailSubscriptionGroupResponseInterface, RetailSubscriptionGroupInterface, UpdateRetailSubscriptionGroupRequestInterface, UpdateRetailSubscriptionGroupResponseInterface, } from './retail-subscription-group.interface';
|
|
23
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';
|
|
24
25
|
export { AccountBalanceInterface, BalanceInterface, BalanceAmountInterface, } from './balance.interface';
|
|
25
26
|
export { DateRangeInterface, } from './date-range.interface';
|
|
@@ -30,7 +31,7 @@ export { CreateMeteredComponentRequestInterface, MeteredComponentInterface, Tick
|
|
|
30
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';
|
|
31
32
|
export { CreatePricingPlanProductRequestInterface, CreatePricingPlanProductResponseInterface, DeletePricingPlanProductRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanProductResponseInterface, GetPricingPlanProductRequestInterface, GetPricingPlanProductResponseInterface, ListPricingPlanProductsRequestListPricingPlanProductsFiltersInterface, ListPricingPlanProductsRequestInterface, ListPricingPlanProductsResponseInterface, CreatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductPricingEntryInterface, UpdatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanProductResponseInterface, UpsertWholesalePricingRequestInterface, } from './pricing-plan-product.interface';
|
|
32
33
|
export { CreateProductRequestInterface, DeleteProductRequestInterface, GetMultiProductRequestInterface, GetMultiProductResponseInterface, ListProductsRequestListProductsFiltersInterface, ListProductsRequestInterface, ListProductsResponseInterface, ProductInterface, GetMultiProductResponseProductsEntryInterface, UpdateProductRequestInterface, } from './product.interface';
|
|
33
|
-
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';
|
|
34
35
|
export { CreateRefundRequestInterface, ListRefundsRequestInterface, ListRefundsResponseInterface, RefundInterface, } from './refund.interface';
|
|
35
36
|
export { CreateSalesCreditNoteRequestInterface, ListSalesCreditNoteRequestListSalesCreditNoteFiltersInterface, ListSalesCreditNoteRequestInterface, ListSalesCreditNoteResponseInterface, SalesCreditNoteInterface, } from './sales-credit-note.interface';
|
|
36
37
|
export { GetSalesInvoiceRequestInterface, GetSalesInvoiceResponseInterface, ListSalesInvoiceRequestListSalesInvoiceFiltersInterface, ListSalesInvoiceRequestInterface, ListSalesInvoiceResponseInterface, PostSalesInvoiceRequestInterface, SalesInvoiceInterface, SendSalesInvoiceEmailRequestInterface, SendSalesInvoiceReceiptEmailRequestInterface, } from './sales-invoice.interface';
|
|
@@ -43,7 +44,6 @@ export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
|
|
|
43
44
|
export { ListSubscriptionRelationshipsRequestFiltersInterface, GetMultiSubscriptionRelationshipsRequestInterface, GetMultiSubscriptionRelationshipsResponseInterface, ListSubscriptionRelationshipsRequestInterface, ListSubscriptionRelationshipsResponseInterface, ReplaceSubscriptionRelationshipsRequestInterface, ReplaceSubscriptionRelationshipsResponseInterface, SubscriptionRelationshipInterface, } from './subscription-relationship.interface';
|
|
44
45
|
export { ReplaceSubscriptionPresetsRequestInterface, ReplaceSubscriptionPresetsResponseInterface, SubscriptionPresetInterface, } from './subscription-preset.interface';
|
|
45
46
|
export { AppliedToInterface, CalculateCreditNoteRequestInterface, CalculateCreditNoteResponseInterface, CreateCreditNoteRequestInterface, CreateCreditNoteResponseInterface, CreditNoteInterface, ListCreditNotesRequestFiltersInterface, GetCreditNoteRequestInterface, GetCreditNoteResponseInterface, GetMultiCreditNoteRequestInterface, GetMultiCreditNoteResponseInterface, LineItemInterface, ListCreditNotesRequestInterface, ListCreditNotesResponseInterface, SendCreditNoteRequestInterface, } from './credit-note.interface';
|
|
46
|
-
export {
|
|
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';
|
|
@@ -5,6 +5,7 @@ import { FieldMaskInterface } from './field-mask.interface';
|
|
|
5
5
|
import { NoteInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './common.interface';
|
|
6
6
|
import { TaxRateInterface } from './tax-rate.interface';
|
|
7
7
|
import * as e from '../enums';
|
|
8
|
+
import { RetailSubscriptionGroupInterface } from "./retail-subscription-group.interface";
|
|
8
9
|
export interface AddBundleRequestInterface {
|
|
9
10
|
invoiceId?: string;
|
|
10
11
|
merchantId?: string;
|
|
@@ -169,6 +170,7 @@ export interface InvoiceInterface {
|
|
|
169
170
|
amountOwing?: number;
|
|
170
171
|
appliedCreditNotes?: AppliedCreditNoteInterface[];
|
|
171
172
|
processingFailureCode?: e.ProcessingFailureCode;
|
|
173
|
+
retailSubscriptionGroups?: RetailSubscriptionGroupInterface[];
|
|
172
174
|
}
|
|
173
175
|
export interface InvoiceItemInterface {
|
|
174
176
|
id?: string;
|
|
@@ -186,6 +188,7 @@ export interface InvoiceItemInterface {
|
|
|
186
188
|
servicePeriodStart?: Date;
|
|
187
189
|
servicePeriodEnd?: Date;
|
|
188
190
|
retailSubscriptionGroup?: InvoiceItemRetailSubscriptionGroupInterface;
|
|
191
|
+
retailSubscriptionGroupId?: string;
|
|
189
192
|
}
|
|
190
193
|
export interface ListInvoicesRequestInterface {
|
|
191
194
|
filters?: ListInvoicesRequestFiltersInterface;
|
|
@@ -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
|
+
}
|
|
@@ -20,6 +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, GetMultiRetailSubscriptionGroupRequest, GetMultiRetailSubscriptionGroupResponse, RetailSubscriptionGroup, UpdateRetailSubscriptionGroupRequest, UpdateRetailSubscriptionGroupResponse, } from './retail-subscription-group';
|
|
23
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';
|
|
24
25
|
export { AccountBalance, Balance, BalanceAmount, } from './balance';
|
|
25
26
|
export { DateRange, } from './date-range';
|
|
@@ -30,7 +31,7 @@ export { CreateMeteredComponentRequest, MeteredComponent, TickComponentUsageRequ
|
|
|
30
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';
|
|
31
32
|
export { CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, DeletePricingPlanProductRequest, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsRequest, ListPricingPlanProductsResponse, CreatePricingPlanProductRequestPricingEntry, PricingPlanProductPricingEntry, UpdatePricingPlanProductRequestPricingEntry, PricingPlanProduct, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpsertWholesalePricingRequest, } from './pricing-plan-product';
|
|
32
33
|
export { CreateProductRequest, DeleteProductRequest, GetMultiProductRequest, GetMultiProductResponse, ListProductsRequestListProductsFilters, ListProductsRequest, ListProductsResponse, Product, GetMultiProductResponseProductsEntry, UpdateProductRequest, } from './product';
|
|
33
|
-
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';
|
|
34
35
|
export { CreateRefundRequest, ListRefundsRequest, ListRefundsResponse, Refund, } from './refund';
|
|
35
36
|
export { CreateSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteRequest, ListSalesCreditNoteResponse, SalesCreditNote, } from './sales-credit-note';
|
|
36
37
|
export { GetSalesInvoiceRequest, GetSalesInvoiceResponse, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceRequest, ListSalesInvoiceResponse, PostSalesInvoiceRequest, SalesInvoice, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, } from './sales-invoice';
|
|
@@ -43,7 +44,6 @@ export { Access, MCPOptions, } from './annotations';
|
|
|
43
44
|
export { ListSubscriptionRelationshipsRequestFilters, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, SubscriptionRelationship, } from './subscription-relationship';
|
|
44
45
|
export { ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, SubscriptionPreset, } from './subscription-preset';
|
|
45
46
|
export { AppliedTo, CalculateCreditNoteRequest, CalculateCreditNoteResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreditNote, ListCreditNotesRequestFilters, GetCreditNoteRequest, GetCreditNoteResponse, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, LineItem, ListCreditNotesRequest, ListCreditNotesResponse, SendCreditNoteRequest, } from './credit-note';
|
|
46
|
-
export {
|
|
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';
|
|
@@ -6,6 +6,7 @@ import { FieldMask } from './field-mask';
|
|
|
6
6
|
import { Note, PagedRequestOptions, PagedResponseMetadata } from './common';
|
|
7
7
|
import { TaxRate } from './tax-rate';
|
|
8
8
|
import * as e from '../enums';
|
|
9
|
+
import { RetailSubscriptionGroup } from "./retail-subscription-group";
|
|
9
10
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
10
11
|
export declare class AddBundleRequest implements i.AddBundleRequestInterface {
|
|
11
12
|
invoiceId: string;
|
|
@@ -243,6 +244,7 @@ export declare class Invoice implements i.InvoiceInterface {
|
|
|
243
244
|
amountOwing: number;
|
|
244
245
|
appliedCreditNotes: AppliedCreditNote[];
|
|
245
246
|
processingFailureCode: e.ProcessingFailureCode;
|
|
247
|
+
retailSubscriptionGroups: RetailSubscriptionGroup[];
|
|
246
248
|
static fromProto(proto: any): Invoice;
|
|
247
249
|
constructor(kwargs?: i.InvoiceInterface);
|
|
248
250
|
toApiJson(): object;
|
|
@@ -263,6 +265,7 @@ export declare class InvoiceItem implements i.InvoiceItemInterface {
|
|
|
263
265
|
servicePeriodStart: Date;
|
|
264
266
|
servicePeriodEnd: Date;
|
|
265
267
|
retailSubscriptionGroup: InvoiceItemRetailSubscriptionGroup;
|
|
268
|
+
retailSubscriptionGroupId: string;
|
|
266
269
|
static fromProto(proto: any): InvoiceItem;
|
|
267
270
|
constructor(kwargs?: i.InvoiceItemInterface);
|
|
268
271
|
toApiJson(): object;
|
|
@@ -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
|
}
|