@vendasta/billing 12.6.0 → 12.8.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/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/merchant.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/tax-rate.interface.mjs +1 -1
- package/esm2020/lib/_internal/merchant.api.service.mjs +6 -2
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/merchant.mjs +21 -1
- package/esm2020/lib/_internal/objects/tax-rate.mjs +8 -1
- package/fesm2015/vendasta-billing.mjs +31 -1
- package/fesm2015/vendasta-billing.mjs.map +1 -1
- package/fesm2020/vendasta-billing.mjs +31 -1
- package/fesm2020/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/merchant.interface.d.ts +3 -0
- package/lib/_internal/interfaces/tax-rate.interface.d.ts +2 -0
- package/lib/_internal/merchant.api.service.d.ts +3 -2
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/merchant.d.ts +6 -0
- package/lib/_internal/objects/tax-rate.d.ts +2 -0
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ export { AddBundleRequestInterface, AddBundleResponseInterface, AddLineItemReque
|
|
|
19
19
|
export { AccountBalanceInterface, BalanceInterface, BalanceAmountInterface, } from './balance.interface';
|
|
20
20
|
export { DateRangeInterface, } from './date-range.interface';
|
|
21
21
|
export { ListPayoutsRequestFiltersInterface, ListPayoutsRequestInterface, ListPayoutsResponseInterface, PayoutInterface, ReconcilePayoutRequestInterface, ReconcilePayoutResponseInterface, RetailPayoutInterface, } from './payout.interface';
|
|
22
|
-
export { ChargeSalesInvoiceRequestInterface, ConnectStripeAccountRequestInterface, ConnectStripeAccountResponseInterface, CreateMerchantRequestInterface, DefaultCustomerConfigurationInterface, GetMerchantRequestInterface, GetMerchantResponseInterface, GetMultiRetailConfigurationsRequestInterface, GetMultiRetailConfigurationsResponseInterface, GetOutstandingBalanceRequestInterface, GetOutstandingBalanceResponseInterface, GetPayoutSummaryRequestInterface, GetPayoutSummaryResponseInterface, GetRetailAccountBalanceRequestInterface, GetRetailAccountBalanceResponseInterface, GetRetailBalanceRequestInterface, GetRetailBalanceResponseInterface, GetRetailPayoutRequestInterface, GetRetailPayoutResponseInterface, CreateMerchantRequestIncludeInFinancialRecordsInterface, UpdateMerchantRequestIncludeInFinancialRecordsInterface, ListRetailPayoutsRequestInterface, ListRetailPayoutsResponseInterface, MerchantInterface, RetailConfigurationInterface, GetMultiRetailConfigurationsResponseRetailConfigurationsEntryInterface, SearchMerchantsRequestInterface, SearchMerchantsResponseInterface, SetAutoChargeInvoicesRequestInterface, SetAutoPostInvoicesRequestInterface, SetDefaultPaymentCardRequestInterface, SetHasAlternativePaymentMethodRequestInterface, SetIncludeInFinancialRecordsRequestInterface, UpdateMerchantRequestInterface, UpsertDefaultRetailCustomerConfigurationRequestInterface, UpsertRetailConfigurationRequestInterface, } from './merchant.interface';
|
|
22
|
+
export { CancelRetailBillingRequestInterface, ChargeSalesInvoiceRequestInterface, ConnectStripeAccountRequestInterface, ConnectStripeAccountResponseInterface, CreateMerchantRequestInterface, DefaultCustomerConfigurationInterface, GetMerchantRequestInterface, GetMerchantResponseInterface, GetMultiRetailConfigurationsRequestInterface, GetMultiRetailConfigurationsResponseInterface, GetOutstandingBalanceRequestInterface, GetOutstandingBalanceResponseInterface, GetPayoutSummaryRequestInterface, GetPayoutSummaryResponseInterface, GetRetailAccountBalanceRequestInterface, GetRetailAccountBalanceResponseInterface, GetRetailBalanceRequestInterface, GetRetailBalanceResponseInterface, GetRetailPayoutRequestInterface, GetRetailPayoutResponseInterface, CreateMerchantRequestIncludeInFinancialRecordsInterface, UpdateMerchantRequestIncludeInFinancialRecordsInterface, ListRetailPayoutsRequestInterface, ListRetailPayoutsResponseInterface, MerchantInterface, RetailConfigurationInterface, GetMultiRetailConfigurationsResponseRetailConfigurationsEntryInterface, SearchMerchantsRequestInterface, SearchMerchantsResponseInterface, SetAutoChargeInvoicesRequestInterface, SetAutoPostInvoicesRequestInterface, SetDefaultPaymentCardRequestInterface, SetHasAlternativePaymentMethodRequestInterface, SetIncludeInFinancialRecordsRequestInterface, UpdateMerchantRequestInterface, UpsertDefaultRetailCustomerConfigurationRequestInterface, UpsertRetailConfigurationRequestInterface, } from './merchant.interface';
|
|
23
23
|
export { ListMerchantBillingReportsRequestInterface, ListMerchantBillingReportsResponseInterface, MerchantReportInterface, } from './merchant-report.interface';
|
|
24
24
|
export { CreateMeteredComponentRequestInterface, MeteredComponentInterface, TickComponentUsageRequestInterface, } from './metered-component.interface';
|
|
25
25
|
export { AdjustmentInterface, RetailPaymentCardDetailsInterface, CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfigureRetailPaymentProviderResponseInterface, ConfirmRetailPaymentRequestInterface, DisputeInterface, DisputeEvidenceInterface, SubmitEvidenceRequestDisputeEvidenceInterface, DisputeEvidenceDetailsInterface, FileInterface, GetRetailDisputeRequestInterface, GetRetailDisputeResponseInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentProviderResponseInterface, GetRetailPaymentRequestInterface, GetRetailPaymentResponseInterface, GetWholesaleProviderPublicKeyRequestInterface, GetWholesaleProviderPublicKeyResponseInterface, ListPaymentRequestListPaymentFiltersInterface, ListPaymentRequestInterface, ListPaymentResponseInterface, ListRetailDisputesRequestInterface, ListRetailDisputesResponseInterface, ListRetailPaymentsRequestListRetailPaymentsFiltersInterface, ListRetailPaymentsRequestInterface, ListRetailPaymentsResponseInterface, ListRetailTransactionsRequestListRetailTransactionsFiltersInterface, ListRetailTransactionsRequestInterface, ListRetailTransactionsResponseInterface, PrepareRetailPaymentRequestOrderInterface, PaymentInterface, PaymentPaymentAllocationInterface, PrepareRetailPaymentRequestInterface, PrepareRetailPaymentResponseInterface, RefundRetailPaymentRequestInterface, RefundRetailPaymentResponseInterface, RetailPaymentInterface, RetailPaymentsEnabledRequestInterface, RetailPaymentsEnabledResponseInterface, RetailRefundInterface, RetailStatusRequestInterface, RetailStatusResponseInterface, RetailTransactionInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface, RetailStatusResponseVerificationErrorInterface, RetailStatusResponseVerificationRequirementsInterface, } from './payment.interface';
|
|
@@ -2,6 +2,9 @@ import { BalanceInterface, AccountBalanceInterface } from './balance.interface';
|
|
|
2
2
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './common.interface';
|
|
3
3
|
import { RetailPayoutInterface } from './payout.interface';
|
|
4
4
|
import * as e from '../enums';
|
|
5
|
+
export interface CancelRetailBillingRequestInterface {
|
|
6
|
+
merchantId?: string;
|
|
7
|
+
}
|
|
5
8
|
export interface ChargeSalesInvoiceRequestInterface {
|
|
6
9
|
merchantId?: string;
|
|
7
10
|
invoiceId?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AppliedTaxRateInterface } from './applied-tax-rate.interface';
|
|
1
2
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './common.interface';
|
|
2
3
|
export interface ArchiveTaxRequestInterface {
|
|
3
4
|
merchantId?: string;
|
|
@@ -12,6 +13,7 @@ export interface CalculateLineItemTaxesResponseInterface {
|
|
|
12
13
|
lineItemTaxes?: CalculateLineItemTaxesResponseLineItemTaxesInterface[];
|
|
13
14
|
totalTaxableAmount?: number;
|
|
14
15
|
taxRates?: TaxRateInterface[];
|
|
16
|
+
appliedTaxes?: AppliedTaxRateInterface[];
|
|
15
17
|
}
|
|
16
18
|
export interface CalculateTaxRequestInterface {
|
|
17
19
|
merchantId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChargeSalesInvoiceRequest, CreateMerchantRequest, CreateMerchantServicesReportRun, CreatePaymentCardRequest, CreateStripeExternalAccountRequest, DeleteBankAccountRequest, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetStatisticsRequest, GetStatisticsResponse, ListBankAccountsRequest, ListBankAccountsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, MerchantServicesReportRun, SearchMerchantsRequest, SearchMerchantsResponse, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, UpdateMerchantRequest, UpdatePaymentCardRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest } from './objects/';
|
|
2
|
-
import { ChargeSalesInvoiceRequestInterface, CreateMerchantRequestInterface, CreateMerchantServicesReportRunInterface, CreatePaymentCardRequestInterface, CreateStripeExternalAccountRequestInterface, DeleteBankAccountRequestInterface, GetMerchantRequestInterface, GetMerchantServicesReportRunInterface, GetMultiRetailConfigurationsRequestInterface, GetOutstandingBalanceRequestInterface, GetPayoutSummaryRequestInterface, GetRetailAccountBalanceRequestInterface, GetRetailBalanceRequestInterface, GetRetailPayoutRequestInterface, GetStatisticsRequestInterface, ListBankAccountsRequestInterface, ListPaymentCardsRequestInterface, ListRetailPayoutsRequestInterface, SearchMerchantsRequestInterface, SendSalesInvoiceEmailRequestInterface, SendSalesInvoiceReceiptEmailRequestInterface, SetAutoChargeInvoicesRequestInterface, SetAutoPostInvoicesRequestInterface, SetDefaultBankAccountRequestInterface, SetDefaultPaymentCardRequestInterface, SetHasAlternativePaymentMethodRequestInterface, SetIncludeInFinancialRecordsRequestInterface, UpdateMerchantRequestInterface, UpdatePaymentCardRequestInterface, UpsertDefaultRetailCustomerConfigurationRequestInterface, UpsertRetailConfigurationRequestInterface } from './interfaces/';
|
|
1
|
+
import { CancelRetailBillingRequest, ChargeSalesInvoiceRequest, CreateMerchantRequest, CreateMerchantServicesReportRun, CreatePaymentCardRequest, CreateStripeExternalAccountRequest, DeleteBankAccountRequest, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetStatisticsRequest, GetStatisticsResponse, ListBankAccountsRequest, ListBankAccountsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, MerchantServicesReportRun, SearchMerchantsRequest, SearchMerchantsResponse, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, UpdateMerchantRequest, UpdatePaymentCardRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest } from './objects/';
|
|
2
|
+
import { CancelRetailBillingRequestInterface, ChargeSalesInvoiceRequestInterface, CreateMerchantRequestInterface, CreateMerchantServicesReportRunInterface, CreatePaymentCardRequestInterface, CreateStripeExternalAccountRequestInterface, DeleteBankAccountRequestInterface, GetMerchantRequestInterface, GetMerchantServicesReportRunInterface, GetMultiRetailConfigurationsRequestInterface, GetOutstandingBalanceRequestInterface, GetPayoutSummaryRequestInterface, GetRetailAccountBalanceRequestInterface, GetRetailBalanceRequestInterface, GetRetailPayoutRequestInterface, GetStatisticsRequestInterface, ListBankAccountsRequestInterface, ListPaymentCardsRequestInterface, ListRetailPayoutsRequestInterface, SearchMerchantsRequestInterface, SendSalesInvoiceEmailRequestInterface, SendSalesInvoiceReceiptEmailRequestInterface, SetAutoChargeInvoicesRequestInterface, SetAutoPostInvoicesRequestInterface, SetDefaultBankAccountRequestInterface, SetDefaultPaymentCardRequestInterface, SetHasAlternativePaymentMethodRequestInterface, SetIncludeInFinancialRecordsRequestInterface, UpdateMerchantRequestInterface, UpdatePaymentCardRequestInterface, UpsertDefaultRetailCustomerConfigurationRequestInterface, UpsertRetailConfigurationRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { HostService } from '../_generated/host.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -41,6 +41,7 @@ export declare class MerchantApiService {
|
|
|
41
41
|
createReportRun(r: CreateMerchantServicesReportRun | CreateMerchantServicesReportRunInterface): Observable<MerchantServicesReportRun>;
|
|
42
42
|
getReportRun(r: GetMerchantServicesReportRun | GetMerchantServicesReportRunInterface): Observable<MerchantServicesReportRun>;
|
|
43
43
|
getRetailAccountBalance(r: GetRetailAccountBalanceRequest | GetRetailAccountBalanceRequestInterface): Observable<GetRetailAccountBalanceResponse>;
|
|
44
|
+
cancelRetailBilling(r: CancelRetailBillingRequest | CancelRetailBillingRequestInterface): Observable<HttpResponse<null>>;
|
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<MerchantApiService, never>;
|
|
45
46
|
static ɵprov: i0.ɵɵInjectableDeclaration<MerchantApiService>;
|
|
46
47
|
}
|
|
@@ -19,7 +19,7 @@ export { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemRes
|
|
|
19
19
|
export { AccountBalance, Balance, BalanceAmount, } from './balance';
|
|
20
20
|
export { DateRange, } from './date-range';
|
|
21
21
|
export { ListPayoutsRequestFilters, ListPayoutsRequest, ListPayoutsResponse, Payout, ReconcilePayoutRequest, ReconcilePayoutResponse, RetailPayout, } from './payout';
|
|
22
|
-
export { ChargeSalesInvoiceRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, CreateMerchantRequest, DefaultCustomerConfiguration, GetMerchantRequest, GetMerchantResponse, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, CreateMerchantRequestIncludeInFinancialRecords, UpdateMerchantRequestIncludeInFinancialRecords, ListRetailPayoutsRequest, ListRetailPayoutsResponse, Merchant, RetailConfiguration, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, SearchMerchantsRequest, SearchMerchantsResponse, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultPaymentCardRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, UpdateMerchantRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, } from './merchant';
|
|
22
|
+
export { CancelRetailBillingRequest, ChargeSalesInvoiceRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, CreateMerchantRequest, DefaultCustomerConfiguration, GetMerchantRequest, GetMerchantResponse, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, CreateMerchantRequestIncludeInFinancialRecords, UpdateMerchantRequestIncludeInFinancialRecords, ListRetailPayoutsRequest, ListRetailPayoutsResponse, Merchant, RetailConfiguration, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, SearchMerchantsRequest, SearchMerchantsResponse, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultPaymentCardRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, UpdateMerchantRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, } from './merchant';
|
|
23
23
|
export { ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, MerchantReport, } from './merchant-report';
|
|
24
24
|
export { CreateMeteredComponentRequest, MeteredComponent, TickComponentUsageRequest, } from './metered-component';
|
|
25
25
|
export { Adjustment, RetailPaymentCardDetails, CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, Dispute, DisputeEvidence, SubmitEvidenceRequestDisputeEvidence, DisputeEvidenceDetails, File, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, ListPaymentRequestListPaymentFilters, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsRequest, ListRetailPaymentsResponse, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsRequest, ListRetailTransactionsResponse, PrepareRetailPaymentRequestOrder, Payment, PaymentPaymentAllocation, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPayment, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailRefund, RetailStatusRequest, RetailStatusResponse, RetailTransaction, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, } from './payment';
|
|
@@ -4,6 +4,12 @@ import { PagedRequestOptions, PagedResponseMetadata } from './common';
|
|
|
4
4
|
import { RetailPayout } from './payout';
|
|
5
5
|
import * as e from '../enums';
|
|
6
6
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
7
|
+
export declare class CancelRetailBillingRequest implements i.CancelRetailBillingRequestInterface {
|
|
8
|
+
merchantId: string;
|
|
9
|
+
static fromProto(proto: any): CancelRetailBillingRequest;
|
|
10
|
+
constructor(kwargs?: i.CancelRetailBillingRequestInterface);
|
|
11
|
+
toApiJson(): object;
|
|
12
|
+
}
|
|
7
13
|
export declare class ChargeSalesInvoiceRequest implements i.ChargeSalesInvoiceRequestInterface {
|
|
8
14
|
merchantId: string;
|
|
9
15
|
invoiceId: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { AppliedTaxRate } from './applied-tax-rate';
|
|
2
3
|
import { PagedRequestOptions, PagedResponseMetadata } from './common';
|
|
3
4
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
5
|
export declare class ArchiveTaxRequest implements i.ArchiveTaxRequestInterface {
|
|
@@ -20,6 +21,7 @@ export declare class CalculateLineItemTaxesResponse implements i.CalculateLineIt
|
|
|
20
21
|
lineItemTaxes: CalculateLineItemTaxesResponseLineItemTaxes[];
|
|
21
22
|
totalTaxableAmount: number;
|
|
22
23
|
taxRates: TaxRate[];
|
|
24
|
+
appliedTaxes: AppliedTaxRate[];
|
|
23
25
|
static fromProto(proto: any): CalculateLineItemTaxesResponse;
|
|
24
26
|
constructor(kwargs?: i.CalculateLineItemTaxesResponseInterface);
|
|
25
27
|
toApiJson(): object;
|