@vendasta/billing 14.5.0 → 14.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.
Files changed (81) hide show
  1. package/esm2022/lib/_internal/bank-reconciliation.api.service.mjs +7 -8
  2. package/esm2022/lib/_internal/billing.api.service.mjs +7 -8
  3. package/esm2022/lib/_internal/bundle.api.service.mjs +7 -8
  4. package/esm2022/lib/_internal/contract-document.api.service.mjs +7 -8
  5. package/esm2022/lib/_internal/contract.api.service.mjs +7 -8
  6. package/esm2022/lib/_internal/credit.api.service.mjs +7 -8
  7. package/esm2022/lib/_internal/discount.api.service.mjs +7 -8
  8. package/esm2022/lib/_internal/enums/index.mjs +2 -2
  9. package/esm2022/lib/_internal/enums/payment.enum.mjs +15 -1
  10. package/esm2022/lib/_internal/interfaces/api.interface.mjs +1 -1
  11. package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
  12. package/esm2022/lib/_internal/interfaces/payment-method.interface.mjs +1 -1
  13. package/esm2022/lib/_internal/interfaces/payment.interface.mjs +1 -1
  14. package/esm2022/lib/_internal/interfaces/recurring-invoice.interface.mjs +1 -1
  15. package/esm2022/lib/_internal/interfaces/retail-customer-configuration.interface.mjs +1 -1
  16. package/esm2022/lib/_internal/interfaces/subscription-preset.interface.mjs +1 -1
  17. package/esm2022/lib/_internal/invoice.api.service.mjs +7 -8
  18. package/esm2022/lib/_internal/merchant.api.service.mjs +7 -8
  19. package/esm2022/lib/_internal/objects/api.mjs +4 -1
  20. package/esm2022/lib/_internal/objects/index.mjs +2 -2
  21. package/esm2022/lib/_internal/objects/payment-method.mjs +4 -1
  22. package/esm2022/lib/_internal/objects/payment.mjs +42 -1
  23. package/esm2022/lib/_internal/objects/recurring-invoice.mjs +7 -1
  24. package/esm2022/lib/_internal/objects/retail-customer-configuration.mjs +14 -1
  25. package/esm2022/lib/_internal/objects/subscription-preset.mjs +19 -1
  26. package/esm2022/lib/_internal/payment-method.api.service.mjs +7 -8
  27. package/esm2022/lib/_internal/payment.api.service.mjs +7 -8
  28. package/esm2022/lib/_internal/pricing.api.service.mjs +7 -8
  29. package/esm2022/lib/_internal/product-summary.api.service.mjs +7 -8
  30. package/esm2022/lib/_internal/product.api.service.mjs +7 -8
  31. package/esm2022/lib/_internal/purchase.api.service.mjs +7 -8
  32. package/esm2022/lib/_internal/recurring-invoice.api.service.mjs +7 -8
  33. package/esm2022/lib/_internal/refund.api.service.mjs +7 -8
  34. package/esm2022/lib/_internal/retail-customer-configuration.api.service.mjs +7 -8
  35. package/esm2022/lib/_internal/sales-credit-note.api.service.mjs +7 -8
  36. package/esm2022/lib/_internal/sales-invoice.api.service.mjs +7 -8
  37. package/esm2022/lib/_internal/subscription-relationship.api.service.mjs +7 -8
  38. package/esm2022/lib/_internal/tax.api.service.mjs +7 -8
  39. package/esm2022/lib/_internal/vendor.api.service.mjs +7 -8
  40. package/fesm2022/vendasta-billing.mjs +215 -119
  41. package/fesm2022/vendasta-billing.mjs.map +1 -1
  42. package/lib/_internal/bank-reconciliation.api.service.d.ts +2 -5
  43. package/lib/_internal/billing.api.service.d.ts +3 -5
  44. package/lib/_internal/bundle.api.service.d.ts +3 -5
  45. package/lib/_internal/contract-document.api.service.d.ts +3 -5
  46. package/lib/_internal/contract.api.service.d.ts +3 -5
  47. package/lib/_internal/credit.api.service.d.ts +3 -5
  48. package/lib/_internal/discount.api.service.d.ts +3 -5
  49. package/lib/_internal/enums/index.d.ts +1 -1
  50. package/lib/_internal/enums/payment.enum.d.ts +12 -0
  51. package/lib/_internal/interfaces/api.interface.d.ts +1 -0
  52. package/lib/_internal/interfaces/index.d.ts +1 -1
  53. package/lib/_internal/interfaces/payment-method.interface.d.ts +1 -0
  54. package/lib/_internal/interfaces/payment.interface.d.ts +6 -0
  55. package/lib/_internal/interfaces/recurring-invoice.interface.d.ts +1 -0
  56. package/lib/_internal/interfaces/retail-customer-configuration.interface.d.ts +3 -0
  57. package/lib/_internal/interfaces/subscription-preset.interface.d.ts +3 -0
  58. package/lib/_internal/invoice.api.service.d.ts +3 -5
  59. package/lib/_internal/merchant.api.service.d.ts +3 -5
  60. package/lib/_internal/objects/api.d.ts +1 -0
  61. package/lib/_internal/objects/index.d.ts +1 -1
  62. package/lib/_internal/objects/payment-method.d.ts +1 -0
  63. package/lib/_internal/objects/payment.d.ts +9 -0
  64. package/lib/_internal/objects/recurring-invoice.d.ts +1 -0
  65. package/lib/_internal/objects/retail-customer-configuration.d.ts +3 -0
  66. package/lib/_internal/objects/subscription-preset.d.ts +3 -0
  67. package/lib/_internal/payment-method.api.service.d.ts +3 -5
  68. package/lib/_internal/payment.api.service.d.ts +3 -5
  69. package/lib/_internal/pricing.api.service.d.ts +3 -5
  70. package/lib/_internal/product-summary.api.service.d.ts +2 -5
  71. package/lib/_internal/product.api.service.d.ts +3 -5
  72. package/lib/_internal/purchase.api.service.d.ts +3 -5
  73. package/lib/_internal/recurring-invoice.api.service.d.ts +3 -5
  74. package/lib/_internal/refund.api.service.d.ts +3 -5
  75. package/lib/_internal/retail-customer-configuration.api.service.d.ts +3 -5
  76. package/lib/_internal/sales-credit-note.api.service.d.ts +3 -5
  77. package/lib/_internal/sales-invoice.api.service.d.ts +3 -5
  78. package/lib/_internal/subscription-relationship.api.service.d.ts +2 -5
  79. package/lib/_internal/tax.api.service.d.ts +3 -5
  80. package/lib/_internal/vendor.api.service.d.ts +2 -5
  81. package/package.json +1 -1
