@vendasta/billing 10.11.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/esm2020/lib/_generated/host.service.mjs +3 -3
  2. package/esm2020/lib/_internal/bank-reconciliation.api.service.mjs +3 -3
  3. package/esm2020/lib/_internal/billing.api.service.mjs +9 -4
  4. package/esm2020/lib/_internal/bundle.api.service.mjs +3 -3
  5. package/esm2020/lib/_internal/contract-document.api.service.mjs +3 -3
  6. package/esm2020/lib/_internal/contract.api.service.mjs +3 -3
  7. package/esm2020/lib/_internal/credit.api.service.mjs +3 -3
  8. package/esm2020/lib/_internal/discount.api.service.mjs +3 -3
  9. package/esm2020/lib/_internal/interfaces/contract.interface.mjs +1 -1
  10. package/esm2020/lib/_internal/invoice-template.api.service.mjs +3 -3
  11. package/esm2020/lib/_internal/invoice.api.service.mjs +3 -3
  12. package/esm2020/lib/_internal/merchant.api.service.mjs +3 -3
  13. package/esm2020/lib/_internal/objects/contract.mjs +4 -1
  14. package/esm2020/lib/_internal/payment-method.api.service.mjs +3 -3
  15. package/esm2020/lib/_internal/payment.api.service.mjs +3 -3
  16. package/esm2020/lib/_internal/pricing.api.service.mjs +3 -3
  17. package/esm2020/lib/_internal/product-summary.api.service.mjs +3 -3
  18. package/esm2020/lib/_internal/product.api.service.mjs +3 -3
  19. package/esm2020/lib/_internal/purchase.api.service.mjs +3 -3
  20. package/esm2020/lib/_internal/recurring-invoice.api.service.mjs +3 -3
  21. package/esm2020/lib/_internal/refund.api.service.mjs +3 -3
  22. package/esm2020/lib/_internal/retail-customer-configuration.api.service.mjs +3 -3
  23. package/esm2020/lib/_internal/sales-credit-note.api.service.mjs +3 -3
  24. package/esm2020/lib/_internal/sales-invoice.api.service.mjs +3 -3
  25. package/esm2020/lib/_internal/tax.api.service.mjs +3 -3
  26. package/esm2020/lib/_internal/vendor.api.service.mjs +3 -3
  27. package/fesm2015/vendasta-billing.mjs +80 -72
  28. package/fesm2015/vendasta-billing.mjs.map +1 -1
  29. package/fesm2020/vendasta-billing.mjs +80 -72
  30. package/fesm2020/vendasta-billing.mjs.map +1 -1
  31. package/lib/_internal/billing.api.service.d.ts +1 -0
  32. package/lib/_internal/interfaces/contract.interface.d.ts +1 -0
  33. package/lib/_internal/objects/contract.d.ts +1 -0
  34. package/package.json +3 -3
  35. package/src/README.md +0 -1
@@ -2264,6 +2264,9 @@ class UpdateContractRequest {
2264
2264
  if (typeof this.mutations !== 'undefined' && this.mutations !== null) {
2265
2265
  toReturn['mutations'] = 'toApiJson' in this.mutations ? this.mutations.toApiJson() : this.mutations;
2266
2266
  }
2267
+ if (typeof this.performedBy !== 'undefined') {
2268
+ toReturn['performedBy'] = this.performedBy;
2269
+ }
2267
2270
  return toReturn;
2268
2271
  }
2269
2272
  }
@@ -14308,9 +14311,9 @@ class HostService {
14308
14311
  return 'https://' + this.host;
14309
14312
  }
14310
14313
  }
14311
- HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14312
- HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: HostService, providedIn: 'root' });
14313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: HostService, decorators: [{
14314
+ HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14315
+ HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: HostService, providedIn: 'root' });
14316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: HostService, decorators: [{
14314
14317
  type: Injectable,
14315
14318
  args: [{ providedIn: 'root' }]
14316
14319
  }] });
@@ -14341,9 +14344,9 @@ class BankReconciliationApiService {
14341
14344
  .pipe(map(resp => ReconcilePayoutResponse.fromProto(resp)));
14342
14345
  }
14343
14346
  }
