@vendasta/billing 9.6.0 → 10.1.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/_generated/host.service.mjs +3 -3
- package/esm2020/lib/_internal/bank-reconciliation.api.service.mjs +3 -3
- package/esm2020/lib/_internal/billing.api.service.mjs +3 -3
- package/esm2020/lib/_internal/bundle.api.service.mjs +3 -3
- package/esm2020/lib/_internal/contract-document.api.service.mjs +3 -3
- package/esm2020/lib/_internal/contract.api.service.mjs +3 -3
- package/esm2020/lib/_internal/credit.api.service.mjs +3 -3
- package/esm2020/lib/_internal/discount.api.service.mjs +3 -3
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/payment.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/payout.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/recurring-invoice.interface.mjs +1 -1
- package/esm2020/lib/_internal/invoice-template.api.service.mjs +3 -3
- package/esm2020/lib/_internal/invoice.api.service.mjs +3 -3
- package/esm2020/lib/_internal/merchant.api.service.mjs +3 -3
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/payment.mjs +88 -45
- package/esm2020/lib/_internal/objects/payout.mjs +7 -1
- package/esm2020/lib/_internal/objects/recurring-invoice.mjs +30 -1
- package/esm2020/lib/_internal/payment-method.api.service.mjs +3 -3
- package/esm2020/lib/_internal/payment.api.service.mjs +10 -5
- package/esm2020/lib/_internal/pricing.api.service.mjs +3 -3
- package/esm2020/lib/_internal/product-summary.api.service.mjs +3 -3
- package/esm2020/lib/_internal/product.api.service.mjs +3 -3
- package/esm2020/lib/_internal/purchase.api.service.mjs +3 -3
- package/esm2020/lib/_internal/recurring-invoice.api.service.mjs +3 -3
- package/esm2020/lib/_internal/refund.api.service.mjs +3 -3
- package/esm2020/lib/_internal/retail-customer-configuration.api.service.mjs +3 -3
- package/esm2020/lib/_internal/sales-credit-note.api.service.mjs +3 -3
- package/esm2020/lib/_internal/sales-invoice.api.service.mjs +3 -3
- package/esm2020/lib/_internal/tax.api.service.mjs +3 -3
- package/esm2020/lib/_internal/vendor.api.service.mjs +3 -3
- package/fesm2015/vendasta-billing.mjs +200 -117
- package/fesm2015/vendasta-billing.mjs.map +1 -1
- package/fesm2020/vendasta-billing.mjs +200 -117
- package/fesm2020/vendasta-billing.mjs.map +1 -1
- package/{vendasta-billing.d.ts → index.d.ts} +0 -0
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/payment.interface.d.ts +18 -11
- package/lib/_internal/interfaces/payout.interface.d.ts +2 -0
- package/lib/_internal/interfaces/recurring-invoice.interface.d.ts +4 -0
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/payment.d.ts +27 -14
- package/lib/_internal/objects/payout.d.ts +2 -0
- package/lib/_internal/objects/recurring-invoice.d.ts +7 -0
- package/lib/_internal/payment.api.service.d.ts +3 -2
- package/package.json +5 -5
|
File without changes
|
|
@@ -24,7 +24,7 @@ export {} from './month.interface';
|
|
|
24
24
|
export { ListMerchantBillingReportsRequestInterface, ListMerchantBillingReportsResponseInterface, MerchantReportInterface, } from './merchant-report.interface';
|
|
25
25
|
export { CreateMeteredComponentRequestInterface, MeteredComponentInterface, TickComponentUsageRequestInterface, } from './metered-component.interface';
|
|
26
26
|
export {} from './card.interface';
|
|
27
|
-
export { RetailPaymentCardDetailsInterface, CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfigureRetailPaymentProviderResponseInterface, ConfirmRetailPaymentRequestInterface, DisputeInterface,
|
|
27
|
+
export { RetailPaymentCardDetailsInterface, CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfigureRetailPaymentProviderResponseInterface, ConfirmRetailPaymentRequestInterface, DisputeInterface, SubmitEvidenceRequestDisputeEvidenceInterface, DisputeEvidenceInterface, DisputeEvidenceDetailsInterface, FileInterface, GetRetailDisputeRequestInterface, GetRetailDisputeResponseInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentProviderResponseInterface, GetRetailPaymentRequestInterface, GetRetailPaymentResponseInterface, GetWholesaleProviderPublicKeyRequestInterface, GetWholesaleProviderPublicKeyResponseInterface, 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
29
|
export { FeeInterface, } from './fee.interface';
|
|
30
30
|
export { ComponentPricingInterface, CreatePricingPlanRequestInterface, CreatePricingPlanResponseInterface, GetMultiPricingPlanRequestInterface, GetMultiPricingPlanResponseInterface, PricingPlanInterface, PricingPlanProductPricingInterface, ProductPricingRuleInterface, UpdatePricingPlanRequestInterface, UpdatePricingPlanResponseInterface, } from './pricing-plan.interface';
|
|
@@ -42,7 +42,7 @@ export { GetRetailCustomerConfigurationRequestInterface, GetRetailCustomerConfig
|
|
|
42
42
|
export { AddCreditRequestInterface, CreditBalanceInterface, GetBalanceRequestInterface, GetBalanceResponseInterface, } from './credit.interface';
|
|
43
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';
|
|
44
44
|
export {} from './payment-processor.interface';
|
|
45
|
-
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
46
|
export { CreateMerchantServicesReportRunInterface, GetMerchantServicesReportRunInterface, MerchantServicesReportRunInterface, } from './report-run.interface';
|
|
47
47
|
export { AccessInterface, } from './annotations.interface';
|
|
48
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';
|
|
@@ -35,17 +35,6 @@ export interface DisputeInterface {
|
|
|
35
35
|
fee?: number;
|
|
36
36
|
feeCurrencyCode?: string;
|
|
37
37
|
}
|
|
38
|
-
export interface DisputeEvidenceInterface {
|
|
39
|
-
customerCommunication?: FileInterface;
|
|
40
|
-
customerSignature?: FileInterface;
|
|
41
|
-
shippingDocumentation?: FileInterface;
|
|
42
|
-
receipt?: FileInterface;
|
|
43
|
-
uncategorizedFile?: FileInterface;
|
|
44
|
-
billingAddress?: string;
|
|
45
|
-
customerEmailAddress?: string;
|
|
46
|
-
customerName?: string;
|
|
47
|
-
productDescription?: string;
|
|
48
|
-
}
|
|
49
38
|
export interface SubmitEvidenceRequestDisputeEvidenceInterface {
|
|
50
39
|
billingAddress?: string;
|
|
51
40
|
customerEmailAddress?: string;
|
|
@@ -57,6 +46,17 @@ export interface SubmitEvidenceRequestDisputeEvidenceInterface {
|
|
|
57
46
|
shippingDocumentationFileId?: string;
|
|
58
47
|
uncategorizedFileId?: string;
|
|
59
48
|
}
|
|
49
|
+
export interface DisputeEvidenceInterface {
|
|
50
|
+
customerCommunication?: FileInterface;
|
|
51
|
+
customerSignature?: FileInterface;
|
|
52
|
+
shippingDocumentation?: FileInterface;
|
|
53
|
+
receipt?: FileInterface;
|
|
54
|
+
uncategorizedFile?: FileInterface;
|
|
55
|
+
billingAddress?: string;
|
|
56
|
+
customerEmailAddress?: string;
|
|
57
|
+
customerName?: string;
|
|
58
|
+
productDescription?: string;
|
|
59
|
+
}
|
|
60
60
|
export interface DisputeEvidenceDetailsInterface {
|
|
61
61
|
dueBy?: Date;
|
|
62
62
|
hasEvidence?: boolean;
|
|
@@ -90,6 +90,13 @@ export interface GetRetailPaymentRequestInterface {
|
|
|
90
90
|
export interface GetRetailPaymentResponseInterface {
|
|
91
91
|
payment?: RetailPaymentInterface;
|
|
92
92
|
}
|
|
93
|
+
export interface GetWholesaleProviderPublicKeyRequestInterface {
|
|
94
|
+
merchantId?: string;
|
|
95
|
+
countryCode?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface GetWholesaleProviderPublicKeyResponseInterface {
|
|
98
|
+
publcApiKey?: string;
|
|
99
|
+
}
|
|
93
100
|
export interface ListPaymentRequestListPaymentFiltersInterface {
|
|
94
101
|
merchantId?: string;
|
|
95
102
|
allocationIds?: string[];
|
|
@@ -7,6 +7,7 @@ export interface ListPayoutsRequestFiltersInterface {
|
|
|
7
7
|
export interface ListPayoutsRequestInterface {
|
|
8
8
|
filters?: ListPayoutsRequestFiltersInterface;
|
|
9
9
|
pagingOptions?: PagedRequestOptionsInterface;
|
|
10
|
+
subsidiary?: string;
|
|
10
11
|
}
|
|
11
12
|
export interface ListPayoutsResponseInterface {
|
|
12
13
|
payouts?: PayoutInterface[];
|
|
@@ -27,6 +28,7 @@ export interface ReconcilePayoutRequestInterface {
|
|
|
27
28
|
bankReconciliationId?: string;
|
|
28
29
|
payoutId?: string;
|
|
29
30
|
allowRetries?: boolean;
|
|
31
|
+
subsidiary?: string;
|
|
30
32
|
}
|
|
31
33
|
export interface ReconcilePayoutResponseInterface {
|
|
32
34
|
pipelineId?: 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[];
|
|
@@ -24,7 +24,7 @@ export {} from './month';
|
|
|
24
24
|
export { ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, MerchantReport, } from './merchant-report';
|
|
25
25
|
export { CreateMeteredComponentRequest, MeteredComponent, TickComponentUsageRequest, } from './metered-component';
|
|
26
26
|
export {} from './card';
|
|
27
|
-
export { RetailPaymentCardDetails, CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, Dispute,
|
|
27
|
+
export { RetailPaymentCardDetails, CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, Dispute, SubmitEvidenceRequestDisputeEvidence, DisputeEvidence, DisputeEvidenceDetails, File, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, 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
29
|
export { Fee, } from './fee';
|
|
30
30
|
export { ComponentPricing, CreatePricingPlanRequest, CreatePricingPlanResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, PricingPlan, PricingPlanProductPricing, ProductPricingRule, UpdatePricingPlanRequest, UpdatePricingPlanResponse, } from './pricing-plan';
|
|
@@ -42,7 +42,7 @@ export { GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationRe
|
|
|
42
42
|
export { AddCreditRequest, CreditBalance, GetBalanceRequest, GetBalanceResponse, } from './credit';
|
|
43
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';
|
|
44
44
|
export {} from './payment-processor';
|
|
45
|
-
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
46
|
export { CreateMerchantServicesReportRun, GetMerchantServicesReportRun, MerchantServicesReportRun, } from './report-run';
|
|
47
47
|
export { Access, } from './annotations';
|
|
48
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';
|
|
@@ -55,20 +55,6 @@ export declare class Dispute implements i.DisputeInterface {
|
|
|
55
55
|
constructor(kwargs?: i.DisputeInterface);
|
|
56
56
|
toApiJson(): object;
|
|
57
57
|
}
|
|
58
|
-
export declare class DisputeEvidence implements i.DisputeEvidenceInterface {
|
|
59
|
-
customerCommunication: File;
|
|
60
|
-
customerSignature: File;
|
|
61
|
-
shippingDocumentation: File;
|
|
62
|
-
receipt: File;
|
|
63
|
-
uncategorizedFile: File;
|
|
64
|
-
billingAddress: string;
|
|
65
|
-
customerEmailAddress: string;
|
|
66
|
-
customerName: string;
|
|
67
|
-
productDescription: string;
|
|
68
|
-
static fromProto(proto: any): DisputeEvidence;
|
|
69
|
-
constructor(kwargs?: i.DisputeEvidenceInterface);
|
|
70
|
-
toApiJson(): object;
|
|
71
|
-
}
|
|
72
58
|
export declare class SubmitEvidenceRequestDisputeEvidence implements i.SubmitEvidenceRequestDisputeEvidenceInterface {
|
|
73
59
|
billingAddress: string;
|
|
74
60
|
customerEmailAddress: string;
|
|
@@ -83,6 +69,20 @@ export declare class SubmitEvidenceRequestDisputeEvidence implements i.SubmitEvi
|
|
|
83
69
|
constructor(kwargs?: i.SubmitEvidenceRequestDisputeEvidenceInterface);
|
|
84
70
|
toApiJson(): object;
|
|
85
71
|
}
|
|
72
|
+
export declare class DisputeEvidence implements i.DisputeEvidenceInterface {
|
|
73
|
+
customerCommunication: File;
|
|
74
|
+
customerSignature: File;
|
|
75
|
+
shippingDocumentation: File;
|
|
76
|
+
receipt: File;
|
|
77
|
+
uncategorizedFile: File;
|
|
78
|
+
billingAddress: string;
|
|
79
|
+
customerEmailAddress: string;
|
|
80
|
+
customerName: string;
|
|
81
|
+
productDescription: string;
|
|
82
|
+
static fromProto(proto: any): DisputeEvidence;
|
|
83
|
+
constructor(kwargs?: i.DisputeEvidenceInterface);
|
|
84
|
+
toApiJson(): object;
|
|
85
|
+
}
|
|
86
86
|
export declare class DisputeEvidenceDetails implements i.DisputeEvidenceDetailsInterface {
|
|
87
87
|
dueBy: Date;
|
|
88
88
|
hasEvidence: boolean;
|
|
@@ -140,6 +140,19 @@ export declare class GetRetailPaymentResponse implements i.GetRetailPaymentRespo
|
|
|
140
140
|
constructor(kwargs?: i.GetRetailPaymentResponseInterface);
|
|
141
141
|
toApiJson(): object;
|
|
142
142
|
}
|
|
143
|
+
export declare class GetWholesaleProviderPublicKeyRequest implements i.GetWholesaleProviderPublicKeyRequestInterface {
|
|
144
|
+
merchantId: string;
|
|
145
|
+
countryCode: string;
|
|
146
|
+
static fromProto(proto: any): GetWholesaleProviderPublicKeyRequest;
|
|
147
|
+
constructor(kwargs?: i.GetWholesaleProviderPublicKeyRequestInterface);
|
|
148
|
+
toApiJson(): object;
|
|
149
|
+
}
|
|
150
|
+
export declare class GetWholesaleProviderPublicKeyResponse implements i.GetWholesaleProviderPublicKeyResponseInterface {
|
|
151
|
+
publcApiKey: string;
|
|
152
|
+
static fromProto(proto: any): GetWholesaleProviderPublicKeyResponse;
|
|
153
|
+
constructor(kwargs?: i.GetWholesaleProviderPublicKeyResponseInterface);
|
|
154
|
+
toApiJson(): object;
|
|
155
|
+
}
|
|
143
156
|
export declare class ListPaymentRequestListPaymentFilters implements i.ListPaymentRequestListPaymentFiltersInterface {
|
|
144
157
|
merchantId: string;
|
|
145
158
|
allocationIds: string[];
|
|
@@ -12,6 +12,7 @@ export declare class ListPayoutsRequestFilters implements i.ListPayoutsRequestFi
|
|
|
12
12
|
export declare class ListPayoutsRequest implements i.ListPayoutsRequestInterface {
|
|
13
13
|
filters: ListPayoutsRequestFilters;
|
|
14
14
|
pagingOptions: PagedRequestOptions;
|
|
15
|
+
subsidiary: string;
|
|
15
16
|
static fromProto(proto: any): ListPayoutsRequest;
|
|
16
17
|
constructor(kwargs?: i.ListPayoutsRequestInterface);
|
|
17
18
|
toApiJson(): object;
|
|
@@ -41,6 +42,7 @@ export declare class ReconcilePayoutRequest implements i.ReconcilePayoutRequestI
|
|
|
41
42
|
bankReconciliationId: string;
|
|
42
43
|
payoutId: string;
|
|
43
44
|
allowRetries: boolean;
|
|
45
|
+
subsidiary: string;
|
|
44
46
|
static fromProto(proto: any): ReconcilePayoutRequest;
|
|
45
47
|
constructor(kwargs?: i.ReconcilePayoutRequestInterface);
|
|
46
48
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsResponse, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailStatusRequest, RetailStatusResponse, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest } from './objects/';
|
|
2
|
-
import { CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfirmRetailPaymentRequestInterface, GetRetailDisputeRequestInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentRequestInterface, ListPaymentRequestInterface, ListRetailDisputesRequestInterface, ListRetailPaymentsRequestInterface, PrepareRetailPaymentRequestInterface, RetailPaymentsEnabledRequestInterface, RetailStatusRequestInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface } from './interfaces/';
|
|
1
|
+
import { CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsResponse, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailStatusRequest, RetailStatusResponse, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest } from './objects/';
|
|
2
|
+
import { CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfirmRetailPaymentRequestInterface, GetRetailDisputeRequestInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentRequestInterface, GetWholesaleProviderPublicKeyRequestInterface, ListPaymentRequestInterface, ListRetailDisputesRequestInterface, ListRetailPaymentsRequestInterface, PrepareRetailPaymentRequestInterface, RetailPaymentsEnabledRequestInterface, RetailStatusRequestInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface } 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';
|
|
@@ -24,6 +24,7 @@ export declare class PaymentApiService {
|
|
|
24
24
|
updateRetailProvider(r: UpdateRetailPaymentProviderRequest | UpdateRetailPaymentProviderRequestInterface): Observable<HttpResponse<null>>;
|
|
25
25
|
getRetailProvider(r: GetRetailPaymentProviderRequest | GetRetailPaymentProviderRequestInterface): Observable<GetRetailPaymentProviderResponse>;
|
|
26
26
|
submitEvidence(r: SubmitEvidenceRequest | SubmitEvidenceRequestInterface): Observable<HttpResponse<null>>;
|
|
27
|
+
getWholesaleProviderPublicKey(r: GetWholesaleProviderPublicKeyRequest | GetWholesaleProviderPublicKeyRequestInterface): Observable<GetWholesaleProviderPublicKeyResponse>;
|
|
27
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentApiService, never>;
|
|
28
29
|
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentApiService>;
|
|
29
30
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendasta/billing",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^14.0.1",
|
|
6
|
+
"@angular/core": "^14.0.1"
|
|
7
7
|
},
|
|
8
8
|
"author": "Vendasta R&D",
|
|
9
9
|
"description": "SDK to interact with the billing service",
|
|
10
|
-
"typings": "
|
|
10
|
+
"typings": "index.d.ts",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"main": "index.js",
|
|
13
13
|
"module": "fesm2015/vendasta-billing.mjs",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"default": "./package.json"
|
|
21
21
|
},
|
|
22
22
|
".": {
|
|
23
|
-
"types": "./
|
|
23
|
+
"types": "./index.d.ts",
|
|
24
24
|
"esm2020": "./esm2020/vendasta-billing.mjs",
|
|
25
25
|
"es2020": "./fesm2020/vendasta-billing.mjs",
|
|
26
26
|
"es2015": "./fesm2015/vendasta-billing.mjs",
|