@@ -1,14 +1,11 @@
1
1
  import { ListPayoutsRequest, ListPayoutsResponse, ReconcilePayoutRequest, ReconcilePayoutResponse } from './objects/';
2
2
  import { ListPayoutsRequestInterface, ReconcilePayoutRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class BankReconciliationApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  listPayouts(r: ListPayoutsRequest | ListPayoutsRequestInterface): Observable<ListPayoutsResponse>;
14
11
  reconcilePayout(r: ReconcilePayoutRequest | ReconcilePayoutRequestInterface): Observable<ReconcilePayoutResponse>;
@@ -1,14 +1,12 @@
1
1
  import { BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, CanBillItemRequest, CanCreateSubscriptionsRequest, CanCreateSubscriptionsResponse, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, CreateMeteredComponentRequest, CreatePricingPlanProductRequest, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateUsageRequest, DeleteBillableItemRequest, DeletePricingPlanProductRequest, ExpireBillableItemRequest, ExportResponse, ExportSubscriptionsRequest, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GetBillableItemRequest, GetBillableItemResponse, GetMerchantWholesaleCurrencyRequest, GetMerchantWholesaleCurrencyResponse, 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, ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, ResetContractPricingRequest, ReverseSubscriptionRequest, SetAutoBillableRequest, SetRenewalStartRequest, StartRevRecTemplateBackfillRequest, TickComponentUsageRequest, UnexpireBillableItemRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse, UpdateSubscriptionRequest, UpdateSubscriptionResponse } from './objects/';
2
2
  import { BillItemRequestInterface, BillMultipleItemsRequestInterface, CanBillItemRequestInterface, CanCreateSubscriptionsRequestInterface, ChangeCustomUnitPriceRequestInterface, ChangeFrequencyRequestInterface, ChangeRenewalDateRequestInterface, CreateMeteredComponentRequestInterface, CreatePricingPlanProductRequestInterface, CreatePricingPlanRequestInterface, CreateSubscriptionRequestInterface, CreateSubscriptionsRequestInterface, CreateUsageRequestInterface, DeleteBillableItemRequestInterface, DeletePricingPlanProductRequestInterface, ExpireBillableItemRequestInterface, ExportSubscriptionsRequestInterface, GenerateBillableItemsCSVRequestInterface, GetBillableItemRequestInterface, GetMerchantWholesaleCurrencyRequestInterface, GetMultiContractsRequestInterface, GetMultiPricingPlanProductRequestInterface, GetMultiPricingPlanRequestInterface, GetMultiProductPricingRequestInterface, GetMultiProductRequestInterface, GetMultiSubscriptionsRequestInterface, GetPricingPlanProductRequestInterface, GetProductSummariesTotalRequestInterface, GetPurchaseCostRequestInterface, ListBillableItemsRequestInterface, ListContractsRequestInterface, ListMerchantBillingReportsRequestInterface, ListPricingPlanProductsRequestInterface, ListProductSummariesRequestInterface, ListProductsRequestInterface, ListSubscriptionsRequestInterface, ReplaceSubscriptionPresetsRequestInterface, ResetContractPricingRequestInterface, ReverseSubscriptionRequestInterface, SetAutoBillableRequestInterface, SetRenewalStartRequestInterface, StartRevRecTemplateBackfillRequestInterface, TickComponentUsageRequestInterface, UnexpireBillableItemRequestInterface, UpdatePricingPlanProductRequestInterface, UpdatePricingPlanRequestInterface, UpdateSubscriptionRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class BillingApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  canBillItem(r: CanBillItemRequest | CanBillItemRequestInterface): Observable<HttpResponse<null>>;
14
12
  canCreateSubscriptions(r: CanCreateSubscriptionsRequest | CanCreateSubscriptionsRequestInterface): Observable<CanCreateSubscriptionsResponse>;
@@ -1,14 +1,12 @@
1
1
  import { GetMultiBundleRequest, GetMultiBundleResponse, ListBundlesRequest, ListBundlesResponse, UpsertBundleRequest } from './objects/';
2
2
  import { GetMultiBundleRequestInterface, ListBundlesRequestInterface, UpsertBundleRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class BundleApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  upsert(r: UpsertBundleRequest | UpsertBundleRequestInterface): Observable<HttpResponse<null>>;
14
12
  getMulti(r: GetMultiBundleRequest | GetMultiBundleRequestInterface): Observable<GetMultiBundleResponse>;
@@ -1,14 +1,12 @@
1
1
  import { DeleteContractDocumentRequest, ListContractDocumentsRequest, ListContractDocumentsResponse } from './objects/';
2
2
  import { DeleteContractDocumentRequestInterface, ListContractDocumentsRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class ContractDocumentApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  list(r: ListContractDocumentsRequest | ListContractDocumentsRequestInterface): Observable<ListContractDocumentsResponse>;
14
12
  delete(r: DeleteContractDocumentRequest | DeleteContractDocumentRequestInterface): Observable<HttpResponse<null>>;
@@ -1,14 +1,12 @@
1
1
  import { CreateContractRequest, CreateContractResponse, GetContractRequest, GetContractResponse, UpdateContractRequest, UpdateContractResponse, UpdateContractSubscriptionRequest } from './objects/';
2
2
  import { CreateContractRequestInterface, GetContractRequestInterface, UpdateContractRequestInterface, UpdateContractSubscriptionRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class ContractApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  get(r: GetContractRequest | GetContractRequestInterface): Observable<GetContractResponse>;
14
12
  updateSubscription(r: UpdateContractSubscriptionRequest | UpdateContractSubscriptionRequestInterface): Observable<HttpResponse<null>>;
@@ -1,14 +1,12 @@
1
1
  import { AddCreditRequest, GetBalanceRequest, GetBalanceResponse } from './objects/';
2
2
  import { AddCreditRequestInterface, GetBalanceRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class CreditApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  add(r: AddCreditRequest | AddCreditRequestInterface): Observable<HttpResponse<null>>;
14
12
  getBalance(r: GetBalanceRequest | GetBalanceRequestInterface): Observable<GetBalanceResponse>;
@@ -1,14 +1,12 @@
1
1
  import { CreateDiscountRequest, CreateDiscountResponse, ExpireDiscountRequest, ListDiscountsRequest, ListDiscountsResponse, UpdateDiscountRequest } from './objects/';
2
2
  import { CreateDiscountRequestInterface, ExpireDiscountRequestInterface, ListDiscountsRequestInterface, UpdateDiscountRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class DiscountApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  list(r: ListDiscountsRequest | ListDiscountsRequestInterface): Observable<ListDiscountsResponse>;
14
12
  create(r: CreateDiscountRequest | CreateDiscountRequestInterface): Observable<CreateDiscountResponse>;
@@ -17,7 +17,7 @@ export { MerchantType, SearchMerchantsRequestSortBy, } from './merchant.enum';
17
17
  export { Month, } from './month.enum';
18
18
  export { MerchantReportStatus, } from './merchant-report.enum';
19
19
  export { CardType, } from './card.enum';
20
- export { DisputeStatus, PaymentAllocationType, RetailPaymentPaymentMethodDetailsType, PaymentSource, PaymentStatus, RetailPaymentReferenceType, RetailRefundFailureReason, RetailRefundReason, RetailRefundStatus, RetailTransactionType, } from './payment.enum';
20
+ export { DisputeStatus, PaymentAllocationType, PaymentErrorCode, PaymentIntentStatus, RetailPaymentPaymentMethodDetailsType, PaymentSource, PaymentStatus, RetailPaymentReferenceType, RetailRefundFailureReason, RetailRefundReason, RetailRefundStatus, RetailTransactionType, } from './payment.enum';
21
21
  export { ProductType, } from './product.enum';
22
22
  export { CreditType, PurchaseStatus, ListPurchaseRequestState, } from './purchase.enum';
23
23
  export { ReferenceType, RefundReason, RefundStatus, } from './refund.enum';
@@ -14,6 +14,18 @@ export declare enum PaymentAllocationType {
14
14
  PAYMENT_ALLOCATION_TYPE_PURCHASE = 1,
15
15
  PAYMENT_ALLOCATION_TYPE_INVOICE = 2
16
16
  }
17
+ export declare enum PaymentErrorCode {
18
+ PAYMENT_ERROR_CODE_UNSET = 0,
19
+ PAYMENT_ERROR_CODE_UNKNOWN = 1,
20
+ PAYMENT_ERROR_CODE_NO_ACCOUNT = 2,
21
+ PAYMENT_ERROR_CODE_INSUFFICIENT_FUNDS = 3,
22
+ PAYMENT_ERROR_CODE_DEBIT_NOT_AUTHORIZED = 4
23
+ }
24
+ export declare enum PaymentIntentStatus {
25
+ PAYMENT_INTENT_STATUS_UNSET = 0,
26
+ PAYMENT_INTENT_STATUS_PROCESSING = 1,
27
+ PAYMENT_INTENT_STATUS_SUCCEEDED = 2
28
+ }
17
29
  export declare enum RetailPaymentPaymentMethodDetailsType {
18
30
  PAYMENT_METHOD_DETAILS_TYPE_UNSET = 0,
19
31
  PAYMENT_METHOD_DETAILS_TYPE_CARD = 1,
@@ -67,6 +67,7 @@ export interface GetMultiRetailPricingResponseInterface {
67
67
  export interface GetMultiWholesaleCostRequestInterface {
68
68
  merchantId?: string;
69
69
  items?: WholesaleCostItemRequestInterface[];
70
+ customerId?: string;
70
71
  }
71
72
  export interface GetMultiWholesaleCostResponseInterface {
72
73
  costs?: GetPurchaseCostResponseInterface[];
@@ -26,7 +26,7 @@ export { ListPayoutsRequestFiltersInterface, ListPayoutsRequestInterface, ListPa
26
26
  export { CancelRetailBillingRequestInterface, ChargeSalesInvoiceRequestInterface, ConnectStripeAccountRequestInterface, ConnectStripeAccountResponseInterface, CreateMerchantRequestInterface, DefaultCustomerConfigurationInterface, GetMerchantRequestInterface, GetMerchantResponseInterface, GetMultiRetailConfigurationsRequestInterface, GetMultiRetailConfigurationsResponseInterface, GetOutstandingBalanceRequestInterface, GetOutstandingBalanceResponseInterface, GetPayoutSummaryRequestInterface, GetPayoutSummaryResponseInterface, GetRetailAccountBalanceRequestInterface, GetRetailAccountBalanceResponseInterface, GetRetailBalanceRequestInterface, GetRetailBalanceResponseInterface, GetRetailPayoutRequestInterface, GetRetailPayoutResponseInterface, CreateMerchantRequestIncludeInFinancialRecordsInterface, UpdateMerchantRequestIncludeInFinancialRecordsInterface, ListRetailPayoutsRequestInterface, ListRetailPayoutsResponseInterface, MerchantInterface, RetailConfigurationInterface, GetMultiRetailConfigurationsResponseRetailConfigurationsEntryInterface, SearchMerchantsRequestInterface, SearchMerchantsResponseInterface, SetAutoChargeInvoicesRequestInterface, SetAutoPostInvoicesRequestInterface, SetDefaultPaymentCardRequestInterface, SetHasAlternativePaymentMethodRequestInterface, SetIncludeInFinancialRecordsRequestInterface, UpdateMerchantRequestInterface, UpsertDefaultRetailCustomerConfigurationRequestInterface, UpsertRetailConfigurationRequestInterface, } from './merchant.interface';
27
27
  export { ListMerchantBillingReportsRequestInterface, ListMerchantBillingReportsResponseInterface, MerchantReportInterface, } from './merchant-report.interface';
28
28
  export { CreateMeteredComponentRequestInterface, MeteredComponentInterface, TickComponentUsageRequestInterface, } from './metered-component.interface';
29
- export { RetailPaymentACHDetailsInterface, RetailPaymentACSSDetailsInterface, AdjustmentInterface, 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, ListRetailTransactionsRequestListRetailTransactionsFiltersInterface, ListRetailTransactionsRequestInterface, ListRetailTransactionsResponseInterface, PrepareRetailPaymentRequestOrderInterface, PaymentInterface, PaymentPaymentAllocationInterface, PrepareRetailPaymentRequestInterface, PrepareRetailPaymentResponseInterface, RefundRetailPaymentRequestInterface, RefundRetailPaymentResponseInterface, RetailPaymentInterface, RetailPaymentsEnabledRequestInterface, RetailPaymentsEnabledResponseInterface, RetailRefundInterface, RetailStatusRequestInterface, RetailStatusResponseInterface, RetailTransactionInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface, RetailStatusResponseVerificationErrorInterface, RetailStatusResponseVerificationRequirementsInterface, } from './payment.interface';
29
+ export { RetailPaymentACHDetailsInterface, RetailPaymentACSSDetailsInterface, AdjustmentInterface, 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, ListRetailTransactionsRequestListRetailTransactionsFiltersInterface, ListRetailTransactionsRequestInterface, ListRetailTransactionsResponseInterface, PrepareRetailPaymentRequestOrderInterface, PaymentInterface, PaymentPaymentAllocationInterface, PaymentIntentInterface, PrepareRetailPaymentRequestInterface, PrepareRetailPaymentResponseInterface, RefundRetailPaymentRequestInterface, RefundRetailPaymentResponseInterface, RetailPaymentInterface, RetailPaymentsEnabledRequestInterface, RetailPaymentsEnabledResponseInterface, RetailRefundInterface, RetailStatusRequestInterface, RetailStatusResponseInterface, RetailTransactionInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface, RetailStatusResponseVerificationErrorInterface, RetailStatusResponseVerificationRequirementsInterface, } from './payment.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
32
  export { AppliedCreditInterface, ListPurchaseRequestListPurchaseBillingStrategyFilterInterface, ListPurchaseRequestListPurchaseFiltersInterface, ListPurchaseItemsRequestListPurchaseItemsFiltersInterface, ListPurchaseItemsRequestInterface, ListPurchaseItemsResponseInterface, ListPurchaseRequestInterface, ListPurchaseResponseInterface, PauseDunningRequestInterface, PurchaseInterface, PurchaseItemInterface, ResumeDunningRequestInterface, RetryPurchaseRequestInterface, StopDunningRequestInterface, VoidPurchaseRequestInterface, } from './purchase.interface';
@@ -18,4 +18,5 @@ export interface PaymentMethodInterface {
18
18
  card?: PaymentCardInterface;
19
19
  achDebit?: PaymentACHDebitInterface;
20
20
  acssDebit?: PaymentACSSDebitInterface;
21
+ default?: boolean;
21
22
  }
@@ -190,6 +190,11 @@ export interface PaymentPaymentAllocationInterface {
190
190
  amount?: number;
191
191
  type?: e.PaymentAllocationType;
192
192
  }
193
+ export interface PaymentIntentInterface {
194
+ paymentIntentStatus?: e.PaymentIntentStatus;
195
+ paymentMethodType?: e.PaymentMethodType;
196
+ lastErrorCode?: e.PaymentErrorCode;
197
+ }
193
198
  export interface PrepareRetailPaymentRequestInterface {
194
199
  merchantId?: string;
195
200
  customerId?: string;
@@ -199,6 +204,7 @@ export interface PrepareRetailPaymentRequestInterface {
199
204
  export interface PrepareRetailPaymentResponseInterface {
200
205
  stripeClientSecret?: string;
201
206
  intentId?: string;
207
+ paymentIntent?: PaymentIntentInterface;
202
208
  }
203
209
  export interface RefundRetailPaymentRequestInterface {
204
210
  merchantId?: string;
@@ -61,6 +61,7 @@ export interface RecurringInvoiceInterface {
61
61
  customerAddress?: RecurringInvoiceCustomerAddressInterface;
62
62
  netD?: number;
63
63
  additionalRecipientIds?: string[];
64
+ paymentMethodTypes?: e.PaymentMethodType[];
64
65
  }
65
66
  export interface RecurringInvoiceBundleInterface {
66
67
  name?: string;
@@ -1,3 +1,4 @@
1
+ import * as e from '../enums';
1
2
  export interface GetRetailCustomerConfigurationRequestInterface {
2
3
  customerId?: string;
3
4
  merchantId?: string;
@@ -19,6 +20,7 @@ export interface RetailCustomerConfigurationInterface {
19
20
  memo?: string;
20
21
  additionalContactIds?: string[];
21
22
  autoGenerateRetailSubscriptions?: boolean;
23
+ paymentMethodTypes?: e.PaymentMethodType[];
22
24
  }
23
25
  export interface UpsertRetailCustomerConfigurationRequestInterface {
24
26
  customerId?: string;
@@ -33,4 +35,5 @@ export interface UpsertRetailCustomerConfigurationRequestInterface {
33
35
  memo?: string;
34
36
  additionalContactIds?: string[];
35
37
  autoGenerateRetailSubscriptions?: boolean;
38
+ paymentMethodTypes?: e.PaymentMethodType[];
36
39
  }
@@ -10,4 +10,7 @@ export interface SubscriptionPresetInterface {
10
10
  salesOrderId?: string;
11
11
  paymentIntentId?: string;
12
12
  merchantId?: string;
13
+ billingStart?: Date;
14
+ renewalStart?: Date;
15
+ expiry?: Date;
13
16
  }
@@ -1,14 +1,12 @@
1
1
  import { AddBundleRequest, AddBundleResponse, AddLineItemRequest, AddLineItemResponse, ChargeInvoiceRequest, CreateInvoiceRequest, CreateInvoiceResponse, CreatePaymentLinkRequest, CreatePaymentLinkResponse, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DuplicateInvoiceRequest, DuplicateInvoiceResponse, GetInvoiceRequest, GetInvoiceResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, ListInvoicesRequest, ListInvoicesResponse, PayInvoiceRequest, RemoveBundleRequest, RemoveBundleResponse, SendInvoiceRequest, UpdateBundleRequest, UpdateBundleResponse, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, VoidInvoiceRequest } from './objects/';
2
2
  import { AddBundleRequestInterface, AddLineItemRequestInterface, ChargeInvoiceRequestInterface, CreateInvoiceRequestInterface, CreatePaymentLinkRequestInterface, DeleteInvoiceRequestInterface, DeleteLineItemRequestInterface, DuplicateInvoiceRequestInterface, GetInvoiceRequestInterface, GetUpcomingInvoicePreviewRequestInterface, ListInvoicesRequestInterface, PayInvoiceRequestInterface, RemoveBundleRequestInterface, SendInvoiceRequestInterface, UpdateBundleRequestInterface, UpdateDefaultTaxRatesRequestInterface, UpdateInvoiceRequestInterface, UpdateLineItemRequestInterface, VoidInvoiceRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class InvoiceApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  addBundle(r: AddBundleRequest | AddBundleRequestInterface): Observable<AddBundleResponse>;
14
12
  addLineItem(r: AddLineItemRequest | AddLineItemRequestInterface): Observable<AddLineItemResponse>;
@@ -1,14 +1,12 @@
1
1
  import { CancelRetailBillingRequest, ChargeSalesInvoiceRequest, CreateMerchantRequest, CreateMerchantServicesReportRun, CreatePaymentCardRequest, CreateStripeExternalAccountRequest, DeleteBankAccountRequest, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetStatisticsRequest, GetStatisticsResponse, ListBankAccountsRequest, ListBankAccountsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, MerchantServicesReportRun, SearchMerchantsRequest, SearchMerchantsResponse, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, UpdateMerchantRequest, UpdatePaymentCardRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest } from './objects/';
2
2
  import { CancelRetailBillingRequestInterface, ChargeSalesInvoiceRequestInterface, CreateMerchantRequestInterface, CreateMerchantServicesReportRunInterface, CreatePaymentCardRequestInterface, CreateStripeExternalAccountRequestInterface, DeleteBankAccountRequestInterface, GetMerchantRequestInterface, GetMerchantServicesReportRunInterface, GetMultiRetailConfigurationsRequestInterface, GetOutstandingBalanceRequestInterface, GetPayoutSummaryRequestInterface, GetRetailAccountBalanceRequestInterface, GetRetailBalanceRequestInterface, GetRetailPayoutRequestInterface, GetStatisticsRequestInterface, ListBankAccountsRequestInterface, ListPaymentCardsRequestInterface, ListRetailPayoutsRequestInterface, SearchMerchantsRequestInterface, SendSalesInvoiceEmailRequestInterface, SendSalesInvoiceReceiptEmailRequestInterface, SetAutoChargeInvoicesRequestInterface, SetAutoPostInvoicesRequestInterface, SetDefaultBankAccountRequestInterface, SetDefaultPaymentCardRequestInterface, SetHasAlternativePaymentMethodRequestInterface, SetIncludeInFinancialRecordsRequestInterface, UpdateMerchantRequestInterface, UpdatePaymentCardRequestInterface, UpsertDefaultRetailCustomerConfigurationRequestInterface, UpsertRetailConfigurationRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class MerchantApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  create(r: CreateMerchantRequest | CreateMerchantRequestInterface): Observable<HttpResponse<null>>;
14
12
  get(r: GetMerchantRequest | GetMerchantRequestInterface): Observable<GetMerchantResponse>;
@@ -102,6 +102,7 @@ export declare class GetMultiRetailPricingResponse implements i.GetMultiRetailPr
102
102
  export declare class GetMultiWholesaleCostRequest implements i.GetMultiWholesaleCostRequestInterface {
103
103
  merchantId: string;
104
104
  items: WholesaleCostItemRequest[];
105
+ customerId: string;
105
106
  static fromProto(proto: any): GetMultiWholesaleCostRequest;
106
107
  constructor(kwargs?: i.GetMultiWholesaleCostRequestInterface);
107
108
  toApiJson(): object;
@@ -26,7 +26,7 @@ export { ListPayoutsRequestFilters, ListPayoutsRequest, ListPayoutsResponse, Pay
26
26
  export { CancelRetailBillingRequest, ChargeSalesInvoiceRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, CreateMerchantRequest, DefaultCustomerConfiguration, GetMerchantRequest, GetMerchantResponse, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, CreateMerchantRequestIncludeInFinancialRecords, UpdateMerchantRequestIncludeInFinancialRecords, ListRetailPayoutsRequest, ListRetailPayoutsResponse, Merchant, RetailConfiguration, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, SearchMerchantsRequest, SearchMerchantsResponse, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultPaymentCardRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, UpdateMerchantRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, } from './merchant';
27
27
  export { ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, MerchantReport, } from './merchant-report';
28
28
  export { CreateMeteredComponentRequest, MeteredComponent, TickComponentUsageRequest, } from './metered-component';
29
- export { RetailPaymentACHDetails, RetailPaymentACSSDetails, Adjustment, 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, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsRequest, ListRetailTransactionsResponse, PrepareRetailPaymentRequestOrder, Payment, PaymentPaymentAllocation, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPayment, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailRefund, RetailStatusRequest, RetailStatusResponse, RetailTransaction, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, } from './payment';
29
+ export { RetailPaymentACHDetails, RetailPaymentACSSDetails, Adjustment, 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, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsRequest, ListRetailTransactionsResponse, PrepareRetailPaymentRequestOrder, Payment, PaymentPaymentAllocation, PaymentIntent, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPayment, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailRefund, RetailStatusRequest, RetailStatusResponse, RetailTransaction, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, } from './payment';
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
32
  export { AppliedCredit, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsRequest, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseResponse, PauseDunningRequest, Purchase, PurchaseItem, ResumeDunningRequest, RetryPurchaseRequest, StopDunningRequest, VoidPurchaseRequest, } from './purchase';
@@ -32,6 +32,7 @@ export declare class PaymentMethod implements i.PaymentMethodInterface {
32
32
  card: PaymentCard;
33
33
  achDebit: PaymentACHDebit;
34
34
  acssDebit: PaymentACSSDebit;
35
+ default: boolean;
35
36
  static fromProto(proto: any): PaymentMethod;
36
37
  constructor(kwargs?: i.PaymentMethodInterface);
37
38
  toApiJson(): object;
@@ -297,6 +297,14 @@ export declare class PaymentPaymentAllocation implements i.PaymentPaymentAllocat
297
297
  constructor(kwargs?: i.PaymentPaymentAllocationInterface);
298
298
  toApiJson(): object;
299
299
  }
300
+ export declare class PaymentIntent implements i.PaymentIntentInterface {
301
+ paymentIntentStatus: e.PaymentIntentStatus;
302
+ paymentMethodType: e.PaymentMethodType;
303
+ lastErrorCode: e.PaymentErrorCode;
304
+ static fromProto(proto: any): PaymentIntent;
305
+ constructor(kwargs?: i.PaymentIntentInterface);
306
+ toApiJson(): object;
307
+ }
300
308
  export declare class PrepareRetailPaymentRequest implements i.PrepareRetailPaymentRequestInterface {
301
309
  merchantId: string;
302
310
  customerId: string;
@@ -309,6 +317,7 @@ export declare class PrepareRetailPaymentRequest implements i.PrepareRetailPayme
309
317
  export declare class PrepareRetailPaymentResponse implements i.PrepareRetailPaymentResponseInterface {
310
318
  stripeClientSecret: string;
311
319
  intentId: string;
320
+ paymentIntent: PaymentIntent;
312
321
  static fromProto(proto: any): PrepareRetailPaymentResponse;
313
322
  constructor(kwargs?: i.PrepareRetailPaymentResponseInterface);
314
323
  toApiJson(): object;
@@ -87,6 +87,7 @@ export declare class RecurringInvoice implements i.RecurringInvoiceInterface {
87
87
  customerAddress: RecurringInvoiceCustomerAddress;
88
88
  netD: number;
89
89
  additionalRecipientIds: string[];
90
+ paymentMethodTypes: e.PaymentMethodType[];
90
91
  static fromProto(proto: any): RecurringInvoice;
91
92
  constructor(kwargs?: i.RecurringInvoiceInterface);
92
93
  toApiJson(): object;
@@ -1,4 +1,5 @@
1
1
  import * as i from '../interfaces';
2
+ import * as e from '../enums';
2
3
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
4
  export declare class GetRetailCustomerConfigurationRequest implements i.GetRetailCustomerConfigurationRequestInterface {
4
5
  customerId: string;
@@ -27,6 +28,7 @@ export declare class RetailCustomerConfiguration implements i.RetailCustomerConf
27
28
  memo: string;
28
29
  additionalContactIds: string[];
29
30
  autoGenerateRetailSubscriptions: boolean;
31
+ paymentMethodTypes: e.PaymentMethodType[];
30
32
  static fromProto(proto: any): RetailCustomerConfiguration;
31
33
  constructor(kwargs?: i.RetailCustomerConfigurationInterface);
32
34
  toApiJson(): object;
@@ -44,6 +46,7 @@ export declare class UpsertRetailCustomerConfigurationRequest implements i.Upser
44
46
  memo: string;
45
47
  additionalContactIds: string[];
46
48
  autoGenerateRetailSubscriptions: boolean;
49
+ paymentMethodTypes: e.PaymentMethodType[];
47
50
  static fromProto(proto: any): UpsertRetailCustomerConfigurationRequest;
48
51
  constructor(kwargs?: i.UpsertRetailCustomerConfigurationRequestInterface);
49
52
  toApiJson(): object;
@@ -18,6 +18,9 @@ export declare class SubscriptionPreset implements i.SubscriptionPresetInterface
18
18
  salesOrderId: string;
19
19
  paymentIntentId: string;
20
20
  merchantId: string;
21
+ billingStart: Date;
22
+ renewalStart: Date;
23
+ expiry: Date;
21
24
  static fromProto(proto: any): SubscriptionPreset;
22
25
  constructor(kwargs?: i.SubscriptionPresetInterface);
23
26
  toApiJson(): object;
@@ -1,14 +1,12 @@
1
1
  import { DeletePaymentCardRequest, ListPaymentCardsRequest, ListPaymentCardsResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, SetDefaultPaymentMethodRequest } from './objects/';
2
2
  import { DeletePaymentCardRequestInterface, ListPaymentCardsRequestInterface, ListPaymentMethodsRequestInterface, SetDefaultPaymentMethodRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class PaymentMethodApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  listPaymentCards(r: ListPaymentCardsRequest | ListPaymentCardsRequestInterface): Observable<ListPaymentCardsResponse>;
14
12
  deletePaymentCard(r: DeletePaymentCardRequest | DeletePaymentCardRequestInterface): Observable<HttpResponse<null>>;
@@ -1,14 +1,12 @@
1
1
  import { CloseRetailDisputeRequest, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, ListPaymentRequest, ListPaymentResponse, ListRetailDisputesRequest, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsResponse, ListRetailTransactionsRequest, ListRetailTransactionsResponse, PrepareRetailPaymentRequest, PrepareRetailPaymentResponse, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailStatusRequest, RetailStatusResponse, SubmitEvidenceRequest, UpdateRetailPaymentProviderRequest } from './objects/';
2
2
  import { CloseRetailDisputeRequestInterface, ConfigureRetailPaymentProviderRequestInterface, ConfirmRetailPaymentRequestInterface, GetRetailDisputeRequestInterface, GetRetailPaymentProviderRequestInterface, GetRetailPaymentRequestInterface, GetWholesaleProviderPublicKeyRequestInterface, ListPaymentRequestInterface, ListRetailDisputesRequestInterface, ListRetailPaymentsRequestInterface, ListRetailTransactionsRequestInterface, PrepareRetailPaymentRequestInterface, RefundRetailPaymentRequestInterface, RetailPaymentsEnabledRequestInterface, RetailStatusRequestInterface, SubmitEvidenceRequestInterface, UpdateRetailPaymentProviderRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class PaymentApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  list(r: ListPaymentRequest | ListPaymentRequestInterface): Observable<ListPaymentResponse>;
14
12
  getRetail(r: GetRetailPaymentRequest | GetRetailPaymentRequestInterface): Observable<GetRetailPaymentResponse>;
@@ -1,14 +1,12 @@
1
1
  import { DeleteRetailPricingRequest, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonResponse, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, UpsertRetailPricingRequest, UpsertWholesalePricingRequest } from './objects/';
2
2
  import { DeleteRetailPricingRequestInterface, GetMultiBundleRetailPricingRequestInterface, GetMultiRetailPricingRequestInterface, GetMultiWholesaleCostRequestInterface, GetPurchaseCostRequestInterface, GetWholesaleComparisonRequestInterface, SetWholesaleProductStrategyRequestInterface, SetWholesaleProductVolumeCommitmentRequestInterface, UpsertRetailPricingRequestInterface, UpsertWholesalePricingRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class PricingApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  getMultiRetail(r: GetMultiRetailPricingRequest | GetMultiRetailPricingRequestInterface): Observable<GetMultiRetailPricingResponse>;
14
12
  upsertRetail(r: UpsertRetailPricingRequest | UpsertRetailPricingRequestInterface): Observable<HttpResponse<null>>;
@@ -1,14 +1,11 @@
1
1
  import { ListSubscriptionRetentionByGroupResponse, ListSubscriptionRetentionBySKUResponse, ListSubscriptionRetentionRequest } from './objects/';
2
2
  import { ListSubscriptionRetentionRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class ProductSummaryApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  listSubscriptionRetentionByGroup(r: ListSubscriptionRetentionRequest | ListSubscriptionRetentionRequestInterface): Observable<ListSubscriptionRetentionByGroupResponse>;
14
11
  listSubscriptionRetentionBySku(r: ListSubscriptionRetentionRequest | ListSubscriptionRetentionRequestInterface): Observable<ListSubscriptionRetentionBySKUResponse>;
@@ -1,14 +1,12 @@
1
1
  import { CreateProductRequest, DeleteProductRequest, UpdateProductRequest } from './objects/';
2
2
  import { CreateProductRequestInterface, DeleteProductRequestInterface, UpdateProductRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class ProductApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  create(r: CreateProductRequest | CreateProductRequestInterface): Observable<HttpResponse<null>>;
14
12
  update(r: UpdateProductRequest | UpdateProductRequestInterface): Observable<HttpResponse<null>>;
@@ -1,14 +1,12 @@
1
1
  import { GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, ListPurchaseItemsRequest, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseResponse, PauseDunningRequest, ResumeDunningRequest, RetryPurchaseRequest, StopDunningRequest, VoidPurchaseRequest } from './objects/';
2
2
  import { GetMultiCustomerSummariesRequestInterface, ListPurchaseItemsRequestInterface, ListPurchaseRequestInterface, PauseDunningRequestInterface, ResumeDunningRequestInterface, RetryPurchaseRequestInterface, StopDunningRequestInterface, VoidPurchaseRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class PurchaseApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  list(r: ListPurchaseRequest | ListPurchaseRequestInterface): Observable<ListPurchaseResponse>;
14
12
  getMultiCustomerSummaries(r: GetMultiCustomerSummariesRequest | GetMultiCustomerSummariesRequestInterface): Observable<GetMultiCustomerSummariesResponse>;
@@ -1,14 +1,12 @@
1
1
  import { DeleteRecurringInvoiceRequest, GetRecurringInvoiceRequest, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, RecurringInvoice, UpdateRecurringInvoiceRequest } from './objects/';
2
2
  import { DeleteRecurringInvoiceRequestInterface, GetRecurringInvoiceRequestInterface, ListRecurringInvoicesRequestInterface, RecurringInvoiceInterface, UpdateRecurringInvoiceRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class RecurringInvoiceApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  createRecurringInvoice(r: RecurringInvoice | RecurringInvoiceInterface): Observable<RecurringInvoice>;
14
12
  updateRecurringInvoice(r: UpdateRecurringInvoiceRequest | UpdateRecurringInvoiceRequestInterface): Observable<RecurringInvoice>;
@@ -1,14 +1,12 @@
1
1
  import { CreateRefundRequest, ListRefundsRequest, ListRefundsResponse } from './objects/';
2
2
  import { CreateRefundRequestInterface, ListRefundsRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class RefundApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  create(r: CreateRefundRequest | CreateRefundRequestInterface): Observable<HttpResponse<null>>;
14
12
  list(r: ListRefundsRequest | ListRefundsRequestInterface): Observable<ListRefundsResponse>;
@@ -1,14 +1,12 @@
1
1
  import { GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, UpsertRetailCustomerConfigurationRequest } from './objects/';
2
2
  import { GetRetailCustomerConfigurationRequestInterface, UpsertRetailCustomerConfigurationRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class RetailCustomerConfigurationApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  get(r: GetRetailCustomerConfigurationRequest | GetRetailCustomerConfigurationRequestInterface): Observable<GetRetailCustomerConfigurationResponse>;
14
12
  upsert(r: UpsertRetailCustomerConfigurationRequest | UpsertRetailCustomerConfigurationRequestInterface): Observable<HttpResponse<null>>;
@@ -1,14 +1,12 @@
1
1
  import { CreateSalesCreditNoteRequest, ListSalesCreditNoteRequest, ListSalesCreditNoteResponse } from './objects/';
2
2
  import { CreateSalesCreditNoteRequestInterface, ListSalesCreditNoteRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class SalesCreditNoteApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  create(r: CreateSalesCreditNoteRequest | CreateSalesCreditNoteRequestInterface): Observable<HttpResponse<null>>;
14
12
  list(r: ListSalesCreditNoteRequest | ListSalesCreditNoteRequestInterface): Observable<ListSalesCreditNoteResponse>;