@vendasta/billing 11.8.0 → 11.9.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.
@@ -1,5 +1,5 @@
1
- import { BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, CanBillItemRequest, CanCreateSubscriptionsRequest, CanCreateSubscriptionsResponse, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, CreateMeteredComponentRequest, CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateSubscriptionRequest, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateUsageRequest, DeleteBillableItemRequest, DeletePricingPlanProductRequest, ExpireBillableItemRequest, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GetBillableItemRequest, GetBillableItemResponse, GetMultiContractsRequest, GetMultiContractsResponse, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiProductRequest, GetMultiProductResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, GetProductSummariesTotalRequest, GetProductSummariesTotalResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, ListBillableItemsRequest, ListBillableItemsResponse, ListContractsRequest, ListContractsResponse, ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, ListPricingPlanProductsRequest, ListPricingPlanProductsResponse, ListProductSummariesRequest, ListProductSummariesResponse, ListProductsRequest, ListProductsResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, ResetContractPricingRequest, ReverseSubscriptionRequest, SetRenewalStartRequest, StartRevRecTemplateBackfillRequest, TickComponentUsageRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse } from './objects/';
2
- import { BillItemRequestInterface, BillMultipleItemsRequestInterface, CanBillItemRequestInterface, CanCreateSubscriptionsRequestInterface, ChangeCustomUnitPriceRequestInterface, ChangeFrequencyRequestInterface, ChangeRenewalDateRequestInterface, CreateMeteredComponentRequestInterface, CreatePricingPlanProductRequestInterface, CreatePricingPlanRequestInterface, CreateSubscriptionRequestInterface, CreateSubscriptionsRequestInterface, CreateUsageRequestInterface, DeleteBillableItemRequestInterface, DeletePricingPlanProductRequestInterface, ExpireBillableItemRequestInterface, GenerateBillableItemsCSVRequestInterface, GetBillableItemRequestInterface, GetMultiContractsRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanRequestInterface, GetMultiProductPricingRequestInterface, GetMultiProductRequestInterface, GetMultiSubscriptionsRequestInterface, GetPricingPlanProductRequestInterface, GetProductSummariesTotalRequestInterface, GetPurchaseCostRequestInterface, ListBillableItemsRequestInterface, ListContractsRequestInterface, ListMerchantBillingReportsRequestInterface, ListPricingPlanProductsRequestInterface, ListProductSummariesRequestInterface, ListProductsRequestInterface, ListSubscriptionsRequestInterface, ResetContractPricingRequestInterface, ReverseSubscriptionRequestInterface, SetRenewalStartRequestInterface, StartRevRecTemplateBackfillRequestInterface, TickComponentUsageRequestInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanRequestInterface } from './interfaces/';
1
+ import { BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, CanBillItemRequest, CanCreateSubscriptionsRequest, CanCreateSubscriptionsResponse, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, CreateMeteredComponentRequest, CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateSubscriptionRequest, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateUsageRequest, DeleteBillableItemRequest, DeletePricingPlanProductRequest, ExpireBillableItemRequest, ExportResponse, ExportSubscriptionsRequest, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GetBillableItemRequest, GetBillableItemResponse, GetMultiContractsRequest, GetMultiContractsResponse, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiProductRequest, GetMultiProductResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, GetProductSummariesTotalRequest, GetProductSummariesTotalResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, ListBillableItemsRequest, ListBillableItemsResponse, ListContractsRequest, ListContractsResponse, ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, ListPricingPlanProductsRequest, ListPricingPlanProductsResponse, ListProductSummariesRequest, ListProductSummariesResponse, ListProductsRequest, ListProductsResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, ResetContractPricingRequest, ReverseSubscriptionRequest, SetRenewalStartRequest, StartRevRecTemplateBackfillRequest, TickComponentUsageRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse } from './objects/';
2
+ import { BillItemRequestInterface, BillMultipleItemsRequestInterface, CanBillItemRequestInterface, CanCreateSubscriptionsRequestInterface, ChangeCustomUnitPriceRequestInterface, ChangeFrequencyRequestInterface, ChangeRenewalDateRequestInterface, CreateMeteredComponentRequestInterface, CreatePricingPlanProductRequestInterface, CreatePricingPlanRequestInterface, CreateSubscriptionRequestInterface, CreateSubscriptionsRequestInterface, CreateUsageRequestInterface, DeleteBillableItemRequestInterface, DeletePricingPlanProductRequestInterface, ExpireBillableItemRequestInterface, ExportSubscriptionsRequestInterface, GenerateBillableItemsCSVRequestInterface, GetBillableItemRequestInterface, GetMultiContractsRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanRequestInterface, GetMultiProductPricingRequestInterface, GetMultiProductRequestInterface, GetMultiSubscriptionsRequestInterface, GetPricingPlanProductRequestInterface, GetProductSummariesTotalRequestInterface, GetPurchaseCostRequestInterface, ListBillableItemsRequestInterface, ListContractsRequestInterface, ListMerchantBillingReportsRequestInterface, ListPricingPlanProductsRequestInterface, ListProductSummariesRequestInterface, ListProductsRequestInterface, ListSubscriptionsRequestInterface, ResetContractPricingRequestInterface, ReverseSubscriptionRequestInterface, SetRenewalStartRequestInterface, StartRevRecTemplateBackfillRequestInterface, TickComponentUsageRequestInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanRequestInterface } 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';
@@ -21,6 +21,7 @@ export declare class BillingApiService {
21
21
  getBillableItem(r: GetBillableItemRequest | GetBillableItemRequestInterface): Observable<GetBillableItemResponse>;
22
22
  getMultiSubscriptions(r: GetMultiSubscriptionsRequest | GetMultiSubscriptionsRequestInterface): Observable<GetMultiSubscriptionsResponse>;
23
23
  listSubscriptions(r: ListSubscriptionsRequest | ListSubscriptionsRequestInterface): Observable<ListSubscriptionsResponse>;
24
+ exportSubscriptions(r: ExportSubscriptionsRequest | ExportSubscriptionsRequestInterface): Observable<ExportResponse>;
24
25
  listRetailSubscriptions(r: ListSubscriptionsRequest | ListSubscriptionsRequestInterface): Observable<ListSubscriptionsResponse>;
25
26
  listBillableItems(r: ListBillableItemsRequest | ListBillableItemsRequestInterface): Observable<ListBillableItemsResponse>;
26
27
  expireBillableItem(r: ExpireBillableItemRequest | ExpireBillableItemRequestInterface): Observable<HttpResponse<null>>;
@@ -67,6 +67,9 @@ export interface ExpireBillableItemRequestInterface {
67
67
  orderId?: string;
68
68
  expiry?: Date;
69
69
  }
70
+ export interface ExportSubscriptionsRequestInterface {
71
+ filters?: ListSubscriptionsRequestFiltersInterface;
72
+ }
70
73
  export interface ListSubscriptionsRequestFiltersInterface {
71
74
  skus?: string[];
72
75
  merchantId?: string;
@@ -1,3 +1,5 @@
1
+ export interface ExportResponseInterface {
2
+ }
1
3
  export interface PagedRequestOptionsInterface {
2
4
  cursor?: string;
3
5
  pageSize?: number;
@@ -1,5 +1,5 @@
1
- export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './common.interface';
2
- export { BillItemRequestInterface, BillMultipleItemsRequestInterface, BillMultipleItemsResponseInterface, BillableItemInterface, CanBillItemRequestInterface, CreateUsageRequestInterface, BillableItemCustomerAddressInterface, DeleteBillableItemRequestInterface, ExpireBillableItemRequestInterface, ListSubscriptionsRequestFiltersInterface, ListBillableItemsRequestFiltersInterface, GetBillableItemRequestInterface, GetBillableItemResponseInterface, GetMultiSubscriptionsRequestInterface, GetMultiSubscriptionsResponseInterface, ItemInterface, GetMultiSubscriptionsRequestKeyInterface, ListBillableItemsRequestInterface, ListBillableItemsResponseInterface, ListSubscriptionsRequestInterface, ListSubscriptionsResponseInterface, } from './billable-item.interface';
1
+ export { ExportResponseInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './common.interface';
2
+ export { BillItemRequestInterface, BillMultipleItemsRequestInterface, BillMultipleItemsResponseInterface, BillableItemInterface, CanBillItemRequestInterface, CreateUsageRequestInterface, BillableItemCustomerAddressInterface, DeleteBillableItemRequestInterface, ExpireBillableItemRequestInterface, ExportSubscriptionsRequestInterface, ListSubscriptionsRequestFiltersInterface, ListBillableItemsRequestFiltersInterface, GetBillableItemRequestInterface, GetBillableItemResponseInterface, GetMultiSubscriptionsRequestInterface, GetMultiSubscriptionsResponseInterface, ItemInterface, GetMultiSubscriptionsRequestKeyInterface, ListBillableItemsRequestInterface, ListBillableItemsResponseInterface, ListSubscriptionsRequestInterface, ListSubscriptionsResponseInterface, } from './billable-item.interface';
3
3
  export { AppliedDiscountInterface, } from './applied-discount.interface';
4
4
  export { BundleInterface, BundleItemInterface, BundlePricingInterface, GetMultiBundleResponseBundlesEntryInterface, ListBundlesRequestFiltersInterface, GetMultiBundleRequestInterface, GetMultiBundleResponseInterface, ListBundlesRequestInterface, ListBundlesResponseInterface, BundleItemPriceInterface, BundlePricingPriceAndFrequencyInterface, UpsertBundleRequestInterface, } from './bundle.interface';
5
5
  export { CommitmentInterface, } from './commitment.interface';
@@ -96,6 +96,12 @@ export declare class ExpireBillableItemRequest implements i.ExpireBillableItemRe
96
96
  constructor(kwargs?: i.ExpireBillableItemRequestInterface);
97
97
  toApiJson(): object;
98
98
  }
99
+ export declare class ExportSubscriptionsRequest implements i.ExportSubscriptionsRequestInterface {
100
+ filters: ListSubscriptionsRequestFilters;
101
+ static fromProto(proto: any): ExportSubscriptionsRequest;
102
+ constructor(kwargs?: i.ExportSubscriptionsRequestInterface);
103
+ toApiJson(): object;
104
+ }
99
105
  export declare class ListSubscriptionsRequestFilters implements i.ListSubscriptionsRequestFiltersInterface {
100
106
  skus: string[];
101
107
  merchantId: string;
@@ -1,5 +1,10 @@
1
1
  import * as i from '../interfaces';
2
2
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
+ export declare class ExportResponse implements i.ExportResponseInterface {
4
+ static fromProto(proto: any): ExportResponse;
5
+ constructor(kwargs?: i.ExportResponseInterface);
6
+ toApiJson(): object;
7
+ }
3
8
  export declare class PagedRequestOptions implements i.PagedRequestOptionsInterface {
4
9
  cursor: string;
5
10
  pageSize: number;
@@ -1,5 +1,5 @@
1
- export { PagedRequestOptions, PagedResponseMetadata, } from './common';
2
- export { BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, CanBillItemRequest, CreateUsageRequest, BillableItemCustomerAddress, DeleteBillableItemRequest, ExpireBillableItemRequest, ListSubscriptionsRequestFilters, ListBillableItemsRequestFilters, GetBillableItemRequest, GetBillableItemResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsResponse, Item, GetMultiSubscriptionsRequestKey, ListBillableItemsRequest, ListBillableItemsResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, } from './billable-item';
1
+ export { ExportResponse, PagedRequestOptions, PagedResponseMetadata, } from './common';
2
+ export { BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, CanBillItemRequest, CreateUsageRequest, BillableItemCustomerAddress, DeleteBillableItemRequest, ExpireBillableItemRequest, ExportSubscriptionsRequest, ListSubscriptionsRequestFilters, ListBillableItemsRequestFilters, GetBillableItemRequest, GetBillableItemResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsResponse, Item, GetMultiSubscriptionsRequestKey, ListBillableItemsRequest, ListBillableItemsResponse, ListSubscriptionsRequest, ListSubscriptionsResponse, } from './billable-item';
3
3
  export { AppliedDiscount, } from './applied-discount';
4
4
  export { Bundle, BundleItem, BundlePricing, GetMultiBundleResponseBundlesEntry, ListBundlesRequestFilters, GetMultiBundleRequest, GetMultiBundleResponse, ListBundlesRequest, ListBundlesResponse, BundleItemPrice, BundlePricingPriceAndFrequency, UpsertBundleRequest, } from './bundle';
5
5
  export { Commitment, } from './commitment';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "11.8.0",
3
+ "version": "11.9.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"