@vendasta/billing 9.4.0 → 9.7.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/enums/fee.enum.mjs +18 -0
- package/esm2020/lib/_internal/enums/index.mjs +4 -2
- package/esm2020/lib/_internal/enums/merchant.enum.mjs +7 -1
- package/esm2020/lib/_internal/enums/report-run.enum.mjs +19 -0
- package/esm2020/lib/_internal/interfaces/fee.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/invoice.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/merchant.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/pricing-plan.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/product-pricing.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/recurring-invoice.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/report-run.interface.mjs +8 -0
- package/esm2020/lib/_internal/invoice.api.service.mjs +7 -2
- package/esm2020/lib/_internal/merchant.api.service.mjs +12 -2
- package/esm2020/lib/_internal/objects/fee.mjs +40 -0
- package/esm2020/lib/_internal/objects/index.mjs +5 -3
- package/esm2020/lib/_internal/objects/invoice.mjs +82 -1
- package/esm2020/lib/_internal/objects/merchant.mjs +19 -1
- package/esm2020/lib/_internal/objects/pricing-plan.mjs +8 -1
- package/esm2020/lib/_internal/objects/product-pricing.mjs +8 -1
- package/esm2020/lib/_internal/objects/recurring-invoice.mjs +30 -1
- package/esm2020/lib/_internal/objects/report-run.mjs +110 -0
- package/fesm2015/vendasta-billing.mjs +484 -138
- package/fesm2015/vendasta-billing.mjs.map +1 -1
- package/fesm2020/vendasta-billing.mjs +484 -138
- package/fesm2020/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/enums/fee.enum.d.ts +9 -0
- package/lib/_internal/enums/index.d.ts +3 -1
- package/lib/_internal/enums/merchant.enum.d.ts +5 -0
- package/lib/_internal/enums/report-run.enum.d.ts +10 -0
- package/lib/_internal/interfaces/fee.interface.d.ts +6 -0
- package/lib/_internal/interfaces/index.d.ts +4 -2
- package/lib/_internal/interfaces/invoice.interface.d.ts +14 -0
- package/lib/_internal/interfaces/merchant.interface.d.ts +3 -0
- package/lib/_internal/interfaces/pricing-plan.interface.d.ts +2 -0
- package/lib/_internal/interfaces/product-pricing.interface.d.ts +2 -0
- package/lib/_internal/interfaces/recurring-invoice.interface.d.ts +4 -0
- package/lib/_internal/interfaces/report-run.interface.d.ts +18 -0
- package/lib/_internal/invoice.api.service.d.ts +3 -2
- package/lib/_internal/merchant.api.service.d.ts +4 -2
- package/lib/_internal/objects/fee.d.ts +11 -0
- package/lib/_internal/objects/index.d.ts +4 -2
- package/lib/_internal/objects/invoice.d.ts +23 -0
- package/lib/_internal/objects/merchant.d.ts +3 -0
- package/lib/_internal/objects/pricing-plan.d.ts +2 -0
- package/lib/_internal/objects/product-pricing.d.ts +2 -0
- package/lib/_internal/objects/recurring-invoice.d.ts +7 -0
- package/lib/_internal/objects/report-run.d.ts +29 -0
- package/package.json +1 -1
|
@@ -6,12 +6,13 @@ export { ProductSummaryBillingStrategy, ProductSummaryDiscountDiscountType, Prod
|
|
|
6
6
|
export { ListInvoicesRequestFiltersDateFilterDateField, InvoiceStatus, } from './invoice.enum';
|
|
7
7
|
export { PayoutStatus, PayoutType, } from './payout.enum';
|
|
8
8
|
export { SortDirection, } from './sort-direction.enum';
|
|
9
|
-
export { SearchMerchantsRequestSortBy, } from './merchant.enum';
|
|
9
|
+
export { MerchantType, SearchMerchantsRequestSortBy, } from './merchant.enum';
|
|
10
10
|
export { Month, } from './month.enum';
|
|
11
11
|
export { MerchantReportStatus, } from './merchant-report.enum';
|
|
12
12
|
export { CardType, } from './card.enum';
|
|
13
13
|
export { DisputeStatus, PaymentAllocationType, PaymentSource, PaymentStatus, RetailPaymentReferenceType, } from './payment.enum';
|
|
14
14
|
export { PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, } from './payment-card.enum';
|
|
15
|
+
export { FeeAmountType, FeeType, } from './fee.enum';
|
|
15
16
|
export { BillingStrategy, ProductPricingType, } from './pricing-plan.enum';
|
|
16
17
|
export { ProductType, } from './product.enum';
|
|
17
18
|
export { CreditType, PurchaseStatus, ListPurchaseRequestState, } from './purchase.enum';
|
|
@@ -22,3 +23,4 @@ export { SubscribeValidationStatus, } from './subscribe-validation.enum';
|
|
|
22
23
|
export { RenewalState, } from './subscription.enum';
|
|
23
24
|
export { PaymentProcessor, } from './payment-processor.enum';
|
|
24
25
|
export { CollectionMethod, Interval, RecurringInvoiceStatus, } from './recurring-invoice.enum';
|
|
26
|
+
export { MerchantServicesReportRunStatus, MerchantServicesReportRunType, } from './report-run.enum';
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare enum MerchantType {
|
|
2
|
+
MERCHANT_TYPE_INVALID = 0,
|
|
3
|
+
MERCHANT_TYPE_WHOLESALE = 1,
|
|
4
|
+
MERCHANT_TYPE_RETAIL = 2
|
|
5
|
+
}
|
|
1
6
|
export declare enum SearchMerchantsRequestSortBy {
|
|
2
7
|
SEARCH_MERCHANTS_REQUEST_SORT_BY_MERCHANT_ID = 0,
|
|
3
8
|
SEARCH_MERCHANTS_REQUEST_SORT_BY_COMPANY_NAME = 1,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum MerchantServicesReportRunStatus {
|
|
2
|
+
MERCHANT_SERVICES_REPORT_RUN_STATUS_UNSPECIFIED = 0,
|
|
3
|
+
MERCHANT_SERVICES_REPORT_RUN_STATUS_PENDING = 1,
|
|
4
|
+
MERCHANT_SERVICES_REPORT_RUN_STATUS_SUCCEEDED = 2,
|
|
5
|
+
MERCHANT_SERVICES_REPORT_RUN_STATUS_FAILED = 3
|
|
6
|
+
}
|
|
7
|
+
export declare enum MerchantServicesReportRunType {
|
|
8
|
+
MERCHANT_SERVICES_REPORT_RUN_TYPE_UNSPECIFIED = 0,
|
|
9
|
+
MERCHANT_SERVICES_REPORT_RUN_TYPE_BALANCE_ITEMIZED = 1
|
|
10
|
+
}
|
|
@@ -14,7 +14,7 @@ export { AppliedTaxRateInterface, } from './applied-tax-rate.interface';
|
|
|
14
14
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
15
15
|
export { ArchiveTaxRequestInterface, CalculateTaxRequestInterface, CalculateTaxResponseInterface, CreateTaxRequestInterface, ListTaxRequestFiltersInterface, GetMultiTaxRequestInterface, GetMultiTaxResponseInterface, ListTaxRequestInterface, ListTaxResponseInterface, TaxRateInterface, UpdateTaxRequestInterface, } from './tax-rate.interface';
|
|
16
16
|
export { AppliedBundleInterface, AppliedBundleItemInterface, } from './applied-bundle.interface';
|
|
17
|
-
export { AddBundleRequestInterface, AddBundleResponseInterface, AddLineItemRequestInterface, AddLineItemResponseInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreateInvoiceResponseInterface, InvoiceCustomerAddressInterface, ListInvoicesRequestFiltersDateFilterInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DeleteLineItemResponseInterface, DuplicateInvoiceRequestInterface, DuplicateInvoiceResponseInterface, ListInvoicesRequestFiltersInterface, GetInvoiceRequestInterface, GetInvoiceResponseInterface, InvoiceInterface, InvoiceItemInterface, ListInvoicesRequestInterface, ListInvoicesResponseInterface, PayInvoiceRequestInterface, RemoveBundleRequestInterface, RemoveBundleResponseInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateBundleResponseInterface, UpdateDefaultTaxRatesRequestInterface, UpdateDefaultTaxRatesResponseInterface, UpdateInvoiceRequestInterface, UpdateInvoiceResponseInterface, UpdateLineItemRequestInterface, UpdateLineItemResponseInterface, VoidInvoiceRequestInterface, } from './invoice.interface';
|
|
17
|
+
export { AddBundleRequestInterface, AddBundleResponseInterface, AddLineItemRequestInterface, AddLineItemResponseInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreateInvoiceResponseInterface, CreatePaymentLinkRequestInterface, CreatePaymentLinkResponseInterface, InvoiceCustomerAddressInterface, ListInvoicesRequestFiltersDateFilterInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DeleteLineItemResponseInterface, DuplicateInvoiceRequestInterface, DuplicateInvoiceResponseInterface, ListInvoicesRequestFiltersInterface, GetInvoiceRequestInterface, GetInvoiceResponseInterface, InvoiceInterface, InvoiceItemInterface, ListInvoicesRequestInterface, ListInvoicesResponseInterface, PayInvoiceRequestInterface, PaymentLinkItemInterface, RemoveBundleRequestInterface, RemoveBundleResponseInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateBundleResponseInterface, UpdateDefaultTaxRatesRequestInterface, UpdateDefaultTaxRatesResponseInterface, UpdateInvoiceRequestInterface, UpdateInvoiceResponseInterface, UpdateLineItemRequestInterface, UpdateLineItemResponseInterface, VoidInvoiceRequestInterface, } from './invoice.interface';
|
|
18
18
|
export { BalanceInterface, } from './balance.interface';
|
|
19
19
|
export { DateRangeInterface, } from './date-range.interface';
|
|
20
20
|
export { ListPayoutsRequestFiltersInterface, ListPayoutsRequestInterface, ListPayoutsResponseInterface, PayoutInterface, ReconcilePayoutRequestInterface, ReconcilePayoutResponseInterface, RetailPayoutInterface, } from './payout.interface';
|
|
@@ -26,6 +26,7 @@ export { CreateMeteredComponentRequestInterface, MeteredComponentInterface, Tick
|
|
|
26
26
|
export {} from './card.interface';
|
|
27
27
|
export { RetailPaymentCardDetailsInterface, CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfigureRetailPaymentProviderResponseInterface, ConfirmRetailPaymentRequestInterface, DisputeInterface, DisputeEvidenceInterface, SubmitEvidenceRequestDisputeEvidenceInterface, DisputeEvidenceDetailsInterface, FileInterface, GetRetailDisputeRequestInterface, GetRetailDisputeResponseInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentProviderResponseInterface, GetRetailPaymentRequestInterface, GetRetailPaymentResponseInterface, ListPaymentRequestListPaymentFiltersInterface, ListPaymentRequestInterface, ListPaymentResponseInterface, ListRetailDisputesRequestInterface, ListRetailDisputesResponseInterface, ListRetailPaymentsRequestListRetailPaymentsFiltersInterface, ListRetailPaymentsRequestInterface, ListRetailPaymentsResponseInterface, PrepareRetailPaymentRequestOrderInterface, PaymentInterface, PaymentPaymentAllocationInterface, PrepareRetailPaymentRequestInterface, PrepareRetailPaymentResponseInterface, RetailPaymentInterface, RetailPaymentsEnabledRequestInterface, RetailPaymentsEnabledResponseInterface, RetailStatusRequestInterface, RetailStatusResponseInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface, RetailStatusResponseVerificationErrorInterface, RetailStatusResponseVerificationRequirementsInterface, } from './payment.interface';
|
|
28
28
|
export { CreatePaymentCardRequestInterface, DeletePaymentCardRequestInterface, ListPaymentCardsRequestInterface, ListPaymentCardsResponseInterface, PaymentCardInterface, SetDefaultPaymentMethodRequestInterface, UpdatePaymentCardRequestInterface, } from './payment-card.interface';
|
|
29
|
+
export { FeeInterface, } from './fee.interface';
|
|
29
30
|
export { ComponentPricingInterface, CreatePricingPlanRequestInterface, CreatePricingPlanResponseInterface, GetMultiPricingPlanRequestInterface, GetMultiPricingPlanResponseInterface, PricingPlanInterface, PricingPlanProductPricingInterface, ProductPricingRuleInterface, UpdatePricingPlanRequestInterface, UpdatePricingPlanResponseInterface, } from './pricing-plan.interface';
|
|
30
31
|
export { CreatePricingPlanProductRequestInterface, CreatePricingPlanProductResponseInterface, DeletePricingPlanProductRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanProductResponseInterface, GetPricingPlanProductRequestInterface, GetPricingPlanProductResponseInterface, ListPricingPlanProductsRequestListPricingPlanProductsFiltersInterface, ListPricingPlanProductsRequestInterface, ListPricingPlanProductsResponseInterface, PricingPlanProductPricingEntryInterface, CreatePricingPlanProductRequestPricingEntryInterface, UpdatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanProductResponseInterface, UpsertWholesalePricingRequestInterface, } from './pricing-plan-product.interface';
|
|
31
32
|
export { CreateProductRequestInterface, DeleteProductRequestInterface, GetMultiProductRequestInterface, GetMultiProductResponseInterface, ListProductsRequestListProductsFiltersInterface, ListProductsRequestInterface, ListProductsResponseInterface, ProductInterface, GetMultiProductResponseProductsEntryInterface, UpdateProductRequestInterface, } from './product.interface';
|
|
@@ -41,6 +42,7 @@ export { GetRetailCustomerConfigurationRequestInterface, GetRetailCustomerConfig
|
|
|
41
42
|
export { AddCreditRequestInterface, CreditBalanceInterface, GetBalanceRequestInterface, GetBalanceResponseInterface, } from './credit.interface';
|
|
42
43
|
export { AddTemplateBundleRequestInterface, AddTemplateBundleResponseInterface, AddTemplateLineItemRequestInterface, AddTemplateLineItemResponseInterface, CreateTemplateRequestInterface, CreateTemplateResponseInterface, DeleteInvoiceTemplateRequestInterface, DeleteTemplateLineItemRequestInterface, DeleteTemplateLineItemResponseInterface, GetInvoiceTemplateRequestInterface, GetInvoiceTemplateResponseInterface, InvoiceTemplateInterface, InvoiceTemplateItemInterface, UpsertInvoiceTemplateRequestInvoiceTemplateItemRequestInterface, UpdateTemplateBundleRequestInterface, UpdateTemplateBundleResponseInterface, UpdateTemplateDefaultTaxRatesRequestInterface, UpdateTemplateDefaultTaxRatesResponseInterface, UpdateTemplateLineItemRequestInterface, UpdateTemplateLineItemResponseInterface, UpsertInvoiceTemplateRequestInterface, UpsertInvoiceTemplateResponseInterface, } from './invoice-template.interface';
|
|
43
44
|
export {} from './payment-processor.interface';
|
|
44
|
-
export { DeleteRecurringInvoiceRequestInterface, GetRecurringInvoiceRequestInterface, ListRecurringInvoicesRequestInterface, ListRecurringInvoicesResponseInterface, RecurringInvoiceInterface, RecurringInvoiceBundleInterface, RecurringInvoiceItemInterface, RecurringInvoiceLineItemInterface, UpdateRecurringInvoiceRequestInterface, } from './recurring-invoice.interface';
|
|
45
|
+
export { DeleteRecurringInvoiceRequestInterface, GetRecurringInvoiceRequestInterface, ListRecurringInvoicesFiltersInterface, ListRecurringInvoicesRequestInterface, ListRecurringInvoicesResponseInterface, RecurringInvoiceInterface, RecurringInvoiceBundleInterface, RecurringInvoiceItemInterface, RecurringInvoiceLineItemInterface, UpdateRecurringInvoiceRequestInterface, } from './recurring-invoice.interface';
|
|
46
|
+
export { CreateMerchantServicesReportRunInterface, GetMerchantServicesReportRunInterface, MerchantServicesReportRunInterface, } from './report-run.interface';
|
|
45
47
|
export { AccessInterface, } from './annotations.interface';
|
|
46
48
|
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';
|
|
@@ -40,6 +40,15 @@ export interface CreateInvoiceRequestInterface {
|
|
|
40
40
|
export interface CreateInvoiceResponseInterface {
|
|
41
41
|
invoiceId?: string;
|
|
42
42
|
}
|
|
43
|
+
export interface CreatePaymentLinkRequestInterface {
|
|
44
|
+
merchantId?: string;
|
|
45
|
+
customerId?: string;
|
|
46
|
+
currencyCode?: string;
|
|
47
|
+
lineItems?: PaymentLinkItemInterface[];
|
|
48
|
+
}
|
|
49
|
+
export interface CreatePaymentLinkResponseInterface {
|
|
50
|
+
invoiceId?: string;
|
|
51
|
+
}
|
|
43
52
|
export interface InvoiceCustomerAddressInterface {
|
|
44
53
|
address?: string;
|
|
45
54
|
city?: string;
|
|
@@ -145,6 +154,11 @@ export interface PayInvoiceRequestInterface {
|
|
|
145
154
|
merchantId?: string;
|
|
146
155
|
invoiceId?: string;
|
|
147
156
|
}
|
|
157
|
+
export interface PaymentLinkItemInterface {
|
|
158
|
+
amount?: number;
|
|
159
|
+
quantity?: number;
|
|
160
|
+
description?: string;
|
|
161
|
+
}
|
|
148
162
|
export interface RemoveBundleRequestInterface {
|
|
149
163
|
invoiceId?: string;
|
|
150
164
|
merchantId?: string;
|
|
@@ -31,6 +31,7 @@ export interface CreateMerchantRequestInterface {
|
|
|
31
31
|
additionalEmailAddresses?: string[];
|
|
32
32
|
includeInFinancialRecords?: CreateMerchantRequestIncludeInFinancialRecordsInterface;
|
|
33
33
|
hasAlternativePaymentMethod?: boolean;
|
|
34
|
+
merchantType?: e.MerchantType;
|
|
34
35
|
}
|
|
35
36
|
export interface DefaultCustomerConfigurationInterface {
|
|
36
37
|
generateMethod?: string;
|
|
@@ -112,6 +113,7 @@ export interface MerchantInterface {
|
|
|
112
113
|
additionalEmailAddresses?: string[];
|
|
113
114
|
hasAlternativePaymentMethod?: boolean;
|
|
114
115
|
stripeAccountId?: string;
|
|
116
|
+
merchantType?: e.MerchantType;
|
|
115
117
|
}
|
|
116
118
|
export interface RetailConfigurationInterface {
|
|
117
119
|
merchantId?: string;
|
|
@@ -168,6 +170,7 @@ export interface UpdateMerchantRequestInterface {
|
|
|
168
170
|
additionalEmailAddresses?: string[];
|
|
169
171
|
includeInFinancialRecords?: UpdateMerchantRequestIncludeInFinancialRecordsInterface;
|
|
170
172
|
hasAlternativePaymentMethod?: boolean;
|
|
173
|
+
merchantType?: e.MerchantType;
|
|
171
174
|
}
|
|
172
175
|
export interface UpsertDefaultRetailCustomerConfigurationRequestInterface {
|
|
173
176
|
merchantId?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FeeInterface } from './fee.interface';
|
|
1
2
|
import { FieldMaskInterface } from './field-mask.interface';
|
|
2
3
|
import * as e from '../enums';
|
|
3
4
|
export interface ComponentPricingInterface {
|
|
@@ -28,6 +29,7 @@ export interface PricingPlanProductPricingInterface {
|
|
|
28
29
|
setupFee?: number;
|
|
29
30
|
frequency?: e.Frequency;
|
|
30
31
|
currencyCode?: string;
|
|
32
|
+
fees?: FeeInterface[];
|
|
31
33
|
}
|
|
32
34
|
export interface ProductPricingRuleInterface {
|
|
33
35
|
price?: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CommitmentInterface } from './commitment.interface';
|
|
2
|
+
import { FeeInterface } from './fee.interface';
|
|
2
3
|
import { ProductPricingRuleInterface } from './pricing-plan.interface';
|
|
3
4
|
import * as e from '../enums';
|
|
4
5
|
export interface ProductPricesInterface {
|
|
@@ -16,6 +17,7 @@ export interface ProductPricingInterface {
|
|
|
16
17
|
resolvedFrom?: string;
|
|
17
18
|
volumeCommitment?: number;
|
|
18
19
|
setupFee?: number;
|
|
20
|
+
fees?: FeeInterface[];
|
|
19
21
|
}
|
|
20
22
|
export interface WholesaleCostItemRequestInterface {
|
|
21
23
|
sku?: string;
|
|
@@ -7,10 +7,14 @@ export interface DeleteRecurringInvoiceRequestInterface {
|
|
|
7
7
|
export interface GetRecurringInvoiceRequestInterface {
|
|
8
8
|
id?: string;
|
|
9
9
|
}
|
|
10
|
+
export interface ListRecurringInvoicesFiltersInterface {
|
|
11
|
+
statuses?: e.RecurringInvoiceStatus[];
|
|
12
|
+
}
|
|
10
13
|
export interface ListRecurringInvoicesRequestInterface {
|
|
11
14
|
pagingOptions?: PagedRequestOptionsInterface;
|
|
12
15
|
merchantId?: string;
|
|
13
16
|
customerId?: string;
|
|
17
|
+
filters?: ListRecurringInvoicesFiltersInterface;
|
|
14
18
|
}
|
|
15
19
|
export interface ListRecurringInvoicesResponseInterface {
|
|
16
20
|
recurringInvoices?: RecurringInvoiceInterface[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as e from '../enums';
|
|
2
|
+
export interface CreateMerchantServicesReportRunInterface {
|
|
3
|
+
merchantId?: string;
|
|
4
|
+
reportType?: e.MerchantServicesReportRunType;
|
|
5
|
+
intervalStart?: Date;
|
|
6
|
+
intervalEnd?: Date;
|
|
7
|
+
currencyCode?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetMerchantServicesReportRunInterface {
|
|
10
|
+
id?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface MerchantServicesReportRunInterface {
|
|
13
|
+
id?: string;
|
|
14
|
+
created?: Date;
|
|
15
|
+
reportType?: e.MerchantServicesReportRunType;
|
|
16
|
+
status?: e.MerchantServicesReportRunStatus;
|
|
17
|
+
error?: string;
|
|
18
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, GetInvoiceRequest, GetInvoiceResponse, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest } from './objects/';
|
|
2
|
-
import { AddBundleRequestInterface, AddLineItemRequestInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DuplicateInvoiceRequestInterface, GetInvoiceRequestInterface, ListInvoicesRequestInterface, PayInvoiceRequestInterface, RemoveBundleRequestInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateDefaultTaxRatesRequestInterface, UpdateInvoiceRequestInterface, UpdateLineItemRequestInterface, VoidInvoiceRequestInterface } from './interfaces/';
|
|
1
|
+
import { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, CreatePaymentLinkRequest, CreatePaymentLinkResponse, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, GetInvoiceRequest, GetInvoiceResponse, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest } from './objects/';
|
|
2
|
+
import { AddBundleRequestInterface, AddLineItemRequestInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreatePaymentLinkRequestInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DuplicateInvoiceRequestInterface, GetInvoiceRequestInterface, ListInvoicesRequestInterface, PayInvoiceRequestInterface, RemoveBundleRequestInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateDefaultTaxRatesRequestInterface, UpdateInvoiceRequestInterface, UpdateLineItemRequestInterface, VoidInvoiceRequestInterface } 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';
|
|
@@ -27,6 +27,7 @@ export declare class InvoiceApiService {
|
|
|
27
27
|
void(r: VoidInvoiceRequest | VoidInvoiceRequestInterface): Observable<HttpResponse<null>>;
|
|
28
28
|
duplicate(r: DuplicateInvoiceRequest | DuplicateInvoiceRequestInterface): Observable<DuplicateInvoiceResponse>;
|
|
29
29
|
updateBundle(r: UpdateBundleRequest | UpdateBundleRequestInterface): Observable<UpdateBundleResponse>;
|
|
30
|
+
createPaymentLink(r: CreatePaymentLinkRequest | CreatePaymentLinkRequestInterface): Observable<CreatePaymentLinkResponse>;
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceApiService, never>;
|
|
31
32
|
static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceApiService>;
|
|
32
33
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChargeSalesInvoiceRequest, CreateMerchantRequest, CreatePaymentCardRequest, CreateStripeExternalAccountRequest, DeleteBankAccountRequest, GetMerchantRequest, GetMerchantResponse, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetStatisticsRequest, GetStatisticsResponse, ListBankAccountsRequest, ListBankAccountsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, SearchMerchantsRequest, SearchMerchantsResponse, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, UpdateMerchantRequest, UpdatePaymentCardRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest } from './objects/';
|
|
2
|
-
import { ChargeSalesInvoiceRequestInterface, CreateMerchantRequestInterface, CreatePaymentCardRequestInterface, CreateStripeExternalAccountRequestInterface, DeleteBankAccountRequestInterface, GetMerchantRequestInterface, GetMultiRetailConfigurationsRequestInterface, GetOutstandingBalanceRequestInterface, GetPayoutSummaryRequestInterface, GetRetailBalanceRequestInterface, GetRetailPayoutRequestInterface, GetStatisticsRequestInterface, ListBankAccountsRequestInterface, ListPaymentCardsRequestInterface, ListRetailPayoutsRequestInterface, SearchMerchantsRequestInterface, SendSalesInvoiceEmailRequestInterface, SendSalesInvoiceReceiptEmailRequestInterface, SetAutoChargeInvoicesRequestInterface, SetAutoPostInvoicesRequestInterface, SetDefaultBankAccountRequestInterface, SetDefaultPaymentCardRequestInterface, SetHasAlternativePaymentMethodRequestInterface, SetIncludeInFinancialRecordsRequestInterface, UpdateMerchantRequestInterface, UpdatePaymentCardRequestInterface, UpsertDefaultRetailCustomerConfigurationRequestInterface, UpsertRetailConfigurationRequestInterface } from './interfaces/';
|
|
1
|
+
import { ChargeSalesInvoiceRequest, CreateMerchantRequest, CreateMerchantServicesReportRun, CreatePaymentCardRequest, CreateStripeExternalAccountRequest, DeleteBankAccountRequest, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, 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, 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';
|
|
@@ -38,6 +38,8 @@ export declare class MerchantApiService {
|
|
|
38
38
|
getPayoutSummary(r: GetPayoutSummaryRequest | GetPayoutSummaryRequestInterface): Observable<GetPayoutSummaryResponse>;
|
|
39
39
|
listRetailPayouts(r: ListRetailPayoutsRequest | ListRetailPayoutsRequestInterface): Observable<ListRetailPayoutsResponse>;
|
|
40
40
|
getRetailPayout(r: GetRetailPayoutRequest | GetRetailPayoutRequestInterface): Observable<GetRetailPayoutResponse>;
|
|
41
|
+
createReportRun(r: CreateMerchantServicesReportRun | CreateMerchantServicesReportRunInterface): Observable<MerchantServicesReportRun>;
|
|
42
|
+
getReportRun(r: GetMerchantServicesReportRun | GetMerchantServicesReportRunInterface): Observable<MerchantServicesReportRun>;
|
|
41
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<MerchantApiService, never>;
|
|
42
44
|
static ɵprov: i0.ɵɵInjectableDeclaration<MerchantApiService>;
|
|
43
45
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class Fee implements i.FeeInterface {
|
|
5
|
+
amount: number;
|
|
6
|
+
amountType: e.FeeAmountType;
|
|
7
|
+
feeType: e.FeeType;
|
|
8
|
+
static fromProto(proto: any): Fee;
|
|
9
|
+
constructor(kwargs?: i.FeeInterface);
|
|
10
|
+
toApiJson(): object;
|
|
11
|
+
}
|
|
@@ -14,7 +14,7 @@ export { AppliedTaxRate, } from './applied-tax-rate';
|
|
|
14
14
|
export { FieldMask, } from './field-mask';
|
|
15
15
|
export { ArchiveTaxRequest, CalculateTaxRequest, CalculateTaxResponse, CreateTaxRequest, ListTaxRequestFilters, GetMultiTaxRequest, GetMultiTaxResponse, ListTaxRequest, ListTaxResponse, TaxRate, UpdateTaxRequest, } from './tax-rate';
|
|
16
16
|
export { AppliedBundle, AppliedBundleItem, } from './applied-bundle';
|
|
17
|
-
export { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, InvoiceCustomerAddress, ListInvoicesRequestFiltersDateFilter, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, ListInvoicesRequestFilters, GetInvoiceRequest, GetInvoiceResponse, Invoice, InvoiceItem, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest, } from './invoice';
|
|
17
|
+
export { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, CreatePaymentLinkRequest, CreatePaymentLinkResponse, InvoiceCustomerAddress, ListInvoicesRequestFiltersDateFilter, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, ListInvoicesRequestFilters, GetInvoiceRequest, GetInvoiceResponse, Invoice, InvoiceItem, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, PaymentLinkItem, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest, } from './invoice';
|
|
18
18
|
export { Balance, } from './balance';
|
|
19
19
|
export { DateRange, } from './date-range';
|
|
20
20
|
export { ListPayoutsRequestFilters, ListPayoutsRequest, ListPayoutsResponse, Payout, ReconcilePayoutRequest, ReconcilePayoutResponse, RetailPayout, } from './payout';
|
|
@@ -26,6 +26,7 @@ export { CreateMeteredComponentRequest, MeteredComponent, TickComponentUsageRequ
|
|
|
26
26
|
export {} from './card';
|
|
27
27
|
export { RetailPaymentCardDetails, CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, Dispute, DisputeEvidence, SubmitEvidenceRequestDisputeEvidence, DisputeEvidenceDetails, File, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, ListPaymentRequestListPaymentFilters, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsRequest, ListRetailPaymentsResponse, PrepareRetailPaymentRequestOrder, Payment, PaymentPaymentAllocation, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RetailPayment, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailStatusRequest, RetailStatusResponse, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, } from './payment';
|
|
28
28
|
export { CreatePaymentCardRequest, DeletePaymentCardRequest, ListPaymentCardsRequest, ListPaymentCardsResponse, PaymentCard, SetDefaultPaymentMethodRequest, UpdatePaymentCardRequest, } from './payment-card';
|
|
29
|
+
export { Fee, } from './fee';
|
|
29
30
|
export { ComponentPricing, CreatePricingPlanRequest, CreatePricingPlanResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, PricingPlan, PricingPlanProductPricing, ProductPricingRule, UpdatePricingPlanRequest, UpdatePricingPlanResponse, } from './pricing-plan';
|
|
30
31
|
export { CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, DeletePricingPlanProductRequest, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsRequest, ListPricingPlanProductsResponse, PricingPlanProductPricingEntry, CreatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductRequestPricingEntry, PricingPlanProduct, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpsertWholesalePricingRequest, } from './pricing-plan-product';
|
|
31
32
|
export { CreateProductRequest, DeleteProductRequest, GetMultiProductRequest, GetMultiProductResponse, ListProductsRequestListProductsFilters, ListProductsRequest, ListProductsResponse, Product, GetMultiProductResponseProductsEntry, UpdateProductRequest, } from './product';
|
|
@@ -41,6 +42,7 @@ export { GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationRe
|
|
|
41
42
|
export { AddCreditRequest, CreditBalance, GetBalanceRequest, GetBalanceResponse, } from './credit';
|
|
42
43
|
export { AddTemplateBundleRequest, AddTemplateBundleResponse, AddTemplateLineItemRequest, AddTemplateLineItemResponse, CreateTemplateRequest, CreateTemplateResponse, DeleteInvoiceTemplateRequest, DeleteTemplateLineItemRequest, DeleteTemplateLineItemResponse, GetInvoiceTemplateRequest, GetInvoiceTemplateResponse, InvoiceTemplate, InvoiceTemplateItem, UpsertInvoiceTemplateRequestInvoiceTemplateItemRequest, UpdateTemplateBundleRequest, UpdateTemplateBundleResponse, UpdateTemplateDefaultTaxRatesRequest, UpdateTemplateDefaultTaxRatesResponse, UpdateTemplateLineItemRequest, UpdateTemplateLineItemResponse, UpsertInvoiceTemplateRequest, UpsertInvoiceTemplateResponse, } from './invoice-template';
|
|
43
44
|
export {} from './payment-processor';
|
|
44
|
-
export { DeleteRecurringInvoiceRequest, GetRecurringInvoiceRequest, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, RecurringInvoice, RecurringInvoiceBundle, RecurringInvoiceItem, RecurringInvoiceLineItem, UpdateRecurringInvoiceRequest, } from './recurring-invoice';
|
|
45
|
+
export { DeleteRecurringInvoiceRequest, GetRecurringInvoiceRequest, ListRecurringInvoicesFilters, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, RecurringInvoice, RecurringInvoiceBundle, RecurringInvoiceItem, RecurringInvoiceLineItem, UpdateRecurringInvoiceRequest, } from './recurring-invoice';
|
|
46
|
+
export { CreateMerchantServicesReportRun, GetMerchantServicesReportRun, MerchantServicesReportRun, } from './report-run';
|
|
45
47
|
export { Access, } from './annotations';
|
|
46
48
|
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';
|
|
@@ -63,6 +63,21 @@ export declare class CreateInvoiceResponse implements i.CreateInvoiceResponseInt
|
|
|
63
63
|
constructor(kwargs?: i.CreateInvoiceResponseInterface);
|
|
64
64
|
toApiJson(): object;
|
|
65
65
|
}
|
|
66
|
+
export declare class CreatePaymentLinkRequest implements i.CreatePaymentLinkRequestInterface {
|
|
67
|
+
merchantId: string;
|
|
68
|
+
customerId: string;
|
|
69
|
+
currencyCode: string;
|
|
70
|
+
lineItems: PaymentLinkItem[];
|
|
71
|
+
static fromProto(proto: any): CreatePaymentLinkRequest;
|
|
72
|
+
constructor(kwargs?: i.CreatePaymentLinkRequestInterface);
|
|
73
|
+
toApiJson(): object;
|
|
74
|
+
}
|
|
75
|
+
export declare class CreatePaymentLinkResponse implements i.CreatePaymentLinkResponseInterface {
|
|
76
|
+
invoiceId: string;
|
|
77
|
+
static fromProto(proto: any): CreatePaymentLinkResponse;
|
|
78
|
+
constructor(kwargs?: i.CreatePaymentLinkResponseInterface);
|
|
79
|
+
toApiJson(): object;
|
|
80
|
+
}
|
|
66
81
|
export declare class InvoiceCustomerAddress implements i.InvoiceCustomerAddressInterface {
|
|
67
82
|
address: string;
|
|
68
83
|
city: string;
|
|
@@ -213,6 +228,14 @@ export declare class PayInvoiceRequest implements i.PayInvoiceRequestInterface {
|
|
|
213
228
|
constructor(kwargs?: i.PayInvoiceRequestInterface);
|
|
214
229
|
toApiJson(): object;
|
|
215
230
|
}
|
|
231
|
+
export declare class PaymentLinkItem implements i.PaymentLinkItemInterface {
|
|
232
|
+
amount: number;
|
|
233
|
+
quantity: number;
|
|
234
|
+
description: string;
|
|
235
|
+
static fromProto(proto: any): PaymentLinkItem;
|
|
236
|
+
constructor(kwargs?: i.PaymentLinkItemInterface);
|
|
237
|
+
toApiJson(): object;
|
|
238
|
+
}
|
|
216
239
|
export declare class RemoveBundleRequest implements i.RemoveBundleRequestInterface {
|
|
217
240
|
invoiceId: string;
|
|
218
241
|
merchantId: string;
|
|
@@ -42,6 +42,7 @@ export declare class CreateMerchantRequest implements i.CreateMerchantRequestInt
|
|
|
42
42
|
additionalEmailAddresses: string[];
|
|
43
43
|
includeInFinancialRecords: CreateMerchantRequestIncludeInFinancialRecords;
|
|
44
44
|
hasAlternativePaymentMethod: boolean;
|
|
45
|
+
merchantType: e.MerchantType;
|
|
45
46
|
static fromProto(proto: any): CreateMerchantRequest;
|
|
46
47
|
constructor(kwargs?: i.CreateMerchantRequestInterface);
|
|
47
48
|
toApiJson(): object;
|
|
@@ -177,6 +178,7 @@ export declare class Merchant implements i.MerchantInterface {
|
|
|
177
178
|
additionalEmailAddresses: string[];
|
|
178
179
|
hasAlternativePaymentMethod: boolean;
|
|
179
180
|
stripeAccountId: string;
|
|
181
|
+
merchantType: e.MerchantType;
|
|
180
182
|
static fromProto(proto: any): Merchant;
|
|
181
183
|
constructor(kwargs?: i.MerchantInterface);
|
|
182
184
|
toApiJson(): object;
|
|
@@ -263,6 +265,7 @@ export declare class UpdateMerchantRequest implements i.UpdateMerchantRequestInt
|
|
|
263
265
|
additionalEmailAddresses: string[];
|
|
264
266
|
includeInFinancialRecords: UpdateMerchantRequestIncludeInFinancialRecords;
|
|
265
267
|
hasAlternativePaymentMethod: boolean;
|
|
268
|
+
merchantType: e.MerchantType;
|
|
266
269
|
static fromProto(proto: any): UpdateMerchantRequest;
|
|
267
270
|
constructor(kwargs?: i.UpdateMerchantRequestInterface);
|
|
268
271
|
toApiJson(): object;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { Fee } from './fee';
|
|
2
3
|
import { FieldMask } from './field-mask';
|
|
3
4
|
import * as e from '../enums';
|
|
4
5
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -48,6 +49,7 @@ export declare class PricingPlanProductPricing implements i.PricingPlanProductPr
|
|
|
48
49
|
setupFee: number;
|
|
49
50
|
frequency: e.Frequency;
|
|
50
51
|
currencyCode: string;
|
|
52
|
+
fees: Fee[];
|
|
51
53
|
static fromProto(proto: any): PricingPlanProductPricing;
|
|
52
54
|
constructor(kwargs?: i.PricingPlanProductPricingInterface);
|
|
53
55
|
toApiJson(): object;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
2
|
import { Commitment } from './commitment';
|
|
3
|
+
import { Fee } from './fee';
|
|
3
4
|
import { ProductPricingRule } from './pricing-plan';
|
|
4
5
|
import * as e from '../enums';
|
|
5
6
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -21,6 +22,7 @@ export declare class ProductPricing implements i.ProductPricingInterface {
|
|
|
21
22
|
resolvedFrom: string;
|
|
22
23
|
volumeCommitment: number;
|
|
23
24
|
setupFee: number;
|
|
25
|
+
fees: Fee[];
|
|
24
26
|
static fromProto(proto: any): ProductPricing;
|
|
25
27
|
constructor(kwargs?: i.ProductPricingInterface);
|
|
26
28
|
toApiJson(): object;
|
|
@@ -15,10 +15,17 @@ export declare class GetRecurringInvoiceRequest implements i.GetRecurringInvoice
|
|
|
15
15
|
constructor(kwargs?: i.GetRecurringInvoiceRequestInterface);
|
|
16
16
|
toApiJson(): object;
|
|
17
17
|
}
|
|
18
|
+
export declare class ListRecurringInvoicesFilters implements i.ListRecurringInvoicesFiltersInterface {
|
|
19
|
+
statuses: e.RecurringInvoiceStatus[];
|
|
20
|
+
static fromProto(proto: any): ListRecurringInvoicesFilters;
|
|
21
|
+
constructor(kwargs?: i.ListRecurringInvoicesFiltersInterface);
|
|
22
|
+
toApiJson(): object;
|
|
23
|
+
}
|
|
18
24
|
export declare class ListRecurringInvoicesRequest implements i.ListRecurringInvoicesRequestInterface {
|
|
19
25
|
pagingOptions: PagedRequestOptions;
|
|
20
26
|
merchantId: string;
|
|
21
27
|
customerId: string;
|
|
28
|
+
filters: ListRecurringInvoicesFilters;
|
|
22
29
|
static fromProto(proto: any): ListRecurringInvoicesRequest;
|
|
23
30
|
constructor(kwargs?: i.ListRecurringInvoicesRequestInterface);
|
|
24
31
|
toApiJson(): object;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class CreateMerchantServicesReportRun implements i.CreateMerchantServicesReportRunInterface {
|
|
5
|
+
merchantId: string;
|
|
6
|
+
reportType: e.MerchantServicesReportRunType;
|
|
7
|
+
intervalStart: Date;
|
|
8
|
+
intervalEnd: Date;
|
|
9
|
+
currencyCode: string;
|
|
10
|
+
static fromProto(proto: any): CreateMerchantServicesReportRun;
|
|
11
|
+
constructor(kwargs?: i.CreateMerchantServicesReportRunInterface);
|
|
12
|
+
toApiJson(): object;
|
|
13
|
+
}
|
|
14
|
+
export declare class GetMerchantServicesReportRun implements i.GetMerchantServicesReportRunInterface {
|
|
15
|
+
id: string;
|
|
16
|
+
static fromProto(proto: any): GetMerchantServicesReportRun;
|
|
17
|
+
constructor(kwargs?: i.GetMerchantServicesReportRunInterface);
|
|
18
|
+
toApiJson(): object;
|
|
19
|
+
}
|
|
20
|
+
export declare class MerchantServicesReportRun implements i.MerchantServicesReportRunInterface {
|
|
21
|
+
id: string;
|
|
22
|
+
created: Date;
|
|
23
|
+
reportType: e.MerchantServicesReportRunType;
|
|
24
|
+
status: e.MerchantServicesReportRunStatus;
|
|
25
|
+
error: string;
|
|
26
|
+
static fromProto(proto: any): MerchantServicesReportRun;
|
|
27
|
+
constructor(kwargs?: i.MerchantServicesReportRunInterface);
|
|
28
|
+
toApiJson(): object;
|
|
29
|
+
}
|