@vendasta/billing 15.1.0 → 16.0.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/index.mjs +1 -2
- package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/objects/index.mjs +1 -2
- package/fesm2022/vendasta-billing.mjs +218 -396
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/index.d.ts +0 -1
- package/lib/_internal/interfaces/index.d.ts +0 -1
- package/lib/_internal/objects/index.d.ts +0 -1
- package/package.json +1 -1
- package/esm2022/lib/_internal/interfaces/wholesale-tax-rule.interface.mjs +0 -2
- package/esm2022/lib/_internal/objects/wholesale-tax-rule.mjs +0 -141
- package/esm2022/lib/_internal/wholesale-tax-rule.api.service.mjs +0 -45
- package/lib/_internal/interfaces/wholesale-tax-rule.interface.d.ts +0 -22
- package/lib/_internal/objects/wholesale-tax-rule.d.ts +0 -39
- package/lib/_internal/wholesale-tax-rule.api.service.d.ts +0 -14
|
@@ -777,7 +777,7 @@ var CreditNoteReason;
|
|
|
777
777
|
// Enums Index.
|
|
778
778
|
// *********************************
|
|
779
779
|
|
|
780
|
-
function enumStringToValue$
|
|
780
|
+
function enumStringToValue$M(enumRef, value) {
|
|
781
781
|
if (typeof value === 'number') {
|
|
782
782
|
return value;
|
|
783
783
|
}
|
|
@@ -870,7 +870,7 @@ class PagedResponseMetadata {
|
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
872
|
|
|
873
|
-
function enumStringToValue$
|
|
873
|
+
function enumStringToValue$L(enumRef, value) {
|
|
874
874
|
if (typeof value === 'number') {
|
|
875
875
|
return value;
|
|
876
876
|
}
|
|
@@ -897,7 +897,7 @@ class FieldMask {
|
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
|
|
900
|
-
function enumStringToValue$
|
|
900
|
+
function enumStringToValue$K(enumRef, value) {
|
|
901
901
|
if (typeof value === 'number') {
|
|
902
902
|
return value;
|
|
903
903
|
}
|
|
@@ -933,7 +933,7 @@ class Commitment {
|
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
|
|
936
|
-
function enumStringToValue$
|
|
936
|
+
function enumStringToValue$J(enumRef, value) {
|
|
937
937
|
if (typeof value === 'number') {
|
|
938
938
|
return value;
|
|
939
939
|
}
|
|
@@ -973,10 +973,10 @@ class Fee {
|
|
|
973
973
|
let m = new Fee();
|
|
974
974
|
m = Object.assign(m, proto);
|
|
975
975
|
if (proto.amountType) {
|
|
976
|
-
m.amountType = enumStringToValue$
|
|
976
|
+
m.amountType = enumStringToValue$J(FeeAmountType, proto.amountType);
|
|
977
977
|
}
|
|
978
978
|
if (proto.feeType) {
|
|
979
|
-
m.feeType = enumStringToValue$
|
|
979
|
+
m.feeType = enumStringToValue$J(FeeType, proto.feeType);
|
|
980
980
|
}
|
|
981
981
|
return m;
|
|
982
982
|
}
|
|
@@ -1001,7 +1001,7 @@ class Fee {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
|
-
function enumStringToValue$
|
|
1004
|
+
function enumStringToValue$I(enumRef, value) {
|
|
1005
1005
|
if (typeof value === 'number') {
|
|
1006
1006
|
return value;
|
|
1007
1007
|
}
|
|
@@ -1038,7 +1038,7 @@ class CreatePricingPlanRequest {
|
|
|
1038
1038
|
let m = new CreatePricingPlanRequest();
|
|
1039
1039
|
m = Object.assign(m, proto);
|
|
1040
1040
|
if (proto.defaultBillingStrategy) {
|
|
1041
|
-
m.defaultBillingStrategy = enumStringToValue$
|
|
1041
|
+
m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
|
|
1042
1042
|
}
|
|
1043
1043
|
return m;
|
|
1044
1044
|
}
|
|
@@ -1127,7 +1127,7 @@ class PricingPlan {
|
|
|
1127
1127
|
let m = new PricingPlan();
|
|
1128
1128
|
m = Object.assign(m, proto);
|
|
1129
1129
|
if (proto.defaultBillingStrategy) {
|
|
1130
|
-
m.defaultBillingStrategy = enumStringToValue$
|
|
1130
|
+
m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
|
|
1131
1131
|
}
|
|
1132
1132
|
return m;
|
|
1133
1133
|
}
|
|
@@ -1156,7 +1156,7 @@ class PricingPlanProductPricing {
|
|
|
1156
1156
|
let m = new PricingPlanProductPricing();
|
|
1157
1157
|
m = Object.assign(m, proto);
|
|
1158
1158
|
if (proto.type) {
|
|
1159
|
-
m.type = enumStringToValue$
|
|
1159
|
+
m.type = enumStringToValue$I(ProductPricingType, proto.type);
|
|
1160
1160
|
}
|
|
1161
1161
|
if (proto.rules) {
|
|
1162
1162
|
m.rules = proto.rules.map(ProductPricingRule.fromProto);
|
|
@@ -1165,7 +1165,7 @@ class PricingPlanProductPricing {
|
|
|
1165
1165
|
m.setupFee = parseInt(proto.setupFee, 10);
|
|
1166
1166
|
}
|
|
1167
1167
|
if (proto.frequency) {
|
|
1168
|
-
m.frequency = enumStringToValue$
|
|
1168
|
+
m.frequency = enumStringToValue$I(Frequency, proto.frequency);
|
|
1169
1169
|
}
|
|
1170
1170
|
if (proto.fees) {
|
|
1171
1171
|
m.fees = proto.fees.map(Fee.fromProto);
|
|
@@ -1250,7 +1250,7 @@ class UpdatePricingPlanRequest {
|
|
|
1250
1250
|
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
1251
1251
|
}
|
|
1252
1252
|
if (proto.defaultBillingStrategy) {
|
|
1253
|
-
m.defaultBillingStrategy = enumStringToValue$
|
|
1253
|
+
m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
|
|
1254
1254
|
}
|
|
1255
1255
|
return m;
|
|
1256
1256
|
}
|
|
@@ -1295,7 +1295,7 @@ class UpdatePricingPlanResponse {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
1298
|
-
function enumStringToValue$
|
|
1298
|
+
function enumStringToValue$H(enumRef, value) {
|
|
1299
1299
|
if (typeof value === 'number') {
|
|
1300
1300
|
return value;
|
|
1301
1301
|
}
|
|
@@ -1332,16 +1332,16 @@ class ProductPricing {
|
|
|
1332
1332
|
let m = new ProductPricing();
|
|
1333
1333
|
m = Object.assign(m, proto);
|
|
1334
1334
|
if (proto.strategy) {
|
|
1335
|
-
m.strategy = enumStringToValue$
|
|
1335
|
+
m.strategy = enumStringToValue$H(BillingStrategy, proto.strategy);
|
|
1336
1336
|
}
|
|
1337
1337
|
if (proto.pricingType) {
|
|
1338
|
-
m.pricingType = enumStringToValue$
|
|
1338
|
+
m.pricingType = enumStringToValue$H(ProductPricingType, proto.pricingType);
|
|
1339
1339
|
}
|
|
1340
1340
|
if (proto.currency) {
|
|
1341
|
-
m.currency = enumStringToValue$
|
|
1341
|
+
m.currency = enumStringToValue$H(Currency, proto.currency);
|
|
1342
1342
|
}
|
|
1343
1343
|
if (proto.frequency) {
|
|
1344
|
-
m.frequency = enumStringToValue$
|
|
1344
|
+
m.frequency = enumStringToValue$H(Frequency, proto.frequency);
|
|
1345
1345
|
}
|
|
1346
1346
|
if (proto.pricingRules) {
|
|
1347
1347
|
m.pricingRules = proto.pricingRules.map(ProductPricingRule.fromProto);
|
|
@@ -1412,7 +1412,7 @@ class WholesaleCostItemRequest {
|
|
|
1412
1412
|
m.quantity = parseInt(proto.quantity, 10);
|
|
1413
1413
|
}
|
|
1414
1414
|
if (proto.frequency) {
|
|
1415
|
-
m.frequency = enumStringToValue$
|
|
1415
|
+
m.frequency = enumStringToValue$H(Frequency, proto.frequency);
|
|
1416
1416
|
}
|
|
1417
1417
|
return m;
|
|
1418
1418
|
}
|
|
@@ -1437,7 +1437,7 @@ class WholesaleCostItemRequest {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
}
|
|
1439
1439
|
|
|
1440
|
-
function enumStringToValue$
|
|
1440
|
+
function enumStringToValue$G(enumRef, value) {
|
|
1441
1441
|
if (typeof value === 'number') {
|
|
1442
1442
|
return value;
|
|
1443
1443
|
}
|
|
@@ -1448,7 +1448,7 @@ class SubscribeValidation {
|
|
|
1448
1448
|
let m = new SubscribeValidation();
|
|
1449
1449
|
m = Object.assign(m, proto);
|
|
1450
1450
|
if (proto.status) {
|
|
1451
|
-
m.status = enumStringToValue$
|
|
1451
|
+
m.status = enumStringToValue$G(SubscribeValidationStatus, proto.status);
|
|
1452
1452
|
}
|
|
1453
1453
|
return m;
|
|
1454
1454
|
}
|
|
@@ -1467,7 +1467,7 @@ class SubscribeValidation {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
}
|
|
1469
1469
|
|
|
1470
|
-
function enumStringToValue$
|
|
1470
|
+
function enumStringToValue$F(enumRef, value) {
|
|
1471
1471
|
if (typeof value === 'number') {
|
|
1472
1472
|
return value;
|
|
1473
1473
|
}
|
|
@@ -1594,7 +1594,7 @@ class ChangeFrequencyRequest {
|
|
|
1594
1594
|
let m = new ChangeFrequencyRequest();
|
|
1595
1595
|
m = Object.assign(m, proto);
|
|
1596
1596
|
if (proto.frequency) {
|
|
1597
|
-
m.frequency = enumStringToValue$
|
|
1597
|
+
m.frequency = enumStringToValue$F(Frequency, proto.frequency);
|
|
1598
1598
|
}
|
|
1599
1599
|
return m;
|
|
1600
1600
|
}
|
|
@@ -1670,7 +1670,7 @@ class CreateSubscriptionRequest {
|
|
|
1670
1670
|
m.proratedTo = new Date(proto.proratedTo);
|
|
1671
1671
|
}
|
|
1672
1672
|
if (proto.renewalState) {
|
|
1673
|
-
m.renewalState = enumStringToValue$
|
|
1673
|
+
m.renewalState = enumStringToValue$F(RenewalState, proto.renewalState);
|
|
1674
1674
|
}
|
|
1675
1675
|
if (proto.customUnitPrice) {
|
|
1676
1676
|
m.customUnitPrice = parseInt(proto.customUnitPrice, 10);
|
|
@@ -1679,16 +1679,16 @@ class CreateSubscriptionRequest {
|
|
|
1679
1679
|
m.alignWith = AlignmentSubscription.fromProto(proto.alignWith);
|
|
1680
1680
|
}
|
|
1681
1681
|
if (proto.frequency) {
|
|
1682
|
-
m.frequency = enumStringToValue$
|
|
1682
|
+
m.frequency = enumStringToValue$F(Frequency, proto.frequency);
|
|
1683
1683
|
}
|
|
1684
1684
|
if (proto.retailAmount) {
|
|
1685
1685
|
m.retailAmount = parseInt(proto.retailAmount, 10);
|
|
1686
1686
|
}
|
|
1687
1687
|
if (proto.retailFrequency) {
|
|
1688
|
-
m.retailFrequency = enumStringToValue$
|
|
1688
|
+
m.retailFrequency = enumStringToValue$F(Frequency, proto.retailFrequency);
|
|
1689
1689
|
}
|
|
1690
1690
|
if (proto.consumer) {
|
|
1691
|
-
m.consumer = enumStringToValue$
|
|
1691
|
+
m.consumer = enumStringToValue$F(Consumer, proto.consumer);
|
|
1692
1692
|
}
|
|
1693
1693
|
if (proto.renewalStart) {
|
|
1694
1694
|
m.renewalStart = new Date(proto.renewalStart);
|
|
@@ -1962,7 +1962,7 @@ class Subscription {
|
|
|
1962
1962
|
m.billingStart = new Date(proto.billingStart);
|
|
1963
1963
|
}
|
|
1964
1964
|
if (proto.renewalState) {
|
|
1965
|
-
m.renewalState = enumStringToValue$
|
|
1965
|
+
m.renewalState = enumStringToValue$F(RenewalState, proto.renewalState);
|
|
1966
1966
|
}
|
|
1967
1967
|
if (proto.proratedTo) {
|
|
1968
1968
|
m.proratedTo = new Date(proto.proratedTo);
|
|
@@ -1974,16 +1974,16 @@ class Subscription {
|
|
|
1974
1974
|
m.alignWith = AlignmentSubscription.fromProto(proto.alignWith);
|
|
1975
1975
|
}
|
|
1976
1976
|
if (proto.frequency) {
|
|
1977
|
-
m.frequency = enumStringToValue$
|
|
1977
|
+
m.frequency = enumStringToValue$F(Frequency, proto.frequency);
|
|
1978
1978
|
}
|
|
1979
1979
|
if (proto.retailAmount) {
|
|
1980
1980
|
m.retailAmount = parseInt(proto.retailAmount, 10);
|
|
1981
1981
|
}
|
|
1982
1982
|
if (proto.retailFrequency) {
|
|
1983
|
-
m.retailFrequency = enumStringToValue$
|
|
1983
|
+
m.retailFrequency = enumStringToValue$F(Frequency, proto.retailFrequency);
|
|
1984
1984
|
}
|
|
1985
1985
|
if (proto.consumer) {
|
|
1986
|
-
m.consumer = enumStringToValue$
|
|
1986
|
+
m.consumer = enumStringToValue$F(Consumer, proto.consumer);
|
|
1987
1987
|
}
|
|
1988
1988
|
if (proto.renewalStart) {
|
|
1989
1989
|
m.renewalStart = new Date(proto.renewalStart);
|
|
@@ -2075,7 +2075,7 @@ class CanCreateSubscriptionsRequestSubscriptionItem {
|
|
|
2075
2075
|
let m = new CanCreateSubscriptionsRequestSubscriptionItem();
|
|
2076
2076
|
m = Object.assign(m, proto);
|
|
2077
2077
|
if (proto.frequency) {
|
|
2078
|
-
m.frequency = enumStringToValue$
|
|
2078
|
+
m.frequency = enumStringToValue$F(Frequency, proto.frequency);
|
|
2079
2079
|
}
|
|
2080
2080
|
if (proto.quantity) {
|
|
2081
2081
|
m.quantity = parseInt(proto.quantity, 10);
|
|
@@ -2129,7 +2129,7 @@ class ValidateResponse {
|
|
|
2129
2129
|
}
|
|
2130
2130
|
}
|
|
2131
2131
|
|
|
2132
|
-
function enumStringToValue$
|
|
2132
|
+
function enumStringToValue$E(enumRef, value) {
|
|
2133
2133
|
if (typeof value === 'number') {
|
|
2134
2134
|
return value;
|
|
2135
2135
|
}
|
|
@@ -2272,7 +2272,7 @@ class RSGSource {
|
|
|
2272
2272
|
let m = new RSGSource();
|
|
2273
2273
|
m = Object.assign(m, proto);
|
|
2274
2274
|
if (proto.sourceType) {
|
|
2275
|
-
m.sourceType = enumStringToValue$
|
|
2275
|
+
m.sourceType = enumStringToValue$E(RSGSourceType, proto.sourceType);
|
|
2276
2276
|
}
|
|
2277
2277
|
return m;
|
|
2278
2278
|
}
|
|
@@ -2298,7 +2298,7 @@ class RetailSubscriptionGroup {
|
|
|
2298
2298
|
let m = new RetailSubscriptionGroup();
|
|
2299
2299
|
m = Object.assign(m, proto);
|
|
2300
2300
|
if (proto.displayOption) {
|
|
2301
|
-
m.displayOption = enumStringToValue$
|
|
2301
|
+
m.displayOption = enumStringToValue$E(DisplayOption, proto.displayOption);
|
|
2302
2302
|
}
|
|
2303
2303
|
if (proto.source) {
|
|
2304
2304
|
m.source = RSGSource.fromProto(proto.source);
|
|
@@ -2387,7 +2387,7 @@ class UpdateRetailSubscriptionGroupResponse {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
}
|
|
2389
2389
|
|
|
2390
|
-
function enumStringToValue$
|
|
2390
|
+
function enumStringToValue$D(enumRef, value) {
|
|
2391
2391
|
if (typeof value === 'number') {
|
|
2392
2392
|
return value;
|
|
2393
2393
|
}
|
|
@@ -2497,7 +2497,7 @@ class BillableItem {
|
|
|
2497
2497
|
m.updated = new Date(proto.updated);
|
|
2498
2498
|
}
|
|
2499
2499
|
if (proto.frequency) {
|
|
2500
|
-
m.frequency = enumStringToValue$
|
|
2500
|
+
m.frequency = enumStringToValue$D(Frequency, proto.frequency);
|
|
2501
2501
|
}
|
|
2502
2502
|
if (proto.nextRenewal) {
|
|
2503
2503
|
m.nextRenewal = new Date(proto.nextRenewal);
|
|
@@ -2509,7 +2509,7 @@ class BillableItem {
|
|
|
2509
2509
|
m.customUnitPrice = parseInt(proto.customUnitPrice, 10);
|
|
2510
2510
|
}
|
|
2511
2511
|
if (proto.retailFrequency) {
|
|
2512
|
-
m.retailFrequency = enumStringToValue$
|
|
2512
|
+
m.retailFrequency = enumStringToValue$D(Frequency, proto.retailFrequency);
|
|
2513
2513
|
}
|
|
2514
2514
|
if (proto.nextRetailRenewal) {
|
|
2515
2515
|
m.nextRetailRenewal = new Date(proto.nextRetailRenewal);
|
|
@@ -2518,7 +2518,7 @@ class BillableItem {
|
|
|
2518
2518
|
m.retailUnitPrice = parseInt(proto.retailUnitPrice, 10);
|
|
2519
2519
|
}
|
|
2520
2520
|
if (proto.status) {
|
|
2521
|
-
m.status = enumStringToValue$
|
|
2521
|
+
m.status = enumStringToValue$D(SubscriptionStatus, proto.status);
|
|
2522
2522
|
}
|
|
2523
2523
|
if (proto.price) {
|
|
2524
2524
|
m.price = ProductPricing.fromProto(proto.price);
|
|
@@ -2527,10 +2527,10 @@ class BillableItem {
|
|
|
2527
2527
|
m.deleted = new Date(proto.deleted);
|
|
2528
2528
|
}
|
|
2529
2529
|
if (proto.source) {
|
|
2530
|
-
m.source = enumStringToValue$
|
|
2530
|
+
m.source = enumStringToValue$D(Source, proto.source);
|
|
2531
2531
|
}
|
|
2532
2532
|
if (proto.consumer) {
|
|
2533
|
-
m.consumer = enumStringToValue$
|
|
2533
|
+
m.consumer = enumStringToValue$D(Consumer, proto.consumer);
|
|
2534
2534
|
}
|
|
2535
2535
|
if (proto.billingCycleAnchor) {
|
|
2536
2536
|
m.billingCycleAnchor = new Date(proto.billingCycleAnchor);
|
|
@@ -2809,7 +2809,7 @@ class ExportSubscriptionsRequest {
|
|
|
2809
2809
|
m.filters = ListSubscriptionsRequestFilters.fromProto(proto.filters);
|
|
2810
2810
|
}
|
|
2811
2811
|
if (proto.consumer) {
|
|
2812
|
-
m.consumer = enumStringToValue$
|
|
2812
|
+
m.consumer = enumStringToValue$D(Consumer, proto.consumer);
|
|
2813
2813
|
}
|
|
2814
2814
|
return m;
|
|
2815
2815
|
}
|
|
@@ -2861,7 +2861,7 @@ class ListSubscriptionsRequestFilters {
|
|
|
2861
2861
|
let m = new ListSubscriptionsRequestFilters();
|
|
2862
2862
|
m = Object.assign(m, proto);
|
|
2863
2863
|
if (proto.status) {
|
|
2864
|
-
m.status = enumStringToValue$
|
|
2864
|
+
m.status = enumStringToValue$D(SubscriptionStatus, proto.status);
|
|
2865
2865
|
}
|
|
2866
2866
|
if (proto.expiredDateGte) {
|
|
2867
2867
|
m.expiredDateGte = new Date(proto.expiredDateGte);
|
|
@@ -2870,7 +2870,7 @@ class ListSubscriptionsRequestFilters {
|
|
|
2870
2870
|
m.expiredDateLte = new Date(proto.expiredDateLte);
|
|
2871
2871
|
}
|
|
2872
2872
|
if (proto.frequencies) {
|
|
2873
|
-
m.frequencies = proto.frequencies.map((v) => enumStringToValue$
|
|
2873
|
+
m.frequencies = proto.frequencies.map((v) => enumStringToValue$D(Frequency, v));
|
|
2874
2874
|
}
|
|
2875
2875
|
return m;
|
|
2876
2876
|
}
|
|
@@ -3216,7 +3216,7 @@ class BillableItemRetailSubscriptionGroup {
|
|
|
3216
3216
|
let m = new BillableItemRetailSubscriptionGroup();
|
|
3217
3217
|
m = Object.assign(m, proto);
|
|
3218
3218
|
if (proto.displayOption) {
|
|
3219
|
-
m.displayOption = enumStringToValue$
|
|
3219
|
+
m.displayOption = enumStringToValue$D(DisplayOption, proto.displayOption);
|
|
3220
3220
|
}
|
|
3221
3221
|
return m;
|
|
3222
3222
|
}
|
|
@@ -3377,7 +3377,7 @@ class UpdateSubscriptionResponse {
|
|
|
3377
3377
|
}
|
|
3378
3378
|
}
|
|
3379
3379
|
|
|
3380
|
-
function enumStringToValue$
|
|
3380
|
+
function enumStringToValue$C(enumRef, value) {
|
|
3381
3381
|
if (typeof value === 'number') {
|
|
3382
3382
|
return value;
|
|
3383
3383
|
}
|
|
@@ -3388,7 +3388,7 @@ class AppliedDiscount {
|
|
|
3388
3388
|
let m = new AppliedDiscount();
|
|
3389
3389
|
m = Object.assign(m, proto);
|
|
3390
3390
|
if (proto.type) {
|
|
3391
|
-
m.type = enumStringToValue$
|
|
3391
|
+
m.type = enumStringToValue$C(DiscountType, proto.type);
|
|
3392
3392
|
}
|
|
3393
3393
|
if (proto.value) {
|
|
3394
3394
|
m.value = parseInt(proto.value, 10);
|
|
@@ -3425,7 +3425,7 @@ class AppliedDiscount {
|
|
|
3425
3425
|
}
|
|
3426
3426
|
}
|
|
3427
3427
|
|
|
3428
|
-
function enumStringToValue$
|
|
3428
|
+
function enumStringToValue$B(enumRef, value) {
|
|
3429
3429
|
if (typeof value === 'number') {
|
|
3430
3430
|
return value;
|
|
3431
3431
|
}
|
|
@@ -3483,7 +3483,7 @@ class BundleItem {
|
|
|
3483
3483
|
let m = new BundleItem();
|
|
3484
3484
|
m = Object.assign(m, proto);
|
|
3485
3485
|
if (proto.discountType) {
|
|
3486
|
-
m.discountType = enumStringToValue$
|
|
3486
|
+
m.discountType = enumStringToValue$B(DiscountType, proto.discountType);
|
|
3487
3487
|
}
|
|
3488
3488
|
if (proto.discountAmount) {
|
|
3489
3489
|
m.discountAmount = parseInt(proto.discountAmount, 10);
|
|
@@ -3741,7 +3741,7 @@ class BundlePricingPriceAndFrequency {
|
|
|
3741
3741
|
let m = new BundlePricingPriceAndFrequency();
|
|
3742
3742
|
m = Object.assign(m, proto);
|
|
3743
3743
|
if (proto.frequency) {
|
|
3744
|
-
m.frequency = enumStringToValue$
|
|
3744
|
+
m.frequency = enumStringToValue$B(Frequency, proto.frequency);
|
|
3745
3745
|
}
|
|
3746
3746
|
if (proto.effectivePrice) {
|
|
3747
3747
|
m.effectivePrice = parseInt(proto.effectivePrice, 10);
|
|
@@ -3813,7 +3813,7 @@ class UpsertBundleRequest {
|
|
|
3813
3813
|
}
|
|
3814
3814
|
}
|
|
3815
3815
|
|
|
3816
|
-
function enumStringToValue$
|
|
3816
|
+
function enumStringToValue$A(enumRef, value) {
|
|
3817
3817
|
if (typeof value === 'number') {
|
|
3818
3818
|
return value;
|
|
3819
3819
|
}
|
|
@@ -3830,7 +3830,7 @@ class Contract {
|
|
|
3830
3830
|
m.created = new Date(proto.created);
|
|
3831
3831
|
}
|
|
3832
3832
|
if (proto.currency) {
|
|
3833
|
-
m.currency = enumStringToValue$
|
|
3833
|
+
m.currency = enumStringToValue$A(Currency, proto.currency);
|
|
3834
3834
|
}
|
|
3835
3835
|
if (proto.signed) {
|
|
3836
3836
|
m.signed = new Date(proto.signed);
|
|
@@ -3851,7 +3851,7 @@ class Contract {
|
|
|
3851
3851
|
m.end = new Date(proto.end);
|
|
3852
3852
|
}
|
|
3853
3853
|
if (proto.subscriptionUpdateStatus) {
|
|
3854
|
-
m.subscriptionUpdateStatus = enumStringToValue$
|
|
3854
|
+
m.subscriptionUpdateStatus = enumStringToValue$A(ContractSubscriptionStatus, proto.subscriptionUpdateStatus);
|
|
3855
3855
|
}
|
|
3856
3856
|
return m;
|
|
3857
3857
|
}
|
|
@@ -4051,7 +4051,7 @@ class GetMerchantWholesaleCurrencyResponse {
|
|
|
4051
4051
|
let m = new GetMerchantWholesaleCurrencyResponse();
|
|
4052
4052
|
m = Object.assign(m, proto);
|
|
4053
4053
|
if (proto.currency) {
|
|
4054
|
-
m.currency = enumStringToValue$
|
|
4054
|
+
m.currency = enumStringToValue$A(Currency, proto.currency);
|
|
4055
4055
|
}
|
|
4056
4056
|
return m;
|
|
4057
4057
|
}
|
|
@@ -4306,7 +4306,7 @@ class UpdateContractSubscriptionRequest {
|
|
|
4306
4306
|
let m = new UpdateContractSubscriptionRequest();
|
|
4307
4307
|
m = Object.assign(m, proto);
|
|
4308
4308
|
if (proto.frequency) {
|
|
4309
|
-
m.frequency = enumStringToValue$
|
|
4309
|
+
m.frequency = enumStringToValue$A(Frequency, proto.frequency);
|
|
4310
4310
|
}
|
|
4311
4311
|
return m;
|
|
4312
4312
|
}
|
|
@@ -4331,7 +4331,7 @@ class UpdateContractSubscriptionRequest {
|
|
|
4331
4331
|
}
|
|
4332
4332
|
}
|
|
4333
4333
|
|
|
4334
|
-
function enumStringToValue$
|
|
4334
|
+
function enumStringToValue$z(enumRef, value) {
|
|
4335
4335
|
if (typeof value === 'number') {
|
|
4336
4336
|
return value;
|
|
4337
4337
|
}
|
|
@@ -4348,7 +4348,7 @@ class CustomerSummary {
|
|
|
4348
4348
|
m.purchaseItemTotal = parseInt(proto.purchaseItemTotal, 10);
|
|
4349
4349
|
}
|
|
4350
4350
|
if (proto.currency) {
|
|
4351
|
-
m.currency = enumStringToValue$
|
|
4351
|
+
m.currency = enumStringToValue$z(Currency, proto.currency);
|
|
4352
4352
|
}
|
|
4353
4353
|
return m;
|
|
4354
4354
|
}
|
|
@@ -4434,7 +4434,7 @@ class GetMultiCustomerSummariesResponse {
|
|
|
4434
4434
|
}
|
|
4435
4435
|
}
|
|
4436
4436
|
|
|
4437
|
-
function enumStringToValue$
|
|
4437
|
+
function enumStringToValue$y(enumRef, value) {
|
|
4438
4438
|
if (typeof value === 'number') {
|
|
4439
4439
|
return value;
|
|
4440
4440
|
}
|
|
@@ -4594,7 +4594,7 @@ class SetDefaultBankAccountRequest {
|
|
|
4594
4594
|
}
|
|
4595
4595
|
}
|
|
4596
4596
|
|
|
4597
|
-
function enumStringToValue$
|
|
4597
|
+
function enumStringToValue$x(enumRef, value) {
|
|
4598
4598
|
if (typeof value === 'number') {
|
|
4599
4599
|
return value;
|
|
4600
4600
|
}
|
|
@@ -4605,7 +4605,7 @@ class ProductSummaryDiscount {
|
|
|
4605
4605
|
let m = new ProductSummaryDiscount();
|
|
4606
4606
|
m = Object.assign(m, proto);
|
|
4607
4607
|
if (proto.type) {
|
|
4608
|
-
m.type = enumStringToValue$
|
|
4608
|
+
m.type = enumStringToValue$x(ProductSummaryDiscountDiscountType, proto.type);
|
|
4609
4609
|
}
|
|
4610
4610
|
if (proto.value) {
|
|
4611
4611
|
m.value = parseInt(proto.value, 10);
|
|
@@ -4899,7 +4899,7 @@ class Pricing {
|
|
|
4899
4899
|
let m = new Pricing();
|
|
4900
4900
|
m = Object.assign(m, proto);
|
|
4901
4901
|
if (proto.type) {
|
|
4902
|
-
m.type = enumStringToValue$
|
|
4902
|
+
m.type = enumStringToValue$x(PricingRuleType, proto.type);
|
|
4903
4903
|
}
|
|
4904
4904
|
if (proto.rules) {
|
|
4905
4905
|
m.rules = proto.rules.map(PricingRule.fromProto);
|
|
@@ -4943,13 +4943,13 @@ class ProductSummary {
|
|
|
4943
4943
|
m.discounts = proto.discounts.map(ProductSummaryDiscount.fromProto);
|
|
4944
4944
|
}
|
|
4945
4945
|
if (proto.billingStrategy) {
|
|
4946
|
-
m.billingStrategy = enumStringToValue$
|
|
4946
|
+
m.billingStrategy = enumStringToValue$x(ProductSummaryBillingStrategy, proto.billingStrategy);
|
|
4947
4947
|
}
|
|
4948
4948
|
if (proto.productType) {
|
|
4949
|
-
m.productType = enumStringToValue$
|
|
4949
|
+
m.productType = enumStringToValue$x(ProductSummaryProductType, proto.productType);
|
|
4950
4950
|
}
|
|
4951
4951
|
if (proto.frequency) {
|
|
4952
|
-
m.frequency = enumStringToValue$
|
|
4952
|
+
m.frequency = enumStringToValue$x(Frequency, proto.frequency);
|
|
4953
4953
|
}
|
|
4954
4954
|
if (proto.volumeCommitment) {
|
|
4955
4955
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -5130,7 +5130,7 @@ class ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup {
|
|
|
5130
5130
|
}
|
|
5131
5131
|
}
|
|
5132
5132
|
|
|
5133
|
-
function enumStringToValue$
|
|
5133
|
+
function enumStringToValue$w(enumRef, value) {
|
|
5134
5134
|
if (typeof value === 'number') {
|
|
5135
5135
|
return value;
|
|
5136
5136
|
}
|
|
@@ -5141,7 +5141,7 @@ class CreateDiscountRequest {
|
|
|
5141
5141
|
let m = new CreateDiscountRequest();
|
|
5142
5142
|
m = Object.assign(m, proto);
|
|
5143
5143
|
if (proto.discountType) {
|
|
5144
|
-
m.discountType = enumStringToValue$
|
|
5144
|
+
m.discountType = enumStringToValue$w(DiscountType, proto.discountType);
|
|
5145
5145
|
}
|
|
5146
5146
|
if (proto.amount) {
|
|
5147
5147
|
m.amount = parseInt(proto.amount, 10);
|
|
@@ -5153,7 +5153,7 @@ class CreateDiscountRequest {
|
|
|
5153
5153
|
m.end = new Date(proto.end);
|
|
5154
5154
|
}
|
|
5155
5155
|
if (proto.consumer) {
|
|
5156
|
-
m.consumer = enumStringToValue$
|
|
5156
|
+
m.consumer = enumStringToValue$w(Consumer, proto.consumer);
|
|
5157
5157
|
}
|
|
5158
5158
|
if (proto.numberOfBillingPeriods) {
|
|
5159
5159
|
m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);
|
|
@@ -5235,7 +5235,7 @@ class Discount {
|
|
|
5235
5235
|
m.discountId = parseInt(proto.discountId, 10);
|
|
5236
5236
|
}
|
|
5237
5237
|
if (proto.discountType) {
|
|
5238
|
-
m.discountType = enumStringToValue$
|
|
5238
|
+
m.discountType = enumStringToValue$w(DiscountType, proto.discountType);
|
|
5239
5239
|
}
|
|
5240
5240
|
if (proto.amount) {
|
|
5241
5241
|
m.amount = parseInt(proto.amount, 10);
|
|
@@ -5253,7 +5253,7 @@ class Discount {
|
|
|
5253
5253
|
m.updated = new Date(proto.updated);
|
|
5254
5254
|
}
|
|
5255
5255
|
if (proto.consumer) {
|
|
5256
|
-
m.consumer = enumStringToValue$
|
|
5256
|
+
m.consumer = enumStringToValue$w(Consumer, proto.consumer);
|
|
5257
5257
|
}
|
|
5258
5258
|
if (proto.numberOfBillingPeriods) {
|
|
5259
5259
|
m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);
|
|
@@ -5350,7 +5350,7 @@ class ListDiscountsRequestFilters {
|
|
|
5350
5350
|
m.expiry = new Date(proto.expiry);
|
|
5351
5351
|
}
|
|
5352
5352
|
if (proto.consumers) {
|
|
5353
|
-
m.consumers = proto.consumers.map((v) => enumStringToValue$
|
|
5353
|
+
m.consumers = proto.consumers.map((v) => enumStringToValue$w(Consumer, v));
|
|
5354
5354
|
}
|
|
5355
5355
|
return m;
|
|
5356
5356
|
}
|
|
@@ -5449,7 +5449,7 @@ class UpdateDiscountRequest {
|
|
|
5449
5449
|
let m = new UpdateDiscountRequest();
|
|
5450
5450
|
m = Object.assign(m, proto);
|
|
5451
5451
|
if (proto.discountType) {
|
|
5452
|
-
m.discountType = enumStringToValue$
|
|
5452
|
+
m.discountType = enumStringToValue$w(DiscountType, proto.discountType);
|
|
5453
5453
|
}
|
|
5454
5454
|
if (proto.amount) {
|
|
5455
5455
|
m.amount = parseInt(proto.amount, 10);
|
|
@@ -5510,7 +5510,7 @@ class UpdateDiscountRequest {
|
|
|
5510
5510
|
}
|
|
5511
5511
|
}
|
|
5512
5512
|
|
|
5513
|
-
function enumStringToValue$
|
|
5513
|
+
function enumStringToValue$v(enumRef, value) {
|
|
5514
5514
|
if (typeof value === 'number') {
|
|
5515
5515
|
return value;
|
|
5516
5516
|
}
|
|
@@ -5552,7 +5552,7 @@ class AppliedTaxRate {
|
|
|
5552
5552
|
}
|
|
5553
5553
|
}
|
|
5554
5554
|
|
|
5555
|
-
function enumStringToValue$
|
|
5555
|
+
function enumStringToValue$u(enumRef, value) {
|
|
5556
5556
|
if (typeof value === 'number') {
|
|
5557
5557
|
return value;
|
|
5558
5558
|
}
|
|
@@ -6044,7 +6044,7 @@ class UpdateTaxRequest {
|
|
|
6044
6044
|
}
|
|
6045
6045
|
}
|
|
6046
6046
|
|
|
6047
|
-
function enumStringToValue$
|
|
6047
|
+
function enumStringToValue$t(enumRef, value) {
|
|
6048
6048
|
if (typeof value === 'number') {
|
|
6049
6049
|
return value;
|
|
6050
6050
|
}
|
|
@@ -6121,7 +6121,7 @@ class AppliedBundleItem {
|
|
|
6121
6121
|
}
|
|
6122
6122
|
}
|
|
6123
6123
|
|
|
6124
|
-
function enumStringToValue$
|
|
6124
|
+
function enumStringToValue$s(enumRef, value) {
|
|
6125
6125
|
if (typeof value === 'number') {
|
|
6126
6126
|
return value;
|
|
6127
6127
|
}
|
|
@@ -6227,10 +6227,10 @@ class PaymentCard {
|
|
|
6227
6227
|
let m = new PaymentCard();
|
|
6228
6228
|
m = Object.assign(m, proto);
|
|
6229
6229
|
if (proto.cardType) {
|
|
6230
|
-
m.cardType = enumStringToValue$
|
|
6230
|
+
m.cardType = enumStringToValue$s(PaymentCardCARD_TYPE, proto.cardType);
|
|
6231
6231
|
}
|
|
6232
6232
|
if (proto.fundingType) {
|
|
6233
|
-
m.fundingType = enumStringToValue$
|
|
6233
|
+
m.fundingType = enumStringToValue$s(PaymentCardFUNDING_TYPE, proto.fundingType);
|
|
6234
6234
|
}
|
|
6235
6235
|
return m;
|
|
6236
6236
|
}
|
|
@@ -6337,7 +6337,7 @@ class UpdatePaymentCardRequest {
|
|
|
6337
6337
|
}
|
|
6338
6338
|
}
|
|
6339
6339
|
|
|
6340
|
-
function enumStringToValue$
|
|
6340
|
+
function enumStringToValue$r(enumRef, value) {
|
|
6341
6341
|
if (typeof value === 'number') {
|
|
6342
6342
|
return value;
|
|
6343
6343
|
}
|
|
@@ -6440,7 +6440,7 @@ class PaymentMethod {
|
|
|
6440
6440
|
let m = new PaymentMethod();
|
|
6441
6441
|
m = Object.assign(m, proto);
|
|
6442
6442
|
if (proto.type) {
|
|
6443
|
-
m.type = enumStringToValue$
|
|
6443
|
+
m.type = enumStringToValue$r(PaymentMethodType, proto.type);
|
|
6444
6444
|
}
|
|
6445
6445
|
if (proto.card) {
|
|
6446
6446
|
m.card = PaymentCard.fromProto(proto.card);
|
|
@@ -6480,7 +6480,7 @@ class PaymentMethod {
|
|
|
6480
6480
|
}
|
|
6481
6481
|
}
|
|
6482
6482
|
|
|
6483
|
-
function enumStringToValue$
|
|
6483
|
+
function enumStringToValue$q(enumRef, value) {
|
|
6484
6484
|
if (typeof value === 'number') {
|
|
6485
6485
|
return value;
|
|
6486
6486
|
}
|
|
@@ -6575,7 +6575,7 @@ class ListRecurringInvoicesFiltersDetailedInterval {
|
|
|
6575
6575
|
let m = new ListRecurringInvoicesFiltersDetailedInterval();
|
|
6576
6576
|
m = Object.assign(m, proto);
|
|
6577
6577
|
if (proto.interval) {
|
|
6578
|
-
m.interval = enumStringToValue$
|
|
6578
|
+
m.interval = enumStringToValue$q(Interval, proto.interval);
|
|
6579
6579
|
}
|
|
6580
6580
|
if (proto.intervalCount) {
|
|
6581
6581
|
m.intervalCount = parseInt(proto.intervalCount, 10);
|
|
@@ -6624,7 +6624,7 @@ class ListRecurringInvoicesFilters {
|
|
|
6624
6624
|
let m = new ListRecurringInvoicesFilters();
|
|
6625
6625
|
m = Object.assign(m, proto);
|
|
6626
6626
|
if (proto.statuses) {
|
|
6627
|
-
m.statuses = proto.statuses.map((v) => enumStringToValue$
|
|
6627
|
+
m.statuses = proto.statuses.map((v) => enumStringToValue$q(RecurringInvoiceStatus, v));
|
|
6628
6628
|
}
|
|
6629
6629
|
if (proto.intervals) {
|
|
6630
6630
|
m.intervals = proto.intervals.map(ListRecurringInvoicesFiltersDetailedInterval.fromProto);
|
|
@@ -6729,7 +6729,7 @@ class RecurringInvoice {
|
|
|
6729
6729
|
m.updated = new Date(proto.updated);
|
|
6730
6730
|
}
|
|
6731
6731
|
if (proto.status) {
|
|
6732
|
-
m.status = enumStringToValue$
|
|
6732
|
+
m.status = enumStringToValue$q(RecurringInvoiceStatus, proto.status);
|
|
6733
6733
|
}
|
|
6734
6734
|
if (proto.nextIssue) {
|
|
6735
6735
|
m.nextIssue = new Date(proto.nextIssue);
|
|
@@ -6738,16 +6738,16 @@ class RecurringInvoice {
|
|
|
6738
6738
|
m.intervalCount = parseInt(proto.intervalCount, 10);
|
|
6739
6739
|
}
|
|
6740
6740
|
if (proto.interval) {
|
|
6741
|
-
m.interval = enumStringToValue$
|
|
6741
|
+
m.interval = enumStringToValue$q(Interval, proto.interval);
|
|
6742
6742
|
}
|
|
6743
6743
|
if (proto.repeatOnDayOfMonth) {
|
|
6744
6744
|
m.repeatOnDayOfMonth = parseInt(proto.repeatOnDayOfMonth, 10);
|
|
6745
6745
|
}
|
|
6746
6746
|
if (proto.collectionMethod) {
|
|
6747
|
-
m.collectionMethod = enumStringToValue$
|
|
6747
|
+
m.collectionMethod = enumStringToValue$q(CollectionMethod, proto.collectionMethod);
|
|
6748
6748
|
}
|
|
6749
6749
|
if (proto.paymentProcessor) {
|
|
6750
|
-
m.paymentProcessor = enumStringToValue$
|
|
6750
|
+
m.paymentProcessor = enumStringToValue$q(PaymentProcessor, proto.paymentProcessor);
|
|
6751
6751
|
}
|
|
6752
6752
|
if (proto.items) {
|
|
6753
6753
|
m.items = proto.items.map(RecurringInvoiceItem.fromProto);
|
|
@@ -6765,7 +6765,7 @@ class RecurringInvoice {
|
|
|
6765
6765
|
m.netD = parseInt(proto.netD, 10);
|
|
6766
6766
|
}
|
|
6767
6767
|
if (proto.paymentMethodTypes) {
|
|
6768
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
6768
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$q(PaymentMethodType, v));
|
|
6769
6769
|
}
|
|
6770
6770
|
return m;
|
|
6771
6771
|
}
|
|
@@ -6972,7 +6972,7 @@ class UpdateRecurringInvoiceRequest {
|
|
|
6972
6972
|
}
|
|
6973
6973
|
}
|
|
6974
6974
|
|
|
6975
|
-
function enumStringToValue$
|
|
6975
|
+
function enumStringToValue$p(enumRef, value) {
|
|
6976
6976
|
if (typeof value === 'number') {
|
|
6977
6977
|
return value;
|
|
6978
6978
|
}
|
|
@@ -7117,7 +7117,7 @@ class AppliedCreditNote {
|
|
|
7117
7117
|
m.amount = parseInt(proto.amount, 10);
|
|
7118
7118
|
}
|
|
7119
7119
|
if (proto.creditNoteType) {
|
|
7120
|
-
m.creditNoteType = enumStringToValue$
|
|
7120
|
+
m.creditNoteType = enumStringToValue$p(CreditNoteType, proto.creditNoteType);
|
|
7121
7121
|
}
|
|
7122
7122
|
return m;
|
|
7123
7123
|
}
|
|
@@ -7181,10 +7181,10 @@ class CreateInvoiceRequest {
|
|
|
7181
7181
|
m.items = proto.items.map(InvoiceItem.fromProto);
|
|
7182
7182
|
}
|
|
7183
7183
|
if (proto.collectionMethod) {
|
|
7184
|
-
m.collectionMethod = enumStringToValue$
|
|
7184
|
+
m.collectionMethod = enumStringToValue$p(CollectionMethod, proto.collectionMethod);
|
|
7185
7185
|
}
|
|
7186
7186
|
if (proto.origin) {
|
|
7187
|
-
m.origin = enumStringToValue$
|
|
7187
|
+
m.origin = enumStringToValue$p(Origin, proto.origin);
|
|
7188
7188
|
}
|
|
7189
7189
|
if (proto.issued) {
|
|
7190
7190
|
m.issued = new Date(proto.issued);
|
|
@@ -7356,7 +7356,7 @@ class ListInvoicesRequestFiltersDateFilter {
|
|
|
7356
7356
|
let m = new ListInvoicesRequestFiltersDateFilter();
|
|
7357
7357
|
m = Object.assign(m, proto);
|
|
7358
7358
|
if (proto.dateField) {
|
|
7359
|
-
m.dateField = enumStringToValue$
|
|
7359
|
+
m.dateField = enumStringToValue$p(ListInvoicesRequestFiltersDateFilterDateField, proto.dateField);
|
|
7360
7360
|
}
|
|
7361
7361
|
if (proto.dateLte) {
|
|
7362
7362
|
m.dateLte = new Date(proto.dateLte);
|
|
@@ -7506,13 +7506,13 @@ class ListInvoicesRequestFilters {
|
|
|
7506
7506
|
let m = new ListInvoicesRequestFilters();
|
|
7507
7507
|
m = Object.assign(m, proto);
|
|
7508
7508
|
if (proto.statuses) {
|
|
7509
|
-
m.statuses = proto.statuses.map((v) => enumStringToValue$
|
|
7509
|
+
m.statuses = proto.statuses.map((v) => enumStringToValue$p(InvoiceStatus, v));
|
|
7510
7510
|
}
|
|
7511
7511
|
if (proto.dateFilter) {
|
|
7512
7512
|
m.dateFilter = ListInvoicesRequestFiltersDateFilter.fromProto(proto.dateFilter);
|
|
7513
7513
|
}
|
|
7514
7514
|
if (proto.lastPaymentStatuses) {
|
|
7515
|
-
m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$
|
|
7515
|
+
m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$p(LastPaymentStatus, v));
|
|
7516
7516
|
}
|
|
7517
7517
|
return m;
|
|
7518
7518
|
}
|
|
@@ -7706,7 +7706,7 @@ class Invoice {
|
|
|
7706
7706
|
let m = new Invoice();
|
|
7707
7707
|
m = Object.assign(m, proto);
|
|
7708
7708
|
if (proto.status) {
|
|
7709
|
-
m.status = enumStringToValue$
|
|
7709
|
+
m.status = enumStringToValue$p(InvoiceStatus, proto.status);
|
|
7710
7710
|
}
|
|
7711
7711
|
if (proto.subtotal) {
|
|
7712
7712
|
m.subtotal = parseInt(proto.subtotal, 10);
|
|
@@ -7733,7 +7733,7 @@ class Invoice {
|
|
|
7733
7733
|
m.items = proto.items.map(InvoiceItem.fromProto);
|
|
7734
7734
|
}
|
|
7735
7735
|
if (proto.currency) {
|
|
7736
|
-
m.currency = enumStringToValue$
|
|
7736
|
+
m.currency = enumStringToValue$p(Currency, proto.currency);
|
|
7737
7737
|
}
|
|
7738
7738
|
if (proto.paid) {
|
|
7739
7739
|
m.paid = new Date(proto.paid);
|
|
@@ -7766,10 +7766,10 @@ class Invoice {
|
|
|
7766
7766
|
m.autoAdvance = new Date(proto.autoAdvance);
|
|
7767
7767
|
}
|
|
7768
7768
|
if (proto.paymentMethodTypes) {
|
|
7769
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
7769
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$p(PaymentMethodType, v));
|
|
7770
7770
|
}
|
|
7771
7771
|
if (proto.lastPaymentStatus) {
|
|
7772
|
-
m.lastPaymentStatus = enumStringToValue$
|
|
7772
|
+
m.lastPaymentStatus = enumStringToValue$p(LastPaymentStatus, proto.lastPaymentStatus);
|
|
7773
7773
|
}
|
|
7774
7774
|
if (proto.amountOwing) {
|
|
7775
7775
|
m.amountOwing = parseInt(proto.amountOwing, 10);
|
|
@@ -7778,7 +7778,7 @@ class Invoice {
|
|
|
7778
7778
|
m.appliedCreditNotes = proto.appliedCreditNotes.map(AppliedCreditNote.fromProto);
|
|
7779
7779
|
}
|
|
7780
7780
|
if (proto.processingFailureCode) {
|
|
7781
|
-
m.processingFailureCode = enumStringToValue$
|
|
7781
|
+
m.processingFailureCode = enumStringToValue$p(ProcessingFailureCode, proto.processingFailureCode);
|
|
7782
7782
|
}
|
|
7783
7783
|
if (proto.retailSubscriptionGroups) {
|
|
7784
7784
|
m.retailSubscriptionGroups = proto.retailSubscriptionGroups.map(RetailSubscriptionGroup.fromProto);
|
|
@@ -8019,7 +8019,7 @@ class ItemDisplayGroup {
|
|
|
8019
8019
|
let m = new ItemDisplayGroup();
|
|
8020
8020
|
m = Object.assign(m, proto);
|
|
8021
8021
|
if (proto.displayOption) {
|
|
8022
|
-
m.displayOption = enumStringToValue$
|
|
8022
|
+
m.displayOption = enumStringToValue$p(DisplayOption, proto.displayOption);
|
|
8023
8023
|
}
|
|
8024
8024
|
return m;
|
|
8025
8025
|
}
|
|
@@ -8534,7 +8534,7 @@ class VoidInvoiceRequest {
|
|
|
8534
8534
|
}
|
|
8535
8535
|
}
|
|
8536
8536
|
|
|
8537
|
-
function enumStringToValue$
|
|
8537
|
+
function enumStringToValue$o(enumRef, value) {
|
|
8538
8538
|
if (typeof value === 'number') {
|
|
8539
8539
|
return value;
|
|
8540
8540
|
}
|
|
@@ -8628,7 +8628,7 @@ class BalanceAmount {
|
|
|
8628
8628
|
}
|
|
8629
8629
|
}
|
|
8630
8630
|
|
|
8631
|
-
function enumStringToValue$
|
|
8631
|
+
function enumStringToValue$n(enumRef, value) {
|
|
8632
8632
|
if (typeof value === 'number') {
|
|
8633
8633
|
return value;
|
|
8634
8634
|
}
|
|
@@ -8664,7 +8664,7 @@ class DateRange {
|
|
|
8664
8664
|
}
|
|
8665
8665
|
}
|
|
8666
8666
|
|
|
8667
|
-
function enumStringToValue$
|
|
8667
|
+
function enumStringToValue$m(enumRef, value) {
|
|
8668
8668
|
if (typeof value === 'number') {
|
|
8669
8669
|
return value;
|
|
8670
8670
|
}
|
|
@@ -8765,13 +8765,13 @@ class Payout {
|
|
|
8765
8765
|
m.amount = parseInt(proto.amount, 10);
|
|
8766
8766
|
}
|
|
8767
8767
|
if (proto.currency) {
|
|
8768
|
-
m.currency = enumStringToValue$
|
|
8768
|
+
m.currency = enumStringToValue$m(Currency, proto.currency);
|
|
8769
8769
|
}
|
|
8770
8770
|
if (proto.status) {
|
|
8771
|
-
m.status = enumStringToValue$
|
|
8771
|
+
m.status = enumStringToValue$m(PayoutStatus, proto.status);
|
|
8772
8772
|
}
|
|
8773
8773
|
if (proto.type) {
|
|
8774
|
-
m.type = enumStringToValue$
|
|
8774
|
+
m.type = enumStringToValue$m(PayoutType, proto.type);
|
|
8775
8775
|
}
|
|
8776
8776
|
return m;
|
|
8777
8777
|
}
|
|
@@ -8873,10 +8873,10 @@ class RetailPayout {
|
|
|
8873
8873
|
m.amount = parseInt(proto.amount, 10);
|
|
8874
8874
|
}
|
|
8875
8875
|
if (proto.status) {
|
|
8876
|
-
m.status = enumStringToValue$
|
|
8876
|
+
m.status = enumStringToValue$m(PayoutStatus, proto.status);
|
|
8877
8877
|
}
|
|
8878
8878
|
if (proto.type) {
|
|
8879
|
-
m.type = enumStringToValue$
|
|
8879
|
+
m.type = enumStringToValue$m(PayoutType, proto.type);
|
|
8880
8880
|
}
|
|
8881
8881
|
return m;
|
|
8882
8882
|
}
|
|
@@ -8925,7 +8925,7 @@ class RetailPayout {
|
|
|
8925
8925
|
}
|
|
8926
8926
|
}
|
|
8927
8927
|
|
|
8928
|
-
function enumStringToValue$
|
|
8928
|
+
function enumStringToValue$l(enumRef, value) {
|
|
8929
8929
|
if (typeof value === 'number') {
|
|
8930
8930
|
return value;
|
|
8931
8931
|
}
|
|
@@ -9040,7 +9040,7 @@ class CreateMerchantRequest {
|
|
|
9040
9040
|
m.includeInFinancialRecords = CreateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);
|
|
9041
9041
|
}
|
|
9042
9042
|
if (proto.merchantType) {
|
|
9043
|
-
m.merchantType = enumStringToValue$
|
|
9043
|
+
m.merchantType = enumStringToValue$l(MerchantType, proto.merchantType);
|
|
9044
9044
|
}
|
|
9045
9045
|
return m;
|
|
9046
9046
|
}
|
|
@@ -9304,7 +9304,7 @@ class GetOutstandingBalanceResponse {
|
|
|
9304
9304
|
m.outstandingBalance = parseInt(proto.outstandingBalance, 10);
|
|
9305
9305
|
}
|
|
9306
9306
|
if (proto.currency) {
|
|
9307
|
-
m.currency = enumStringToValue$
|
|
9307
|
+
m.currency = enumStringToValue$l(Currency, proto.currency);
|
|
9308
9308
|
}
|
|
9309
9309
|
return m;
|
|
9310
9310
|
}
|
|
@@ -9615,7 +9615,7 @@ class Merchant {
|
|
|
9615
9615
|
let m = new Merchant();
|
|
9616
9616
|
m = Object.assign(m, proto);
|
|
9617
9617
|
if (proto.merchantType) {
|
|
9618
|
-
m.merchantType = enumStringToValue$
|
|
9618
|
+
m.merchantType = enumStringToValue$l(MerchantType, proto.merchantType);
|
|
9619
9619
|
}
|
|
9620
9620
|
return m;
|
|
9621
9621
|
}
|
|
@@ -9770,10 +9770,10 @@ class SearchMerchantsRequest {
|
|
|
9770
9770
|
let m = new SearchMerchantsRequest();
|
|
9771
9771
|
m = Object.assign(m, proto);
|
|
9772
9772
|
if (proto.sortBy) {
|
|
9773
|
-
m.sortBy = enumStringToValue$
|
|
9773
|
+
m.sortBy = enumStringToValue$l(SearchMerchantsRequestSortBy, proto.sortBy);
|
|
9774
9774
|
}
|
|
9775
9775
|
if (proto.sortDirection) {
|
|
9776
|
-
m.sortDirection = enumStringToValue$
|
|
9776
|
+
m.sortDirection = enumStringToValue$l(SortDirection, proto.sortDirection);
|
|
9777
9777
|
}
|
|
9778
9778
|
if (proto.pagingOptions) {
|
|
9779
9779
|
m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
|
|
@@ -9981,7 +9981,7 @@ class UpdateMerchantRequest {
|
|
|
9981
9981
|
m.includeInFinancialRecords = UpdateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);
|
|
9982
9982
|
}
|
|
9983
9983
|
if (proto.merchantType) {
|
|
9984
|
-
m.merchantType = enumStringToValue$
|
|
9984
|
+
m.merchantType = enumStringToValue$l(MerchantType, proto.merchantType);
|
|
9985
9985
|
}
|
|
9986
9986
|
return m;
|
|
9987
9987
|
}
|
|
@@ -10106,7 +10106,7 @@ class UpsertRetailConfigurationRequest {
|
|
|
10106
10106
|
}
|
|
10107
10107
|
}
|
|
10108
10108
|
|
|
10109
|
-
function enumStringToValue$
|
|
10109
|
+
function enumStringToValue$k(enumRef, value) {
|
|
10110
10110
|
if (typeof value === 'number') {
|
|
10111
10111
|
return value;
|
|
10112
10112
|
}
|
|
@@ -10175,13 +10175,13 @@ class MerchantReport {
|
|
|
10175
10175
|
m.year = parseInt(proto.year, 10);
|
|
10176
10176
|
}
|
|
10177
10177
|
if (proto.month) {
|
|
10178
|
-
m.month = enumStringToValue$
|
|
10178
|
+
m.month = enumStringToValue$k(Month, proto.month);
|
|
10179
10179
|
}
|
|
10180
10180
|
if (proto.created) {
|
|
10181
10181
|
m.created = new Date(proto.created);
|
|
10182
10182
|
}
|
|
10183
10183
|
if (proto.status) {
|
|
10184
|
-
m.status = enumStringToValue$
|
|
10184
|
+
m.status = enumStringToValue$k(MerchantReportStatus, proto.status);
|
|
10185
10185
|
}
|
|
10186
10186
|
return m;
|
|
10187
10187
|
}
|
|
@@ -10212,7 +10212,7 @@ class MerchantReport {
|
|
|
10212
10212
|
}
|
|
10213
10213
|
}
|
|
10214
10214
|
|
|
10215
|
-
function enumStringToValue$
|
|
10215
|
+
function enumStringToValue$j(enumRef, value) {
|
|
10216
10216
|
if (typeof value === 'number') {
|
|
10217
10217
|
return value;
|
|
10218
10218
|
}
|
|
@@ -10309,7 +10309,7 @@ class TickComponentUsageRequest {
|
|
|
10309
10309
|
}
|
|
10310
10310
|
}
|
|
10311
10311
|
|
|
10312
|
-
function enumStringToValue$
|
|
10312
|
+
function enumStringToValue$i(enumRef, value) {
|
|
10313
10313
|
if (typeof value === 'number') {
|
|
10314
10314
|
return value;
|
|
10315
10315
|
}
|
|
@@ -10422,7 +10422,7 @@ class RetailPaymentCardDetails {
|
|
|
10422
10422
|
let m = new RetailPaymentCardDetails();
|
|
10423
10423
|
m = Object.assign(m, proto);
|
|
10424
10424
|
if (proto.cardType) {
|
|
10425
|
-
m.cardType = enumStringToValue$
|
|
10425
|
+
m.cardType = enumStringToValue$i(CardType, proto.cardType);
|
|
10426
10426
|
}
|
|
10427
10427
|
return m;
|
|
10428
10428
|
}
|
|
@@ -10471,7 +10471,7 @@ class ConfigureRetailPaymentProviderRequest {
|
|
|
10471
10471
|
let m = new ConfigureRetailPaymentProviderRequest();
|
|
10472
10472
|
m = Object.assign(m, proto);
|
|
10473
10473
|
if (proto.paymentFacilitatorType) {
|
|
10474
|
-
m.paymentFacilitatorType = enumStringToValue$
|
|
10474
|
+
m.paymentFacilitatorType = enumStringToValue$i(PaymentFacilitatorType, proto.paymentFacilitatorType);
|
|
10475
10475
|
}
|
|
10476
10476
|
return m;
|
|
10477
10477
|
}
|
|
@@ -10549,7 +10549,7 @@ class Dispute {
|
|
|
10549
10549
|
let m = new Dispute();
|
|
10550
10550
|
m = Object.assign(m, proto);
|
|
10551
10551
|
if (proto.status) {
|
|
10552
|
-
m.status = enumStringToValue$
|
|
10552
|
+
m.status = enumStringToValue$i(DisputeStatus, proto.status);
|
|
10553
10553
|
}
|
|
10554
10554
|
if (proto.amount) {
|
|
10555
10555
|
m.amount = parseInt(proto.amount, 10);
|
|
@@ -10567,7 +10567,7 @@ class Dispute {
|
|
|
10567
10567
|
m.fee = parseInt(proto.fee, 10);
|
|
10568
10568
|
}
|
|
10569
10569
|
if (proto.paymentReferenceType) {
|
|
10570
|
-
m.paymentReferenceType = enumStringToValue$
|
|
10570
|
+
m.paymentReferenceType = enumStringToValue$i(RetailPaymentReferenceType, proto.paymentReferenceType);
|
|
10571
10571
|
}
|
|
10572
10572
|
if (proto.paymentReceivedAt) {
|
|
10573
10573
|
m.paymentReceivedAt = new Date(proto.paymentReceivedAt);
|
|
@@ -10883,7 +10883,7 @@ class GetRetailPaymentProviderResponse {
|
|
|
10883
10883
|
let m = new GetRetailPaymentProviderResponse();
|
|
10884
10884
|
m = Object.assign(m, proto);
|
|
10885
10885
|
if (proto.paymentFacilitatorType) {
|
|
10886
|
-
m.paymentFacilitatorType = enumStringToValue$
|
|
10886
|
+
m.paymentFacilitatorType = enumStringToValue$i(PaymentFacilitatorType, proto.paymentFacilitatorType);
|
|
10887
10887
|
}
|
|
10888
10888
|
return m;
|
|
10889
10889
|
}
|
|
@@ -11097,7 +11097,7 @@ class ListRetailDisputesRequestListRetailDisputesFilters {
|
|
|
11097
11097
|
let m = new ListRetailDisputesRequestListRetailDisputesFilters();
|
|
11098
11098
|
m = Object.assign(m, proto);
|
|
11099
11099
|
if (proto.status) {
|
|
11100
|
-
m.status = enumStringToValue$
|
|
11100
|
+
m.status = enumStringToValue$i(DisputeStatus, proto.status);
|
|
11101
11101
|
}
|
|
11102
11102
|
return m;
|
|
11103
11103
|
}
|
|
@@ -11283,7 +11283,7 @@ class ListRetailTransactionsRequestListRetailTransactionsFilters {
|
|
|
11283
11283
|
m.createdDateLte = new Date(proto.createdDateLte);
|
|
11284
11284
|
}
|
|
11285
11285
|
if (proto.type) {
|
|
11286
|
-
m.type = enumStringToValue$
|
|
11286
|
+
m.type = enumStringToValue$i(RetailTransactionType, proto.type);
|
|
11287
11287
|
}
|
|
11288
11288
|
return m;
|
|
11289
11289
|
}
|
|
@@ -11417,10 +11417,10 @@ class Payment {
|
|
|
11417
11417
|
m.created = new Date(proto.created);
|
|
11418
11418
|
}
|
|
11419
11419
|
if (proto.currency) {
|
|
11420
|
-
m.currency = enumStringToValue$
|
|
11420
|
+
m.currency = enumStringToValue$i(Currency, proto.currency);
|
|
11421
11421
|
}
|
|
11422
11422
|
if (proto.paymentSource) {
|
|
11423
|
-
m.paymentSource = enumStringToValue$
|
|
11423
|
+
m.paymentSource = enumStringToValue$i(PaymentSource, proto.paymentSource);
|
|
11424
11424
|
}
|
|
11425
11425
|
if (proto.allocations) {
|
|
11426
11426
|
m.allocations = proto.allocations.map(PaymentPaymentAllocation.fromProto);
|
|
@@ -11429,7 +11429,7 @@ class Payment {
|
|
|
11429
11429
|
m.total = parseInt(proto.total, 10);
|
|
11430
11430
|
}
|
|
11431
11431
|
if (proto.status) {
|
|
11432
|
-
m.status = enumStringToValue$
|
|
11432
|
+
m.status = enumStringToValue$i(PaymentStatus, proto.status);
|
|
11433
11433
|
}
|
|
11434
11434
|
return m;
|
|
11435
11435
|
}
|
|
@@ -11479,7 +11479,7 @@ class PaymentPaymentAllocation {
|
|
|
11479
11479
|
m.amount = parseInt(proto.amount, 10);
|
|
11480
11480
|
}
|
|
11481
11481
|
if (proto.type) {
|
|
11482
|
-
m.type = enumStringToValue$
|
|
11482
|
+
m.type = enumStringToValue$i(PaymentAllocationType, proto.type);
|
|
11483
11483
|
}
|
|
11484
11484
|
return m;
|
|
11485
11485
|
}
|
|
@@ -11508,13 +11508,13 @@ class PaymentIntent {
|
|
|
11508
11508
|
let m = new PaymentIntent();
|
|
11509
11509
|
m = Object.assign(m, proto);
|
|
11510
11510
|
if (proto.paymentIntentStatus) {
|
|
11511
|
-
m.paymentIntentStatus = enumStringToValue$
|
|
11511
|
+
m.paymentIntentStatus = enumStringToValue$i(PaymentIntentStatus, proto.paymentIntentStatus);
|
|
11512
11512
|
}
|
|
11513
11513
|
if (proto.paymentMethodType) {
|
|
11514
|
-
m.paymentMethodType = enumStringToValue$
|
|
11514
|
+
m.paymentMethodType = enumStringToValue$i(PaymentMethodType, proto.paymentMethodType);
|
|
11515
11515
|
}
|
|
11516
11516
|
if (proto.lastErrorCode) {
|
|
11517
|
-
m.lastErrorCode = enumStringToValue$
|
|
11517
|
+
m.lastErrorCode = enumStringToValue$i(PaymentErrorCode, proto.lastErrorCode);
|
|
11518
11518
|
}
|
|
11519
11519
|
return m;
|
|
11520
11520
|
}
|
|
@@ -11546,7 +11546,7 @@ class PrepareRetailPaymentRequest {
|
|
|
11546
11546
|
m.order = PrepareRetailPaymentRequestOrder.fromProto(proto.order);
|
|
11547
11547
|
}
|
|
11548
11548
|
if (proto.paymentMethodTypes) {
|
|
11549
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
11549
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$i(PaymentMethodType, v));
|
|
11550
11550
|
}
|
|
11551
11551
|
return m;
|
|
11552
11552
|
}
|
|
@@ -11613,7 +11613,7 @@ class RefundRetailPaymentRequest {
|
|
|
11613
11613
|
m.amount = parseInt(proto.amount, 10);
|
|
11614
11614
|
}
|
|
11615
11615
|
if (proto.reason) {
|
|
11616
|
-
m.reason = enumStringToValue$
|
|
11616
|
+
m.reason = enumStringToValue$i(RetailRefundReason, proto.reason);
|
|
11617
11617
|
}
|
|
11618
11618
|
return m;
|
|
11619
11619
|
}
|
|
@@ -11674,10 +11674,10 @@ class RetailPayment {
|
|
|
11674
11674
|
m.amount = parseInt(proto.amount, 10);
|
|
11675
11675
|
}
|
|
11676
11676
|
if (proto.referenceType) {
|
|
11677
|
-
m.referenceType = enumStringToValue$
|
|
11677
|
+
m.referenceType = enumStringToValue$i(RetailPaymentReferenceType, proto.referenceType);
|
|
11678
11678
|
}
|
|
11679
11679
|
if (proto.status) {
|
|
11680
|
-
m.status = enumStringToValue$
|
|
11680
|
+
m.status = enumStringToValue$i(PaymentStatus, proto.status);
|
|
11681
11681
|
}
|
|
11682
11682
|
if (proto.applicationFee) {
|
|
11683
11683
|
m.applicationFee = parseInt(proto.applicationFee, 10);
|
|
@@ -11692,7 +11692,7 @@ class RetailPayment {
|
|
|
11692
11692
|
m.refunds = proto.refunds.map(RetailRefund.fromProto);
|
|
11693
11693
|
}
|
|
11694
11694
|
if (proto.paymentMethodDetailsType) {
|
|
11695
|
-
m.paymentMethodDetailsType = enumStringToValue$
|
|
11695
|
+
m.paymentMethodDetailsType = enumStringToValue$i(RetailPaymentPaymentMethodDetailsType, proto.paymentMethodDetailsType);
|
|
11696
11696
|
}
|
|
11697
11697
|
if (proto.achDebitDetails) {
|
|
11698
11698
|
m.achDebitDetails = RetailPaymentACHDetails.fromProto(proto.achDebitDetails);
|
|
@@ -11704,7 +11704,7 @@ class RetailPayment {
|
|
|
11704
11704
|
m.paymentFacilitatorFee = parseInt(proto.paymentFacilitatorFee, 10);
|
|
11705
11705
|
}
|
|
11706
11706
|
if (proto.paymentFacilitatorType) {
|
|
11707
|
-
m.paymentFacilitatorType = enumStringToValue$
|
|
11707
|
+
m.paymentFacilitatorType = enumStringToValue$i(PaymentFacilitatorType, proto.paymentFacilitatorType);
|
|
11708
11708
|
}
|
|
11709
11709
|
if (proto.settledAt) {
|
|
11710
11710
|
m.settledAt = new Date(proto.settledAt);
|
|
@@ -11839,13 +11839,13 @@ class RetailRefund {
|
|
|
11839
11839
|
m.amount = parseInt(proto.amount, 10);
|
|
11840
11840
|
}
|
|
11841
11841
|
if (proto.refundReason) {
|
|
11842
|
-
m.refundReason = enumStringToValue$
|
|
11842
|
+
m.refundReason = enumStringToValue$i(RetailRefundReason, proto.refundReason);
|
|
11843
11843
|
}
|
|
11844
11844
|
if (proto.status) {
|
|
11845
|
-
m.status = enumStringToValue$
|
|
11845
|
+
m.status = enumStringToValue$i(RetailRefundStatus, proto.status);
|
|
11846
11846
|
}
|
|
11847
11847
|
if (proto.failureReason) {
|
|
11848
|
-
m.failureReason = enumStringToValue$
|
|
11848
|
+
m.failureReason = enumStringToValue$i(RetailRefundFailureReason, proto.failureReason);
|
|
11849
11849
|
}
|
|
11850
11850
|
if (proto.created) {
|
|
11851
11851
|
m.created = new Date(proto.created);
|
|
@@ -12109,7 +12109,7 @@ class RetailStatusResponseVerificationRequirements {
|
|
|
12109
12109
|
}
|
|
12110
12110
|
}
|
|
12111
12111
|
|
|
12112
|
-
function enumStringToValue$
|
|
12112
|
+
function enumStringToValue$h(enumRef, value) {
|
|
12113
12113
|
if (typeof value === 'number') {
|
|
12114
12114
|
return value;
|
|
12115
12115
|
}
|
|
@@ -12120,7 +12120,7 @@ class CreatePricingPlanProductRequest {
|
|
|
12120
12120
|
let m = new CreatePricingPlanProductRequest();
|
|
12121
12121
|
m = Object.assign(m, proto);
|
|
12122
12122
|
if (proto.frequency) {
|
|
12123
|
-
m.frequency = enumStringToValue$
|
|
12123
|
+
m.frequency = enumStringToValue$h(Frequency, proto.frequency);
|
|
12124
12124
|
}
|
|
12125
12125
|
if (proto.pricing) {
|
|
12126
12126
|
m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
|
|
@@ -12129,7 +12129,7 @@ class CreatePricingPlanProductRequest {
|
|
|
12129
12129
|
m.commitment = Commitment.fromProto(proto.commitment);
|
|
12130
12130
|
}
|
|
12131
12131
|
if (proto.strategy) {
|
|
12132
|
-
m.strategy = enumStringToValue$
|
|
12132
|
+
m.strategy = enumStringToValue$h(BillingStrategy, proto.strategy);
|
|
12133
12133
|
}
|
|
12134
12134
|
if (proto.volumeCommitment) {
|
|
12135
12135
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -12303,7 +12303,7 @@ class GetPricingPlanProductResponse {
|
|
|
12303
12303
|
m.pricingPlanProduct = PricingPlanProduct.fromProto(proto.pricingPlanProduct);
|
|
12304
12304
|
}
|
|
12305
12305
|
if (proto.pricingPlanDefaultStrategy) {
|
|
12306
|
-
m.pricingPlanDefaultStrategy = enumStringToValue$
|
|
12306
|
+
m.pricingPlanDefaultStrategy = enumStringToValue$h(BillingStrategy, proto.pricingPlanDefaultStrategy);
|
|
12307
12307
|
}
|
|
12308
12308
|
return m;
|
|
12309
12309
|
}
|
|
@@ -12491,7 +12491,7 @@ class PricingPlanProduct {
|
|
|
12491
12491
|
let m = new PricingPlanProduct();
|
|
12492
12492
|
m = Object.assign(m, proto);
|
|
12493
12493
|
if (proto.frequency) {
|
|
12494
|
-
m.frequency = enumStringToValue$
|
|
12494
|
+
m.frequency = enumStringToValue$h(Frequency, proto.frequency);
|
|
12495
12495
|
}
|
|
12496
12496
|
if (proto.pricing) {
|
|
12497
12497
|
m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
|
|
@@ -12506,7 +12506,7 @@ class PricingPlanProduct {
|
|
|
12506
12506
|
m.modified = new Date(proto.modified);
|
|
12507
12507
|
}
|
|
12508
12508
|
if (proto.strategy) {
|
|
12509
|
-
m.strategy = enumStringToValue$
|
|
12509
|
+
m.strategy = enumStringToValue$h(BillingStrategy, proto.strategy);
|
|
12510
12510
|
}
|
|
12511
12511
|
if (proto.volumeCommitment) {
|
|
12512
12512
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -12518,7 +12518,7 @@ class PricingPlanProduct {
|
|
|
12518
12518
|
m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);
|
|
12519
12519
|
}
|
|
12520
12520
|
if (proto.pricingType) {
|
|
12521
|
-
m.pricingType = enumStringToValue$
|
|
12521
|
+
m.pricingType = enumStringToValue$h(ProductPricingType, proto.pricingType);
|
|
12522
12522
|
}
|
|
12523
12523
|
return m;
|
|
12524
12524
|
}
|
|
@@ -12574,7 +12574,7 @@ class UpdatePricingPlanProductRequest {
|
|
|
12574
12574
|
let m = new UpdatePricingPlanProductRequest();
|
|
12575
12575
|
m = Object.assign(m, proto);
|
|
12576
12576
|
if (proto.frequency) {
|
|
12577
|
-
m.frequency = enumStringToValue$
|
|
12577
|
+
m.frequency = enumStringToValue$h(Frequency, proto.frequency);
|
|
12578
12578
|
}
|
|
12579
12579
|
if (proto.pricing) {
|
|
12580
12580
|
m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
|
|
@@ -12586,7 +12586,7 @@ class UpdatePricingPlanProductRequest {
|
|
|
12586
12586
|
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
12587
12587
|
}
|
|
12588
12588
|
if (proto.strategy) {
|
|
12589
|
-
m.strategy = enumStringToValue$
|
|
12589
|
+
m.strategy = enumStringToValue$h(BillingStrategy, proto.strategy);
|
|
12590
12590
|
}
|
|
12591
12591
|
if (proto.volumeCommitment) {
|
|
12592
12592
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -12668,7 +12668,7 @@ class UpsertWholesalePricingRequest {
|
|
|
12668
12668
|
m.termCommitment = Commitment.fromProto(proto.termCommitment);
|
|
12669
12669
|
}
|
|
12670
12670
|
if (proto.strategy) {
|
|
12671
|
-
m.strategy = enumStringToValue$
|
|
12671
|
+
m.strategy = enumStringToValue$h(BillingStrategy, proto.strategy);
|
|
12672
12672
|
}
|
|
12673
12673
|
if (proto.volumeCommitment) {
|
|
12674
12674
|
m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
|
|
@@ -12717,7 +12717,7 @@ class UpsertWholesalePricingRequest {
|
|
|
12717
12717
|
}
|
|
12718
12718
|
}
|
|
12719
12719
|
|
|
12720
|
-
function enumStringToValue$
|
|
12720
|
+
function enumStringToValue$g(enumRef, value) {
|
|
12721
12721
|
if (typeof value === 'number') {
|
|
12722
12722
|
return value;
|
|
12723
12723
|
}
|
|
@@ -12728,7 +12728,7 @@ class CreateProductRequest {
|
|
|
12728
12728
|
let m = new CreateProductRequest();
|
|
12729
12729
|
m = Object.assign(m, proto);
|
|
12730
12730
|
if (proto.productType) {
|
|
12731
|
-
m.productType = enumStringToValue$
|
|
12731
|
+
m.productType = enumStringToValue$g(ProductType, proto.productType);
|
|
12732
12732
|
}
|
|
12733
12733
|
return m;
|
|
12734
12734
|
}
|
|
@@ -12832,7 +12832,7 @@ class ListProductsRequestListProductsFilters {
|
|
|
12832
12832
|
let m = new ListProductsRequestListProductsFilters();
|
|
12833
12833
|
m = Object.assign(m, proto);
|
|
12834
12834
|
if (proto.productType) {
|
|
12835
|
-
m.productType = proto.productType.map((v) => enumStringToValue$
|
|
12835
|
+
m.productType = proto.productType.map((v) => enumStringToValue$g(ProductType, v));
|
|
12836
12836
|
}
|
|
12837
12837
|
return m;
|
|
12838
12838
|
}
|
|
@@ -12928,7 +12928,7 @@ class Product {
|
|
|
12928
12928
|
let m = new Product();
|
|
12929
12929
|
m = Object.assign(m, proto);
|
|
12930
12930
|
if (proto.productType) {
|
|
12931
|
-
m.productType = enumStringToValue$
|
|
12931
|
+
m.productType = enumStringToValue$g(ProductType, proto.productType);
|
|
12932
12932
|
}
|
|
12933
12933
|
return m;
|
|
12934
12934
|
}
|
|
@@ -12995,7 +12995,7 @@ class UpdateProductRequest {
|
|
|
12995
12995
|
let m = new UpdateProductRequest();
|
|
12996
12996
|
m = Object.assign(m, proto);
|
|
12997
12997
|
if (proto.productType) {
|
|
12998
|
-
m.productType = enumStringToValue$
|
|
12998
|
+
m.productType = enumStringToValue$g(ProductType, proto.productType);
|
|
12999
12999
|
}
|
|
13000
13000
|
return m;
|
|
13001
13001
|
}
|
|
@@ -13026,7 +13026,7 @@ class UpdateProductRequest {
|
|
|
13026
13026
|
}
|
|
13027
13027
|
}
|
|
13028
13028
|
|
|
13029
|
-
function enumStringToValue$
|
|
13029
|
+
function enumStringToValue$f(enumRef, value) {
|
|
13030
13030
|
if (typeof value === 'number') {
|
|
13031
13031
|
return value;
|
|
13032
13032
|
}
|
|
@@ -13040,7 +13040,7 @@ class AppliedCredit {
|
|
|
13040
13040
|
m.appliedAmount = parseInt(proto.appliedAmount, 10);
|
|
13041
13041
|
}
|
|
13042
13042
|
if (proto.referenceType) {
|
|
13043
|
-
m.referenceType = enumStringToValue$
|
|
13043
|
+
m.referenceType = enumStringToValue$f(CreditType, proto.referenceType);
|
|
13044
13044
|
}
|
|
13045
13045
|
return m;
|
|
13046
13046
|
}
|
|
@@ -13069,7 +13069,7 @@ class ListPurchaseRequestListPurchaseBillingStrategyFilter {
|
|
|
13069
13069
|
let m = new ListPurchaseRequestListPurchaseBillingStrategyFilter();
|
|
13070
13070
|
m = Object.assign(m, proto);
|
|
13071
13071
|
if (proto.billingStrategy) {
|
|
13072
|
-
m.billingStrategy = proto.billingStrategy.map((v) => enumStringToValue$
|
|
13072
|
+
m.billingStrategy = proto.billingStrategy.map((v) => enumStringToValue$f(BillingStrategy, v));
|
|
13073
13073
|
}
|
|
13074
13074
|
return m;
|
|
13075
13075
|
}
|
|
@@ -13101,13 +13101,13 @@ class ListPurchaseRequestListPurchaseFilters {
|
|
|
13101
13101
|
m.billingStrategyFilter = ListPurchaseRequestListPurchaseBillingStrategyFilter.fromProto(proto.billingStrategyFilter);
|
|
13102
13102
|
}
|
|
13103
13103
|
if (proto.state) {
|
|
13104
|
-
m.state = enumStringToValue$
|
|
13104
|
+
m.state = enumStringToValue$f(ListPurchaseRequestState, proto.state);
|
|
13105
13105
|
}
|
|
13106
13106
|
if (proto.minPrice) {
|
|
13107
13107
|
m.minPrice = parseInt(proto.minPrice, 10);
|
|
13108
13108
|
}
|
|
13109
13109
|
if (proto.status) {
|
|
13110
|
-
m.status = enumStringToValue$
|
|
13110
|
+
m.status = enumStringToValue$f(PurchaseStatus, proto.status);
|
|
13111
13111
|
}
|
|
13112
13112
|
if (proto.dunningPauseStart) {
|
|
13113
13113
|
m.dunningPauseStart = new Date(proto.dunningPauseStart);
|
|
@@ -13239,7 +13239,7 @@ class ListPurchaseItemsResponse {
|
|
|
13239
13239
|
m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);
|
|
13240
13240
|
}
|
|
13241
13241
|
if (proto.currency) {
|
|
13242
|
-
m.currency = enumStringToValue$
|
|
13242
|
+
m.currency = enumStringToValue$f(Currency, proto.currency);
|
|
13243
13243
|
}
|
|
13244
13244
|
return m;
|
|
13245
13245
|
}
|
|
@@ -13390,13 +13390,13 @@ class Purchase {
|
|
|
13390
13390
|
m.total = parseInt(proto.total, 10);
|
|
13391
13391
|
}
|
|
13392
13392
|
if (proto.currency) {
|
|
13393
|
-
m.currency = enumStringToValue$
|
|
13393
|
+
m.currency = enumStringToValue$f(Currency, proto.currency);
|
|
13394
13394
|
}
|
|
13395
13395
|
if (proto.items) {
|
|
13396
13396
|
m.items = proto.items.map(PurchaseItem.fromProto);
|
|
13397
13397
|
}
|
|
13398
13398
|
if (proto.billingStrategy) {
|
|
13399
|
-
m.billingStrategy = enumStringToValue$
|
|
13399
|
+
m.billingStrategy = enumStringToValue$f(BillingStrategy, proto.billingStrategy);
|
|
13400
13400
|
}
|
|
13401
13401
|
if (proto.dunningAttempt) {
|
|
13402
13402
|
m.dunningAttempt = parseInt(proto.dunningAttempt, 10);
|
|
@@ -13405,7 +13405,7 @@ class Purchase {
|
|
|
13405
13405
|
m.voided = new Date(proto.voided);
|
|
13406
13406
|
}
|
|
13407
13407
|
if (proto.status) {
|
|
13408
|
-
m.status = enumStringToValue$
|
|
13408
|
+
m.status = enumStringToValue$f(PurchaseStatus, proto.status);
|
|
13409
13409
|
}
|
|
13410
13410
|
if (proto.creditAmount) {
|
|
13411
13411
|
m.creditAmount = parseInt(proto.creditAmount, 10);
|
|
@@ -13692,7 +13692,7 @@ class VoidPurchaseRequest {
|
|
|
13692
13692
|
}
|
|
13693
13693
|
}
|
|
13694
13694
|
|
|
13695
|
-
function enumStringToValue$
|
|
13695
|
+
function enumStringToValue$e(enumRef, value) {
|
|
13696
13696
|
if (typeof value === 'number') {
|
|
13697
13697
|
return value;
|
|
13698
13698
|
}
|
|
@@ -13706,10 +13706,10 @@ class CreateRefundRequest {
|
|
|
13706
13706
|
m.amount = parseInt(proto.amount, 10);
|
|
13707
13707
|
}
|
|
13708
13708
|
if (proto.reason) {
|
|
13709
|
-
m.reason = enumStringToValue$
|
|
13709
|
+
m.reason = enumStringToValue$e(RefundReason, proto.reason);
|
|
13710
13710
|
}
|
|
13711
13711
|
if (proto.referenceType) {
|
|
13712
|
-
m.referenceType = enumStringToValue$
|
|
13712
|
+
m.referenceType = enumStringToValue$e(ReferenceType, proto.referenceType);
|
|
13713
13713
|
}
|
|
13714
13714
|
return m;
|
|
13715
13715
|
}
|
|
@@ -13814,10 +13814,10 @@ class Refund {
|
|
|
13814
13814
|
m.amount = parseInt(proto.amount, 10);
|
|
13815
13815
|
}
|
|
13816
13816
|
if (proto.reason) {
|
|
13817
|
-
m.reason = enumStringToValue$
|
|
13817
|
+
m.reason = enumStringToValue$e(RefundReason, proto.reason);
|
|
13818
13818
|
}
|
|
13819
13819
|
if (proto.status) {
|
|
13820
|
-
m.status = enumStringToValue$
|
|
13820
|
+
m.status = enumStringToValue$e(RefundStatus, proto.status);
|
|
13821
13821
|
}
|
|
13822
13822
|
if (proto.created) {
|
|
13823
13823
|
m.created = new Date(proto.created);
|
|
@@ -13826,7 +13826,7 @@ class Refund {
|
|
|
13826
13826
|
m.updated = new Date(proto.updated);
|
|
13827
13827
|
}
|
|
13828
13828
|
if (proto.referenceType) {
|
|
13829
|
-
m.referenceType = enumStringToValue$
|
|
13829
|
+
m.referenceType = enumStringToValue$e(ReferenceType, proto.referenceType);
|
|
13830
13830
|
}
|
|
13831
13831
|
return m;
|
|
13832
13832
|
}
|
|
@@ -13878,7 +13878,7 @@ class Refund {
|
|
|
13878
13878
|
}
|
|
13879
13879
|
}
|
|
13880
13880
|
|
|
13881
|
-
function enumStringToValue$
|
|
13881
|
+
function enumStringToValue$d(enumRef, value) {
|
|
13882
13882
|
if (typeof value === 'number') {
|
|
13883
13883
|
return value;
|
|
13884
13884
|
}
|
|
@@ -13933,7 +13933,7 @@ class ListSalesCreditNoteRequestListSalesCreditNoteFilters {
|
|
|
13933
13933
|
let m = new ListSalesCreditNoteRequestListSalesCreditNoteFilters();
|
|
13934
13934
|
m = Object.assign(m, proto);
|
|
13935
13935
|
if (proto.statuses) {
|
|
13936
|
-
m.statuses = proto.statuses.map((v) => enumStringToValue$
|
|
13936
|
+
m.statuses = proto.statuses.map((v) => enumStringToValue$d(SalesCreditNoteStatus, v));
|
|
13937
13937
|
}
|
|
13938
13938
|
return m;
|
|
13939
13939
|
}
|
|
@@ -14023,7 +14023,7 @@ class SalesCreditNote {
|
|
|
14023
14023
|
m.dueDate = new Date(proto.dueDate);
|
|
14024
14024
|
}
|
|
14025
14025
|
if (proto.currency) {
|
|
14026
|
-
m.currency = enumStringToValue$
|
|
14026
|
+
m.currency = enumStringToValue$d(Currency, proto.currency);
|
|
14027
14027
|
}
|
|
14028
14028
|
if (proto.total) {
|
|
14029
14029
|
m.total = parseInt(proto.total, 10);
|
|
@@ -14032,7 +14032,7 @@ class SalesCreditNote {
|
|
|
14032
14032
|
m.outstanding = parseInt(proto.outstanding, 10);
|
|
14033
14033
|
}
|
|
14034
14034
|
if (proto.status) {
|
|
14035
|
-
m.status = enumStringToValue$
|
|
14035
|
+
m.status = enumStringToValue$d(SalesCreditNoteStatus, proto.status);
|
|
14036
14036
|
}
|
|
14037
14037
|
return m;
|
|
14038
14038
|
}
|
|
@@ -14090,7 +14090,7 @@ class SalesCreditNote {
|
|
|
14090
14090
|
}
|
|
14091
14091
|
}
|
|
14092
14092
|
|
|
14093
|
-
function enumStringToValue$
|
|
14093
|
+
function enumStringToValue$c(enumRef, value) {
|
|
14094
14094
|
if (typeof value === 'number') {
|
|
14095
14095
|
return value;
|
|
14096
14096
|
}
|
|
@@ -14147,10 +14147,10 @@ class ListSalesInvoiceRequestListSalesInvoiceFilters {
|
|
|
14147
14147
|
let m = new ListSalesInvoiceRequestListSalesInvoiceFilters();
|
|
14148
14148
|
m = Object.assign(m, proto);
|
|
14149
14149
|
if (proto.statuses) {
|
|
14150
|
-
m.statuses = proto.statuses.map((v) => enumStringToValue$
|
|
14150
|
+
m.statuses = proto.statuses.map((v) => enumStringToValue$c(SalesInvoiceStatus, v));
|
|
14151
14151
|
}
|
|
14152
14152
|
if (proto.paymentStatuses) {
|
|
14153
|
-
m.paymentStatuses = proto.paymentStatuses.map((v) => enumStringToValue$
|
|
14153
|
+
m.paymentStatuses = proto.paymentStatuses.map((v) => enumStringToValue$c(PaymentStatuses, v));
|
|
14154
14154
|
}
|
|
14155
14155
|
return m;
|
|
14156
14156
|
}
|
|
@@ -14278,16 +14278,16 @@ class SalesInvoice {
|
|
|
14278
14278
|
m.total = parseInt(proto.total, 10);
|
|
14279
14279
|
}
|
|
14280
14280
|
if (proto.currency) {
|
|
14281
|
-
m.currency = enumStringToValue$
|
|
14281
|
+
m.currency = enumStringToValue$c(Currency, proto.currency);
|
|
14282
14282
|
}
|
|
14283
14283
|
if (proto.status) {
|
|
14284
|
-
m.status = enumStringToValue$
|
|
14284
|
+
m.status = enumStringToValue$c(SalesInvoiceStatus, proto.status);
|
|
14285
14285
|
}
|
|
14286
14286
|
if (proto.outstanding) {
|
|
14287
14287
|
m.outstanding = parseInt(proto.outstanding, 10);
|
|
14288
14288
|
}
|
|
14289
14289
|
if (proto.type) {
|
|
14290
|
-
m.type = enumStringToValue$
|
|
14290
|
+
m.type = enumStringToValue$c(SalesInvoiceType, proto.type);
|
|
14291
14291
|
}
|
|
14292
14292
|
return m;
|
|
14293
14293
|
}
|
|
@@ -14391,7 +14391,7 @@ class SendSalesInvoiceReceiptEmailRequest {
|
|
|
14391
14391
|
}
|
|
14392
14392
|
}
|
|
14393
14393
|
|
|
14394
|
-
function enumStringToValue$
|
|
14394
|
+
function enumStringToValue$b(enumRef, value) {
|
|
14395
14395
|
if (typeof value === 'number') {
|
|
14396
14396
|
return value;
|
|
14397
14397
|
}
|
|
@@ -14500,10 +14500,10 @@ class ListTaxRulesRequestFilters {
|
|
|
14500
14500
|
let m = new ListTaxRulesRequestFilters();
|
|
14501
14501
|
m = Object.assign(m, proto);
|
|
14502
14502
|
if (proto.consumer) {
|
|
14503
|
-
m.consumer = enumStringToValue$
|
|
14503
|
+
m.consumer = enumStringToValue$b(Consumer, proto.consumer);
|
|
14504
14504
|
}
|
|
14505
14505
|
if (proto.entityType) {
|
|
14506
|
-
m.entityType = enumStringToValue$
|
|
14506
|
+
m.entityType = enumStringToValue$b(TaxRuleEntityType, proto.entityType);
|
|
14507
14507
|
}
|
|
14508
14508
|
return m;
|
|
14509
14509
|
}
|
|
@@ -14552,7 +14552,7 @@ class GetTaxProviderResponse {
|
|
|
14552
14552
|
let m = new GetTaxProviderResponse();
|
|
14553
14553
|
m = Object.assign(m, proto);
|
|
14554
14554
|
if (proto.taxProviderType) {
|
|
14555
|
-
m.taxProviderType = enumStringToValue$
|
|
14555
|
+
m.taxProviderType = enumStringToValue$b(TaxProviderType, proto.taxProviderType);
|
|
14556
14556
|
}
|
|
14557
14557
|
return m;
|
|
14558
14558
|
}
|
|
@@ -14676,7 +14676,7 @@ class TaxRuleProductProductIdentifier {
|
|
|
14676
14676
|
let m = new TaxRuleProductProductIdentifier();
|
|
14677
14677
|
m = Object.assign(m, proto);
|
|
14678
14678
|
if (proto.type) {
|
|
14679
|
-
m.type = enumStringToValue$
|
|
14679
|
+
m.type = enumStringToValue$b(ProductType, proto.type);
|
|
14680
14680
|
}
|
|
14681
14681
|
return m;
|
|
14682
14682
|
}
|
|
@@ -14705,13 +14705,13 @@ class ReplaceTaxRuleRequest {
|
|
|
14705
14705
|
let m = new ReplaceTaxRuleRequest();
|
|
14706
14706
|
m = Object.assign(m, proto);
|
|
14707
14707
|
if (proto.entityType) {
|
|
14708
|
-
m.entityType = enumStringToValue$
|
|
14708
|
+
m.entityType = enumStringToValue$b(TaxRuleEntityType, proto.entityType);
|
|
14709
14709
|
}
|
|
14710
14710
|
if (proto.type) {
|
|
14711
|
-
m.type = enumStringToValue$
|
|
14711
|
+
m.type = enumStringToValue$b(TaxRuleType, proto.type);
|
|
14712
14712
|
}
|
|
14713
14713
|
if (proto.consumer) {
|
|
14714
|
-
m.consumer = enumStringToValue$
|
|
14714
|
+
m.consumer = enumStringToValue$b(Consumer, proto.consumer);
|
|
14715
14715
|
}
|
|
14716
14716
|
return m;
|
|
14717
14717
|
}
|
|
@@ -14769,13 +14769,13 @@ class TaxRule {
|
|
|
14769
14769
|
let m = new TaxRule();
|
|
14770
14770
|
m = Object.assign(m, proto);
|
|
14771
14771
|
if (proto.entityType) {
|
|
14772
|
-
m.entityType = enumStringToValue$
|
|
14772
|
+
m.entityType = enumStringToValue$b(TaxRuleEntityType, proto.entityType);
|
|
14773
14773
|
}
|
|
14774
14774
|
if (proto.entity) {
|
|
14775
14775
|
m.entity = TaxRuleTaxRuleEntity.fromProto(proto.entity);
|
|
14776
14776
|
}
|
|
14777
14777
|
if (proto.type) {
|
|
14778
|
-
m.type = enumStringToValue$
|
|
14778
|
+
m.type = enumStringToValue$b(TaxRuleType, proto.type);
|
|
14779
14779
|
}
|
|
14780
14780
|
if (proto.taxRates) {
|
|
14781
14781
|
m.taxRates = proto.taxRates.map(TaxRate.fromProto);
|
|
@@ -14896,7 +14896,7 @@ class TaxRuleProduct {
|
|
|
14896
14896
|
}
|
|
14897
14897
|
}
|
|
14898
14898
|
|
|
14899
|
-
function enumStringToValue$
|
|
14899
|
+
function enumStringToValue$a(enumRef, value) {
|
|
14900
14900
|
if (typeof value === 'number') {
|
|
14901
14901
|
return value;
|
|
14902
14902
|
}
|
|
@@ -15036,7 +15036,7 @@ class ListContractDocumentsResponse {
|
|
|
15036
15036
|
}
|
|
15037
15037
|
}
|
|
15038
15038
|
|
|
15039
|
-
function enumStringToValue$
|
|
15039
|
+
function enumStringToValue$9(enumRef, value) {
|
|
15040
15040
|
if (typeof value === 'number') {
|
|
15041
15041
|
return value;
|
|
15042
15042
|
}
|
|
@@ -15102,7 +15102,7 @@ class RetailCustomerConfiguration {
|
|
|
15102
15102
|
m.netD = parseInt(proto.netD, 10);
|
|
15103
15103
|
}
|
|
15104
15104
|
if (proto.paymentMethodTypes) {
|
|
15105
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
15105
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$9(PaymentMethodType, v));
|
|
15106
15106
|
}
|
|
15107
15107
|
return m;
|
|
15108
15108
|
}
|
|
@@ -15170,7 +15170,7 @@ class UpsertRetailCustomerConfigurationRequest {
|
|
|
15170
15170
|
m.netD = parseInt(proto.netD, 10);
|
|
15171
15171
|
}
|
|
15172
15172
|
if (proto.paymentMethodTypes) {
|
|
15173
|
-
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$
|
|
15173
|
+
m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$9(PaymentMethodType, v));
|
|
15174
15174
|
}
|
|
15175
15175
|
if (proto.fieldMask) {
|
|
15176
15176
|
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
@@ -15231,7 +15231,7 @@ class UpsertRetailCustomerConfigurationRequest {
|
|
|
15231
15231
|
}
|
|
15232
15232
|
}
|
|
15233
15233
|
|
|
15234
|
-
function enumStringToValue$
|
|
15234
|
+
function enumStringToValue$8(enumRef, value) {
|
|
15235
15235
|
if (typeof value === 'number') {
|
|
15236
15236
|
return value;
|
|
15237
15237
|
}
|
|
@@ -15348,7 +15348,7 @@ class GetBalanceResponse {
|
|
|
15348
15348
|
}
|
|
15349
15349
|
}
|
|
15350
15350
|
|
|
15351
|
-
function enumStringToValue$
|
|
15351
|
+
function enumStringToValue$7(enumRef, value) {
|
|
15352
15352
|
if (typeof value === 'number') {
|
|
15353
15353
|
return value;
|
|
15354
15354
|
}
|
|
@@ -15359,7 +15359,7 @@ class CreateMerchantServicesReportRun {
|
|
|
15359
15359
|
let m = new CreateMerchantServicesReportRun();
|
|
15360
15360
|
m = Object.assign(m, proto);
|
|
15361
15361
|
if (proto.reportType) {
|
|
15362
|
-
m.reportType = enumStringToValue$
|
|
15362
|
+
m.reportType = enumStringToValue$7(MerchantServicesReportRunType, proto.reportType);
|
|
15363
15363
|
}
|
|
15364
15364
|
if (proto.intervalStart) {
|
|
15365
15365
|
m.intervalStart = new Date(proto.intervalStart);
|
|
@@ -15423,10 +15423,10 @@ class MerchantServicesReportRun {
|
|
|
15423
15423
|
m.created = new Date(proto.created);
|
|
15424
15424
|
}
|
|
15425
15425
|
if (proto.reportType) {
|
|
15426
|
-
m.reportType = enumStringToValue$
|
|
15426
|
+
m.reportType = enumStringToValue$7(MerchantServicesReportRunType, proto.reportType);
|
|
15427
15427
|
}
|
|
15428
15428
|
if (proto.status) {
|
|
15429
|
-
m.status = enumStringToValue$
|
|
15429
|
+
m.status = enumStringToValue$7(MerchantServicesReportRunStatus, proto.status);
|
|
15430
15430
|
}
|
|
15431
15431
|
return m;
|
|
15432
15432
|
}
|
|
@@ -15457,7 +15457,7 @@ class MerchantServicesReportRun {
|
|
|
15457
15457
|
}
|
|
15458
15458
|
}
|
|
15459
15459
|
|
|
15460
|
-
function enumStringToValue$
|
|
15460
|
+
function enumStringToValue$6(enumRef, value) {
|
|
15461
15461
|
if (typeof value === 'number') {
|
|
15462
15462
|
return value;
|
|
15463
15463
|
}
|
|
@@ -15507,7 +15507,7 @@ class MCPOptions {
|
|
|
15507
15507
|
}
|
|
15508
15508
|
}
|
|
15509
15509
|
|
|
15510
|
-
function enumStringToValue$
|
|
15510
|
+
function enumStringToValue$5(enumRef, value) {
|
|
15511
15511
|
if (typeof value === 'number') {
|
|
15512
15512
|
return value;
|
|
15513
15513
|
}
|
|
@@ -15518,13 +15518,13 @@ class ListSubscriptionRelationshipsRequestFilters {
|
|
|
15518
15518
|
let m = new ListSubscriptionRelationshipsRequestFilters();
|
|
15519
15519
|
m = Object.assign(m, proto);
|
|
15520
15520
|
if (proto.originType) {
|
|
15521
|
-
m.originType = enumStringToValue$
|
|
15521
|
+
m.originType = enumStringToValue$5(EntityType, proto.originType);
|
|
15522
15522
|
}
|
|
15523
15523
|
if (proto.targetType) {
|
|
15524
|
-
m.targetType = enumStringToValue$
|
|
15524
|
+
m.targetType = enumStringToValue$5(EntityType, proto.targetType);
|
|
15525
15525
|
}
|
|
15526
15526
|
if (proto.relationshipType) {
|
|
15527
|
-
m.relationshipType = enumStringToValue$
|
|
15527
|
+
m.relationshipType = enumStringToValue$5(RelationshipType, proto.relationshipType);
|
|
15528
15528
|
}
|
|
15529
15529
|
return m;
|
|
15530
15530
|
}
|
|
@@ -15712,13 +15712,13 @@ class SubscriptionRelationship {
|
|
|
15712
15712
|
let m = new SubscriptionRelationship();
|
|
15713
15713
|
m = Object.assign(m, proto);
|
|
15714
15714
|
if (proto.originType) {
|
|
15715
|
-
m.originType = enumStringToValue$
|
|
15715
|
+
m.originType = enumStringToValue$5(EntityType, proto.originType);
|
|
15716
15716
|
}
|
|
15717
15717
|
if (proto.targetType) {
|
|
15718
|
-
m.targetType = enumStringToValue$
|
|
15718
|
+
m.targetType = enumStringToValue$5(EntityType, proto.targetType);
|
|
15719
15719
|
}
|
|
15720
15720
|
if (proto.relationshipType) {
|
|
15721
|
-
m.relationshipType = enumStringToValue$
|
|
15721
|
+
m.relationshipType = enumStringToValue$5(RelationshipType, proto.relationshipType);
|
|
15722
15722
|
}
|
|
15723
15723
|
if (proto.created) {
|
|
15724
15724
|
m.created = new Date(proto.created);
|
|
@@ -15776,7 +15776,7 @@ class SubscriptionRelationship {
|
|
|
15776
15776
|
}
|
|
15777
15777
|
}
|
|
15778
15778
|
|
|
15779
|
-
function enumStringToValue$
|
|
15779
|
+
function enumStringToValue$4(enumRef, value) {
|
|
15780
15780
|
if (typeof value === 'number') {
|
|
15781
15781
|
return value;
|
|
15782
15782
|
}
|
|
@@ -15882,7 +15882,7 @@ class SubscriptionPreset {
|
|
|
15882
15882
|
}
|
|
15883
15883
|
}
|
|
15884
15884
|
|
|
15885
|
-
function enumStringToValue$
|
|
15885
|
+
function enumStringToValue$3(enumRef, value) {
|
|
15886
15886
|
if (typeof value === 'number') {
|
|
15887
15887
|
return value;
|
|
15888
15888
|
}
|
|
@@ -15893,13 +15893,13 @@ class AppliedTo {
|
|
|
15893
15893
|
let m = new AppliedTo();
|
|
15894
15894
|
m = Object.assign(m, proto);
|
|
15895
15895
|
if (proto.referenceType) {
|
|
15896
|
-
m.referenceType = enumStringToValue$
|
|
15896
|
+
m.referenceType = enumStringToValue$3(AppliedReferenceType, proto.referenceType);
|
|
15897
15897
|
}
|
|
15898
15898
|
if (proto.amount) {
|
|
15899
15899
|
m.amount = parseInt(proto.amount, 10);
|
|
15900
15900
|
}
|
|
15901
15901
|
if (proto.creditNoteType) {
|
|
15902
|
-
m.creditNoteType = enumStringToValue$
|
|
15902
|
+
m.creditNoteType = enumStringToValue$3(CreditNoteType, proto.creditNoteType);
|
|
15903
15903
|
}
|
|
15904
15904
|
if (proto.appliedAt) {
|
|
15905
15905
|
m.appliedAt = new Date(proto.appliedAt);
|
|
@@ -16047,7 +16047,7 @@ class CreditNote {
|
|
|
16047
16047
|
m.items = proto.items.map(LineItem.fromProto);
|
|
16048
16048
|
}
|
|
16049
16049
|
if (proto.currency) {
|
|
16050
|
-
m.currency = enumStringToValue$
|
|
16050
|
+
m.currency = enumStringToValue$3(Currency, proto.currency);
|
|
16051
16051
|
}
|
|
16052
16052
|
if (proto.amountTax) {
|
|
16053
16053
|
m.amountTax = parseInt(proto.amountTax, 10);
|
|
@@ -16059,7 +16059,7 @@ class CreditNote {
|
|
|
16059
16059
|
m.notes = proto.notes.map(Note.fromProto);
|
|
16060
16060
|
}
|
|
16061
16061
|
if (proto.reason) {
|
|
16062
|
-
m.reason = enumStringToValue$
|
|
16062
|
+
m.reason = enumStringToValue$3(CreditNoteReason, proto.reason);
|
|
16063
16063
|
}
|
|
16064
16064
|
if (proto.appliedTo) {
|
|
16065
16065
|
m.appliedTo = proto.appliedTo.map(AppliedTo.fromProto);
|
|
@@ -16399,7 +16399,7 @@ class SendCreditNoteRequest {
|
|
|
16399
16399
|
}
|
|
16400
16400
|
}
|
|
16401
16401
|
|
|
16402
|
-
function enumStringToValue$
|
|
16402
|
+
function enumStringToValue$2(enumRef, value) {
|
|
16403
16403
|
if (typeof value === 'number') {
|
|
16404
16404
|
return value;
|
|
16405
16405
|
}
|
|
@@ -16567,7 +16567,7 @@ class VendorSplit {
|
|
|
16567
16567
|
}
|
|
16568
16568
|
}
|
|
16569
16569
|
|
|
16570
|
-
function enumStringToValue$
|
|
16570
|
+
function enumStringToValue$1(enumRef, value) {
|
|
16571
16571
|
if (typeof value === 'number') {
|
|
16572
16572
|
return value;
|
|
16573
16573
|
}
|
|
@@ -16764,146 +16764,6 @@ class UpdateAvalaraConfigurationResponse {
|
|
|
16764
16764
|
}
|
|
16765
16765
|
}
|
|
16766
16766
|
|
|
16767
|
-
function enumStringToValue$1(enumRef, value) {
|
|
16768
|
-
if (typeof value === 'number') {
|
|
16769
|
-
return value;
|
|
16770
|
-
}
|
|
16771
|
-
return enumRef[value];
|
|
16772
|
-
}
|
|
16773
|
-
class ListWholesaleTaxRulesRequest {
|
|
16774
|
-
static fromProto(proto) {
|
|
16775
|
-
let m = new ListWholesaleTaxRulesRequest();
|
|
16776
|
-
m = Object.assign(m, proto);
|
|
16777
|
-
if (proto.pagingOptions) {
|
|
16778
|
-
m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
|
|
16779
|
-
}
|
|
16780
|
-
return m;
|
|
16781
|
-
}
|
|
16782
|
-
constructor(kwargs) {
|
|
16783
|
-
if (!kwargs) {
|
|
16784
|
-
return;
|
|
16785
|
-
}
|
|
16786
|
-
Object.assign(this, kwargs);
|
|
16787
|
-
}
|
|
16788
|
-
toApiJson() {
|
|
16789
|
-
const toReturn = {};
|
|
16790
|
-
if (typeof this.pagingOptions !== 'undefined' && this.pagingOptions !== null) {
|
|
16791
|
-
toReturn['pagingOptions'] = 'toApiJson' in this.pagingOptions ? this.pagingOptions.toApiJson() : this.pagingOptions;
|
|
16792
|
-
}
|
|
16793
|
-
return toReturn;
|
|
16794
|
-
}
|
|
16795
|
-
}
|
|
16796
|
-
class ListWholesaleTaxRulesResponse {
|
|
16797
|
-
static fromProto(proto) {
|
|
16798
|
-
let m = new ListWholesaleTaxRulesResponse();
|
|
16799
|
-
m = Object.assign(m, proto);
|
|
16800
|
-
if (proto.taxRules) {
|
|
16801
|
-
m.taxRules = proto.taxRules.map(WholesaleTaxRule.fromProto);
|
|
16802
|
-
}
|
|
16803
|
-
if (proto.pagingMetadata) {
|
|
16804
|
-
m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);
|
|
16805
|
-
}
|
|
16806
|
-
return m;
|
|
16807
|
-
}
|
|
16808
|
-
constructor(kwargs) {
|
|
16809
|
-
if (!kwargs) {
|
|
16810
|
-
return;
|
|
16811
|
-
}
|
|
16812
|
-
Object.assign(this, kwargs);
|
|
16813
|
-
}
|
|
16814
|
-
toApiJson() {
|
|
16815
|
-
const toReturn = {};
|
|
16816
|
-
if (typeof this.taxRules !== 'undefined' && this.taxRules !== null) {
|
|
16817
|
-
toReturn['taxRules'] = 'toApiJson' in this.taxRules ? this.taxRules.toApiJson() : this.taxRules;
|
|
16818
|
-
}
|
|
16819
|
-
if (typeof this.pagingMetadata !== 'undefined' && this.pagingMetadata !== null) {
|
|
16820
|
-
toReturn['pagingMetadata'] = 'toApiJson' in this.pagingMetadata ? this.pagingMetadata.toApiJson() : this.pagingMetadata;
|
|
16821
|
-
}
|
|
16822
|
-
return toReturn;
|
|
16823
|
-
}
|
|
16824
|
-
}
|
|
16825
|
-
class UpsertWholesaleTaxRuleRequest {
|
|
16826
|
-
static fromProto(proto) {
|
|
16827
|
-
let m = new UpsertWholesaleTaxRuleRequest();
|
|
16828
|
-
m = Object.assign(m, proto);
|
|
16829
|
-
if (proto.item) {
|
|
16830
|
-
m.item = WholesaleTaxRule.fromProto(proto.item);
|
|
16831
|
-
}
|
|
16832
|
-
return m;
|
|
16833
|
-
}
|
|
16834
|
-
constructor(kwargs) {
|
|
16835
|
-
if (!kwargs) {
|
|
16836
|
-
return;
|
|
16837
|
-
}
|
|
16838
|
-
Object.assign(this, kwargs);
|
|
16839
|
-
}
|
|
16840
|
-
toApiJson() {
|
|
16841
|
-
const toReturn = {};
|
|
16842
|
-
if (typeof this.item !== 'undefined' && this.item !== null) {
|
|
16843
|
-
toReturn['item'] = 'toApiJson' in this.item ? this.item.toApiJson() : this.item;
|
|
16844
|
-
}
|
|
16845
|
-
return toReturn;
|
|
16846
|
-
}
|
|
16847
|
-
}
|
|
16848
|
-
class UpsertWholesaleTaxRuleResponse {
|
|
16849
|
-
static fromProto(proto) {
|
|
16850
|
-
let m = new UpsertWholesaleTaxRuleResponse();
|
|
16851
|
-
m = Object.assign(m, proto);
|
|
16852
|
-
if (proto.item) {
|
|
16853
|
-
m.item = WholesaleTaxRule.fromProto(proto.item);
|
|
16854
|
-
}
|
|
16855
|
-
return m;
|
|
16856
|
-
}
|
|
16857
|
-
constructor(kwargs) {
|
|
16858
|
-
if (!kwargs) {
|
|
16859
|
-
return;
|
|
16860
|
-
}
|
|
16861
|
-
Object.assign(this, kwargs);
|
|
16862
|
-
}
|
|
16863
|
-
toApiJson() {
|
|
16864
|
-
const toReturn = {};
|
|
16865
|
-
if (typeof this.item !== 'undefined' && this.item !== null) {
|
|
16866
|
-
toReturn['item'] = 'toApiJson' in this.item ? this.item.toApiJson() : this.item;
|
|
16867
|
-
}
|
|
16868
|
-
return toReturn;
|
|
16869
|
-
}
|
|
16870
|
-
}
|
|
16871
|
-
class WholesaleTaxRule {
|
|
16872
|
-
static fromProto(proto) {
|
|
16873
|
-
let m = new WholesaleTaxRule();
|
|
16874
|
-
m = Object.assign(m, proto);
|
|
16875
|
-
return m;
|
|
16876
|
-
}
|
|
16877
|
-
constructor(kwargs) {
|
|
16878
|
-
if (!kwargs) {
|
|
16879
|
-
return;
|
|
16880
|
-
}
|
|
16881
|
-
Object.assign(this, kwargs);
|
|
16882
|
-
}
|
|
16883
|
-
toApiJson() {
|
|
16884
|
-
const toReturn = {};
|
|
16885
|
-
if (typeof this.id !== 'undefined') {
|
|
16886
|
-
toReturn['id'] = this.id;
|
|
16887
|
-
}
|
|
16888
|
-
if (typeof this.countryCode !== 'undefined') {
|
|
16889
|
-
toReturn['countryCode'] = this.countryCode;
|
|
16890
|
-
}
|
|
16891
|
-
if (typeof this.stateCode !== 'undefined') {
|
|
16892
|
-
toReturn['stateCode'] = this.stateCode;
|
|
16893
|
-
}
|
|
16894
|
-
if (typeof this.taxCode !== 'undefined') {
|
|
16895
|
-
toReturn['taxCode'] = this.taxCode;
|
|
16896
|
-
}
|
|
16897
|
-
if (typeof this.externalTaxCode !== 'undefined') {
|
|
16898
|
-
toReturn['externalTaxCode'] = this.externalTaxCode;
|
|
16899
|
-
}
|
|
16900
|
-
if (typeof this.percentage !== 'undefined') {
|
|
16901
|
-
toReturn['percentage'] = this.percentage;
|
|
16902
|
-
}
|
|
16903
|
-
return toReturn;
|
|
16904
|
-
}
|
|
16905
|
-
}
|
|
16906
|
-
|
|
16907
16767
|
function enumStringToValue(enumRef, value) {
|
|
16908
16768
|
if (typeof value === 'number') {
|
|
16909
16769
|
return value;
|
|
@@ -19600,44 +19460,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
|
|
|
19600
19460
|
args: [{ providedIn: 'root' }]
|
|
19601
19461
|
}] });
|
|
19602
19462
|
|
|
19603
|
-
// *********************************
|
|
19604
|
-
// Code generated by sdkgen
|
|
19605
|
-
// DO NOT EDIT!.
|
|
19606
|
-
//
|
|
19607
|
-
// API Service.
|
|
19608
|
-
// *********************************
|
|
19609
|
-
class WholesaleTaxRuleApiService {
|
|
19610
|
-
constructor() {
|
|
19611
|
-
this.hostService = inject(HostService);
|
|
19612
|
-
this.http = inject(HttpClient);
|
|
19613
|
-
this._host = this.hostService.hostWithScheme;
|
|
19614
|
-
}
|
|
19615
|
-
apiOptions() {
|
|
19616
|
-
return {
|
|
19617
|
-
headers: new HttpHeaders({
|
|
19618
|
-
'Content-Type': 'application/json'
|
|
19619
|
-
}),
|
|
19620
|
-
withCredentials: true
|
|
19621
|
-
};
|
|
19622
|
-
}
|
|
19623
|
-
list(r) {
|
|
19624
|
-
const request = (r.toApiJson) ? r : new ListWholesaleTaxRulesRequest(r);
|
|
19625
|
-
return this.http.post(this._host + "/billing.v1.WholesaleTaxRuleService/List", request.toApiJson(), this.apiOptions())
|
|
19626
|
-
.pipe(map(resp => ListWholesaleTaxRulesResponse.fromProto(resp)));
|
|
19627
|
-
}
|
|
19628
|
-
upsert(r) {
|
|
19629
|
-
const request = (r.toApiJson) ? r : new UpsertWholesaleTaxRuleRequest(r);
|
|
19630
|
-
return this.http.post(this._host + "/billing.v1.WholesaleTaxRuleService/Upsert", request.toApiJson(), this.apiOptions())
|
|
19631
|
-
.pipe(map(resp => UpsertWholesaleTaxRuleResponse.fromProto(resp)));
|
|
19632
|
-
}
|
|
19633
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: WholesaleTaxRuleApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
19634
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: WholesaleTaxRuleApiService, providedIn: 'root' }); }
|
|
19635
|
-
}
|
|
19636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: WholesaleTaxRuleApiService, decorators: [{
|
|
19637
|
-
type: Injectable,
|
|
19638
|
-
args: [{ providedIn: 'root' }]
|
|
19639
|
-
}] });
|
|
19640
|
-
|
|
19641
19463
|
// *********************************
|
|
19642
19464
|
// Code generated by sdkgen
|
|
19643
19465
|
// DO NOT EDIT!.
|
|
@@ -19652,5 +19474,5 @@ const usdConversionRate = 1.4;
|
|
|
19652
19474
|
* Generated bundle index. Do not edit.
|
|
19653
19475
|
*/
|
|
19654
19476
|
|
|
19655
|
-
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, ItemDisplayGroup, 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, ListRetailSubscriptionGroupsForCustomerRequest, ListRetailSubscriptionGroupsForCustomerResponse, 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, ListWholesaleTaxRulesRequest, ListWholesaleTaxRulesResponse, 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, RSGSource, RSGSourceType, 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, UpsertWholesaleTaxRuleRequest, UpsertWholesaleTaxRuleResponse, ValidateResponse, VendorApiService, VendorSplit, VendorSplitApiService, VoidInvoiceRequest, VoidPurchaseRequest, WholesaleCostItemRequest, WholesaleTaxRule, WholesaleTaxRuleApiService, usdConversionRate };
|
|
19477
|
+
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, ItemDisplayGroup, 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, ListRetailSubscriptionGroupsForCustomerRequest, ListRetailSubscriptionGroupsForCustomerResponse, 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, RSGSource, RSGSourceType, 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 };
|
|
19656
19478
|
//# sourceMappingURL=vendasta-billing.mjs.map
|