@vendasta/billing 14.50.0 → 14.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/_internal/enums/index.mjs +2 -2
- package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/invoice.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/purchase.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/retail-subscription-group.interface.mjs +1 -7
- package/esm2022/lib/_internal/interfaces/vendor-split.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/index.mjs +4 -4
- package/esm2022/lib/_internal/objects/invoice.mjs +11 -1
- package/esm2022/lib/_internal/objects/purchase.mjs +30 -1
- package/esm2022/lib/_internal/objects/retail-subscription-group.mjs +97 -1
- package/esm2022/lib/_internal/objects/vendor-split.mjs +44 -1
- package/esm2022/lib/_internal/purchase.api.service.mjs +6 -2
- package/esm2022/lib/_internal/retail-subscription-group.api.service.mjs +12 -2
- package/esm2022/lib/_internal/vendor-split.api.service.mjs +7 -2
- package/fesm2022/vendasta-billing.mjs +384 -189
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/interfaces/index.d.ts +3 -3
- package/lib/_internal/interfaces/invoice.interface.d.ts +3 -0
- package/lib/_internal/interfaces/purchase.interface.d.ts +6 -0
- package/lib/_internal/interfaces/retail-subscription-group.interface.d.ts +14 -0
- package/lib/_internal/interfaces/vendor-split.interface.d.ts +6 -0
- package/lib/_internal/objects/index.d.ts +3 -3
- package/lib/_internal/objects/invoice.d.ts +3 -0
- package/lib/_internal/objects/purchase.d.ts +9 -0
- package/lib/_internal/objects/retail-subscription-group.d.ts +26 -0
- package/lib/_internal/objects/vendor-split.d.ts +12 -0
- package/lib/_internal/purchase.api.service.d.ts +3 -2
- package/lib/_internal/retail-subscription-group.api.service.d.ts +4 -2
- package/lib/_internal/vendor-split.api.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -300,6 +300,20 @@ var RecurringInvoiceStatus;
|
|
|
300
300
|
RecurringInvoiceStatus[RecurringInvoiceStatus["RECURRING_INVOICE_STATUS_ARCHIVED"] = 3] = "RECURRING_INVOICE_STATUS_ARCHIVED";
|
|
301
301
|
})(RecurringInvoiceStatus || (RecurringInvoiceStatus = {}));
|
|
302
302
|
|
|
303
|
+
// *********************************
|
|
304
|
+
// Code generated by sdkgen
|
|
305
|
+
// DO NOT EDIT!.
|
|
306
|
+
//
|
|
307
|
+
// Enums.
|
|
308
|
+
// *********************************
|
|
309
|
+
var DisplayOption;
|
|
310
|
+
(function (DisplayOption) {
|
|
311
|
+
DisplayOption[DisplayOption["DISPLAY_OPTION_INVALID"] = 0] = "DISPLAY_OPTION_INVALID";
|
|
312
|
+
DisplayOption[DisplayOption["SHOW_CONTENT_SHOW_PRICES"] = 1] = "SHOW_CONTENT_SHOW_PRICES";
|
|
313
|
+
DisplayOption[DisplayOption["SHOW_CONTENT_HIDE_PRICES"] = 2] = "SHOW_CONTENT_HIDE_PRICES";
|
|
314
|
+
DisplayOption[DisplayOption["HIDE_CONTENT_HIDE_PRICES"] = 3] = "HIDE_CONTENT_HIDE_PRICES";
|
|
315
|
+
})(DisplayOption || (DisplayOption = {}));
|
|
316
|
+
|
|
303
317
|
// *********************************
|
|
304
318
|
// Code generated by sdkgen
|
|
305
319
|
// DO NOT EDIT!.
|
|
@@ -750,20 +764,6 @@ var CreditNoteReason;
|
|
|
750
764
|
CreditNoteReason[CreditNoteReason["CREDIT_NOTE_REASON_OTHER"] = 4] = "CREDIT_NOTE_REASON_OTHER";
|
|
751
765
|
})(CreditNoteReason || (CreditNoteReason = {}));
|
|
752
766
|
|
|
753
|
-
// *********************************
|
|
754
|
-
// Code generated by sdkgen
|
|
755
|
-
// DO NOT EDIT!.
|
|
756
|
-
//
|
|
757
|
-
// Enums.
|
|
758
|
-
// *********************************
|
|
759
|
-
var DisplayOption;
|
|
760
|
-
(function (DisplayOption) {
|
|
761
|
-
DisplayOption[DisplayOption["DISPLAY_OPTION_INVALID"] = 0] = "DISPLAY_OPTION_INVALID";
|
|
762
|
-
DisplayOption[DisplayOption["SHOW_CONTENT_SHOW_PRICES"] = 1] = "SHOW_CONTENT_SHOW_PRICES";
|
|
763
|
-
DisplayOption[DisplayOption["SHOW_CONTENT_HIDE_PRICES"] = 2] = "SHOW_CONTENT_HIDE_PRICES";
|
|
764
|
-
DisplayOption[DisplayOption["HIDE_CONTENT_HIDE_PRICES"] = 3] = "HIDE_CONTENT_HIDE_PRICES";
|
|
765
|
-
})(DisplayOption || (DisplayOption = {}));
|
|
766
|
-
|
|
767
767
|
// *********************************
|
|
768
768
|
// Code generated by sdkgen
|
|
769
769
|
// DO NOT EDIT!.
|
|
@@ -6711,6 +6711,180 @@ function enumStringToValue$q(enumRef, value) {
|
|
|
6711
6711
|
}
|
|
6712
6712
|
return enumRef[value];
|
|
6713
6713
|
}
|
|
6714
|
+
class CreateRetailSubscriptionGroupRequest {
|
|
6715
|
+
static fromProto(proto) {
|
|
6716
|
+
let m = new CreateRetailSubscriptionGroupRequest();
|
|
6717
|
+
m = Object.assign(m, proto);
|
|
6718
|
+
if (proto.retailSubscriptionGroup) {
|
|
6719
|
+
m.retailSubscriptionGroup = RetailSubscriptionGroup.fromProto(proto.retailSubscriptionGroup);
|
|
6720
|
+
}
|
|
6721
|
+
return m;
|
|
6722
|
+
}
|
|
6723
|
+
constructor(kwargs) {
|
|
6724
|
+
if (!kwargs) {
|
|
6725
|
+
return;
|
|
6726
|
+
}
|
|
6727
|
+
Object.assign(this, kwargs);
|
|
6728
|
+
}
|
|
6729
|
+
toApiJson() {
|
|
6730
|
+
const toReturn = {};
|
|
6731
|
+
if (typeof this.retailSubscriptionGroup !== 'undefined' && this.retailSubscriptionGroup !== null) {
|
|
6732
|
+
toReturn['retailSubscriptionGroup'] = 'toApiJson' in this.retailSubscriptionGroup ? this.retailSubscriptionGroup.toApiJson() : this.retailSubscriptionGroup;
|
|
6733
|
+
}
|
|
6734
|
+
return toReturn;
|
|
6735
|
+
}
|
|
6736
|
+
}
|
|
6737
|
+
class CreateRetailSubscriptionGroupResponse {
|
|
6738
|
+
static fromProto(proto) {
|
|
6739
|
+
let m = new CreateRetailSubscriptionGroupResponse();
|
|
6740
|
+
m = Object.assign(m, proto);
|
|
6741
|
+
return m;
|
|
6742
|
+
}
|
|
6743
|
+
constructor(kwargs) {
|
|
6744
|
+
if (!kwargs) {
|
|
6745
|
+
return;
|
|
6746
|
+
}
|
|
6747
|
+
Object.assign(this, kwargs);
|
|
6748
|
+
}
|
|
6749
|
+
toApiJson() {
|
|
6750
|
+
const toReturn = {};
|
|
6751
|
+
if (typeof this.id !== 'undefined') {
|
|
6752
|
+
toReturn['id'] = this.id;
|
|
6753
|
+
}
|
|
6754
|
+
return toReturn;
|
|
6755
|
+
}
|
|
6756
|
+
}
|
|
6757
|
+
class GetMultiRetailSubscriptionGroupRequest {
|
|
6758
|
+
static fromProto(proto) {
|
|
6759
|
+
let m = new GetMultiRetailSubscriptionGroupRequest();
|
|
6760
|
+
m = Object.assign(m, proto);
|
|
6761
|
+
return m;
|
|
6762
|
+
}
|
|
6763
|
+
constructor(kwargs) {
|
|
6764
|
+
if (!kwargs) {
|
|
6765
|
+
return;
|
|
6766
|
+
}
|
|
6767
|
+
Object.assign(this, kwargs);
|
|
6768
|
+
}
|
|
6769
|
+
toApiJson() {
|
|
6770
|
+
const toReturn = {};
|
|
6771
|
+
if (typeof this.ids !== 'undefined') {
|
|
6772
|
+
toReturn['ids'] = this.ids;
|
|
6773
|
+
}
|
|
6774
|
+
return toReturn;
|
|
6775
|
+
}
|
|
6776
|
+
}
|
|
6777
|
+
class GetMultiRetailSubscriptionGroupResponse {
|
|
6778
|
+
static fromProto(proto) {
|
|
6779
|
+
let m = new GetMultiRetailSubscriptionGroupResponse();
|
|
6780
|
+
m = Object.assign(m, proto);
|
|
6781
|
+
if (proto.retailSubscriptionGroups) {
|
|
6782
|
+
m.retailSubscriptionGroups = proto.retailSubscriptionGroups.map(RetailSubscriptionGroup.fromProto);
|
|
6783
|
+
}
|
|
6784
|
+
return m;
|
|
6785
|
+
}
|
|
6786
|
+
constructor(kwargs) {
|
|
6787
|
+
if (!kwargs) {
|
|
6788
|
+
return;
|
|
6789
|
+
}
|
|
6790
|
+
Object.assign(this, kwargs);
|
|
6791
|
+
}
|
|
6792
|
+
toApiJson() {
|
|
6793
|
+
const toReturn = {};
|
|
6794
|
+
if (typeof this.retailSubscriptionGroups !== 'undefined' && this.retailSubscriptionGroups !== null) {
|
|
6795
|
+
toReturn['retailSubscriptionGroups'] = 'toApiJson' in this.retailSubscriptionGroups ? this.retailSubscriptionGroups.toApiJson() : this.retailSubscriptionGroups;
|
|
6796
|
+
}
|
|
6797
|
+
return toReturn;
|
|
6798
|
+
}
|
|
6799
|
+
}
|
|
6800
|
+
class RetailSubscriptionGroup {
|
|
6801
|
+
static fromProto(proto) {
|
|
6802
|
+
let m = new RetailSubscriptionGroup();
|
|
6803
|
+
m = Object.assign(m, proto);
|
|
6804
|
+
if (proto.displayOption) {
|
|
6805
|
+
m.displayOption = enumStringToValue$q(DisplayOption, proto.displayOption);
|
|
6806
|
+
}
|
|
6807
|
+
return m;
|
|
6808
|
+
}
|
|
6809
|
+
constructor(kwargs) {
|
|
6810
|
+
if (!kwargs) {
|
|
6811
|
+
return;
|
|
6812
|
+
}
|
|
6813
|
+
Object.assign(this, kwargs);
|
|
6814
|
+
}
|
|
6815
|
+
toApiJson() {
|
|
6816
|
+
const toReturn = {};
|
|
6817
|
+
if (typeof this.id !== 'undefined') {
|
|
6818
|
+
toReturn['id'] = this.id;
|
|
6819
|
+
}
|
|
6820
|
+
if (typeof this.name !== 'undefined') {
|
|
6821
|
+
toReturn['name'] = this.name;
|
|
6822
|
+
}
|
|
6823
|
+
if (typeof this.displayOption !== 'undefined') {
|
|
6824
|
+
toReturn['displayOption'] = this.displayOption;
|
|
6825
|
+
}
|
|
6826
|
+
return toReturn;
|
|
6827
|
+
}
|
|
6828
|
+
}
|
|
6829
|
+
class UpdateRetailSubscriptionGroupRequest {
|
|
6830
|
+
static fromProto(proto) {
|
|
6831
|
+
let m = new UpdateRetailSubscriptionGroupRequest();
|
|
6832
|
+
m = Object.assign(m, proto);
|
|
6833
|
+
if (proto.retailSubscriptionGroup) {
|
|
6834
|
+
m.retailSubscriptionGroup = RetailSubscriptionGroup.fromProto(proto.retailSubscriptionGroup);
|
|
6835
|
+
}
|
|
6836
|
+
if (proto.fieldMask) {
|
|
6837
|
+
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
6838
|
+
}
|
|
6839
|
+
return m;
|
|
6840
|
+
}
|
|
6841
|
+
constructor(kwargs) {
|
|
6842
|
+
if (!kwargs) {
|
|
6843
|
+
return;
|
|
6844
|
+
}
|
|
6845
|
+
Object.assign(this, kwargs);
|
|
6846
|
+
}
|
|
6847
|
+
toApiJson() {
|
|
6848
|
+
const toReturn = {};
|
|
6849
|
+
if (typeof this.retailSubscriptionGroup !== 'undefined' && this.retailSubscriptionGroup !== null) {
|
|
6850
|
+
toReturn['retailSubscriptionGroup'] = 'toApiJson' in this.retailSubscriptionGroup ? this.retailSubscriptionGroup.toApiJson() : this.retailSubscriptionGroup;
|
|
6851
|
+
}
|
|
6852
|
+
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
6853
|
+
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
6854
|
+
}
|
|
6855
|
+
return toReturn;
|
|
6856
|
+
}
|
|
6857
|
+
}
|
|
6858
|
+
class UpdateRetailSubscriptionGroupResponse {
|
|
6859
|
+
static fromProto(proto) {
|
|
6860
|
+
let m = new UpdateRetailSubscriptionGroupResponse();
|
|
6861
|
+
m = Object.assign(m, proto);
|
|
6862
|
+
if (proto.retailSubscriptionGroup) {
|
|
6863
|
+
m.retailSubscriptionGroup = RetailSubscriptionGroup.fromProto(proto.retailSubscriptionGroup);
|
|
6864
|
+
}
|
|
6865
|
+
return m;
|
|
6866
|
+
}
|
|
6867
|
+
constructor(kwargs) {
|
|
6868
|
+
if (!kwargs) {
|
|
6869
|
+
return;
|
|
6870
|
+
}
|
|
6871
|
+
Object.assign(this, kwargs);
|
|
6872
|
+
}
|
|
6873
|
+
toApiJson() {
|
|
6874
|
+
const toReturn = {};
|
|
6875
|
+
if (typeof this.retailSubscriptionGroup !== 'undefined' && this.retailSubscriptionGroup !== null) {
|
|
6876
|
+
toReturn['retailSubscriptionGroup'] = 'toApiJson' in this.retailSubscriptionGroup ? this.retailSubscriptionGroup.toApiJson() : this.retailSubscriptionGroup;
|
|
6877
|
+
}
|
|
6878
|
+
return toReturn;
|
|
6879
|
+
}
|
|
6880
|
+
}
|
|
6881
|
+
|
|
6882
|
+
function enumStringToValue$p(enumRef, value) {
|
|
6883
|
+
if (typeof value === 'number') {
|
|
6884
|
+
return value;
|
|
6885
|
+
}
|
|
6886
|
+
return enumRef[value];
|
|
6887
|
+
}
|
|
6714
6888
|
class AddBundleRequest {
|
|
6715
6889
|
static fromProto(proto) {
|
|
6716
6890
|
let m = new AddBundleRequest();
|
|
@@ -6850,7 +7024,7 @@ class AppliedCreditNote {
|
|
|
6850
7024
|
m.amount = parseInt(proto.amount, 10);
|
|
6851
7025
|
}
|
|
6852
7026
|
if (proto.creditNoteType) {
|
|
6853
|
-
m.creditNoteType = enumStringToValue$
|
|
7027
|
+
m.creditNoteType = enumStringToValue$p(CreditNoteType, proto.creditNoteType);
|
|
6854
7028
|
}
|
|
6855
7029
|
return m;
|
|
6856
7030
|
}
|
|
@@ -6914,10 +7088,10 @@ class CreateInvoiceRequest {
|
|
|
6914
7088
|
m.items = proto.items.map(InvoiceItem.fromProto);
|
|
6915
7089
|
}
|
|
6916
7090
|
if (proto.collectionMethod) {
|
|
6917
|
-
m.collectionMethod = enumStringToValue$
|
|
7091
|
+
m.collectionMethod = enumStringToValue$p(CollectionMethod, proto.collectionMethod);
|
|
6918
7092
|
}
|
|
6919
7093
|
if (proto.origin) {
|
|
6920
|
-
m.origin = enumStringToValue$
|
|
7094
|
+
m.origin = enumStringToValue$p(Origin, proto.origin);
|
|
6921
7095
|
}
|
|
6922
7096
|
if (proto.issued) {
|
|
6923
7097
|
m.issued = new Date(proto.issued);
|
|
@@ -7083,7 +7257,7 @@ class ListInvoicesRequestFiltersDateFilter {
|
|
|
7083
7257
|
let m = new ListInvoicesRequestFiltersDateFilter();
|
|
7084
7258
|
m = Object.assign(m, proto);
|
|
7085
7259
|
if (proto.dateField) {
|
|
7086
|
-
m.dateField = enumStringToValue$
|
|
7260
|
+
m.dateField = enumStringToValue$p(ListInvoicesRequestFiltersDateFilterDateField, proto.dateField);
|
|
7087
7261
|
}
|
|
7088
7262
|
if (proto.dateLte) {
|
|
7089
7263
|
m.dateLte = new Date(proto.dateLte);
|
|
@@ -7233,13 +7407,13 @@ class ListInvoicesRequestFilters {
|
|
|
7233
7407
|
let m = new ListInvoicesRequestFilters();
|
|
7234
7408
|
m = Object.assign(m, proto);
|
|
7235
7409
|
if (proto.statuses) {
|
|
7236
|
-
m.statuses = proto.statuses.map((v) => enumStringToValue$
|
|
7410
|
+
m.statuses = proto.statuses.map((v) => enumStringToValue$p(InvoiceStatus, v));
|
|
7237
7411
|
}
|
|
7238
7412
|
if (proto.dateFilter) {
|
|
7239
7413
|
m.dateFilter = ListInvoicesRequestFiltersDateFilter.fromProto(proto.dateFilter);
|
|
7240
7414
|
}
|
|
7241
7415
|
if (proto.lastPaymentStatuses) {
|
|
7242
|
-
m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$
|
|
7416
|
+
m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$p(LastPaymentStatus, v));
|
|
7243
7417
|
}
|
|
7244
7418
|
return m;
|
|
7245
7419
|
}
|
|
@@ -7430,7 +7604,7 @@ class Invoice {
|
|
|
7430
7604
|
let m = new Invoice();
|
|
7431
7605
|
m = Object.assign(m, proto);
|
|
7432
7606
|
if (proto.status) {
|
|
7433
|
-
m.status = enumStringToValue$
|
|
7607
|
+
m.status = enumStringToValue$p(InvoiceStatus, proto.status);
|
|
7434
7608
|
}
|
|
7435
7609
|
if (proto.subtotal) {
|
|
7436
7610
|
m.subtotal = parseInt(proto.subtotal, 10);
|
|
@@ -7457,7 +7631,7 @@ class Invoice {
|
|
|
7457
7631
|
m.items = proto.items.map(InvoiceItem.fromProto);
|
|
7458
7632
|
}
|
|
7459
7633
|
if (proto.currency) {
|
|
7460
|
-
m.currency = enumStringToValue$
|
|
7634
|
+
m.currency = enumStringToValue$p(Currency, proto.currency);
|
|
7461
7635
|
}
|
|
7462
7636
|
if (proto.paid) {
|
|
7463
7637
|
m.paid = new Date(proto.paid);
|
|
@@ -7490,10 +7664,10 @@ class Invoice {
|
|
|
7490
7664
|
m.autoAdvance = new Date(proto.autoAdvance);
|
|
7491
7665
|
}
|
|
7492
7666
|
if (proto.paymentMethodTypes) {
|
|
7493
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
7667
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$p(PaymentMethodType, v));
|
|
7494
7668
|
}
|
|
7495
7669
|
if (proto.lastPaymentStatus) {
|
|
7496
|
-
m.lastPaymentStatus = enumStringToValue$
|
|
7670
|
+
m.lastPaymentStatus = enumStringToValue$p(LastPaymentStatus, proto.lastPaymentStatus);
|
|
7497
7671
|
}
|
|
7498
7672
|
if (proto.amountOwing) {
|
|
7499
7673
|
m.amountOwing = parseInt(proto.amountOwing, 10);
|
|
@@ -7502,7 +7676,10 @@ class Invoice {
|
|
|
7502
7676
|
m.appliedCreditNotes = proto.appliedCreditNotes.map(AppliedCreditNote.fromProto);
|
|
7503
7677
|
}
|
|
7504
7678
|
if (proto.processingFailureCode) {
|
|
7505
|
-
m.processingFailureCode = enumStringToValue$
|
|
7679
|
+
m.processingFailureCode = enumStringToValue$p(ProcessingFailureCode, proto.processingFailureCode);
|
|
7680
|
+
}
|
|
7681
|
+
if (proto.retailSubscriptionGroups) {
|
|
7682
|
+
m.retailSubscriptionGroups = proto.retailSubscriptionGroups.map(RetailSubscriptionGroup.fromProto);
|
|
7506
7683
|
}
|
|
7507
7684
|
return m;
|
|
7508
7685
|
}
|
|
@@ -7628,6 +7805,9 @@ class Invoice {
|
|
|
7628
7805
|
if (typeof this.processingFailureCode !== 'undefined') {
|
|
7629
7806
|
toReturn['processingFailureCode'] = this.processingFailureCode;
|
|
7630
7807
|
}
|
|
7808
|
+
if (typeof this.retailSubscriptionGroups !== 'undefined' && this.retailSubscriptionGroups !== null) {
|
|
7809
|
+
toReturn['retailSubscriptionGroups'] = 'toApiJson' in this.retailSubscriptionGroups ? this.retailSubscriptionGroups.toApiJson() : this.retailSubscriptionGroups;
|
|
7810
|
+
}
|
|
7631
7811
|
return toReturn;
|
|
7632
7812
|
}
|
|
7633
7813
|
}
|
|
@@ -7717,6 +7897,9 @@ class InvoiceItem {
|
|
|
7717
7897
|
if (typeof this.retailSubscriptionGroup !== 'undefined' && this.retailSubscriptionGroup !== null) {
|
|
7718
7898
|
toReturn['retailSubscriptionGroup'] = 'toApiJson' in this.retailSubscriptionGroup ? this.retailSubscriptionGroup.toApiJson() : this.retailSubscriptionGroup;
|
|
7719
7899
|
}
|
|
7900
|
+
if (typeof this.retailSubscriptionGroupId !== 'undefined') {
|
|
7901
|
+
toReturn['retailSubscriptionGroupId'] = this.retailSubscriptionGroupId;
|
|
7902
|
+
}
|
|
7720
7903
|
return toReturn;
|
|
7721
7904
|
}
|
|
7722
7905
|
}
|
|
@@ -8211,7 +8394,7 @@ class VoidInvoiceRequest {
|
|
|
8211
8394
|
}
|
|
8212
8395
|
}
|
|
8213
8396
|
|
|
8214
|
-
function enumStringToValue$
|
|
8397
|
+
function enumStringToValue$o(enumRef, value) {
|
|
8215
8398
|
if (typeof value === 'number') {
|
|
8216
8399
|
return value;
|
|
8217
8400
|
}
|
|
@@ -8305,7 +8488,7 @@ class BalanceAmount {
|
|
|
8305
8488
|
}
|
|
8306
8489
|
}
|
|
8307
8490
|
|
|
8308
|
-
function enumStringToValue$
|
|
8491
|
+
function enumStringToValue$n(enumRef, value) {
|
|
8309
8492
|
if (typeof value === 'number') {
|
|
8310
8493
|
return value;
|
|
8311
8494
|
}
|
|
@@ -8341,7 +8524,7 @@ class DateRange {
|
|
|
8341
8524
|
}
|
|
8342
8525
|
}
|
|
8343
8526
|
|
|
8344
|
-
function enumStringToValue$
|
|
8527
|
+
function enumStringToValue$m(enumRef, value) {
|
|
8345
8528
|
if (typeof value === 'number') {
|
|
8346
8529
|
return value;
|
|
8347
8530
|
}
|
|
@@ -8442,13 +8625,13 @@ class Payout {
|
|
|
8442
8625
|
m.amount = parseInt(proto.amount, 10);
|
|
8443
8626
|
}
|
|
8444
8627
|
if (proto.currency) {
|
|
8445
|
-
m.currency = enumStringToValue$
|
|
8628
|
+
m.currency = enumStringToValue$m(Currency, proto.currency);
|
|
8446
8629
|
}
|
|
8447
8630
|
if (proto.status) {
|
|
8448
|
-
m.status = enumStringToValue$
|
|
8631
|
+
m.status = enumStringToValue$m(PayoutStatus, proto.status);
|
|
8449
8632
|
}
|
|
8450
8633
|
if (proto.type) {
|
|
8451
|
-
m.type = enumStringToValue$
|
|
8634
|
+
m.type = enumStringToValue$m(PayoutType, proto.type);
|
|
8452
8635
|
}
|
|
8453
8636
|
return m;
|
|
8454
8637
|
}
|
|
@@ -8550,10 +8733,10 @@ class RetailPayout {
|
|
|
8550
8733
|
m.amount = parseInt(proto.amount, 10);
|
|
8551
8734
|
}
|
|
8552
8735
|
if (proto.status) {
|
|
8553
|
-
m.status = enumStringToValue$
|
|
8736
|
+
m.status = enumStringToValue$m(PayoutStatus, proto.status);
|
|
8554
8737
|
}
|
|
8555
8738
|
if (proto.type) {
|
|
8556
|
-
m.type = enumStringToValue$
|
|
8739
|
+
m.type = enumStringToValue$m(PayoutType, proto.type);
|
|
8557
8740
|
}
|
|
8558
8741
|
return m;
|
|
8559
8742
|
}
|
|
@@ -8602,7 +8785,7 @@ class RetailPayout {
|
|
|
8602
8785
|
}
|
|
8603
8786
|
}
|
|
8604
8787
|
|
|
8605
|
-
function enumStringToValue$
|
|
8788
|
+
function enumStringToValue$l(enumRef, value) {
|
|
8606
8789
|
if (typeof value === 'number') {
|
|
8607
8790
|
return value;
|
|
8608
8791
|
}
|
|
@@ -8717,7 +8900,7 @@ class CreateMerchantRequest {
|
|
|
8717
8900
|
m.includeInFinancialRecords = CreateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);
|
|
8718
8901
|
}
|
|
8719
8902
|
if (proto.merchantType) {
|
|
8720
|
-
m.merchantType = enumStringToValue$
|
|
8903
|
+
m.merchantType = enumStringToValue$l(MerchantType, proto.merchantType);
|
|
8721
8904
|
}
|
|
8722
8905
|
return m;
|
|
8723
8906
|
}
|
|
@@ -8981,7 +9164,7 @@ class GetOutstandingBalanceResponse {
|
|
|
8981
9164
|
m.outstandingBalance = parseInt(proto.outstandingBalance, 10);
|
|
8982
9165
|
}
|
|
8983
9166
|
if (proto.currency) {
|
|
8984
|
-
m.currency = enumStringToValue$
|
|
9167
|
+
m.currency = enumStringToValue$l(Currency, proto.currency);
|
|
8985
9168
|
}
|
|
8986
9169
|
return m;
|
|
8987
9170
|
}
|
|
@@ -9292,7 +9475,7 @@ class Merchant {
|
|
|
9292
9475
|
let m = new Merchant();
|
|
9293
9476
|
m = Object.assign(m, proto);
|
|
9294
9477
|
if (proto.merchantType) {
|
|
9295
|
-
m.merchantType = enumStringToValue$
|
|
9478
|
+
m.merchantType = enumStringToValue$l(MerchantType, proto.merchantType);
|
|
9296
9479
|
}
|
|
9297
9480
|
return m;
|
|
9298
9481
|
}
|
|
@@ -9447,10 +9630,10 @@ class SearchMerchantsRequest {
|
|
|
9447
9630
|
let m = new SearchMerchantsRequest();
|
|
9448
9631
|
m = Object.assign(m, proto);
|
|
9449
9632
|
if (proto.sortBy) {
|
|
9450
|
-
m.sortBy = enumStringToValue$
|
|
9633
|
+
m.sortBy = enumStringToValue$l(SearchMerchantsRequestSortBy, proto.sortBy);
|
|
9451
9634
|
}
|
|
9452
9635
|
if (proto.sortDirection) {
|
|
9453
|
-
m.sortDirection = enumStringToValue$
|
|
9636
|
+
m.sortDirection = enumStringToValue$l(SortDirection, proto.sortDirection);
|
|
9454
9637
|
}
|
|
9455
9638
|
if (proto.pagingOptions) {
|
|
9456
9639
|
m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
|
|
@@ -9658,7 +9841,7 @@ class UpdateMerchantRequest {
|
|
|
9658
9841
|
m.includeInFinancialRecords = UpdateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);
|
|
9659
9842
|
}
|
|
9660
9843
|
if (proto.merchantType) {
|
|
9661
|
-
m.merchantType = enumStringToValue$
|
|
9844
|
+
m.merchantType = enumStringToValue$l(MerchantType, proto.merchantType);
|
|
9662
9845
|
}
|
|
9663
9846
|
return m;
|
|
9664
9847
|
}
|
|
@@ -9783,7 +9966,7 @@ class UpsertRetailConfigurationRequest {
|
|
|
9783
9966
|
}
|
|
9784
9967
|
}
|
|
9785
9968
|
|
|
9786
|
-
function enumStringToValue$
|
|
9969
|
+
function enumStringToValue$k(enumRef, value) {
|
|
9787
9970
|
if (typeof value === 'number') {
|
|
9788
9971
|
return value;
|
|
9789
9972
|
}
|
|
@@ -9852,13 +10035,13 @@ class MerchantReport {
|
|
|
9852
10035
|
m.year = parseInt(proto.year, 10);
|
|
9853
10036
|
}
|
|
9854
10037
|
if (proto.month) {
|
|
9855
|
-
m.month = enumStringToValue$
|
|
10038
|
+
m.month = enumStringToValue$k(Month, proto.month);
|
|
9856
10039
|
}
|
|
9857
10040
|
if (proto.created) {
|
|
9858
10041
|
m.created = new Date(proto.created);
|
|
9859
10042
|
}
|
|
9860
10043
|
if (proto.status) {
|
|
9861
|
-
m.status = enumStringToValue$
|
|
10044
|
+
m.status = enumStringToValue$k(MerchantReportStatus, proto.status);
|
|
9862
10045
|
}
|
|
9863
10046
|
return m;
|
|
9864
10047
|
}
|
|
@@ -9889,7 +10072,7 @@ class MerchantReport {
|
|
|
9889
10072
|
}
|
|
9890
10073
|
}
|
|
9891
10074
|
|
|
9892
|
-
function enumStringToValue$
|
|
10075
|
+
function enumStringToValue$j(enumRef, value) {
|
|
9893
10076
|
if (typeof value === 'number') {
|
|
9894
10077
|
return value;
|
|
9895
10078
|
}
|
|
@@ -9986,7 +10169,7 @@ class TickComponentUsageRequest {
|
|
|
9986
10169
|
}
|
|
9987
10170
|
}
|
|
9988
10171
|
|
|
9989
|
-
function enumStringToValue$
|
|
10172
|
+
function enumStringToValue$i(enumRef, value) {
|
|
9990
10173
|
if (typeof value === 'number') {
|
|
9991
10174
|
return value;
|
|
9992
10175
|
}
|
|
@@ -10099,7 +10282,7 @@ class RetailPaymentCardDetails {
|
|
|
10099
10282
|
let m = new RetailPaymentCardDetails();
|
|
10100
10283
|
m = Object.assign(m, proto);
|
|
10101
10284
|
if (proto.cardType) {
|
|
10102
|
-
m.cardType = enumStringToValue$
|
|
10285
|
+
m.cardType = enumStringToValue$i(CardType, proto.cardType);
|
|
10103
10286
|
}
|
|
10104
10287
|
return m;
|
|
10105
10288
|
}
|
|
@@ -10148,7 +10331,7 @@ class ConfigureRetailPaymentProviderRequest {
|
|
|
10148
10331
|
let m = new ConfigureRetailPaymentProviderRequest();
|
|
10149
10332
|
m = Object.assign(m, proto);
|
|
10150
10333
|
if (proto.paymentFacilitatorType) {
|
|
10151
|
-
m.paymentFacilitatorType = enumStringToValue$
|
|
10334
|
+
m.paymentFacilitatorType = enumStringToValue$i(PaymentFacilitatorType, proto.paymentFacilitatorType);
|
|
10152
10335
|
}
|
|
10153
10336
|
return m;
|
|
10154
10337
|
}
|
|
@@ -10226,7 +10409,7 @@ class Dispute {
|
|
|
10226
10409
|
let m = new Dispute();
|
|
10227
10410
|
m = Object.assign(m, proto);
|
|
10228
10411
|
if (proto.status) {
|
|
10229
|
-
m.status = enumStringToValue$
|
|
10412
|
+
m.status = enumStringToValue$i(DisputeStatus, proto.status);
|
|
10230
10413
|
}
|
|
10231
10414
|
if (proto.amount) {
|
|
10232
10415
|
m.amount = parseInt(proto.amount, 10);
|
|
@@ -10244,7 +10427,7 @@ class Dispute {
|
|
|
10244
10427
|
m.fee = parseInt(proto.fee, 10);
|
|
10245
10428
|
}
|
|
10246
10429
|
if (proto.paymentReferenceType) {
|
|
10247
|
-
m.paymentReferenceType = enumStringToValue$
|
|
10430
|
+
m.paymentReferenceType = enumStringToValue$i(RetailPaymentReferenceType, proto.paymentReferenceType);
|
|
10248
10431
|
}
|
|
10249
10432
|
if (proto.paymentReceivedAt) {
|
|
10250
10433
|
m.paymentReceivedAt = new Date(proto.paymentReceivedAt);
|
|
@@ -10560,7 +10743,7 @@ class GetRetailPaymentProviderResponse {
|
|
|
10560
10743
|
let m = new GetRetailPaymentProviderResponse();
|
|
10561
10744
|
m = Object.assign(m, proto);
|
|
10562
10745
|
if (proto.paymentFacilitatorType) {
|
|
10563
|
-
m.paymentFacilitatorType = enumStringToValue$
|
|
10746
|
+
m.paymentFacilitatorType = enumStringToValue$i(PaymentFacilitatorType, proto.paymentFacilitatorType);
|
|
10564
10747
|
}
|
|
10565
10748
|
return m;
|
|
10566
10749
|
}
|
|
@@ -10774,7 +10957,7 @@ class ListRetailDisputesRequestListRetailDisputesFilters {
|
|
|
10774
10957
|
let m = new ListRetailDisputesRequestListRetailDisputesFilters();
|
|
10775
10958
|
m = Object.assign(m, proto);
|
|
10776
10959
|
if (proto.status) {
|
|
10777
|
-
m.status = enumStringToValue$
|
|
10960
|
+
m.status = enumStringToValue$i(DisputeStatus, proto.status);
|
|
10778
10961
|
}
|
|
10779
10962
|
return m;
|
|
10780
10963
|
}
|
|
@@ -10960,7 +11143,7 @@ class ListRetailTransactionsRequestListRetailTransactionsFilters {
|
|
|
10960
11143
|
m.createdDateLte = new Date(proto.createdDateLte);
|
|
10961
11144
|
}
|
|
10962
11145
|
if (proto.type) {
|
|
10963
|
-
m.type = enumStringToValue$
|
|
11146
|
+
m.type = enumStringToValue$i(RetailTransactionType, proto.type);
|
|
10964
11147
|
}
|
|
10965
11148
|
return m;
|
|
10966
11149
|
}
|
|
@@ -11094,10 +11277,10 @@ class Payment {
|
|
|
11094
11277
|
m.created = new Date(proto.created);
|
|
11095
11278
|
}
|
|
11096
11279
|
if (proto.currency) {
|
|
11097
|
-
m.currency = enumStringToValue$
|
|
11280
|
+
m.currency = enumStringToValue$i(Currency, proto.currency);
|
|
11098
11281
|
}
|
|
11099
11282
|
if (proto.paymentSource) {
|
|
11100
|
-
m.paymentSource = enumStringToValue$
|
|
11283
|
+
m.paymentSource = enumStringToValue$i(PaymentSource, proto.paymentSource);
|
|
11101
11284
|
}
|
|
11102
11285
|
if (proto.allocations) {
|
|
11103
11286
|
m.allocations = proto.allocations.map(PaymentPaymentAllocation.fromProto);
|
|
@@ -11106,7 +11289,7 @@ class Payment {
|
|
|
11106
11289
|
m.total = parseInt(proto.total, 10);
|
|
11107
11290
|
}
|
|
11108
11291
|
if (proto.status) {
|
|
11109
|
-
m.status = enumStringToValue$
|
|
11292
|
+
m.status = enumStringToValue$i(PaymentStatus, proto.status);
|
|
11110
11293
|
}
|
|
11111
11294
|
return m;
|
|
11112
11295
|
}
|
|
@@ -11156,7 +11339,7 @@ class PaymentPaymentAllocation {
|
|
|
11156
11339
|
m.amount = parseInt(proto.amount, 10);
|
|
11157
11340
|
}
|
|
11158
11341
|
if (proto.type) {
|
|
11159
|
-
m.type = enumStringToValue$
|
|
11342
|
+
m.type = enumStringToValue$i(PaymentAllocationType, proto.type);
|
|
11160
11343
|
}
|
|
11161
11344
|
return m;
|
|
11162
11345
|
}
|
|
@@ -11185,13 +11368,13 @@ class PaymentIntent {
|
|
|
11185
11368
|
let m = new PaymentIntent();
|
|
11186
11369
|
m = Object.assign(m, proto);
|
|
11187
11370
|
if (proto.paymentIntentStatus) {
|
|
11188
|
-
m.paymentIntentStatus = enumStringToValue$
|
|
11371
|
+
m.paymentIntentStatus = enumStringToValue$i(PaymentIntentStatus, proto.paymentIntentStatus);
|
|
11189
11372
|
}
|
|
11190
11373
|
if (proto.paymentMethodType) {
|
|
11191
|
-
m.paymentMethodType = enumStringToValue$
|
|
11374
|
+
m.paymentMethodType = enumStringToValue$i(PaymentMethodType, proto.paymentMethodType);
|
|
11192
11375
|
}
|
|
11193
11376
|
if (proto.lastErrorCode) {
|
|
11194
|
-
m.lastErrorCode = enumStringToValue$
|
|
11377
|
+
m.lastErrorCode = enumStringToValue$i(PaymentErrorCode, proto.lastErrorCode);
|
|
11195
11378
|
}
|
|
11196
11379
|
return m;
|
|
11197
11380
|
}
|
|
@@ -11223,7 +11406,7 @@ class PrepareRetailPaymentRequest {
|
|
|
11223
11406
|
m.order = PrepareRetailPaymentRequestOrder.fromProto(proto.order);
|
|
11224
11407
|
}
|
|
11225
11408
|
if (proto.paymentMethodTypes) {
|
|
11226
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
11409
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$i(PaymentMethodType, v));
|
|
11227
11410
|
}
|
|
11228
11411
|
return m;
|
|
11229
11412
|
}
|
|
@@ -11290,7 +11473,7 @@ class RefundRetailPaymentRequest {
|
|
|
11290
11473
|
m.amount = parseInt(proto.amount, 10);
|
|
11291
11474
|
}
|
|
11292
11475
|
if (proto.reason) {
|
|
11293
|
-
m.reason = enumStringToValue$
|
|
11476
|
+
m.reason = enumStringToValue$i(RetailRefundReason, proto.reason);
|
|
11294
11477
|
}
|
|
11295
11478
|
return m;
|
|
11296
11479
|
}
|
|
@@ -11351,10 +11534,10 @@ class RetailPayment {
|
|
|
11351
11534
|
m.amount = parseInt(proto.amount, 10);
|
|
11352
11535
|
}
|
|
11353
11536
|
if (proto.referenceType) {
|
|
11354
|
-
m.referenceType = enumStringToValue$
|
|
11537
|
+
m.referenceType = enumStringToValue$i(RetailPaymentReferenceType, proto.referenceType);
|
|
11355
11538
|
}
|
|
11356
11539
|
if (proto.status) {
|
|
11357
|
-
m.status = enumStringToValue$
|
|
11540
|
+
m.status = enumStringToValue$i(PaymentStatus, proto.status);
|
|
11358
11541
|
}
|
|
11359
11542
|
if (proto.applicationFee) {
|
|
11360
11543
|
m.applicationFee = parseInt(proto.applicationFee, 10);
|
|
@@ -11369,7 +11552,7 @@ class RetailPayment {
|
|
|
11369
11552
|
m.refunds = proto.refunds.map(RetailRefund.fromProto);
|
|
11370
11553
|
}
|
|
11371
11554
|
if (proto.paymentMethodDetailsType) {
|
|
11372
|
-
m.paymentMethodDetailsType = enumStringToValue$
|
|
11555
|
+
m.paymentMethodDetailsType = enumStringToValue$i(RetailPaymentPaymentMethodDetailsType, proto.paymentMethodDetailsType);
|
|
11373
11556
|
}
|
|
11374
11557
|
if (proto.achDebitDetails) {
|
|
11375
11558
|
m.achDebitDetails = RetailPaymentACHDetails.fromProto(proto.achDebitDetails);
|
|
@@ -11381,7 +11564,7 @@ class RetailPayment {
|
|
|
11381
11564
|
m.paymentFacilitatorFee = parseInt(proto.paymentFacilitatorFee, 10);
|
|
11382
11565
|
}
|
|
11383
11566
|
if (proto.paymentFacilitatorType) {
|
|
11384
|
-
m.paymentFacilitatorType = enumStringToValue$
|
|
11567
|
+
m.paymentFacilitatorType = enumStringToValue$i(PaymentFacilitatorType, proto.paymentFacilitatorType);
|
|
11385
11568
|
}
|
|
11386
11569
|
if (proto.settledAt) {
|
|
11387
11570
|
m.settledAt = new Date(proto.settledAt);
|
|
@@ -11516,13 +11699,13 @@ class RetailRefund {
|
|
|
11516
11699
|
m.amount = parseInt(proto.amount, 10);
|
|
11517
11700
|
}
|
|
11518
11701
|
if (proto.refundReason) {
|
|
11519
|
-
m.refundReason = enumStringToValue$
|
|
11702
|
+
m.refundReason = enumStringToValue$i(RetailRefundReason, proto.refundReason);
|
|
11520
11703
|
}
|
|
11521
11704
|
if (proto.status) {
|
|
11522
|
-
m.status = enumStringToValue$
|
|
11705
|
+
m.status = enumStringToValue$i(RetailRefundStatus, proto.status);
|
|
11523
11706
|
}
|
|
11524
11707
|
if (proto.failureReason) {
|
|
11525
|
-
m.failureReason = enumStringToValue$
|
|
11708
|
+
m.failureReason = enumStringToValue$i(RetailRefundFailureReason, proto.failureReason);
|
|
11526
11709
|
}
|
|
11527
11710
|
if (proto.created) {
|
|
11528
11711
|
m.created = new Date(proto.created);
|
|
@@ -11786,7 +11969,7 @@ class RetailStatusResponseVerificationRequirements {
|
|
|
11786
11969
|
}
|
|
11787
11970
|
}
|
|
11788
11971
|
|
|
11789
|
-
function enumStringToValue$
|
|
11972
|
+
function enumStringToValue$h(enumRef, value) {
|
|
11790
11973
|
if (typeof value === 'number') {
|
|
11791
11974
|
return value;
|
|
11792
11975
|
}
|
|
@@ -11797,7 +11980,7 @@ class CreatePricingPlanProductRequest {
|
|
|
11797
11980
|
let m = new CreatePricingPlanProductRequest();
|
|
11798
11981
|
m = Object.assign(m, proto);
|
|
11799
11982
|
if (proto.frequency) {
|
|
11800
|
-
m.frequency = enumStringToValue$
|
|
11983
|
+
m.frequency = enumStringToValue$h(Frequency, proto.frequency);
|
|
11801
11984
|
}
|
|
11802
11985
|
if (proto.pricing) {
|
|
11803
11986
|
m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
|
|
@@ -11806,7 +11989,7 @@ class CreatePricingPlanProductRequest {
|
|
|
11806
11989
|
m.commitment = Commitment.fromProto(proto.commitment);
|
|
11807
11990
|
}
|
|
11808
11991
|
if (proto.strategy) {
|
|
11809
|
-
m.strategy = enumStringToValue$
|
|
11992
|
+
m.strategy = enumStringToValue$h(BillingStrategy, proto.strategy);
|
|
11810
11993
|
}
|
|
11811
11994
|
if (proto.volumeCommitment) {
|
|
11812
11995
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -11980,7 +12163,7 @@ class GetPricingPlanProductResponse {
|
|
|
11980
12163
|
m.pricingPlanProduct = PricingPlanProduct.fromProto(proto.pricingPlanProduct);
|
|
11981
12164
|
}
|
|
11982
12165
|
if (proto.pricingPlanDefaultStrategy) {
|
|
11983
|
-
m.pricingPlanDefaultStrategy = enumStringToValue$
|
|
12166
|
+
m.pricingPlanDefaultStrategy = enumStringToValue$h(BillingStrategy, proto.pricingPlanDefaultStrategy);
|
|
11984
12167
|
}
|
|
11985
12168
|
return m;
|
|
11986
12169
|
}
|
|
@@ -12168,7 +12351,7 @@ class PricingPlanProduct {
|
|
|
12168
12351
|
let m = new PricingPlanProduct();
|
|
12169
12352
|
m = Object.assign(m, proto);
|
|
12170
12353
|
if (proto.frequency) {
|
|
12171
|
-
m.frequency = enumStringToValue$
|
|
12354
|
+
m.frequency = enumStringToValue$h(Frequency, proto.frequency);
|
|
12172
12355
|
}
|
|
12173
12356
|
if (proto.pricing) {
|
|
12174
12357
|
m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
|
|
@@ -12183,7 +12366,7 @@ class PricingPlanProduct {
|
|
|
12183
12366
|
m.modified = new Date(proto.modified);
|
|
12184
12367
|
}
|
|
12185
12368
|
if (proto.strategy) {
|
|
12186
|
-
m.strategy = enumStringToValue$
|
|
12369
|
+
m.strategy = enumStringToValue$h(BillingStrategy, proto.strategy);
|
|
12187
12370
|
}
|
|
12188
12371
|
if (proto.volumeCommitment) {
|
|
12189
12372
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -12195,7 +12378,7 @@ class PricingPlanProduct {
|
|
|
12195
12378
|
m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);
|
|
12196
12379
|
}
|
|
12197
12380
|
if (proto.pricingType) {
|
|
12198
|
-
m.pricingType = enumStringToValue$
|
|
12381
|
+
m.pricingType = enumStringToValue$h(ProductPricingType, proto.pricingType);
|
|
12199
12382
|
}
|
|
12200
12383
|
return m;
|
|
12201
12384
|
}
|
|
@@ -12251,7 +12434,7 @@ class UpdatePricingPlanProductRequest {
|
|
|
12251
12434
|
let m = new UpdatePricingPlanProductRequest();
|
|
12252
12435
|
m = Object.assign(m, proto);
|
|
12253
12436
|
if (proto.frequency) {
|
|
12254
|
-
m.frequency = enumStringToValue$
|
|
12437
|
+
m.frequency = enumStringToValue$h(Frequency, proto.frequency);
|
|
12255
12438
|
}
|
|
12256
12439
|
if (proto.pricing) {
|
|
12257
12440
|
m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
|
|
@@ -12263,7 +12446,7 @@ class UpdatePricingPlanProductRequest {
|
|
|
12263
12446
|
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
12264
12447
|
}
|
|
12265
12448
|
if (proto.strategy) {
|
|
12266
|
-
m.strategy = enumStringToValue$
|
|
12449
|
+
m.strategy = enumStringToValue$h(BillingStrategy, proto.strategy);
|
|
12267
12450
|
}
|
|
12268
12451
|
if (proto.volumeCommitment) {
|
|
12269
12452
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -12345,7 +12528,7 @@ class UpsertWholesalePricingRequest {
|
|
|
12345
12528
|
m.termCommitment = Commitment.fromProto(proto.termCommitment);
|
|
12346
12529
|
}
|
|
12347
12530
|
if (proto.strategy) {
|
|
12348
|
-
m.strategy = enumStringToValue$
|
|
12531
|
+
m.strategy = enumStringToValue$h(BillingStrategy, proto.strategy);
|
|
12349
12532
|
}
|
|
12350
12533
|
if (proto.volumeCommitment) {
|
|
12351
12534
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -12394,7 +12577,7 @@ class UpsertWholesalePricingRequest {
|
|
|
12394
12577
|
}
|
|
12395
12578
|
}
|
|
12396
12579
|
|
|
12397
|
-
function enumStringToValue$
|
|
12580
|
+
function enumStringToValue$g(enumRef, value) {
|
|
12398
12581
|
if (typeof value === 'number') {
|
|
12399
12582
|
return value;
|
|
12400
12583
|
}
|
|
@@ -12405,7 +12588,7 @@ class CreateProductRequest {
|
|
|
12405
12588
|
let m = new CreateProductRequest();
|
|
12406
12589
|
m = Object.assign(m, proto);
|
|
12407
12590
|
if (proto.productType) {
|
|
12408
|
-
m.productType = enumStringToValue$
|
|
12591
|
+
m.productType = enumStringToValue$g(ProductType, proto.productType);
|
|
12409
12592
|
}
|
|
12410
12593
|
return m;
|
|
12411
12594
|
}
|
|
@@ -12509,7 +12692,7 @@ class ListProductsRequestListProductsFilters {
|
|
|
12509
12692
|
let m = new ListProductsRequestListProductsFilters();
|
|
12510
12693
|
m = Object.assign(m, proto);
|
|
12511
12694
|
if (proto.productType) {
|
|
12512
|
-
m.productType = proto.productType.map((v) => enumStringToValue$
|
|
12695
|
+
m.productType = proto.productType.map((v) => enumStringToValue$g(ProductType, v));
|
|
12513
12696
|
}
|
|
12514
12697
|
return m;
|
|
12515
12698
|
}
|
|
@@ -12605,7 +12788,7 @@ class Product {
|
|
|
12605
12788
|
let m = new Product();
|
|
12606
12789
|
m = Object.assign(m, proto);
|
|
12607
12790
|
if (proto.productType) {
|
|
12608
|
-
m.productType = enumStringToValue$
|
|
12791
|
+
m.productType = enumStringToValue$g(ProductType, proto.productType);
|
|
12609
12792
|
}
|
|
12610
12793
|
return m;
|
|
12611
12794
|
}
|
|
@@ -12672,7 +12855,7 @@ class UpdateProductRequest {
|
|
|
12672
12855
|
let m = new UpdateProductRequest();
|
|
12673
12856
|
m = Object.assign(m, proto);
|
|
12674
12857
|
if (proto.productType) {
|
|
12675
|
-
m.productType = enumStringToValue$
|
|
12858
|
+
m.productType = enumStringToValue$g(ProductType, proto.productType);
|
|
12676
12859
|
}
|
|
12677
12860
|
return m;
|
|
12678
12861
|
}
|
|
@@ -12703,7 +12886,7 @@ class UpdateProductRequest {
|
|
|
12703
12886
|
}
|
|
12704
12887
|
}
|
|
12705
12888
|
|
|
12706
|
-
function enumStringToValue$
|
|
12889
|
+
function enumStringToValue$f(enumRef, value) {
|
|
12707
12890
|
if (typeof value === 'number') {
|
|
12708
12891
|
return value;
|
|
12709
12892
|
}
|
|
@@ -12717,7 +12900,7 @@ class AppliedCredit {
|
|
|
12717
12900
|
m.appliedAmount = parseInt(proto.appliedAmount, 10);
|
|
12718
12901
|
}
|
|
12719
12902
|
if (proto.referenceType) {
|
|
12720
|
-
m.referenceType = enumStringToValue$
|
|
12903
|
+
m.referenceType = enumStringToValue$f(CreditType, proto.referenceType);
|
|
12721
12904
|
}
|
|
12722
12905
|
return m;
|
|
12723
12906
|
}
|
|
@@ -12746,7 +12929,7 @@ class ListPurchaseRequestListPurchaseBillingStrategyFilter {
|
|
|
12746
12929
|
let m = new ListPurchaseRequestListPurchaseBillingStrategyFilter();
|
|
12747
12930
|
m = Object.assign(m, proto);
|
|
12748
12931
|
if (proto.billingStrategy) {
|
|
12749
|
-
m.billingStrategy = proto.billingStrategy.map((v) => enumStringToValue$
|
|
12932
|
+
m.billingStrategy = proto.billingStrategy.map((v) => enumStringToValue$f(BillingStrategy, v));
|
|
12750
12933
|
}
|
|
12751
12934
|
return m;
|
|
12752
12935
|
}
|
|
@@ -12778,13 +12961,13 @@ class ListPurchaseRequestListPurchaseFilters {
|
|
|
12778
12961
|
m.billingStrategyFilter = ListPurchaseRequestListPurchaseBillingStrategyFilter.fromProto(proto.billingStrategyFilter);
|
|
12779
12962
|
}
|
|
12780
12963
|
if (proto.state) {
|
|
12781
|
-
m.state = enumStringToValue$
|
|
12964
|
+
m.state = enumStringToValue$f(ListPurchaseRequestState, proto.state);
|
|
12782
12965
|
}
|
|
12783
12966
|
if (proto.minPrice) {
|
|
12784
12967
|
m.minPrice = parseInt(proto.minPrice, 10);
|
|
12785
12968
|
}
|
|
12786
12969
|
if (proto.status) {
|
|
12787
|
-
m.status = enumStringToValue$
|
|
12970
|
+
m.status = enumStringToValue$f(PurchaseStatus, proto.status);
|
|
12788
12971
|
}
|
|
12789
12972
|
if (proto.dunningPauseStart) {
|
|
12790
12973
|
m.dunningPauseStart = new Date(proto.dunningPauseStart);
|
|
@@ -12913,7 +13096,7 @@ class ListPurchaseItemsResponse {
|
|
|
12913
13096
|
m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);
|
|
12914
13097
|
}
|
|
12915
13098
|
if (proto.currency) {
|
|
12916
|
-
m.currency = enumStringToValue$
|
|
13099
|
+
m.currency = enumStringToValue$f(Currency, proto.currency);
|
|
12917
13100
|
}
|
|
12918
13101
|
return m;
|
|
12919
13102
|
}
|
|
@@ -12995,6 +13178,32 @@ class ListPurchaseResponse {
|
|
|
12995
13178
|
return toReturn;
|
|
12996
13179
|
}
|
|
12997
13180
|
}
|
|
13181
|
+
class MarkPurchaseAsPaidRequest {
|
|
13182
|
+
static fromProto(proto) {
|
|
13183
|
+
let m = new MarkPurchaseAsPaidRequest();
|
|
13184
|
+
m = Object.assign(m, proto);
|
|
13185
|
+
return m;
|
|
13186
|
+
}
|
|
13187
|
+
constructor(kwargs) {
|
|
13188
|
+
if (!kwargs) {
|
|
13189
|
+
return;
|
|
13190
|
+
}
|
|
13191
|
+
Object.assign(this, kwargs);
|
|
13192
|
+
}
|
|
13193
|
+
toApiJson() {
|
|
13194
|
+
const toReturn = {};
|
|
13195
|
+
if (typeof this.purchaseId !== 'undefined') {
|
|
13196
|
+
toReturn['purchaseId'] = this.purchaseId;
|
|
13197
|
+
}
|
|
13198
|
+
if (typeof this.merchantId !== 'undefined') {
|
|
13199
|
+
toReturn['merchantId'] = this.merchantId;
|
|
13200
|
+
}
|
|
13201
|
+
if (typeof this.day !== 'undefined') {
|
|
13202
|
+
toReturn['day'] = this.day;
|
|
13203
|
+
}
|
|
13204
|
+
return toReturn;
|
|
13205
|
+
}
|
|
13206
|
+
}
|
|
12998
13207
|
class PauseDunningRequest {
|
|
12999
13208
|
static fromProto(proto) {
|
|
13000
13209
|
let m = new PauseDunningRequest();
|
|
@@ -13038,13 +13247,13 @@ class Purchase {
|
|
|
13038
13247
|
m.total = parseInt(proto.total, 10);
|
|
13039
13248
|
}
|
|
13040
13249
|
if (proto.currency) {
|
|
13041
|
-
m.currency = enumStringToValue$
|
|
13250
|
+
m.currency = enumStringToValue$f(Currency, proto.currency);
|
|
13042
13251
|
}
|
|
13043
13252
|
if (proto.items) {
|
|
13044
13253
|
m.items = proto.items.map(PurchaseItem.fromProto);
|
|
13045
13254
|
}
|
|
13046
13255
|
if (proto.billingStrategy) {
|
|
13047
|
-
m.billingStrategy = enumStringToValue$
|
|
13256
|
+
m.billingStrategy = enumStringToValue$f(BillingStrategy, proto.billingStrategy);
|
|
13048
13257
|
}
|
|
13049
13258
|
if (proto.dunningAttempt) {
|
|
13050
13259
|
m.dunningAttempt = parseInt(proto.dunningAttempt, 10);
|
|
@@ -13053,7 +13262,7 @@ class Purchase {
|
|
|
13053
13262
|
m.voided = new Date(proto.voided);
|
|
13054
13263
|
}
|
|
13055
13264
|
if (proto.status) {
|
|
13056
|
-
m.status = enumStringToValue$
|
|
13265
|
+
m.status = enumStringToValue$f(PurchaseStatus, proto.status);
|
|
13057
13266
|
}
|
|
13058
13267
|
if (proto.creditAmount) {
|
|
13059
13268
|
m.creditAmount = parseInt(proto.creditAmount, 10);
|
|
@@ -13134,6 +13343,9 @@ class Purchase {
|
|
|
13134
13343
|
if (typeof this.pauseDunningUntil !== 'undefined' && this.pauseDunningUntil !== null) {
|
|
13135
13344
|
toReturn['pauseDunningUntil'] = 'toApiJson' in this.pauseDunningUntil ? this.pauseDunningUntil.toApiJson() : this.pauseDunningUntil;
|
|
13136
13345
|
}
|
|
13346
|
+
if (typeof this.day !== 'undefined') {
|
|
13347
|
+
toReturn['day'] = this.day;
|
|
13348
|
+
}
|
|
13137
13349
|
return toReturn;
|
|
13138
13350
|
}
|
|
13139
13351
|
}
|
|
@@ -13337,7 +13549,7 @@ class VoidPurchaseRequest {
|
|
|
13337
13549
|
}
|
|
13338
13550
|
}
|
|
13339
13551
|
|
|
13340
|
-
function enumStringToValue$
|
|
13552
|
+
function enumStringToValue$e(enumRef, value) {
|
|
13341
13553
|
if (typeof value === 'number') {
|
|
13342
13554
|
return value;
|
|
13343
13555
|
}
|
|
@@ -13351,10 +13563,10 @@ class CreateRefundRequest {
|
|
|
13351
13563
|
m.amount = parseInt(proto.amount, 10);
|
|
13352
13564
|
}
|
|
13353
13565
|
if (proto.reason) {
|
|
13354
|
-
m.reason = enumStringToValue$
|
|
13566
|
+
m.reason = enumStringToValue$e(RefundReason, proto.reason);
|
|
13355
13567
|
}
|
|
13356
13568
|
if (proto.referenceType) {
|
|
13357
|
-
m.referenceType = enumStringToValue$
|
|
13569
|
+
m.referenceType = enumStringToValue$e(ReferenceType, proto.referenceType);
|
|
13358
13570
|
}
|
|
13359
13571
|
return m;
|
|
13360
13572
|
}
|
|
@@ -13459,10 +13671,10 @@ class Refund {
|
|
|
13459
13671
|
m.amount = parseInt(proto.amount, 10);
|
|
13460
13672
|
}
|
|
13461
13673
|
if (proto.reason) {
|
|
13462
|
-
m.reason = enumStringToValue$
|
|
13674
|
+
m.reason = enumStringToValue$e(RefundReason, proto.reason);
|
|
13463
13675
|
}
|
|
13464
13676
|
if (proto.status) {
|
|
13465
|
-
m.status = enumStringToValue$
|
|
13677
|
+
m.status = enumStringToValue$e(RefundStatus, proto.status);
|
|
13466
13678
|
}
|
|
13467
13679
|
if (proto.created) {
|
|
13468
13680
|
m.created = new Date(proto.created);
|
|
@@ -13471,7 +13683,7 @@ class Refund {
|
|
|
13471
13683
|
m.updated = new Date(proto.updated);
|
|
13472
13684
|
}
|
|
13473
13685
|
if (proto.referenceType) {
|
|
13474
|
-
m.referenceType = enumStringToValue$
|
|
13686
|
+
m.referenceType = enumStringToValue$e(ReferenceType, proto.referenceType);
|
|
13475
13687
|
}
|
|
13476
13688
|
return m;
|
|
13477
13689
|
}
|
|
@@ -13523,7 +13735,7 @@ class Refund {
|
|
|
13523
13735
|
}
|
|
13524
13736
|
}
|
|
13525
13737
|
|
|
13526
|
-
function enumStringToValue$
|
|
13738
|
+
function enumStringToValue$d(enumRef, value) {
|
|
13527
13739
|
if (typeof value === 'number') {
|
|
13528
13740
|
return value;
|
|
13529
13741
|
}
|
|
@@ -13578,7 +13790,7 @@ class ListSalesCreditNoteRequestListSalesCreditNoteFilters {
|
|
|
13578
13790
|
let m = new ListSalesCreditNoteRequestListSalesCreditNoteFilters();
|
|
13579
13791
|
m = Object.assign(m, proto);
|
|
13580
13792
|
if (proto.statuses) {
|
|
13581
|
-
m.statuses = proto.statuses.map((v) => enumStringToValue$
|
|
13793
|
+
m.statuses = proto.statuses.map((v) => enumStringToValue$d(SalesCreditNoteStatus, v));
|
|
13582
13794
|
}
|
|
13583
13795
|
return m;
|
|
13584
13796
|
}
|
|
@@ -13668,7 +13880,7 @@ class SalesCreditNote {
|
|
|
13668
13880
|
m.dueDate = new Date(proto.dueDate);
|
|
13669
13881
|
}
|
|
13670
13882
|
if (proto.currency) {
|
|
13671
|
-
m.currency = enumStringToValue$
|
|
13883
|
+
m.currency = enumStringToValue$d(Currency, proto.currency);
|
|
13672
13884
|
}
|
|
13673
13885
|
if (proto.total) {
|
|
13674
13886
|
m.total = parseInt(proto.total, 10);
|
|
@@ -13677,7 +13889,7 @@ class SalesCreditNote {
|
|
|
13677
13889
|
m.outstanding = parseInt(proto.outstanding, 10);
|
|
13678
13890
|
}
|
|
13679
13891
|
if (proto.status) {
|
|
13680
|
-
m.status = enumStringToValue$
|
|
13892
|
+
m.status = enumStringToValue$d(SalesCreditNoteStatus, proto.status);
|
|
13681
13893
|
}
|
|
13682
13894
|
return m;
|
|
13683
13895
|
}
|
|
@@ -13735,7 +13947,7 @@ class SalesCreditNote {
|
|
|
13735
13947
|
}
|
|
13736
13948
|
}
|
|
13737
13949
|
|
|
13738
|
-
function enumStringToValue$
|
|
13950
|
+
function enumStringToValue$c(enumRef, value) {
|
|
13739
13951
|
if (typeof value === 'number') {
|
|
13740
13952
|
return value;
|
|
13741
13953
|
}
|
|
@@ -13792,10 +14004,10 @@ class ListSalesInvoiceRequestListSalesInvoiceFilters {
|
|
|
13792
14004
|
let m = new ListSalesInvoiceRequestListSalesInvoiceFilters();
|
|
13793
14005
|
m = Object.assign(m, proto);
|
|
13794
14006
|
if (proto.statuses) {
|
|
13795
|
-
m.statuses = proto.statuses.map((v) => enumStringToValue$
|
|
14007
|
+
m.statuses = proto.statuses.map((v) => enumStringToValue$c(SalesInvoiceStatus, v));
|
|
13796
14008
|
}
|
|
13797
14009
|
if (proto.paymentStatuses) {
|
|
13798
|
-
m.paymentStatuses = proto.paymentStatuses.map((v) => enumStringToValue$
|
|
14010
|
+
m.paymentStatuses = proto.paymentStatuses.map((v) => enumStringToValue$c(PaymentStatuses, v));
|
|
13799
14011
|
}
|
|
13800
14012
|
return m;
|
|
13801
14013
|
}
|
|
@@ -13923,16 +14135,16 @@ class SalesInvoice {
|
|
|
13923
14135
|
m.total = parseInt(proto.total, 10);
|
|
13924
14136
|
}
|
|
13925
14137
|
if (proto.currency) {
|
|
13926
|
-
m.currency = enumStringToValue$
|
|
14138
|
+
m.currency = enumStringToValue$c(Currency, proto.currency);
|
|
13927
14139
|
}
|
|
13928
14140
|
if (proto.status) {
|
|
13929
|
-
m.status = enumStringToValue$
|
|
14141
|
+
m.status = enumStringToValue$c(SalesInvoiceStatus, proto.status);
|
|
13930
14142
|
}
|
|
13931
14143
|
if (proto.outstanding) {
|
|
13932
14144
|
m.outstanding = parseInt(proto.outstanding, 10);
|
|
13933
14145
|
}
|
|
13934
14146
|
if (proto.type) {
|
|
13935
|
-
m.type = enumStringToValue$
|
|
14147
|
+
m.type = enumStringToValue$c(SalesInvoiceType, proto.type);
|
|
13936
14148
|
}
|
|
13937
14149
|
return m;
|
|
13938
14150
|
}
|
|
@@ -14036,7 +14248,7 @@ class SendSalesInvoiceReceiptEmailRequest {
|
|
|
14036
14248
|
}
|
|
14037
14249
|
}
|
|
14038
14250
|
|
|
14039
|
-
function enumStringToValue$
|
|
14251
|
+
function enumStringToValue$b(enumRef, value) {
|
|
14040
14252
|
if (typeof value === 'number') {
|
|
14041
14253
|
return value;
|
|
14042
14254
|
}
|
|
@@ -14145,10 +14357,10 @@ class ListTaxRulesRequestFilters {
|
|
|
14145
14357
|
let m = new ListTaxRulesRequestFilters();
|
|
14146
14358
|
m = Object.assign(m, proto);
|
|
14147
14359
|
if (proto.consumer) {
|
|
14148
|
-
m.consumer = enumStringToValue$
|
|
14360
|
+
m.consumer = enumStringToValue$b(Consumer, proto.consumer);
|
|
14149
14361
|
}
|
|
14150
14362
|
if (proto.entityType) {
|
|
14151
|
-
m.entityType = enumStringToValue$
|
|
14363
|
+
m.entityType = enumStringToValue$b(TaxRuleEntityType, proto.entityType);
|
|
14152
14364
|
}
|
|
14153
14365
|
return m;
|
|
14154
14366
|
}
|
|
@@ -14197,7 +14409,7 @@ class GetTaxProviderResponse {
|
|
|
14197
14409
|
let m = new GetTaxProviderResponse();
|
|
14198
14410
|
m = Object.assign(m, proto);
|
|
14199
14411
|
if (proto.taxProviderType) {
|
|
14200
|
-
m.taxProviderType = enumStringToValue$
|
|
14412
|
+
m.taxProviderType = enumStringToValue$b(TaxProviderType, proto.taxProviderType);
|
|
14201
14413
|
}
|
|
14202
14414
|
return m;
|
|
14203
14415
|
}
|
|
@@ -14321,7 +14533,7 @@ class TaxRuleProductProductIdentifier {
|
|
|
14321
14533
|
let m = new TaxRuleProductProductIdentifier();
|
|
14322
14534
|
m = Object.assign(m, proto);
|
|
14323
14535
|
if (proto.type) {
|
|
14324
|
-
m.type = enumStringToValue$
|
|
14536
|
+
m.type = enumStringToValue$b(ProductType, proto.type);
|
|
14325
14537
|
}
|
|
14326
14538
|
return m;
|
|
14327
14539
|
}
|
|
@@ -14350,13 +14562,13 @@ class ReplaceTaxRuleRequest {
|
|
|
14350
14562
|
let m = new ReplaceTaxRuleRequest();
|
|
14351
14563
|
m = Object.assign(m, proto);
|
|
14352
14564
|
if (proto.entityType) {
|
|
14353
|
-
m.entityType = enumStringToValue$
|
|
14565
|
+
m.entityType = enumStringToValue$b(TaxRuleEntityType, proto.entityType);
|
|
14354
14566
|
}
|
|
14355
14567
|
if (proto.type) {
|
|
14356
|
-
m.type = enumStringToValue$
|
|
14568
|
+
m.type = enumStringToValue$b(TaxRuleType, proto.type);
|
|
14357
14569
|
}
|
|
14358
14570
|
if (proto.consumer) {
|
|
14359
|
-
m.consumer = enumStringToValue$
|
|
14571
|
+
m.consumer = enumStringToValue$b(Consumer, proto.consumer);
|
|
14360
14572
|
}
|
|
14361
14573
|
return m;
|
|
14362
14574
|
}
|
|
@@ -14414,13 +14626,13 @@ class TaxRule {
|
|
|
14414
14626
|
let m = new TaxRule();
|
|
14415
14627
|
m = Object.assign(m, proto);
|
|
14416
14628
|
if (proto.entityType) {
|
|
14417
|
-
m.entityType = enumStringToValue$
|
|
14629
|
+
m.entityType = enumStringToValue$b(TaxRuleEntityType, proto.entityType);
|
|
14418
14630
|
}
|
|
14419
14631
|
if (proto.entity) {
|
|
14420
14632
|
m.entity = TaxRuleTaxRuleEntity.fromProto(proto.entity);
|
|
14421
14633
|
}
|
|
14422
14634
|
if (proto.type) {
|
|
14423
|
-
m.type = enumStringToValue$
|
|
14635
|
+
m.type = enumStringToValue$b(TaxRuleType, proto.type);
|
|
14424
14636
|
}
|
|
14425
14637
|
if (proto.taxRates) {
|
|
14426
14638
|
m.taxRates = proto.taxRates.map(TaxRate.fromProto);
|
|
@@ -14541,7 +14753,7 @@ class TaxRuleProduct {
|
|
|
14541
14753
|
}
|
|
14542
14754
|
}
|
|
14543
14755
|
|
|
14544
|
-
function enumStringToValue$
|
|
14756
|
+
function enumStringToValue$a(enumRef, value) {
|
|
14545
14757
|
if (typeof value === 'number') {
|
|
14546
14758
|
return value;
|
|
14547
14759
|
}
|
|
@@ -14681,7 +14893,7 @@ class ListContractDocumentsResponse {
|
|
|
14681
14893
|
}
|
|
14682
14894
|
}
|
|
14683
14895
|
|
|
14684
|
-
function enumStringToValue$
|
|
14896
|
+
function enumStringToValue$9(enumRef, value) {
|
|
14685
14897
|
if (typeof value === 'number') {
|
|
14686
14898
|
return value;
|
|
14687
14899
|
}
|
|
@@ -14747,7 +14959,7 @@ class RetailCustomerConfiguration {
|
|
|
14747
14959
|
m.netD = parseInt(proto.netD, 10);
|
|
14748
14960
|
}
|
|
14749
14961
|
if (proto.paymentMethodTypes) {
|
|
14750
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
14962
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$9(PaymentMethodType, v));
|
|
14751
14963
|
}
|
|
14752
14964
|
return m;
|
|
14753
14965
|
}
|
|
@@ -14815,7 +15027,7 @@ class UpsertRetailCustomerConfigurationRequest {
|
|
|
14815
15027
|
m.netD = parseInt(proto.netD, 10);
|
|
14816
15028
|
}
|
|
14817
15029
|
if (proto.paymentMethodTypes) {
|
|
14818
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
15030
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$9(PaymentMethodType, v));
|
|
14819
15031
|
}
|
|
14820
15032
|
if (proto.fieldMask) {
|
|
14821
15033
|
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
@@ -14876,7 +15088,7 @@ class UpsertRetailCustomerConfigurationRequest {
|
|
|
14876
15088
|
}
|
|
14877
15089
|
}
|
|
14878
15090
|
|
|
14879
|
-
function enumStringToValue$
|
|
15091
|
+
function enumStringToValue$8(enumRef, value) {
|
|
14880
15092
|
if (typeof value === 'number') {
|
|
14881
15093
|
return value;
|
|
14882
15094
|
}
|
|
@@ -14993,7 +15205,7 @@ class GetBalanceResponse {
|
|
|
14993
15205
|
}
|
|
14994
15206
|
}
|
|
14995
15207
|
|
|
14996
|
-
function enumStringToValue$
|
|
15208
|
+
function enumStringToValue$7(enumRef, value) {
|
|
14997
15209
|
if (typeof value === 'number') {
|
|
14998
15210
|
return value;
|
|
14999
15211
|
}
|
|
@@ -15004,7 +15216,7 @@ class CreateMerchantServicesReportRun {
|
|
|
15004
15216
|
let m = new CreateMerchantServicesReportRun();
|
|
15005
15217
|
m = Object.assign(m, proto);
|
|
15006
15218
|
if (proto.reportType) {
|
|
15007
|
-
m.reportType = enumStringToValue$
|
|
15219
|
+
m.reportType = enumStringToValue$7(MerchantServicesReportRunType, proto.reportType);
|
|
15008
15220
|
}
|
|
15009
15221
|
if (proto.intervalStart) {
|
|
15010
15222
|
m.intervalStart = new Date(proto.intervalStart);
|
|
@@ -15068,10 +15280,10 @@ class MerchantServicesReportRun {
|
|
|
15068
15280
|
m.created = new Date(proto.created);
|
|
15069
15281
|
}
|
|
15070
15282
|
if (proto.reportType) {
|
|
15071
|
-
m.reportType = enumStringToValue$
|
|
15283
|
+
m.reportType = enumStringToValue$7(MerchantServicesReportRunType, proto.reportType);
|
|
15072
15284
|
}
|
|
15073
15285
|
if (proto.status) {
|
|
15074
|
-
m.status = enumStringToValue$
|
|
15286
|
+
m.status = enumStringToValue$7(MerchantServicesReportRunStatus, proto.status);
|
|
15075
15287
|
}
|
|
15076
15288
|
return m;
|
|
15077
15289
|
}
|
|
@@ -15102,7 +15314,7 @@ class MerchantServicesReportRun {
|
|
|
15102
15314
|
}
|
|
15103
15315
|
}
|
|
15104
15316
|
|
|
15105
|
-
function enumStringToValue$
|
|
15317
|
+
function enumStringToValue$6(enumRef, value) {
|
|
15106
15318
|
if (typeof value === 'number') {
|
|
15107
15319
|
return value;
|
|
15108
15320
|
}
|
|
@@ -15152,7 +15364,7 @@ class MCPOptions {
|
|
|
15152
15364
|
}
|
|
15153
15365
|
}
|
|
15154
15366
|
|
|
15155
|
-
function enumStringToValue$
|
|
15367
|
+
function enumStringToValue$5(enumRef, value) {
|
|
15156
15368
|
if (typeof value === 'number') {
|
|
15157
15369
|
return value;
|
|
15158
15370
|
}
|
|
@@ -15163,13 +15375,13 @@ class ListSubscriptionRelationshipsRequestFilters {
|
|
|
15163
15375
|
let m = new ListSubscriptionRelationshipsRequestFilters();
|
|
15164
15376
|
m = Object.assign(m, proto);
|
|
15165
15377
|
if (proto.originType) {
|
|
15166
|
-
m.originType = enumStringToValue$
|
|
15378
|
+
m.originType = enumStringToValue$5(EntityType, proto.originType);
|
|
15167
15379
|
}
|
|
15168
15380
|
if (proto.targetType) {
|
|
15169
|
-
m.targetType = enumStringToValue$
|
|
15381
|
+
m.targetType = enumStringToValue$5(EntityType, proto.targetType);
|
|
15170
15382
|
}
|
|
15171
15383
|
if (proto.relationshipType) {
|
|
15172
|
-
m.relationshipType = enumStringToValue$
|
|
15384
|
+
m.relationshipType = enumStringToValue$5(RelationshipType, proto.relationshipType);
|
|
15173
15385
|
}
|
|
15174
15386
|
return m;
|
|
15175
15387
|
}
|
|
@@ -15357,13 +15569,13 @@ class SubscriptionRelationship {
|
|
|
15357
15569
|
let m = new SubscriptionRelationship();
|
|
15358
15570
|
m = Object.assign(m, proto);
|
|
15359
15571
|
if (proto.originType) {
|
|
15360
|
-
m.originType = enumStringToValue$
|
|
15572
|
+
m.originType = enumStringToValue$5(EntityType, proto.originType);
|
|
15361
15573
|
}
|
|
15362
15574
|
if (proto.targetType) {
|
|
15363
|
-
m.targetType = enumStringToValue$
|
|
15575
|
+
m.targetType = enumStringToValue$5(EntityType, proto.targetType);
|
|
15364
15576
|
}
|
|
15365
15577
|
if (proto.relationshipType) {
|
|
15366
|
-
m.relationshipType = enumStringToValue$
|
|
15578
|
+
m.relationshipType = enumStringToValue$5(RelationshipType, proto.relationshipType);
|
|
15367
15579
|
}
|
|
15368
15580
|
if (proto.created) {
|
|
15369
15581
|
m.created = new Date(proto.created);
|
|
@@ -15421,7 +15633,7 @@ class SubscriptionRelationship {
|
|
|
15421
15633
|
}
|
|
15422
15634
|
}
|
|
15423
15635
|
|
|
15424
|
-
function enumStringToValue$
|
|
15636
|
+
function enumStringToValue$4(enumRef, value) {
|
|
15425
15637
|
if (typeof value === 'number') {
|
|
15426
15638
|
return value;
|
|
15427
15639
|
}
|
|
@@ -15527,7 +15739,7 @@ class SubscriptionPreset {
|
|
|
15527
15739
|
}
|
|
15528
15740
|
}
|
|
15529
15741
|
|
|
15530
|
-
function enumStringToValue$
|
|
15742
|
+
function enumStringToValue$3(enumRef, value) {
|
|
15531
15743
|
if (typeof value === 'number') {
|
|
15532
15744
|
return value;
|
|
15533
15745
|
}
|
|
@@ -15538,13 +15750,13 @@ class AppliedTo {
|
|
|
15538
15750
|
let m = new AppliedTo();
|
|
15539
15751
|
m = Object.assign(m, proto);
|
|
15540
15752
|
if (proto.referenceType) {
|
|
15541
|
-
m.referenceType = enumStringToValue$
|
|
15753
|
+
m.referenceType = enumStringToValue$3(AppliedReferenceType, proto.referenceType);
|
|
15542
15754
|
}
|
|
15543
15755
|
if (proto.amount) {
|
|
15544
15756
|
m.amount = parseInt(proto.amount, 10);
|
|
15545
15757
|
}
|
|
15546
15758
|
if (proto.creditNoteType) {
|
|
15547
|
-
m.creditNoteType = enumStringToValue$
|
|
15759
|
+
m.creditNoteType = enumStringToValue$3(CreditNoteType, proto.creditNoteType);
|
|
15548
15760
|
}
|
|
15549
15761
|
if (proto.appliedAt) {
|
|
15550
15762
|
m.appliedAt = new Date(proto.appliedAt);
|
|
@@ -15692,7 +15904,7 @@ class CreditNote {
|
|
|
15692
15904
|
m.items = proto.items.map(LineItem.fromProto);
|
|
15693
15905
|
}
|
|
15694
15906
|
if (proto.currency) {
|
|
15695
|
-
m.currency = enumStringToValue$
|
|
15907
|
+
m.currency = enumStringToValue$3(Currency, proto.currency);
|
|
15696
15908
|
}
|
|
15697
15909
|
if (proto.amountTax) {
|
|
15698
15910
|
m.amountTax = parseInt(proto.amountTax, 10);
|
|
@@ -15704,7 +15916,7 @@ class CreditNote {
|
|
|
15704
15916
|
m.notes = proto.notes.map(Note.fromProto);
|
|
15705
15917
|
}
|
|
15706
15918
|
if (proto.reason) {
|
|
15707
|
-
m.reason = enumStringToValue$
|
|
15919
|
+
m.reason = enumStringToValue$3(CreditNoteReason, proto.reason);
|
|
15708
15920
|
}
|
|
15709
15921
|
if (proto.appliedTo) {
|
|
15710
15922
|
m.appliedTo = proto.appliedTo.map(AppliedTo.fromProto);
|
|
@@ -16044,19 +16256,16 @@ class SendCreditNoteRequest {
|
|
|
16044
16256
|
}
|
|
16045
16257
|
}
|
|
16046
16258
|
|
|
16047
|
-
function enumStringToValue$
|
|
16259
|
+
function enumStringToValue$2(enumRef, value) {
|
|
16048
16260
|
if (typeof value === 'number') {
|
|
16049
16261
|
return value;
|
|
16050
16262
|
}
|
|
16051
16263
|
return enumRef[value];
|
|
16052
16264
|
}
|
|
16053
|
-
class
|
|
16265
|
+
class GetMultiVendorSplitRequest {
|
|
16054
16266
|
static fromProto(proto) {
|
|
16055
|
-
let m = new
|
|
16267
|
+
let m = new GetMultiVendorSplitRequest();
|
|
16056
16268
|
m = Object.assign(m, proto);
|
|
16057
|
-
if (proto.retailSubscriptionGroup) {
|
|
16058
|
-
m.retailSubscriptionGroup = RetailSubscriptionGroup.fromProto(proto.retailSubscriptionGroup);
|
|
16059
|
-
}
|
|
16060
16269
|
return m;
|
|
16061
16270
|
}
|
|
16062
16271
|
constructor(kwargs) {
|
|
@@ -16067,38 +16276,18 @@ class CreateRetailSubscriptionGroupRequest {
|
|
|
16067
16276
|
}
|
|
16068
16277
|
toApiJson() {
|
|
16069
16278
|
const toReturn = {};
|
|
16070
|
-
if (typeof this.
|
|
16071
|
-
toReturn['
|
|
16072
|
-
}
|
|
16073
|
-
return toReturn;
|
|
16074
|
-
}
|
|
16075
|
-
}
|
|
16076
|
-
class CreateRetailSubscriptionGroupResponse {
|
|
16077
|
-
static fromProto(proto) {
|
|
16078
|
-
let m = new CreateRetailSubscriptionGroupResponse();
|
|
16079
|
-
m = Object.assign(m, proto);
|
|
16080
|
-
return m;
|
|
16081
|
-
}
|
|
16082
|
-
constructor(kwargs) {
|
|
16083
|
-
if (!kwargs) {
|
|
16084
|
-
return;
|
|
16085
|
-
}
|
|
16086
|
-
Object.assign(this, kwargs);
|
|
16087
|
-
}
|
|
16088
|
-
toApiJson() {
|
|
16089
|
-
const toReturn = {};
|
|
16090
|
-
if (typeof this.id !== 'undefined') {
|
|
16091
|
-
toReturn['id'] = this.id;
|
|
16279
|
+
if (typeof this.skus !== 'undefined') {
|
|
16280
|
+
toReturn['skus'] = this.skus;
|
|
16092
16281
|
}
|
|
16093
16282
|
return toReturn;
|
|
16094
16283
|
}
|
|
16095
16284
|
}
|
|
16096
|
-
class
|
|
16285
|
+
class GetMultiVendorSplitResponse {
|
|
16097
16286
|
static fromProto(proto) {
|
|
16098
|
-
let m = new
|
|
16287
|
+
let m = new GetMultiVendorSplitResponse();
|
|
16099
16288
|
m = Object.assign(m, proto);
|
|
16100
|
-
if (proto.
|
|
16101
|
-
m.
|
|
16289
|
+
if (proto.vendorSplits) {
|
|
16290
|
+
m.vendorSplits = proto.vendorSplits.map(VendorSplit.fromProto);
|
|
16102
16291
|
}
|
|
16103
16292
|
return m;
|
|
16104
16293
|
}
|
|
@@ -16110,25 +16299,12 @@ class RetailSubscriptionGroup {
|
|
|
16110
16299
|
}
|
|
16111
16300
|
toApiJson() {
|
|
16112
16301
|
const toReturn = {};
|
|
16113
|
-
if (typeof this.
|
|
16114
|
-
toReturn['
|
|
16115
|
-
}
|
|
16116
|
-
if (typeof this.name !== 'undefined') {
|
|
16117
|
-
toReturn['name'] = this.name;
|
|
16118
|
-
}
|
|
16119
|
-
if (typeof this.displayOption !== 'undefined') {
|
|
16120
|
-
toReturn['displayOption'] = this.displayOption;
|
|
16302
|
+
if (typeof this.vendorSplits !== 'undefined' && this.vendorSplits !== null) {
|
|
16303
|
+
toReturn['vendorSplits'] = 'toApiJson' in this.vendorSplits ? this.vendorSplits.toApiJson() : this.vendorSplits;
|
|
16121
16304
|
}
|
|
16122
16305
|
return toReturn;
|
|
16123
16306
|
}
|
|
16124
16307
|
}
|
|
16125
|
-
|
|
16126
|
-
function enumStringToValue$2(enumRef, value) {
|
|
16127
|
-
if (typeof value === 'number') {
|
|
16128
|
-
return value;
|
|
16129
|
-
}
|
|
16130
|
-
return enumRef[value];
|
|
16131
|
-
}
|
|
16132
16308
|
class GetVendorSplitRequest {
|
|
16133
16309
|
static fromProto(proto) {
|
|
16134
16310
|
let m = new GetVendorSplitRequest();
|
|
@@ -18662,6 +18838,10 @@ class PurchaseApiService {
|
|
|
18662
18838
|
const request = (r.toApiJson) ? r : new StopDunningRequest(r);
|
|
18663
18839
|
return this.http.post(this._host + "/billing.v1.PurchaseService/StopDunning", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
18664
18840
|
}
|
|
18841
|
+
markAsPaid(r) {
|
|
18842
|
+
const request = (r.toApiJson) ? r : new MarkPurchaseAsPaidRequest(r);
|
|
18843
|
+
return this.http.post(this._host + "/billing.v1.PurchaseService/MarkAsPaid", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
18844
|
+
}
|
|
18665
18845
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: PurchaseApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18666
18846
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: PurchaseApiService, providedIn: 'root' }); }
|
|
18667
18847
|
}
|
|
@@ -18821,6 +19001,16 @@ class RetailSubscriptionGroupApiService {
|
|
|
18821
19001
|
return this.http.post(this._host + "/billing.v1.RetailSubscriptionGroupService/CreateRetailSubscriptionGroup", request.toApiJson(), this.apiOptions())
|
|
18822
19002
|
.pipe(map(resp => CreateRetailSubscriptionGroupResponse.fromProto(resp)));
|
|
18823
19003
|
}
|
|
19004
|
+
getMulti(r) {
|
|
19005
|
+
const request = (r.toApiJson) ? r : new GetMultiRetailSubscriptionGroupRequest(r);
|
|
19006
|
+
return this.http.post(this._host + "/billing.v1.RetailSubscriptionGroupService/GetMulti", request.toApiJson(), this.apiOptions())
|
|
19007
|
+
.pipe(map(resp => GetMultiRetailSubscriptionGroupResponse.fromProto(resp)));
|
|
19008
|
+
}
|
|
19009
|
+
update(r) {
|
|
19010
|
+
const request = (r.toApiJson) ? r : new UpdateRetailSubscriptionGroupRequest(r);
|
|
19011
|
+
return this.http.post(this._host + "/billing.v1.RetailSubscriptionGroupService/Update", request.toApiJson(), this.apiOptions())
|
|
19012
|
+
.pipe(map(resp => UpdateRetailSubscriptionGroupResponse.fromProto(resp)));
|
|
19013
|
+
}
|
|
18824
19014
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: RetailSubscriptionGroupApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18825
19015
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: RetailSubscriptionGroupApiService, providedIn: 'root' }); }
|
|
18826
19016
|
}
|
|
@@ -19109,6 +19299,11 @@ class VendorSplitApiService {
|
|
|
19109
19299
|
return this.http.post(this._host + "/billing.v1.VendorSplitService/Upsert", request.toApiJson(), this.apiOptions())
|
|
19110
19300
|
.pipe(map(resp => UpsertVendorSplitResponse.fromProto(resp)));
|
|
19111
19301
|
}
|
|
19302
|
+
getMulti(r) {
|
|
19303
|
+
const request = (r.toApiJson) ? r : new GetMultiVendorSplitRequest(r);
|
|
19304
|
+
return this.http.post(this._host + "/billing.v1.VendorSplitService/GetMulti", request.toApiJson(), this.apiOptions())
|
|
19305
|
+
.pipe(map(resp => GetMultiVendorSplitResponse.fromProto(resp)));
|
|
19306
|
+
}
|
|
19112
19307
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: VendorSplitApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19113
19308
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: VendorSplitApiService, providedIn: 'root' }); }
|
|
19114
19309
|
}
|
|
@@ -19131,5 +19326,5 @@ const usdConversionRate = 1.4;
|
|
|
19131
19326
|
* Generated bundle index. Do not edit.
|
|
19132
19327
|
*/
|
|
19133
19328
|
|
|
19134
|
-
export { Access, AccountBalance, AddBundleRequest, AddBundleResponse, AddCreditRequest, AddLineItemRequest, AddLineItemResponse, Adjustment, AlignmentSubscription, AppliedBundle, AppliedBundleItem, AppliedCredit, AppliedCreditNote, AppliedDiscount, AppliedFee, AppliedReferenceType, AppliedTaxRate, AppliedTo, ArchiveTaxRequest, AvalaraConfiguration, AvalaraConfigurationApiService, Balance, BalanceAmount, BankAccount, BankReconciliationApiService, BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, BillableItemCustomerAddress, BillableItemRetailSubscriptionGroup, BillingApiService, BillingStrategy, BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, Bundle, BundleApiService, BundleItem, BundleItemPrice, BundlePricing, BundlePricingPriceAndFrequency, CalculateCreditNoteRequest, CalculateCreditNoteResponse, CalculateLineItemTaxesRequest, CalculateLineItemTaxesRequestLineItem, CalculateLineItemTaxesResponse, CalculateLineItemTaxesResponseLineItemTaxes, CalculateTaxRequest, CalculateTaxResponse, CanBillItemRequest, CanCreateSubscriptionsRequest, CanCreateSubscriptionsRequestSkusEntry, CanCreateSubscriptionsRequestSubscriptionItem, CanCreateSubscriptionsResponse, CancelRetailBillingRequest, CardType, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, ChargeInvoiceRequest, ChargeSalesInvoiceRequest, CloseRetailDisputeRequest, CollectionMethod, Commitment, ComponentPricing, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, Consumer, Contract, ContractApiService, ContractDocument, ContractDocumentApiService, ContractSubscriptionStatus, CreateAvalaraConfigurationRequest, CreateAvalaraConfigurationResponse, CreateContractRequest, CreateContractResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreateDiscountRequest, CreateDiscountResponse, CreateInvoiceRequest, CreateInvoiceResponse, CreateMerchantRequest, CreateMerchantRequestIncludeInFinancialRecords, CreateMerchantServicesReportRun, CreateMeteredComponentRequest, CreatePaymentCardRequest, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CreatePricingPlanProductRequest, CreatePricingPlanProductRequestPricingEntry, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateProductRequest, CreateRefundRequest, CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse, CreateSalesCreditNoteRequest, CreateStripeExternalAccountRequest, CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateTaxRequest, CreateTaxResponse, CreateUsageRequest, CreditApiService, CreditBalance, CreditNote, CreditNoteApiService, CreditNoteReason, CreditNoteType, CreditType, Currency, CustomerSummary, DateRange, DefaultCustomerConfiguration, DeleteAvalaraConfigurationRequest, DeleteBankAccountRequest, DeleteBillableItemRequest, DeleteContractDocumentRequest, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DeletePaymentCardRequest, DeletePricingPlanProductRequest, DeleteProductRequest, DeleteRecurringInvoiceRequest, DeleteRetailPricingRequest, DeleteTaxRuleRequest, Discount, DiscountApiService, DiscountType, DisplayOption, Dispute, DisputeEvidence, DisputeEvidenceDetails, DisputeStatus, DuplicateInvoiceRequest, DuplicateInvoiceResponse, EntityType, ExpireBillableItemRequest, ExpireDiscountRequest, ExportResponse, ExportSubscriptionsRequest, Fee, FeeAmountType, FeeType, FieldMask, File, Frequency, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GenerateVendorReportRequest, GenerateVendorReportResponse, GetAvalaraConfigurationRequest, GetAvalaraConfigurationResponse, GetBalanceRequest, GetBalanceResponse, GetBillableItemRequest, GetBillableItemResponse, GetContractRequest, GetContractResponse, GetCreditNoteRequest, GetCreditNoteResponse, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceWithCalculatedTaxesRequest, GetInvoiceWithCalculatedTaxesResponse, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMerchantWholesaleCurrencyRequest, GetMerchantWholesaleCurrencyResponse, GetMultiBundleRequest, GetMultiBundleResponse, GetMultiBundleResponseBundlesEntry, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiBundleRetailPricingResponsePricesEntry, GetMultiContractsRequest, GetMultiContractsResponse, GetMultiContractsResponseContractsEntry, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiProductPricingResponseProductPricesEntry, GetMultiProductRequest, GetMultiProductResponse, GetMultiProductResponseProductsEntry, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiRetailPricingResponseProductPricesEntry, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsRequestKey, GetMultiSubscriptionsResponse, GetMultiTaxRequest, GetMultiTaxResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetNextRetailInvoiceSequenceRequest, GetNextRetailInvoiceSequenceResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, GetProductSummariesTotalRequest, GetProductSummariesTotalResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetRecurringInvoiceRequest, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetRevenueStatsRequest, GetRevenueStatsResponse, GetSalesInvoiceRequest, GetSalesInvoiceResponse, GetStatisticsRequest, GetStatisticsResponse, GetTaxProviderRequest, GetTaxProviderResponse, GetTaxRuleRequest, GetTaxRuleResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, GetVendorSplitRequest, GetVendorSplitResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonRequestGetWholesaleComparisonFilters, GetWholesaleComparisonResponse, GetWholesaleComparisonResponseGetWholesaleComparisonResult, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, HostService, Interval, Invoice, InvoiceApiService, InvoiceCustomerAddress, InvoiceItem, InvoiceItemRetailSubscriptionGroup, InvoiceStatus, Item, LastPaymentStatus, LineItem, ListBankAccountsRequest, ListBankAccountsResponse, ListBillableItemsRequest, ListBillableItemsRequestFilters, ListBillableItemsResponse, ListBundlesRequest, ListBundlesRequestFilters, ListBundlesResponse, ListContractDocumentsRequest, ListContractDocumentsRequestFilters, ListContractDocumentsResponse, ListContractsRequest, ListContractsResponse, ListCreditNotesRequest, ListCreditNotesRequestFilters, ListCreditNotesResponse, ListDiscountsRequest, ListDiscountsRequestFilters, ListDiscountsResponse, ListInvoicesRequest, ListInvoicesRequestFilters, ListInvoicesRequestFiltersDateFilter, ListInvoicesRequestFiltersDateFilterDateField, ListInvoicesResponse, ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListPaymentRequest, ListPaymentRequestListPaymentFilters, ListPaymentResponse, ListPayoutsRequest, ListPayoutsRequestFilters, ListPayoutsResponse, ListPricingPlanProductsRequest, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsResponse, ListProductSummariesRequest, ListProductSummariesResponse, ListProductsRequest, ListProductsRequestListProductsFilters, ListProductsResponse, ListPurchaseItemsRequest, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseRequestState, ListPurchaseResponse, ListRecurringInvoicesFilters, ListRecurringInvoicesFiltersDateFilter, ListRecurringInvoicesFiltersDetailedInterval, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, ListRefundsRequest, ListRefundsResponse, ListRetailDisputesRequest, ListRetailDisputesRequestListRetailDisputesFilters, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, ListRetailTransactionsRequest, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsResponse, ListSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteResponse, ListSalesInvoiceRequest, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsRequestFilters, ListSubscriptionRelationshipsResponse, ListSubscriptionRetentionByGroupResponse, ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup, ListSubscriptionRetentionBySKUResponse, ListSubscriptionRetentionRequest, ListSubscriptionRetentionRequestFilters, ListSubscriptionsRequest, ListSubscriptionsRequestFilters, ListSubscriptionsResponse, ListTaxRequest, ListTaxRequestFilters, ListTaxResponse, ListTaxRulesRequest, ListTaxRulesRequestFilters, ListTaxRulesResponse, MCPOptions, Merchant, MerchantApiService, MerchantReport, MerchantReportStatus, MerchantServicesReportRun, MerchantServicesReportRunStatus, MerchantServicesReportRunType, MerchantType, MeteredComponent, Month, Note, Origin, PagedRequestOptions, PagedResponseMetadata, PauseDunningRequest, PayInvoiceRequest, Payment, PaymentACHDebit, PaymentACSSDebit, PaymentAllocationType, PaymentApiService, PaymentCard, PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, PaymentErrorCode, PaymentFacilitatorType, PaymentIntent, PaymentIntentStatus, PaymentLinkItem, PaymentMethod, PaymentMethodApiService, PaymentMethodType, PaymentPaymentAllocation, PaymentProcessor, PaymentSource, PaymentStatus, PaymentStatuses, Payout, PayoutStatus, PayoutType, PostSalesInvoiceRequest, PrepareRetailPaymentRequest, PrepareRetailPaymentRequestOrder, PrepareRetailPaymentResponse, Pricing, PricingApiService, PricingPlan, PricingPlanProduct, PricingPlanProductPricing, PricingPlanProductPricingEntry, PricingRule, PricingRuleType, ProcessingFailureCode, Product, ProductApiService, ProductPrices, ProductPricing, ProductPricingRule, ProductPricingType, ProductSummary, ProductSummaryApiService, ProductSummaryBillingStrategy, ProductSummaryDiscount, ProductSummaryDiscountDiscountType, ProductSummaryProductType, ProductType, Purchase, PurchaseApiService, PurchaseItem, PurchaseStatus, ReconcilePayoutRequest, ReconcilePayoutResponse, RecurringInvoice, RecurringInvoiceApiService, RecurringInvoiceBundle, RecurringInvoiceCustomerAddress, RecurringInvoiceItem, RecurringInvoiceLineItem, RecurringInvoiceStatus, ReferenceType, Refund, RefundApiService, RefundReason, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RefundStatus, RelationshipType, RemoveBundleRequest, RemoveBundleResponse, RenewalState, ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, ResetContractPricingRequest, ResetPaymentFacilitatorRequest, ResumeDunningRequest, RetailConfiguration, RetailCustomerConfiguration, RetailCustomerConfigurationApiService, RetailPayment, RetailPaymentACHDetails, RetailPaymentACSSDetails, RetailPaymentCardDetails, RetailPaymentPaymentMethodDetailsType, RetailPaymentReferenceType, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailPayout, RetailRefund, RetailRefundFailureReason, RetailRefundReason, RetailRefundStatus, RetailStatusRequest, RetailStatusResponse, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, RetailSubscriptionGroup, RetailSubscriptionGroupApiService, RetailTransaction, RetailTransactionType, RetentionMetrics, RetryPurchaseRequest, ReverseSubscriptionRequest, SalesCreditNote, SalesCreditNoteApiService, SalesCreditNoteStatus, SalesInvoice, SalesInvoiceApiService, SalesInvoiceStatus, SalesInvoiceType, SearchMerchantsRequest, SearchMerchantsRequestSortBy, SearchMerchantsResponse, SendCreditNoteRequest, SendInvoiceRequest, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoBillableRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetDefaultPaymentMethodRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, SetNextRetailInvoiceSequenceRequest, SetRenewalStartRequest, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, SortDirection, Source, StartRevRecTemplateBackfillRequest, StopDunningRequest, SubmitEvidenceRequest, SubmitEvidenceRequestDisputeEvidence, SubscribeValidation, SubscribeValidationStatus, Subscription, SubscriptionPreset, SubscriptionProjectionFilter, SubscriptionRelationship, SubscriptionRelationshipApiService, SubscriptionStatus, TaxApiService, TaxProviderType, TaxRate, TaxRule, TaxRuleCustomer, TaxRuleCustomerCustomerAddress, TaxRuleEntityType, TaxRuleProduct, TaxRuleProductProductIdentifier, TaxRuleTaxRuleEntity, TaxRuleType, TickComponentUsageRequest, UnexpireBillableItemRequest, UpdateAvalaraConfigurationRequest, UpdateAvalaraConfigurationResponse, UpdateBundleRequest, UpdateBundleResponse, UpdateContractRequest, UpdateContractRequestMutation, UpdateContractResponse, UpdateContractSubscriptionRequest, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateDiscountRequest, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, UpdateMerchantRequest, UpdateMerchantRequestIncludeInFinancialRecords, UpdatePaymentCardRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse, UpdateProductRequest, UpdateRecurringInvoiceRequest, UpdateRetailPaymentProviderRequest, UpdateSubscriptionRequest, UpdateSubscriptionRequestSubscription, UpdateSubscriptionResponse, UpdateTaxRequest, UpsertBundleRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, UpsertRetailCustomerConfigurationRequest, UpsertRetailPricingRequest, UpsertRetailPricingRequestPricingEntry, UpsertVendorSplitRequest, UpsertVendorSplitResponse, UpsertWholesalePricingRequest, ValidateResponse, VendorApiService, VendorSplit, VendorSplitApiService, VoidInvoiceRequest, VoidPurchaseRequest, WholesaleCostItemRequest, usdConversionRate };
|
|
19329
|
+
export { Access, AccountBalance, AddBundleRequest, AddBundleResponse, AddCreditRequest, AddLineItemRequest, AddLineItemResponse, Adjustment, AlignmentSubscription, AppliedBundle, AppliedBundleItem, AppliedCredit, AppliedCreditNote, AppliedDiscount, AppliedFee, AppliedReferenceType, AppliedTaxRate, AppliedTo, ArchiveTaxRequest, AvalaraConfiguration, AvalaraConfigurationApiService, Balance, BalanceAmount, BankAccount, BankReconciliationApiService, BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, BillableItemCustomerAddress, BillableItemRetailSubscriptionGroup, BillingApiService, BillingStrategy, BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, Bundle, BundleApiService, BundleItem, BundleItemPrice, BundlePricing, BundlePricingPriceAndFrequency, CalculateCreditNoteRequest, CalculateCreditNoteResponse, CalculateLineItemTaxesRequest, CalculateLineItemTaxesRequestLineItem, CalculateLineItemTaxesResponse, CalculateLineItemTaxesResponseLineItemTaxes, CalculateTaxRequest, CalculateTaxResponse, CanBillItemRequest, CanCreateSubscriptionsRequest, CanCreateSubscriptionsRequestSkusEntry, CanCreateSubscriptionsRequestSubscriptionItem, CanCreateSubscriptionsResponse, CancelRetailBillingRequest, CardType, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, ChargeInvoiceRequest, ChargeSalesInvoiceRequest, CloseRetailDisputeRequest, CollectionMethod, Commitment, ComponentPricing, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, Consumer, Contract, ContractApiService, ContractDocument, ContractDocumentApiService, ContractSubscriptionStatus, CreateAvalaraConfigurationRequest, CreateAvalaraConfigurationResponse, CreateContractRequest, CreateContractResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreateDiscountRequest, CreateDiscountResponse, CreateInvoiceRequest, CreateInvoiceResponse, CreateMerchantRequest, CreateMerchantRequestIncludeInFinancialRecords, CreateMerchantServicesReportRun, CreateMeteredComponentRequest, CreatePaymentCardRequest, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CreatePricingPlanProductRequest, CreatePricingPlanProductRequestPricingEntry, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateProductRequest, CreateRefundRequest, CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse, CreateSalesCreditNoteRequest, CreateStripeExternalAccountRequest, CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateTaxRequest, CreateTaxResponse, CreateUsageRequest, CreditApiService, CreditBalance, CreditNote, CreditNoteApiService, CreditNoteReason, CreditNoteType, CreditType, Currency, CustomerSummary, DateRange, DefaultCustomerConfiguration, DeleteAvalaraConfigurationRequest, DeleteBankAccountRequest, DeleteBillableItemRequest, DeleteContractDocumentRequest, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DeletePaymentCardRequest, DeletePricingPlanProductRequest, DeleteProductRequest, DeleteRecurringInvoiceRequest, DeleteRetailPricingRequest, DeleteTaxRuleRequest, Discount, DiscountApiService, DiscountType, DisplayOption, Dispute, DisputeEvidence, DisputeEvidenceDetails, DisputeStatus, DuplicateInvoiceRequest, DuplicateInvoiceResponse, EntityType, ExpireBillableItemRequest, ExpireDiscountRequest, ExportResponse, ExportSubscriptionsRequest, Fee, FeeAmountType, FeeType, FieldMask, File, Frequency, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GenerateVendorReportRequest, GenerateVendorReportResponse, GetAvalaraConfigurationRequest, GetAvalaraConfigurationResponse, GetBalanceRequest, GetBalanceResponse, GetBillableItemRequest, GetBillableItemResponse, GetContractRequest, GetContractResponse, GetCreditNoteRequest, GetCreditNoteResponse, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceWithCalculatedTaxesRequest, GetInvoiceWithCalculatedTaxesResponse, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMerchantWholesaleCurrencyRequest, GetMerchantWholesaleCurrencyResponse, GetMultiBundleRequest, GetMultiBundleResponse, GetMultiBundleResponseBundlesEntry, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiBundleRetailPricingResponsePricesEntry, GetMultiContractsRequest, GetMultiContractsResponse, GetMultiContractsResponseContractsEntry, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiProductPricingResponseProductPricesEntry, GetMultiProductRequest, GetMultiProductResponse, GetMultiProductResponseProductsEntry, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiRetailPricingResponseProductPricesEntry, GetMultiRetailSubscriptionGroupRequest, GetMultiRetailSubscriptionGroupResponse, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsRequestKey, GetMultiSubscriptionsResponse, GetMultiTaxRequest, GetMultiTaxResponse, GetMultiVendorSplitRequest, GetMultiVendorSplitResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetNextRetailInvoiceSequenceRequest, GetNextRetailInvoiceSequenceResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, GetProductSummariesTotalRequest, GetProductSummariesTotalResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetRecurringInvoiceRequest, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetRevenueStatsRequest, GetRevenueStatsResponse, GetSalesInvoiceRequest, GetSalesInvoiceResponse, GetStatisticsRequest, GetStatisticsResponse, GetTaxProviderRequest, GetTaxProviderResponse, GetTaxRuleRequest, GetTaxRuleResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, GetVendorSplitRequest, GetVendorSplitResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonRequestGetWholesaleComparisonFilters, GetWholesaleComparisonResponse, GetWholesaleComparisonResponseGetWholesaleComparisonResult, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, HostService, Interval, Invoice, InvoiceApiService, InvoiceCustomerAddress, InvoiceItem, InvoiceItemRetailSubscriptionGroup, InvoiceStatus, Item, LastPaymentStatus, LineItem, ListBankAccountsRequest, ListBankAccountsResponse, ListBillableItemsRequest, ListBillableItemsRequestFilters, ListBillableItemsResponse, ListBundlesRequest, ListBundlesRequestFilters, ListBundlesResponse, ListContractDocumentsRequest, ListContractDocumentsRequestFilters, ListContractDocumentsResponse, ListContractsRequest, ListContractsResponse, ListCreditNotesRequest, ListCreditNotesRequestFilters, ListCreditNotesResponse, ListDiscountsRequest, ListDiscountsRequestFilters, ListDiscountsResponse, ListInvoicesRequest, ListInvoicesRequestFilters, ListInvoicesRequestFiltersDateFilter, ListInvoicesRequestFiltersDateFilterDateField, ListInvoicesResponse, ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListPaymentRequest, ListPaymentRequestListPaymentFilters, ListPaymentResponse, ListPayoutsRequest, ListPayoutsRequestFilters, ListPayoutsResponse, ListPricingPlanProductsRequest, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsResponse, ListProductSummariesRequest, ListProductSummariesResponse, ListProductsRequest, ListProductsRequestListProductsFilters, ListProductsResponse, ListPurchaseItemsRequest, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseRequestState, ListPurchaseResponse, ListRecurringInvoicesFilters, ListRecurringInvoicesFiltersDateFilter, ListRecurringInvoicesFiltersDetailedInterval, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, ListRefundsRequest, ListRefundsResponse, ListRetailDisputesRequest, ListRetailDisputesRequestListRetailDisputesFilters, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, ListRetailTransactionsRequest, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsResponse, ListSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteResponse, ListSalesInvoiceRequest, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsRequestFilters, ListSubscriptionRelationshipsResponse, ListSubscriptionRetentionByGroupResponse, ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup, ListSubscriptionRetentionBySKUResponse, ListSubscriptionRetentionRequest, ListSubscriptionRetentionRequestFilters, ListSubscriptionsRequest, ListSubscriptionsRequestFilters, ListSubscriptionsResponse, ListTaxRequest, ListTaxRequestFilters, ListTaxResponse, ListTaxRulesRequest, ListTaxRulesRequestFilters, ListTaxRulesResponse, MCPOptions, MarkPurchaseAsPaidRequest, Merchant, MerchantApiService, MerchantReport, MerchantReportStatus, MerchantServicesReportRun, MerchantServicesReportRunStatus, MerchantServicesReportRunType, MerchantType, MeteredComponent, Month, Note, Origin, PagedRequestOptions, PagedResponseMetadata, PauseDunningRequest, PayInvoiceRequest, Payment, PaymentACHDebit, PaymentACSSDebit, PaymentAllocationType, PaymentApiService, PaymentCard, PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, PaymentErrorCode, PaymentFacilitatorType, PaymentIntent, PaymentIntentStatus, PaymentLinkItem, PaymentMethod, PaymentMethodApiService, PaymentMethodType, PaymentPaymentAllocation, PaymentProcessor, PaymentSource, PaymentStatus, PaymentStatuses, Payout, PayoutStatus, PayoutType, PostSalesInvoiceRequest, PrepareRetailPaymentRequest, PrepareRetailPaymentRequestOrder, PrepareRetailPaymentResponse, Pricing, PricingApiService, PricingPlan, PricingPlanProduct, PricingPlanProductPricing, PricingPlanProductPricingEntry, PricingRule, PricingRuleType, ProcessingFailureCode, Product, ProductApiService, ProductPrices, ProductPricing, ProductPricingRule, ProductPricingType, ProductSummary, ProductSummaryApiService, ProductSummaryBillingStrategy, ProductSummaryDiscount, ProductSummaryDiscountDiscountType, ProductSummaryProductType, ProductType, Purchase, PurchaseApiService, PurchaseItem, PurchaseStatus, ReconcilePayoutRequest, ReconcilePayoutResponse, RecurringInvoice, RecurringInvoiceApiService, RecurringInvoiceBundle, RecurringInvoiceCustomerAddress, RecurringInvoiceItem, RecurringInvoiceLineItem, RecurringInvoiceStatus, ReferenceType, Refund, RefundApiService, RefundReason, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RefundStatus, RelationshipType, RemoveBundleRequest, RemoveBundleResponse, RenewalState, ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, ResetContractPricingRequest, ResetPaymentFacilitatorRequest, ResumeDunningRequest, RetailConfiguration, RetailCustomerConfiguration, RetailCustomerConfigurationApiService, RetailPayment, RetailPaymentACHDetails, RetailPaymentACSSDetails, RetailPaymentCardDetails, RetailPaymentPaymentMethodDetailsType, RetailPaymentReferenceType, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailPayout, RetailRefund, RetailRefundFailureReason, RetailRefundReason, RetailRefundStatus, RetailStatusRequest, RetailStatusResponse, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, RetailSubscriptionGroup, RetailSubscriptionGroupApiService, RetailTransaction, RetailTransactionType, RetentionMetrics, RetryPurchaseRequest, ReverseSubscriptionRequest, SalesCreditNote, SalesCreditNoteApiService, SalesCreditNoteStatus, SalesInvoice, SalesInvoiceApiService, SalesInvoiceStatus, SalesInvoiceType, SearchMerchantsRequest, SearchMerchantsRequestSortBy, SearchMerchantsResponse, SendCreditNoteRequest, SendInvoiceRequest, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoBillableRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetDefaultPaymentMethodRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, SetNextRetailInvoiceSequenceRequest, SetRenewalStartRequest, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, SortDirection, Source, StartRevRecTemplateBackfillRequest, StopDunningRequest, SubmitEvidenceRequest, SubmitEvidenceRequestDisputeEvidence, SubscribeValidation, SubscribeValidationStatus, Subscription, SubscriptionPreset, SubscriptionProjectionFilter, SubscriptionRelationship, SubscriptionRelationshipApiService, SubscriptionStatus, TaxApiService, TaxProviderType, TaxRate, TaxRule, TaxRuleCustomer, TaxRuleCustomerCustomerAddress, TaxRuleEntityType, TaxRuleProduct, TaxRuleProductProductIdentifier, TaxRuleTaxRuleEntity, TaxRuleType, TickComponentUsageRequest, UnexpireBillableItemRequest, UpdateAvalaraConfigurationRequest, UpdateAvalaraConfigurationResponse, UpdateBundleRequest, UpdateBundleResponse, UpdateContractRequest, UpdateContractRequestMutation, UpdateContractResponse, UpdateContractSubscriptionRequest, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateDiscountRequest, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, UpdateMerchantRequest, UpdateMerchantRequestIncludeInFinancialRecords, UpdatePaymentCardRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse, UpdateProductRequest, UpdateRecurringInvoiceRequest, UpdateRetailPaymentProviderRequest, UpdateRetailSubscriptionGroupRequest, UpdateRetailSubscriptionGroupResponse, UpdateSubscriptionRequest, UpdateSubscriptionRequestSubscription, UpdateSubscriptionResponse, UpdateTaxRequest, UpsertBundleRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, UpsertRetailCustomerConfigurationRequest, UpsertRetailPricingRequest, UpsertRetailPricingRequestPricingEntry, UpsertVendorSplitRequest, UpsertVendorSplitResponse, UpsertWholesalePricingRequest, ValidateResponse, VendorApiService, VendorSplit, VendorSplitApiService, VoidInvoiceRequest, VoidPurchaseRequest, WholesaleCostItemRequest, usdConversionRate };
|
|
19135
19330
|
//# sourceMappingURL=vendasta-billing.mjs.map
|