14344
- BankReconciliationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BankReconciliationApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14345
- BankReconciliationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BankReconciliationApiService, providedIn: 'root' });
14346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BankReconciliationApiService, decorators: [{
14347
+ BankReconciliationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BankReconciliationApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14348
+ BankReconciliationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BankReconciliationApiService, providedIn: 'root' });
14349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BankReconciliationApiService, decorators: [{
14347
14350
  type: Injectable,
14348
14351
  args: [{ providedIn: 'root' }]
14349
14352
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -14413,6 +14416,11 @@ class BillingApiService {
14413
14416
  return this.http.post(this._host + "/billing.v1.Billing/ListSubscriptions", request.toApiJson(), this.apiOptions())
14414
14417
  .pipe(map(resp => ListSubscriptionsResponse.fromProto(resp)));
14415
14418
  }
14419
+ listRetailSubscriptions(r) {
14420
+ const request = (r.toApiJson) ? r : new ListSubscriptionsRequest(r);
14421
+ return this.http.post(this._host + "/billing.v1.Billing/ListRetailSubscriptions", request.toApiJson(), this.apiOptions())
14422
+ .pipe(map(resp => ListSubscriptionsResponse.fromProto(resp)));
14423
+ }
14416
14424
  listBillableItems(r) {
14417
14425
  const request = (r.toApiJson) ? r : new ListBillableItemsRequest(r);
14418
14426
  return this.http.post(this._host + "/billing.v1.Billing/ListBillableItems", request.toApiJson(), this.apiOptions())
@@ -14553,9 +14561,9 @@ class BillingApiService {
14553
14561
  return this.http.post(this._host + "/billing.v1.Billing/StartRevRecTemplateBackfill", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
14554
14562
  }
14555
14563
  }
14556
- BillingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BillingApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14557
- BillingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BillingApiService, providedIn: 'root' });
14558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BillingApiService, decorators: [{
14564
+ BillingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BillingApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14565
+ BillingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BillingApiService, providedIn: 'root' });
14566
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BillingApiService, decorators: [{
14559
14567
  type: Injectable,
14560
14568
  args: [{ providedIn: 'root' }]
14561
14569
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -14590,9 +14598,9 @@ class BundleApiService {
14590
14598
  .pipe(map(resp => ListBundlesResponse.fromProto(resp)));
14591
14599
  }
14592
14600
  }
14593
- BundleApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BundleApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14594
- BundleApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BundleApiService, providedIn: 'root' });
14595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: BundleApiService, decorators: [{
14601
+ BundleApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BundleApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14602
+ BundleApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BundleApiService, providedIn: 'root' });
14603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: BundleApiService, decorators: [{
14596
14604
  type: Injectable,
14597
14605
  args: [{ providedIn: 'root' }]
14598
14606
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -14622,9 +14630,9 @@ class ContractDocumentApiService {
14622
14630
  return this.http.post(this._host + "/billing.v1.ContractDocumentService/Delete", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
14623
14631
  }
14624
14632
  }
14625
- ContractDocumentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContractDocumentApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14626
- ContractDocumentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContractDocumentApiService, providedIn: 'root' });
14627
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContractDocumentApiService, decorators: [{
14633
+ ContractDocumentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContractDocumentApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14634
+ ContractDocumentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContractDocumentApiService, providedIn: 'root' });
14635
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContractDocumentApiService, decorators: [{
14628
14636
  type: Injectable,
14629
14637
  args: [{ providedIn: 'root' }]
14630
14638
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -14664,9 +14672,9 @@ class ContractApiService {
14664
14672
  .pipe(map(resp => UpdateContractResponse.fromProto(resp)));
14665
14673
  }
14666
14674
  }
14667
- ContractApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContractApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14668
- ContractApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContractApiService, providedIn: 'root' });
14669
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ContractApiService, decorators: [{
14675
+ ContractApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContractApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14676
+ ContractApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContractApiService, providedIn: 'root' });
14677
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ContractApiService, decorators: [{
14670
14678
  type: Injectable,
14671
14679
  args: [{ providedIn: 'root' }]
14672
14680
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -14696,9 +14704,9 @@ class CreditApiService {
14696
14704
  .pipe(map(resp => GetBalanceResponse.fromProto(resp)));
14697
14705
  }
14698
14706
  }
14699
- CreditApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: CreditApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14700
- CreditApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: CreditApiService, providedIn: 'root' });
14701
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: CreditApiService, decorators: [{
14707
+ CreditApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: CreditApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14708
+ CreditApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: CreditApiService, providedIn: 'root' });
14709
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: CreditApiService, decorators: [{
14702
14710
  type: Injectable,
14703
14711
  args: [{ providedIn: 'root' }]
14704
14712
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -14736,9 +14744,9 @@ class DiscountApiService {
14736
14744
  return this.http.post(this._host + "/billing.v1.DiscountService/Expire", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
14737
14745
  }
14738
14746
  }
14739
- DiscountApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DiscountApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14740
- DiscountApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DiscountApiService, providedIn: 'root' });
14741
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DiscountApiService, decorators: [{
14747
+ DiscountApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DiscountApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14748
+ DiscountApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DiscountApiService, providedIn: 'root' });
14749
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: DiscountApiService, decorators: [{
14742
14750
  type: Injectable,
14743
14751
  args: [{ providedIn: 'root' }]
14744
14752
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -14844,9 +14852,9 @@ class InvoiceApiService {
14844
14852
  .pipe(map(resp => CreatePaymentLinkResponse.fromProto(resp)));
14845
14853
  }
14846
14854
  }
14847
- InvoiceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: InvoiceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14848
- InvoiceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: InvoiceApiService, providedIn: 'root' });
14849
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: InvoiceApiService, decorators: [{
14855
+ InvoiceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: InvoiceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14856
+ InvoiceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: InvoiceApiService, providedIn: 'root' });
14857
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: InvoiceApiService, decorators: [{
14850
14858
  type: Injectable,
14851
14859
  args: [{ providedIn: 'root' }]
14852
14860
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -14916,9 +14924,9 @@ class InvoiceTemplateApiService {
14916
14924
  .pipe(map(resp => UpdateTemplateDefaultTaxRatesResponse.fromProto(resp)));
14917
14925
  }
14918
14926
  }
14919
- InvoiceTemplateApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: InvoiceTemplateApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14920
- InvoiceTemplateApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: InvoiceTemplateApiService, providedIn: 'root' });
14921
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: InvoiceTemplateApiService, decorators: [{
14927
+ InvoiceTemplateApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: InvoiceTemplateApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
14928
+ InvoiceTemplateApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: InvoiceTemplateApiService, providedIn: 'root' });
14929
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: InvoiceTemplateApiService, decorators: [{
14922
14930
  type: Injectable,
14923
14931
  args: [{ providedIn: 'root' }]
14924
14932
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15077,9 +15085,9 @@ class MerchantApiService {
15077
15085
  .pipe(map(resp => GetRetailAccountBalanceResponse.fromProto(resp)));
15078
15086
  }
15079
15087
  }
15080
- MerchantApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: MerchantApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15081
- MerchantApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: MerchantApiService, providedIn: 'root' });
15082
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: MerchantApiService, decorators: [{
15088
+ MerchantApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MerchantApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15089
+ MerchantApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MerchantApiService, providedIn: 'root' });
15090
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: MerchantApiService, decorators: [{
15083
15091
  type: Injectable,
15084
15092
  args: [{ providedIn: 'root' }]
15085
15093
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15113,9 +15121,9 @@ class PaymentMethodApiService {
15113
15121
  return this.http.post(this._host + "/billing.v1.PaymentMethodService/SetDefaultPaymentMethod", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
15114
15122
  }
15115
15123
  }
15116
- PaymentMethodApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PaymentMethodApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15117
- PaymentMethodApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PaymentMethodApiService, providedIn: 'root' });
15118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PaymentMethodApiService, decorators: [{
15124
+ PaymentMethodApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PaymentMethodApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15125
+ PaymentMethodApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PaymentMethodApiService, providedIn: 'root' });
15126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PaymentMethodApiService, decorators: [{
15119
15127
  type: Injectable,
15120
15128
  args: [{ providedIn: 'root' }]
15121
15129
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15217,9 +15225,9 @@ class PaymentApiService {
15217
15225
  .pipe(map(resp => RefundRetailPaymentResponse.fromProto(resp)));
15218
15226
  }
15219
15227
  }
15220
- PaymentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PaymentApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15221
- PaymentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PaymentApiService, providedIn: 'root' });
15222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PaymentApiService, decorators: [{
15228
+ PaymentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PaymentApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15229
+ PaymentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PaymentApiService, providedIn: 'root' });
15230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PaymentApiService, decorators: [{
15223
15231
  type: Injectable,
15224
15232
  args: [{ providedIn: 'root' }]
15225
15233
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15285,9 +15293,9 @@ class PricingApiService {
15285
15293
  return this.http.post(this._host + "/billing.v1.PricingService/UpsertWholesale", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
15286
15294
  }
15287
15295
  }
15288
- PricingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PricingApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15289
- PricingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PricingApiService, providedIn: 'root' });
15290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PricingApiService, decorators: [{
15296
+ PricingApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PricingApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15297
+ PricingApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PricingApiService, providedIn: 'root' });
15298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PricingApiService, decorators: [{
15291
15299
  type: Injectable,
15292
15300
  args: [{ providedIn: 'root' }]
15293
15301
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15320,9 +15328,9 @@ class ProductApiService {
15320
15328
  return this.http.post(this._host + "/billing.v1.ProductService/Delete", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
15321
15329
  }
15322
15330
  }
15323
- ProductApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ProductApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15324
- ProductApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ProductApiService, providedIn: 'root' });
15325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ProductApiService, decorators: [{
15331
+ ProductApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ProductApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15332
+ ProductApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ProductApiService, providedIn: 'root' });
15333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ProductApiService, decorators: [{
15326
15334
  type: Injectable,
15327
15335
  args: [{ providedIn: 'root' }]
15328
15336
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15353,9 +15361,9 @@ class ProductSummaryApiService {
15353
15361
  .pipe(map(resp => ListSubscriptionRetentionBySKUResponse.fromProto(resp)));
15354
15362
  }
15355
15363
  }
15356
- ProductSummaryApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ProductSummaryApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15357
- ProductSummaryApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ProductSummaryApiService, providedIn: 'root' });
15358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: ProductSummaryApiService, decorators: [{
15364
+ ProductSummaryApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ProductSummaryApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15365
+ ProductSummaryApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ProductSummaryApiService, providedIn: 'root' });
15366
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: ProductSummaryApiService, decorators: [{
15359
15367
  type: Injectable,
15360
15368
  args: [{ providedIn: 'root' }]
15361
15369
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15399,9 +15407,9 @@ class PurchaseApiService {
15399
15407
  return this.http.post(this._host + "/billing.v1.PurchaseService/Void", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
15400
15408
  }
15401
15409
  }
15402
- PurchaseApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PurchaseApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15403
- PurchaseApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PurchaseApiService, providedIn: 'root' });
15404
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: PurchaseApiService, decorators: [{
15410
+ PurchaseApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PurchaseApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15411
+ PurchaseApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PurchaseApiService, providedIn: 'root' });
15412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: PurchaseApiService, decorators: [{
15405
15413
  type: Injectable,
15406
15414
  args: [{ providedIn: 'root' }]
15407
15415
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15446,9 +15454,9 @@ class RecurringInvoiceApiService {
15446
15454
  return this.http.post(this._host + "/billing.v1.RecurringInvoiceService/DeleteRecurringInvoice", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
15447
15455
  }
15448
15456
  }
15449
- RecurringInvoiceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RecurringInvoiceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15450
- RecurringInvoiceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RecurringInvoiceApiService, providedIn: 'root' });
15451
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RecurringInvoiceApiService, decorators: [{
15457
+ RecurringInvoiceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RecurringInvoiceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15458
+ RecurringInvoiceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RecurringInvoiceApiService, providedIn: 'root' });
15459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RecurringInvoiceApiService, decorators: [{
15452
15460
  type: Injectable,
15453
15461
  args: [{ providedIn: 'root' }]
15454
15462
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15478,9 +15486,9 @@ class RefundApiService {
15478
15486
  .pipe(map(resp => ListRefundsResponse.fromProto(resp)));
15479
15487
  }
15480
15488
  }
15481
- RefundApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RefundApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15482
- RefundApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RefundApiService, providedIn: 'root' });
15483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RefundApiService, decorators: [{
15489
+ RefundApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RefundApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15490
+ RefundApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RefundApiService, providedIn: 'root' });
15491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RefundApiService, decorators: [{
15484
15492
  type: Injectable,
15485
15493
  args: [{ providedIn: 'root' }]
15486
15494
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15510,9 +15518,9 @@ class RetailCustomerConfigurationApiService {
15510
15518
  return this.http.post(this._host + "/billing.v1.RetailCustomerConfigurationService/Upsert", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
15511
15519
  }
15512
15520
  }
15513
- RetailCustomerConfigurationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RetailCustomerConfigurationApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15514
- RetailCustomerConfigurationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RetailCustomerConfigurationApiService, providedIn: 'root' });
15515
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: RetailCustomerConfigurationApiService, decorators: [{
15521
+ RetailCustomerConfigurationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RetailCustomerConfigurationApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15522
+ RetailCustomerConfigurationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RetailCustomerConfigurationApiService, providedIn: 'root' });
15523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: RetailCustomerConfigurationApiService, decorators: [{
15516
15524
  type: Injectable,
15517
15525
  args: [{ providedIn: 'root' }]
15518
15526
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15542,9 +15550,9 @@ class SalesCreditNoteApiService {
15542
15550
  .pipe(map(resp => ListSalesCreditNoteResponse.fromProto(resp)));
15543
15551
  }
15544
15552
  }
15545
- SalesCreditNoteApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SalesCreditNoteApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15546
- SalesCreditNoteApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SalesCreditNoteApiService, providedIn: 'root' });
15547
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SalesCreditNoteApiService, decorators: [{
15553
+ SalesCreditNoteApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SalesCreditNoteApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15554
+ SalesCreditNoteApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SalesCreditNoteApiService, providedIn: 'root' });
15555
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SalesCreditNoteApiService, decorators: [{
15548
15556
  type: Injectable,
15549
15557
  args: [{ providedIn: 'root' }]
15550
15558
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15579,9 +15587,9 @@ class SalesInvoiceApiService {
15579
15587
  .pipe(map(resp => GetSalesInvoiceResponse.fromProto(resp)));
15580
15588
  }
15581
15589
  }
15582
- SalesInvoiceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SalesInvoiceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15583
- SalesInvoiceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SalesInvoiceApiService, providedIn: 'root' });
15584
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SalesInvoiceApiService, decorators: [{
15590
+ SalesInvoiceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SalesInvoiceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15591
+ SalesInvoiceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SalesInvoiceApiService, providedIn: 'root' });
15592
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: SalesInvoiceApiService, decorators: [{
15585
15593
  type: Injectable,
15586
15594
  args: [{ providedIn: 'root' }]
15587
15595
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15629,9 +15637,9 @@ class TaxApiService {
15629
15637
  return this.http.post(this._host + "/billing.v1.TaxService/Archive", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
15630
15638
  }
15631
15639
  }
15632
- TaxApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: TaxApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15633
- TaxApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: TaxApiService, providedIn: 'root' });
15634
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: TaxApiService, decorators: [{
15640
+ TaxApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TaxApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15641
+ TaxApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TaxApiService, providedIn: 'root' });
15642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TaxApiService, decorators: [{
15635
15643
  type: Injectable,
15636
15644
  args: [{ providedIn: 'root' }]
15637
15645
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -15662,9 +15670,9 @@ class VendorApiService {
15662
15670
  .pipe(map(resp => GetRevenueStatsResponse.fromProto(resp)));
15663
15671
  }
15664
15672
  }
15665
- VendorApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: VendorApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15666
- VendorApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: VendorApiService, providedIn: 'root' });
15667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: VendorApiService, decorators: [{
15673
+ VendorApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: VendorApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
15674
+ VendorApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: VendorApiService, providedIn: 'root' });
15675
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: VendorApiService, decorators: [{
15668
15676
  type: Injectable,
15669
15677
  args: [{ providedIn: 'root' }]
15670
15678
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });