@vendasta/billing 9.0.0 → 9.3.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/annotations.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.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/objects/annotations.mjs +30 -0
- package/esm2020/lib/_internal/objects/api.mjs +51 -2
- package/esm2020/lib/_internal/objects/index.mjs +4 -3
- package/esm2020/lib/_internal/objects/product-pricing.mjs +33 -1
- package/esm2020/lib/_internal/objects/recurring-invoice.mjs +23 -10
- package/esm2020/lib/_internal/pricing.api.service.mjs +7 -2
- package/fesm2015/vendasta-billing.mjs +274 -146
- package/fesm2015/vendasta-billing.mjs.map +1 -1
- package/fesm2020/vendasta-billing.mjs +274 -146
- package/fesm2020/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/annotations.interface.d.ts +4 -0
- package/lib/_internal/interfaces/api.interface.d.ts +8 -1
- package/lib/_internal/interfaces/index.d.ts +3 -2
- package/lib/_internal/interfaces/product-pricing.interface.d.ts +5 -0
- package/lib/_internal/interfaces/recurring-invoice.interface.d.ts +5 -1
- package/lib/_internal/objects/annotations.d.ts +9 -0
- package/lib/_internal/objects/api.d.ts +14 -1
- package/lib/_internal/objects/index.d.ts +3 -2
- package/lib/_internal/objects/product-pricing.d.ts +8 -0
- package/lib/_internal/objects/recurring-invoice.d.ts +5 -1
- package/lib/_internal/pricing.api.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BundlePricingInterface } from './bundle.interface';
|
|
2
2
|
import { CommitmentInterface } from './commitment.interface';
|
|
3
3
|
import { PricingPlanProductPricingInterface } from './pricing-plan.interface';
|
|
4
|
-
import { ProductPricesInterface, ProductPricingInterface } from './product-pricing.interface';
|
|
4
|
+
import { ProductPricesInterface, WholesaleCostItemRequestInterface, ProductPricingInterface } from './product-pricing.interface';
|
|
5
5
|
import * as e from '../enums';
|
|
6
6
|
export interface DeleteRetailPricingRequestInterface {
|
|
7
7
|
merchantId?: string;
|
|
@@ -61,6 +61,13 @@ export interface GetMultiRetailPricingResponseInterface {
|
|
|
61
61
|
};
|
|
62
62
|
prices?: ProductPricesInterface[];
|
|
63
63
|
}
|
|
64
|
+
export interface GetMultiWholesaleCostRequestInterface {
|
|
65
|
+
merchantId?: string;
|
|
66
|
+
items?: WholesaleCostItemRequestInterface[];
|
|
67
|
+
}
|
|
68
|
+
export interface GetMultiWholesaleCostResponseInterface {
|
|
69
|
+
costs?: GetPurchaseCostResponseInterface[];
|
|
70
|
+
}
|
|
64
71
|
export interface GetPurchaseCostRequestInterface {
|
|
65
72
|
merchantId?: string;
|
|
66
73
|
sku?: string;
|
|
@@ -29,7 +29,7 @@ export { CreatePaymentCardRequestInterface, DeletePaymentCardRequestInterface, L
|
|
|
29
29
|
export { ComponentPricingInterface, CreatePricingPlanRequestInterface, CreatePricingPlanResponseInterface, GetMultiPricingPlanRequestInterface, GetMultiPricingPlanResponseInterface, PricingPlanInterface, PricingPlanProductPricingInterface, ProductPricingRuleInterface, UpdatePricingPlanRequestInterface, UpdatePricingPlanResponseInterface, } from './pricing-plan.interface';
|
|
30
30
|
export { CreatePricingPlanProductRequestInterface, CreatePricingPlanProductResponseInterface, DeletePricingPlanProductRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanProductResponseInterface, GetPricingPlanProductRequestInterface, GetPricingPlanProductResponseInterface, ListPricingPlanProductsRequestListPricingPlanProductsFiltersInterface, ListPricingPlanProductsRequestInterface, ListPricingPlanProductsResponseInterface, PricingPlanProductPricingEntryInterface, CreatePricingPlanProductRequestPricingEntryInterface, UpdatePricingPlanProductRequestPricingEntryInterface, PricingPlanProductInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanProductResponseInterface, UpsertWholesalePricingRequestInterface, } from './pricing-plan-product.interface';
|
|
31
31
|
export { CreateProductRequestInterface, DeleteProductRequestInterface, GetMultiProductRequestInterface, GetMultiProductResponseInterface, ListProductsRequestListProductsFiltersInterface, ListProductsRequestInterface, ListProductsResponseInterface, ProductInterface, GetMultiProductResponseProductsEntryInterface, UpdateProductRequestInterface, } from './product.interface';
|
|
32
|
-
export { ProductPricesInterface, ProductPricingInterface, } from './product-pricing.interface';
|
|
32
|
+
export { ProductPricesInterface, ProductPricingInterface, WholesaleCostItemRequestInterface, } from './product-pricing.interface';
|
|
33
33
|
export { AppliedCreditInterface, ListPurchaseRequestListPurchaseBillingStrategyFilterInterface, ListPurchaseRequestListPurchaseFiltersInterface, ListPurchaseItemsRequestListPurchaseItemsFiltersInterface, ListPurchaseItemsRequestInterface, ListPurchaseItemsResponseInterface, ListPurchaseRequestInterface, ListPurchaseResponseInterface, PurchaseInterface, PurchaseItemInterface, RetryPurchaseRequestInterface, VoidPurchaseRequestInterface, } from './purchase.interface';
|
|
34
34
|
export { CreateRefundRequestInterface, ListRefundsRequestInterface, ListRefundsResponseInterface, RefundInterface, } from './refund.interface';
|
|
35
35
|
export { CreateSalesCreditNoteRequestInterface, ListSalesCreditNoteRequestListSalesCreditNoteFiltersInterface, ListSalesCreditNoteRequestInterface, ListSalesCreditNoteResponseInterface, SalesCreditNoteInterface, } from './sales-credit-note.interface';
|
|
@@ -42,4 +42,5 @@ export { AddCreditRequestInterface, CreditBalanceInterface, GetBalanceRequestInt
|
|
|
42
42
|
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
43
|
export {} from './payment-processor.interface';
|
|
44
44
|
export { DeleteRecurringInvoiceRequestInterface, GetRecurringInvoiceRequestInterface, ListRecurringInvoicesRequestInterface, ListRecurringInvoicesResponseInterface, RecurringInvoiceInterface, RecurringInvoiceBundleInterface, RecurringInvoiceItemInterface, RecurringInvoiceLineItemInterface, UpdateRecurringInvoiceRequestInterface, } from './recurring-invoice.interface';
|
|
45
|
-
export {
|
|
45
|
+
export { AccessInterface, } from './annotations.interface';
|
|
46
|
+
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';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FieldMaskInterface } from './field-mask.interface';
|
|
1
2
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './common.interface';
|
|
2
3
|
import * as e from '../enums';
|
|
3
4
|
export interface DeleteRecurringInvoiceRequestInterface {
|
|
@@ -21,10 +22,10 @@ export interface RecurringInvoiceInterface {
|
|
|
21
22
|
updated?: Date;
|
|
22
23
|
customerId?: string;
|
|
23
24
|
status?: e.RecurringInvoiceStatus;
|
|
24
|
-
issuedAt?: Date;
|
|
25
25
|
nextIssue?: Date;
|
|
26
26
|
intervalCount?: number;
|
|
27
27
|
interval?: e.Interval;
|
|
28
|
+
repeatOnDayOfMonth?: number;
|
|
28
29
|
collectionMethod?: e.CollectionMethod;
|
|
29
30
|
recipientUserId?: string;
|
|
30
31
|
paymentProcessor?: e.PaymentProcessor;
|
|
@@ -32,6 +33,8 @@ export interface RecurringInvoiceInterface {
|
|
|
32
33
|
items?: RecurringInvoiceItemInterface[];
|
|
33
34
|
totalAmount?: number;
|
|
34
35
|
currencyCode?: string;
|
|
36
|
+
memo?: string;
|
|
37
|
+
endsAt?: Date;
|
|
35
38
|
}
|
|
36
39
|
export interface RecurringInvoiceBundleInterface {
|
|
37
40
|
name?: string;
|
|
@@ -51,4 +54,5 @@ export interface RecurringInvoiceLineItemInterface {
|
|
|
51
54
|
}
|
|
52
55
|
export interface UpdateRecurringInvoiceRequestInterface {
|
|
53
56
|
recurringInvoice?: RecurringInvoiceInterface;
|
|
57
|
+
updateMask?: FieldMaskInterface;
|
|
54
58
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class Access implements i.AccessInterface {
|
|
4
|
+
scope: string[];
|
|
5
|
+
public: boolean;
|
|
6
|
+
static fromProto(proto: any): Access;
|
|
7
|
+
constructor(kwargs?: i.AccessInterface);
|
|
8
|
+
toApiJson(): object;
|
|
9
|
+
}
|
|
@@ -2,7 +2,7 @@ import * as i from '../interfaces';
|
|
|
2
2
|
import { BundlePricing } from './bundle';
|
|
3
3
|
import { Commitment } from './commitment';
|
|
4
4
|
import { PricingPlanProductPricing } from './pricing-plan';
|
|
5
|
-
import { ProductPrices, ProductPricing } from './product-pricing';
|
|
5
|
+
import { ProductPrices, WholesaleCostItemRequest, ProductPricing } from './product-pricing';
|
|
6
6
|
import * as e from '../enums';
|
|
7
7
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
8
8
|
export declare class DeleteRetailPricingRequest implements i.DeleteRetailPricingRequestInterface {
|
|
@@ -96,6 +96,19 @@ export declare class GetMultiRetailPricingResponse implements i.GetMultiRetailPr
|
|
|
96
96
|
constructor(kwargs?: i.GetMultiRetailPricingResponseInterface);
|
|
97
97
|
toApiJson(): object;
|
|
98
98
|
}
|
|
99
|
+
export declare class GetMultiWholesaleCostRequest implements i.GetMultiWholesaleCostRequestInterface {
|
|
100
|
+
merchantId: string;
|
|
101
|
+
items: WholesaleCostItemRequest[];
|
|
102
|
+
static fromProto(proto: any): GetMultiWholesaleCostRequest;
|
|
103
|
+
constructor(kwargs?: i.GetMultiWholesaleCostRequestInterface);
|
|
104
|
+
toApiJson(): object;
|
|
105
|
+
}
|
|
106
|
+
export declare class GetMultiWholesaleCostResponse implements i.GetMultiWholesaleCostResponseInterface {
|
|
107
|
+
costs: GetPurchaseCostResponse[];
|
|
108
|
+
static fromProto(proto: any): GetMultiWholesaleCostResponse;
|
|
109
|
+
constructor(kwargs?: i.GetMultiWholesaleCostResponseInterface);
|
|
110
|
+
toApiJson(): object;
|
|
111
|
+
}
|
|
99
112
|
export declare class GetPurchaseCostRequest implements i.GetPurchaseCostRequestInterface {
|
|
100
113
|
merchantId: string;
|
|
101
114
|
sku: string;
|
|
@@ -29,7 +29,7 @@ export { CreatePaymentCardRequest, DeletePaymentCardRequest, ListPaymentCardsReq
|
|
|
29
29
|
export { ComponentPricing, CreatePricingPlanRequest, CreatePricingPlanResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, PricingPlan, PricingPlanProductPricing, ProductPricingRule, UpdatePricingPlanRequest, UpdatePricingPlanResponse, } from './pricing-plan';
|
|
30
30
|
export { CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, DeletePricingPlanProductRequest, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsRequest, ListPricingPlanProductsResponse, PricingPlanProductPricingEntry, CreatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductRequestPricingEntry, PricingPlanProduct, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpsertWholesalePricingRequest, } from './pricing-plan-product';
|
|
31
31
|
export { CreateProductRequest, DeleteProductRequest, GetMultiProductRequest, GetMultiProductResponse, ListProductsRequestListProductsFilters, ListProductsRequest, ListProductsResponse, Product, GetMultiProductResponseProductsEntry, UpdateProductRequest, } from './product';
|
|
32
|
-
export { ProductPrices, ProductPricing, } from './product-pricing';
|
|
32
|
+
export { ProductPrices, ProductPricing, WholesaleCostItemRequest, } from './product-pricing';
|
|
33
33
|
export { AppliedCredit, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsRequest, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseResponse, Purchase, PurchaseItem, RetryPurchaseRequest, VoidPurchaseRequest, } from './purchase';
|
|
34
34
|
export { CreateRefundRequest, ListRefundsRequest, ListRefundsResponse, Refund, } from './refund';
|
|
35
35
|
export { CreateSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteRequest, ListSalesCreditNoteResponse, SalesCreditNote, } from './sales-credit-note';
|
|
@@ -42,4 +42,5 @@ export { AddCreditRequest, CreditBalance, GetBalanceRequest, GetBalanceResponse,
|
|
|
42
42
|
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
43
|
export {} from './payment-processor';
|
|
44
44
|
export { DeleteRecurringInvoiceRequest, GetRecurringInvoiceRequest, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, RecurringInvoice, RecurringInvoiceBundle, RecurringInvoiceItem, RecurringInvoiceLineItem, UpdateRecurringInvoiceRequest, } from './recurring-invoice';
|
|
45
|
-
export {
|
|
45
|
+
export { Access, } from './annotations';
|
|
46
|
+
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';
|
|
@@ -25,3 +25,11 @@ export declare class ProductPricing implements i.ProductPricingInterface {
|
|
|
25
25
|
constructor(kwargs?: i.ProductPricingInterface);
|
|
26
26
|
toApiJson(): object;
|
|
27
27
|
}
|
|
28
|
+
export declare class WholesaleCostItemRequest implements i.WholesaleCostItemRequestInterface {
|
|
29
|
+
sku: string;
|
|
30
|
+
quantity: number;
|
|
31
|
+
frequency: e.Frequency;
|
|
32
|
+
static fromProto(proto: any): WholesaleCostItemRequest;
|
|
33
|
+
constructor(kwargs?: i.WholesaleCostItemRequestInterface);
|
|
34
|
+
toApiJson(): object;
|
|
35
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { FieldMask } from './field-mask';
|
|
2
3
|
import { PagedRequestOptions, PagedResponseMetadata } from './common';
|
|
3
4
|
import * as e from '../enums';
|
|
4
5
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -35,10 +36,10 @@ export declare class RecurringInvoice implements i.RecurringInvoiceInterface {
|
|
|
35
36
|
updated: Date;
|
|
36
37
|
customerId: string;
|
|
37
38
|
status: e.RecurringInvoiceStatus;
|
|
38
|
-
issuedAt: Date;
|
|
39
39
|
nextIssue: Date;
|
|
40
40
|
intervalCount: number;
|
|
41
41
|
interval: e.Interval;
|
|
42
|
+
repeatOnDayOfMonth: number;
|
|
42
43
|
collectionMethod: e.CollectionMethod;
|
|
43
44
|
recipientUserId: string;
|
|
44
45
|
paymentProcessor: e.PaymentProcessor;
|
|
@@ -46,6 +47,8 @@ export declare class RecurringInvoice implements i.RecurringInvoiceInterface {
|
|
|
46
47
|
items: RecurringInvoiceItem[];
|
|
47
48
|
totalAmount: number;
|
|
48
49
|
currencyCode: string;
|
|
50
|
+
memo: string;
|
|
51
|
+
endsAt: Date;
|
|
49
52
|
static fromProto(proto: any): RecurringInvoice;
|
|
50
53
|
constructor(kwargs?: i.RecurringInvoiceInterface);
|
|
51
54
|
toApiJson(): object;
|
|
@@ -77,6 +80,7 @@ export declare class RecurringInvoiceLineItem implements i.RecurringInvoiceLineI
|
|
|
77
80
|
}
|
|
78
81
|
export declare class UpdateRecurringInvoiceRequest implements i.UpdateRecurringInvoiceRequestInterface {
|
|
79
82
|
recurringInvoice: RecurringInvoice;
|
|
83
|
+
updateMask: FieldMask;
|
|
80
84
|
static fromProto(proto: any): UpdateRecurringInvoiceRequest;
|
|
81
85
|
constructor(kwargs?: i.UpdateRecurringInvoiceRequestInterface);
|
|
82
86
|
toApiJson(): object;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DeleteRetailPricingRequest, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonResponse, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, UpsertRetailPricingRequest, UpsertWholesalePricingRequest } from './objects/';
|
|
2
|
-
import { DeleteRetailPricingRequestInterface, GetMultiBundleRetailPricingRequestInterface, GetMultiRetailPricingRequestInterface, GetPurchaseCostRequestInterface, GetWholesaleComparisonRequestInterface, SetWholesaleProductStrategyRequestInterface, SetWholesaleProductVolumeCommitmentRequestInterface, UpsertRetailPricingRequestInterface, UpsertWholesalePricingRequestInterface } from './interfaces/';
|
|
1
|
+
import { DeleteRetailPricingRequest, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonResponse, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, UpsertRetailPricingRequest, UpsertWholesalePricingRequest } from './objects/';
|
|
2
|
+
import { DeleteRetailPricingRequestInterface, GetMultiBundleRetailPricingRequestInterface, GetMultiRetailPricingRequestInterface, GetMultiWholesaleCostRequestInterface, GetPurchaseCostRequestInterface, GetWholesaleComparisonRequestInterface, SetWholesaleProductStrategyRequestInterface, SetWholesaleProductVolumeCommitmentRequestInterface, UpsertRetailPricingRequestInterface, UpsertWholesalePricingRequestInterface } 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';
|
|
@@ -18,6 +18,7 @@ export declare class PricingApiService {
|
|
|
18
18
|
setWholesaleProductStrategy(r: SetWholesaleProductStrategyRequest | SetWholesaleProductStrategyRequestInterface): Observable<HttpResponse<null>>;
|
|
19
19
|
setWholesaleProductVolumeCommitment(r: SetWholesaleProductVolumeCommitmentRequest | SetWholesaleProductVolumeCommitmentRequestInterface): Observable<HttpResponse<null>>;
|
|
20
20
|
getPurchaseCost(r: GetPurchaseCostRequest | GetPurchaseCostRequestInterface): Observable<GetPurchaseCostResponse>;
|
|
21
|
+
getMultiWholesaleCost(r: GetMultiWholesaleCostRequest | GetMultiWholesaleCostRequestInterface): Observable<GetMultiWholesaleCostResponse>;
|
|
21
22
|
upsertWholesale(r: UpsertWholesalePricingRequest | UpsertWholesalePricingRequestInterface): Observable<HttpResponse<null>>;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingApiService, never>;
|
|
23
24
|
static ɵprov: i0.ɵɵInjectableDeclaration<PricingApiService>;
|