@vendasta/billing 14.47.0 → 14.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/esm2022/lib/_internal/avalara-configuration.api.service.mjs +54 -0
  2. package/esm2022/lib/_internal/enums/index.mjs +3 -2
  3. package/esm2022/lib/_internal/enums/invoice.enum.mjs +7 -1
  4. package/esm2022/lib/_internal/enums/retail-subscription-group.enum.mjs +14 -0
  5. package/esm2022/lib/_internal/index.mjs +4 -1
  6. package/esm2022/lib/_internal/interfaces/avalara.interface.mjs +2 -0
  7. package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
  8. package/esm2022/lib/_internal/interfaces/invoice.interface.mjs +1 -1
  9. package/esm2022/lib/_internal/interfaces/retail-subscription-group.interface.mjs +8 -0
  10. package/esm2022/lib/_internal/interfaces/subscription-preset.interface.mjs +1 -1
  11. package/esm2022/lib/_internal/interfaces/vendor-split.interface.mjs +8 -0
  12. package/esm2022/lib/_internal/objects/avalara.mjs +198 -0
  13. package/esm2022/lib/_internal/objects/index.mjs +4 -1
  14. package/esm2022/lib/_internal/objects/invoice.mjs +7 -1
  15. package/esm2022/lib/_internal/objects/retail-subscription-group.mjs +80 -0
  16. package/esm2022/lib/_internal/objects/subscription-preset.mjs +4 -1
  17. package/esm2022/lib/_internal/objects/vendor-split.mjs +125 -0
  18. package/esm2022/lib/_internal/retail-subscription-group.api.service.mjs +40 -0
  19. package/esm2022/lib/_internal/vendor-split.api.service.mjs +45 -0
  20. package/fesm2022/vendasta-billing.mjs +858 -310
  21. package/fesm2022/vendasta-billing.mjs.map +1 -1
  22. package/lib/_internal/avalara-configuration.api.service.d.ts +17 -0
  23. package/lib/_internal/enums/index.d.ts +2 -1
  24. package/lib/_internal/enums/invoice.enum.d.ts +5 -0
  25. package/lib/_internal/enums/retail-subscription-group.enum.d.ts +6 -0
  26. package/lib/_internal/index.d.ts +3 -0
  27. package/lib/_internal/interfaces/avalara.interface.d.ts +29 -0
  28. package/lib/_internal/interfaces/index.d.ts +3 -0
  29. package/lib/_internal/interfaces/invoice.interface.d.ts +1 -0
  30. package/lib/_internal/interfaces/retail-subscription-group.interface.d.ts +12 -0
  31. package/lib/_internal/interfaces/subscription-preset.interface.d.ts +1 -0
  32. package/lib/_internal/interfaces/vendor-split.interface.d.ts +18 -0
  33. package/lib/_internal/objects/avalara.d.ts +55 -0
  34. package/lib/_internal/objects/index.d.ts +3 -0
  35. package/lib/_internal/objects/invoice.d.ts +1 -0
  36. package/lib/_internal/objects/retail-subscription-group.d.ts +23 -0
  37. package/lib/_internal/objects/subscription-preset.d.ts +1 -0
  38. package/lib/_internal/objects/vendor-split.d.ts +35 -0
  39. package/lib/_internal/retail-subscription-group.api.service.d.ts +13 -0
  40. package/lib/_internal/vendor-split.api.service.d.ts +14 -0
  41. package/package.json +1 -1
@@ -333,6 +333,12 @@ var Origin;
333
333
  Origin[Origin["RENEWAL"] = 3] = "RENEWAL";
334
334
  Origin[Origin["TEMPLATE"] = 4] = "TEMPLATE";
335
335
  })(Origin || (Origin = {}));
336
+ var ProcessingFailureCode;
337
+ (function (ProcessingFailureCode) {
338
+ ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_UNSET"] = 0] = "PROCESSING_FAILURE_CODE_UNSET";
339
+ ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_TAX_CALCULATION_INVALID_ADDRESS"] = 1] = "PROCESSING_FAILURE_CODE_TAX_CALCULATION_INVALID_ADDRESS";
340
+ ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_TAX_CALCULATION_GENERAL_ERROR"] = 2] = "PROCESSING_FAILURE_CODE_TAX_CALCULATION_GENERAL_ERROR";
341
+ })(ProcessingFailureCode || (ProcessingFailureCode = {}));
336
342
 
337
343
  // *********************************
338
344
  // Code generated by sdkgen
@@ -741,6 +747,20 @@ var CreditNoteReason;
741
747
  CreditNoteReason[CreditNoteReason["CREDIT_NOTE_REASON_OTHER"] = 4] = "CREDIT_NOTE_REASON_OTHER";
742
748
  })(CreditNoteReason || (CreditNoteReason = {}));
743
749
 
750
+ // *********************************
751
+ // Code generated by sdkgen
752
+ // DO NOT EDIT!.
753
+ //
754
+ // Enums.
755
+ // *********************************
756
+ var DisplayOption;
757
+ (function (DisplayOption) {
758
+ DisplayOption[DisplayOption["DISPLAY_OPTION_INVALID"] = 0] = "DISPLAY_OPTION_INVALID";
759
+ DisplayOption[DisplayOption["SHOW_CONTENT_SHOW_PRICES"] = 1] = "SHOW_CONTENT_SHOW_PRICES";
760
+ DisplayOption[DisplayOption["SHOW_CONTENT_HIDE_PRICES"] = 2] = "SHOW_CONTENT_HIDE_PRICES";
761
+ DisplayOption[DisplayOption["HIDE_CONTENT_HIDE_PRICES"] = 3] = "HIDE_CONTENT_HIDE_PRICES";
762
+ })(DisplayOption || (DisplayOption = {}));
763
+
744
764
  // *********************************
745
765
  // Code generated by sdkgen
746
766
  // DO NOT EDIT!.
@@ -748,7 +768,7 @@ var CreditNoteReason;
748
768
  // Enums Index.
749
769
  // *********************************
750
770
 
751
- function enumStringToValue$J(enumRef, value) {
771
+ function enumStringToValue$M(enumRef, value) {
752
772
  if (typeof value === 'number') {
753
773
  return value;
754
774
  }
@@ -841,7 +861,7 @@ class PagedResponseMetadata {
841
861
  }
842
862
  }
843
863
 
844
- function enumStringToValue$I(enumRef, value) {
864
+ function enumStringToValue$L(enumRef, value) {
845
865
  if (typeof value === 'number') {
846
866
  return value;
847
867
  }
@@ -868,7 +888,7 @@ class FieldMask {
868
888
  }
869
889
  }
870
890
 
871
- function enumStringToValue$H(enumRef, value) {
891
+ function enumStringToValue$K(enumRef, value) {
872
892
  if (typeof value === 'number') {
873
893
  return value;
874
894
  }
@@ -904,7 +924,7 @@ class Commitment {
904
924
  }
905
925
  }
906
926
 
907
- function enumStringToValue$G(enumRef, value) {
927
+ function enumStringToValue$J(enumRef, value) {
908
928
  if (typeof value === 'number') {
909
929
  return value;
910
930
  }
@@ -944,10 +964,10 @@ class Fee {
944
964
  let m = new Fee();
945
965
  m = Object.assign(m, proto);
946
966
  if (proto.amountType) {
947
- m.amountType = enumStringToValue$G(FeeAmountType, proto.amountType);
967
+ m.amountType = enumStringToValue$J(FeeAmountType, proto.amountType);
948
968
  }
949
969
  if (proto.feeType) {
950
- m.feeType = enumStringToValue$G(FeeType, proto.feeType);
970
+ m.feeType = enumStringToValue$J(FeeType, proto.feeType);
951
971
  }
952
972
  return m;
953
973
  }
@@ -972,7 +992,7 @@ class Fee {
972
992
  }
973
993
  }
974
994
 
975
- function enumStringToValue$F(enumRef, value) {
995
+ function enumStringToValue$I(enumRef, value) {
976
996
  if (typeof value === 'number') {
977
997
  return value;
978
998
  }
@@ -1009,7 +1029,7 @@ class CreatePricingPlanRequest {
1009
1029
  let m = new CreatePricingPlanRequest();
1010
1030
  m = Object.assign(m, proto);
1011
1031
  if (proto.defaultBillingStrategy) {
1012
- m.defaultBillingStrategy = enumStringToValue$F(BillingStrategy, proto.defaultBillingStrategy);
1032
+ m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
1013
1033
  }
1014
1034
  return m;
1015
1035
  }
@@ -1098,7 +1118,7 @@ class PricingPlan {
1098
1118
  let m = new PricingPlan();
1099
1119
  m = Object.assign(m, proto);
1100
1120
  if (proto.defaultBillingStrategy) {
1101
- m.defaultBillingStrategy = enumStringToValue$F(BillingStrategy, proto.defaultBillingStrategy);
1121
+ m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
1102
1122
  }
1103
1123
  return m;
1104
1124
  }
@@ -1127,7 +1147,7 @@ class PricingPlanProductPricing {
1127
1147
  let m = new PricingPlanProductPricing();
1128
1148
  m = Object.assign(m, proto);
1129
1149
  if (proto.type) {
1130
- m.type = enumStringToValue$F(ProductPricingType, proto.type);
1150
+ m.type = enumStringToValue$I(ProductPricingType, proto.type);
1131
1151
  }
1132
1152
  if (proto.rules) {
1133
1153
  m.rules = proto.rules.map(ProductPricingRule.fromProto);
@@ -1136,7 +1156,7 @@ class PricingPlanProductPricing {
1136
1156
  m.setupFee = parseInt(proto.setupFee, 10);
1137
1157
  }
1138
1158
  if (proto.frequency) {
1139
- m.frequency = enumStringToValue$F(Frequency, proto.frequency);
1159
+ m.frequency = enumStringToValue$I(Frequency, proto.frequency);
1140
1160
  }
1141
1161
  if (proto.fees) {
1142
1162
  m.fees = proto.fees.map(Fee.fromProto);
@@ -1221,7 +1241,7 @@ class UpdatePricingPlanRequest {
1221
1241
  m.fieldMask = FieldMask.fromProto(proto.fieldMask);
1222
1242
  }
1223
1243
  if (proto.defaultBillingStrategy) {
1224
- m.defaultBillingStrategy = enumStringToValue$F(BillingStrategy, proto.defaultBillingStrategy);
1244
+ m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
1225
1245
  }
1226
1246
  return m;
1227
1247
  }
@@ -1266,7 +1286,7 @@ class UpdatePricingPlanResponse {
1266
1286
  }
1267
1287
  }
1268
1288
 
1269
- function enumStringToValue$E(enumRef, value) {
1289
+ function enumStringToValue$H(enumRef, value) {
1270
1290
  if (typeof value === 'number') {
1271
1291
  return value;
1272
1292
  }
@@ -1303,16 +1323,16 @@ class ProductPricing {
1303
1323
  let m = new ProductPricing();
1304
1324
  m = Object.assign(m, proto);
1305
1325
  if (proto.strategy) {
1306
- m.strategy = enumStringToValue$E(BillingStrategy, proto.strategy);
1326
+ m.strategy = enumStringToValue$H(BillingStrategy, proto.strategy);
1307
1327
  }
1308
1328
  if (proto.pricingType) {
1309
- m.pricingType = enumStringToValue$E(ProductPricingType, proto.pricingType);
1329
+ m.pricingType = enumStringToValue$H(ProductPricingType, proto.pricingType);
1310
1330
  }
1311
1331
  if (proto.currency) {
1312
- m.currency = enumStringToValue$E(Currency, proto.currency);
1332
+ m.currency = enumStringToValue$H(Currency, proto.currency);
1313
1333
  }
1314
1334
  if (proto.frequency) {
1315
- m.frequency = enumStringToValue$E(Frequency, proto.frequency);
1335
+ m.frequency = enumStringToValue$H(Frequency, proto.frequency);
1316
1336
  }
1317
1337
  if (proto.pricingRules) {
1318
1338
  m.pricingRules = proto.pricingRules.map(ProductPricingRule.fromProto);
@@ -1383,7 +1403,7 @@ class WholesaleCostItemRequest {
1383
1403
  m.quantity = parseInt(proto.quantity, 10);
1384
1404
  }
1385
1405
  if (proto.frequency) {
1386
- m.frequency = enumStringToValue$E(Frequency, proto.frequency);
1406
+ m.frequency = enumStringToValue$H(Frequency, proto.frequency);
1387
1407
  }
1388
1408
  return m;
1389
1409
  }
@@ -1408,7 +1428,7 @@ class WholesaleCostItemRequest {
1408
1428
  }
1409
1429
  }
1410
1430
 
1411
- function enumStringToValue$D(enumRef, value) {
1431
+ function enumStringToValue$G(enumRef, value) {
1412
1432
  if (typeof value === 'number') {
1413
1433
  return value;
1414
1434
  }
@@ -1419,7 +1439,7 @@ class SubscribeValidation {
1419
1439
  let m = new SubscribeValidation();
1420
1440
  m = Object.assign(m, proto);
1421
1441
  if (proto.status) {
1422
- m.status = enumStringToValue$D(SubscribeValidationStatus, proto.status);
1442
+ m.status = enumStringToValue$G(SubscribeValidationStatus, proto.status);
1423
1443
  }
1424
1444
  return m;
1425
1445
  }
@@ -1438,7 +1458,7 @@ class SubscribeValidation {
1438
1458
  }
1439
1459
  }
1440
1460
 
1441
- function enumStringToValue$C(enumRef, value) {
1461
+ function enumStringToValue$F(enumRef, value) {
1442
1462
  if (typeof value === 'number') {
1443
1463
  return value;
1444
1464
  }
@@ -1565,7 +1585,7 @@ class ChangeFrequencyRequest {
1565
1585
  let m = new ChangeFrequencyRequest();
1566
1586
  m = Object.assign(m, proto);
1567
1587
  if (proto.frequency) {
1568
- m.frequency = enumStringToValue$C(Frequency, proto.frequency);
1588
+ m.frequency = enumStringToValue$F(Frequency, proto.frequency);
1569
1589
  }
1570
1590
  return m;
1571
1591
  }
@@ -1641,7 +1661,7 @@ class CreateSubscriptionRequest {
1641
1661
  m.proratedTo = new Date(proto.proratedTo);
1642
1662
  }
1643
1663
  if (proto.renewalState) {
1644
- m.renewalState = enumStringToValue$C(RenewalState, proto.renewalState);
1664
+ m.renewalState = enumStringToValue$F(RenewalState, proto.renewalState);
1645
1665
  }
1646
1666
  if (proto.customUnitPrice) {
1647
1667
  m.customUnitPrice = parseInt(proto.customUnitPrice, 10);
@@ -1650,16 +1670,16 @@ class CreateSubscriptionRequest {
1650
1670
  m.alignWith = AlignmentSubscription.fromProto(proto.alignWith);
1651
1671
  }
1652
1672
  if (proto.frequency) {
1653
- m.frequency = enumStringToValue$C(Frequency, proto.frequency);
1673
+ m.frequency = enumStringToValue$F(Frequency, proto.frequency);
1654
1674
  }
1655
1675
  if (proto.retailAmount) {
1656
1676
  m.retailAmount = parseInt(proto.retailAmount, 10);
1657
1677
  }
1658
1678
  if (proto.retailFrequency) {
1659
- m.retailFrequency = enumStringToValue$C(Frequency, proto.retailFrequency);
1679
+ m.retailFrequency = enumStringToValue$F(Frequency, proto.retailFrequency);
1660
1680
  }
1661
1681
  if (proto.consumer) {
1662
- m.consumer = enumStringToValue$C(Consumer, proto.consumer);
1682
+ m.consumer = enumStringToValue$F(Consumer, proto.consumer);
1663
1683
  }
1664
1684
  if (proto.renewalStart) {
1665
1685
  m.renewalStart = new Date(proto.renewalStart);
@@ -1933,7 +1953,7 @@ class Subscription {
1933
1953
  m.billingStart = new Date(proto.billingStart);
1934
1954
  }
1935
1955
  if (proto.renewalState) {
1936
- m.renewalState = enumStringToValue$C(RenewalState, proto.renewalState);
1956
+ m.renewalState = enumStringToValue$F(RenewalState, proto.renewalState);
1937
1957
  }
1938
1958
  if (proto.proratedTo) {
1939
1959
  m.proratedTo = new Date(proto.proratedTo);
@@ -1945,16 +1965,16 @@ class Subscription {
1945
1965
  m.alignWith = AlignmentSubscription.fromProto(proto.alignWith);
1946
1966
  }
1947
1967
  if (proto.frequency) {
1948
- m.frequency = enumStringToValue$C(Frequency, proto.frequency);
1968
+ m.frequency = enumStringToValue$F(Frequency, proto.frequency);
1949
1969
  }
1950
1970
  if (proto.retailAmount) {
1951
1971
  m.retailAmount = parseInt(proto.retailAmount, 10);
1952
1972
  }
1953
1973
  if (proto.retailFrequency) {
1954
- m.retailFrequency = enumStringToValue$C(Frequency, proto.retailFrequency);
1974
+ m.retailFrequency = enumStringToValue$F(Frequency, proto.retailFrequency);
1955
1975
  }
1956
1976
  if (proto.consumer) {
1957
- m.consumer = enumStringToValue$C(Consumer, proto.consumer);
1977
+ m.consumer = enumStringToValue$F(Consumer, proto.consumer);
1958
1978
  }
1959
1979
  if (proto.renewalStart) {
1960
1980
  m.renewalStart = new Date(proto.renewalStart);
@@ -2046,7 +2066,7 @@ class CanCreateSubscriptionsRequestSubscriptionItem {
2046
2066
  let m = new CanCreateSubscriptionsRequestSubscriptionItem();
2047
2067
  m = Object.assign(m, proto);
2048
2068
  if (proto.frequency) {
2049
- m.frequency = enumStringToValue$C(Frequency, proto.frequency);
2069
+ m.frequency = enumStringToValue$F(Frequency, proto.frequency);
2050
2070
  }
2051
2071
  if (proto.quantity) {
2052
2072
  m.quantity = parseInt(proto.quantity, 10);
@@ -2100,7 +2120,7 @@ class ValidateResponse {
2100
2120
  }
2101
2121
  }
2102
2122
 
2103
- function enumStringToValue$B(enumRef, value) {
2123
+ function enumStringToValue$E(enumRef, value) {
2104
2124
  if (typeof value === 'number') {
2105
2125
  return value;
2106
2126
  }
@@ -2210,7 +2230,7 @@ class BillableItem {
2210
2230
  m.updated = new Date(proto.updated);
2211
2231
  }
2212
2232
  if (proto.frequency) {
2213
- m.frequency = enumStringToValue$B(Frequency, proto.frequency);
2233
+ m.frequency = enumStringToValue$E(Frequency, proto.frequency);
2214
2234
  }
2215
2235
  if (proto.nextRenewal) {
2216
2236
  m.nextRenewal = new Date(proto.nextRenewal);
@@ -2222,7 +2242,7 @@ class BillableItem {
2222
2242
  m.customUnitPrice = parseInt(proto.customUnitPrice, 10);
2223
2243
  }
2224
2244
  if (proto.retailFrequency) {
2225
- m.retailFrequency = enumStringToValue$B(Frequency, proto.retailFrequency);
2245
+ m.retailFrequency = enumStringToValue$E(Frequency, proto.retailFrequency);
2226
2246
  }
2227
2247
  if (proto.nextRetailRenewal) {
2228
2248
  m.nextRetailRenewal = new Date(proto.nextRetailRenewal);
@@ -2231,7 +2251,7 @@ class BillableItem {
2231
2251
  m.retailUnitPrice = parseInt(proto.retailUnitPrice, 10);
2232
2252
  }
2233
2253
  if (proto.status) {
2234
- m.status = enumStringToValue$B(SubscriptionStatus, proto.status);
2254
+ m.status = enumStringToValue$E(SubscriptionStatus, proto.status);
2235
2255
  }
2236
2256
  if (proto.price) {
2237
2257
  m.price = ProductPricing.fromProto(proto.price);
@@ -2240,10 +2260,10 @@ class BillableItem {
2240
2260
  m.deleted = new Date(proto.deleted);
2241
2261
  }
2242
2262
  if (proto.source) {
2243
- m.source = enumStringToValue$B(Source, proto.source);
2263
+ m.source = enumStringToValue$E(Source, proto.source);
2244
2264
  }
2245
2265
  if (proto.consumer) {
2246
- m.consumer = enumStringToValue$B(Consumer, proto.consumer);
2266
+ m.consumer = enumStringToValue$E(Consumer, proto.consumer);
2247
2267
  }
2248
2268
  if (proto.billingCycleAnchor) {
2249
2269
  m.billingCycleAnchor = new Date(proto.billingCycleAnchor);
@@ -2534,7 +2554,7 @@ class ExportSubscriptionsRequest {
2534
2554
  m.filters = ListSubscriptionsRequestFilters.fromProto(proto.filters);
2535
2555
  }
2536
2556
  if (proto.consumer) {
2537
- m.consumer = enumStringToValue$B(Consumer, proto.consumer);
2557
+ m.consumer = enumStringToValue$E(Consumer, proto.consumer);
2538
2558
  }
2539
2559
  return m;
2540
2560
  }
@@ -2586,7 +2606,7 @@ class ListSubscriptionsRequestFilters {
2586
2606
  let m = new ListSubscriptionsRequestFilters();
2587
2607
  m = Object.assign(m, proto);
2588
2608
  if (proto.status) {
2589
- m.status = enumStringToValue$B(SubscriptionStatus, proto.status);
2609
+ m.status = enumStringToValue$E(SubscriptionStatus, proto.status);
2590
2610
  }
2591
2611
  if (proto.expiredDateGte) {
2592
2612
  m.expiredDateGte = new Date(proto.expiredDateGte);
@@ -2595,7 +2615,7 @@ class ListSubscriptionsRequestFilters {
2595
2615
  m.expiredDateLte = new Date(proto.expiredDateLte);
2596
2616
  }
2597
2617
  if (proto.frequencies) {
2598
- m.frequencies = proto.frequencies.map((v) => enumStringToValue$B(Frequency, v));
2618
+ m.frequencies = proto.frequencies.map((v) => enumStringToValue$E(Frequency, v));
2599
2619
  }
2600
2620
  return m;
2601
2621
  }
@@ -3087,7 +3107,7 @@ class UpdateSubscriptionResponse {
3087
3107
  }
3088
3108
  }
3089
3109
 
3090
- function enumStringToValue$A(enumRef, value) {
3110
+ function enumStringToValue$D(enumRef, value) {
3091
3111
  if (typeof value === 'number') {
3092
3112
  return value;
3093
3113
  }
@@ -3098,7 +3118,7 @@ class AppliedDiscount {
3098
3118
  let m = new AppliedDiscount();
3099
3119
  m = Object.assign(m, proto);
3100
3120
  if (proto.type) {
3101
- m.type = enumStringToValue$A(DiscountType, proto.type);
3121
+ m.type = enumStringToValue$D(DiscountType, proto.type);
3102
3122
  }
3103
3123
  if (proto.value) {
3104
3124
  m.value = parseInt(proto.value, 10);
@@ -3135,7 +3155,7 @@ class AppliedDiscount {
3135
3155
  }
3136
3156
  }
3137
3157
 
3138
- function enumStringToValue$z(enumRef, value) {
3158
+ function enumStringToValue$C(enumRef, value) {
3139
3159
  if (typeof value === 'number') {
3140
3160
  return value;
3141
3161
  }
@@ -3193,7 +3213,7 @@ class BundleItem {
3193
3213
  let m = new BundleItem();
3194
3214
  m = Object.assign(m, proto);
3195
3215
  if (proto.discountType) {
3196
- m.discountType = enumStringToValue$z(DiscountType, proto.discountType);
3216
+ m.discountType = enumStringToValue$C(DiscountType, proto.discountType);
3197
3217
  }
3198
3218
  if (proto.discountAmount) {
3199
3219
  m.discountAmount = parseInt(proto.discountAmount, 10);
@@ -3451,7 +3471,7 @@ class BundlePricingPriceAndFrequency {
3451
3471
  let m = new BundlePricingPriceAndFrequency();
3452
3472
  m = Object.assign(m, proto);
3453
3473
  if (proto.frequency) {
3454
- m.frequency = enumStringToValue$z(Frequency, proto.frequency);
3474
+ m.frequency = enumStringToValue$C(Frequency, proto.frequency);
3455
3475
  }
3456
3476
  if (proto.effectivePrice) {
3457
3477
  m.effectivePrice = parseInt(proto.effectivePrice, 10);
@@ -3523,7 +3543,7 @@ class UpsertBundleRequest {
3523
3543
  }
3524
3544
  }
3525
3545
 
3526
- function enumStringToValue$y(enumRef, value) {
3546
+ function enumStringToValue$B(enumRef, value) {
3527
3547
  if (typeof value === 'number') {
3528
3548
  return value;
3529
3549
  }
@@ -3540,7 +3560,7 @@ class Contract {
3540
3560
  m.created = new Date(proto.created);
3541
3561
  }
3542
3562
  if (proto.currency) {
3543
- m.currency = enumStringToValue$y(Currency, proto.currency);
3563
+ m.currency = enumStringToValue$B(Currency, proto.currency);
3544
3564
  }
3545
3565
  if (proto.signed) {
3546
3566
  m.signed = new Date(proto.signed);
@@ -3561,7 +3581,7 @@ class Contract {
3561
3581
  m.end = new Date(proto.end);
3562
3582
  }
3563
3583
  if (proto.subscriptionUpdateStatus) {
3564
- m.subscriptionUpdateStatus = enumStringToValue$y(ContractSubscriptionStatus, proto.subscriptionUpdateStatus);
3584
+ m.subscriptionUpdateStatus = enumStringToValue$B(ContractSubscriptionStatus, proto.subscriptionUpdateStatus);
3565
3585
  }
3566
3586
  return m;
3567
3587
  }
@@ -3761,7 +3781,7 @@ class GetMerchantWholesaleCurrencyResponse {
3761
3781
  let m = new GetMerchantWholesaleCurrencyResponse();
3762
3782
  m = Object.assign(m, proto);
3763
3783
  if (proto.currency) {
3764
- m.currency = enumStringToValue$y(Currency, proto.currency);
3784
+ m.currency = enumStringToValue$B(Currency, proto.currency);
3765
3785
  }
3766
3786
  return m;
3767
3787
  }
@@ -4016,7 +4036,7 @@ class UpdateContractSubscriptionRequest {
4016
4036
  let m = new UpdateContractSubscriptionRequest();
4017
4037
  m = Object.assign(m, proto);
4018
4038
  if (proto.frequency) {
4019
- m.frequency = enumStringToValue$y(Frequency, proto.frequency);
4039
+ m.frequency = enumStringToValue$B(Frequency, proto.frequency);
4020
4040
  }
4021
4041
  return m;
4022
4042
  }
@@ -4041,7 +4061,7 @@ class UpdateContractSubscriptionRequest {
4041
4061
  }
4042
4062
  }
4043
4063
 
4044
- function enumStringToValue$x(enumRef, value) {
4064
+ function enumStringToValue$A(enumRef, value) {
4045
4065
  if (typeof value === 'number') {
4046
4066
  return value;
4047
4067
  }
@@ -4058,7 +4078,7 @@ class CustomerSummary {
4058
4078
  m.purchaseItemTotal = parseInt(proto.purchaseItemTotal, 10);
4059
4079
  }
4060
4080
  if (proto.currency) {
4061
- m.currency = enumStringToValue$x(Currency, proto.currency);
4081
+ m.currency = enumStringToValue$A(Currency, proto.currency);
4062
4082
  }
4063
4083
  return m;
4064
4084
  }
@@ -4144,7 +4164,7 @@ class GetMultiCustomerSummariesResponse {
4144
4164
  }
4145
4165
  }
4146
4166
 
4147
- function enumStringToValue$w(enumRef, value) {
4167
+ function enumStringToValue$z(enumRef, value) {
4148
4168
  if (typeof value === 'number') {
4149
4169
  return value;
4150
4170
  }
@@ -4304,7 +4324,7 @@ class SetDefaultBankAccountRequest {
4304
4324
  }
4305
4325
  }
4306
4326
 
4307
- function enumStringToValue$v(enumRef, value) {
4327
+ function enumStringToValue$y(enumRef, value) {
4308
4328
  if (typeof value === 'number') {
4309
4329
  return value;
4310
4330
  }
@@ -4315,7 +4335,7 @@ class ProductSummaryDiscount {
4315
4335
  let m = new ProductSummaryDiscount();
4316
4336
  m = Object.assign(m, proto);
4317
4337
  if (proto.type) {
4318
- m.type = enumStringToValue$v(ProductSummaryDiscountDiscountType, proto.type);
4338
+ m.type = enumStringToValue$y(ProductSummaryDiscountDiscountType, proto.type);
4319
4339
  }
4320
4340
  if (proto.value) {
4321
4341
  m.value = parseInt(proto.value, 10);
@@ -4609,7 +4629,7 @@ class Pricing {
4609
4629
  let m = new Pricing();
4610
4630
  m = Object.assign(m, proto);
4611
4631
  if (proto.type) {
4612
- m.type = enumStringToValue$v(PricingRuleType, proto.type);
4632
+ m.type = enumStringToValue$y(PricingRuleType, proto.type);
4613
4633
  }
4614
4634
  if (proto.rules) {
4615
4635
  m.rules = proto.rules.map(PricingRule.fromProto);
@@ -4653,13 +4673,13 @@ class ProductSummary {
4653
4673
  m.discounts = proto.discounts.map(ProductSummaryDiscount.fromProto);
4654
4674
  }
4655
4675
  if (proto.billingStrategy) {
4656
- m.billingStrategy = enumStringToValue$v(ProductSummaryBillingStrategy, proto.billingStrategy);
4676
+ m.billingStrategy = enumStringToValue$y(ProductSummaryBillingStrategy, proto.billingStrategy);
4657
4677
  }
4658
4678
  if (proto.productType) {
4659
- m.productType = enumStringToValue$v(ProductSummaryProductType, proto.productType);
4679
+ m.productType = enumStringToValue$y(ProductSummaryProductType, proto.productType);
4660
4680
  }
4661
4681
  if (proto.frequency) {
4662
- m.frequency = enumStringToValue$v(Frequency, proto.frequency);
4682
+ m.frequency = enumStringToValue$y(Frequency, proto.frequency);
4663
4683
  }
4664
4684
  if (proto.volumeCommitment) {
4665
4685
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -4840,7 +4860,7 @@ class ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup {
4840
4860
  }
4841
4861
  }
4842
4862
 
4843
- function enumStringToValue$u(enumRef, value) {
4863
+ function enumStringToValue$x(enumRef, value) {
4844
4864
  if (typeof value === 'number') {
4845
4865
  return value;
4846
4866
  }
@@ -4851,7 +4871,7 @@ class CreateDiscountRequest {
4851
4871
  let m = new CreateDiscountRequest();
4852
4872
  m = Object.assign(m, proto);
4853
4873
  if (proto.discountType) {
4854
- m.discountType = enumStringToValue$u(DiscountType, proto.discountType);
4874
+ m.discountType = enumStringToValue$x(DiscountType, proto.discountType);
4855
4875
  }
4856
4876
  if (proto.amount) {
4857
4877
  m.amount = parseInt(proto.amount, 10);
@@ -4863,7 +4883,7 @@ class CreateDiscountRequest {
4863
4883
  m.end = new Date(proto.end);
4864
4884
  }
4865
4885
  if (proto.consumer) {
4866
- m.consumer = enumStringToValue$u(Consumer, proto.consumer);
4886
+ m.consumer = enumStringToValue$x(Consumer, proto.consumer);
4867
4887
  }
4868
4888
  if (proto.numberOfBillingPeriods) {
4869
4889
  m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);
@@ -4945,7 +4965,7 @@ class Discount {
4945
4965
  m.discountId = parseInt(proto.discountId, 10);
4946
4966
  }
4947
4967
  if (proto.discountType) {
4948
- m.discountType = enumStringToValue$u(DiscountType, proto.discountType);
4968
+ m.discountType = enumStringToValue$x(DiscountType, proto.discountType);
4949
4969
  }
4950
4970
  if (proto.amount) {
4951
4971
  m.amount = parseInt(proto.amount, 10);
@@ -4963,7 +4983,7 @@ class Discount {
4963
4983
  m.updated = new Date(proto.updated);
4964
4984
  }
4965
4985
  if (proto.consumer) {
4966
- m.consumer = enumStringToValue$u(Consumer, proto.consumer);
4986
+ m.consumer = enumStringToValue$x(Consumer, proto.consumer);
4967
4987
  }
4968
4988
  if (proto.numberOfBillingPeriods) {
4969
4989
  m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);
@@ -5060,7 +5080,7 @@ class ListDiscountsRequestFilters {
5060
5080
  m.expiry = new Date(proto.expiry);
5061
5081
  }
5062
5082
  if (proto.consumers) {
5063
- m.consumers = proto.consumers.map((v) => enumStringToValue$u(Consumer, v));
5083
+ m.consumers = proto.consumers.map((v) => enumStringToValue$x(Consumer, v));
5064
5084
  }
5065
5085
  return m;
5066
5086
  }
@@ -5159,7 +5179,7 @@ class UpdateDiscountRequest {
5159
5179
  let m = new UpdateDiscountRequest();
5160
5180
  m = Object.assign(m, proto);
5161
5181
  if (proto.discountType) {
5162
- m.discountType = enumStringToValue$u(DiscountType, proto.discountType);
5182
+ m.discountType = enumStringToValue$x(DiscountType, proto.discountType);
5163
5183
  }
5164
5184
  if (proto.amount) {
5165
5185
  m.amount = parseInt(proto.amount, 10);
@@ -5220,7 +5240,7 @@ class UpdateDiscountRequest {
5220
5240
  }
5221
5241
  }
5222
5242
 
5223
- function enumStringToValue$t(enumRef, value) {
5243
+ function enumStringToValue$w(enumRef, value) {
5224
5244
  if (typeof value === 'number') {
5225
5245
  return value;
5226
5246
  }
@@ -5262,7 +5282,7 @@ class AppliedTaxRate {
5262
5282
  }
5263
5283
  }
5264
5284
 
5265
- function enumStringToValue$s(enumRef, value) {
5285
+ function enumStringToValue$v(enumRef, value) {
5266
5286
  if (typeof value === 'number') {
5267
5287
  return value;
5268
5288
  }
@@ -5754,7 +5774,7 @@ class UpdateTaxRequest {
5754
5774
  }
5755
5775
  }
5756
5776
 
5757
- function enumStringToValue$r(enumRef, value) {
5777
+ function enumStringToValue$u(enumRef, value) {
5758
5778
  if (typeof value === 'number') {
5759
5779
  return value;
5760
5780
  }
@@ -5831,7 +5851,7 @@ class AppliedBundleItem {
5831
5851
  }
5832
5852
  }
5833
5853
 
5834
- function enumStringToValue$q(enumRef, value) {
5854
+ function enumStringToValue$t(enumRef, value) {
5835
5855
  if (typeof value === 'number') {
5836
5856
  return value;
5837
5857
  }
@@ -5937,10 +5957,10 @@ class PaymentCard {
5937
5957
  let m = new PaymentCard();
5938
5958
  m = Object.assign(m, proto);
5939
5959
  if (proto.cardType) {
5940
- m.cardType = enumStringToValue$q(PaymentCardCARD_TYPE, proto.cardType);
5960
+ m.cardType = enumStringToValue$t(PaymentCardCARD_TYPE, proto.cardType);
5941
5961
  }
5942
5962
  if (proto.fundingType) {
5943
- m.fundingType = enumStringToValue$q(PaymentCardFUNDING_TYPE, proto.fundingType);
5963
+ m.fundingType = enumStringToValue$t(PaymentCardFUNDING_TYPE, proto.fundingType);
5944
5964
  }
5945
5965
  return m;
5946
5966
  }
@@ -6047,7 +6067,7 @@ class UpdatePaymentCardRequest {
6047
6067
  }
6048
6068
  }
6049
6069
 
6050
- function enumStringToValue$p(enumRef, value) {
6070
+ function enumStringToValue$s(enumRef, value) {
6051
6071
  if (typeof value === 'number') {
6052
6072
  return value;
6053
6073
  }
@@ -6150,7 +6170,7 @@ class PaymentMethod {
6150
6170
  let m = new PaymentMethod();
6151
6171
  m = Object.assign(m, proto);
6152
6172
  if (proto.type) {
6153
- m.type = enumStringToValue$p(PaymentMethodType, proto.type);
6173
+ m.type = enumStringToValue$s(PaymentMethodType, proto.type);
6154
6174
  }
6155
6175
  if (proto.card) {
6156
6176
  m.card = PaymentCard.fromProto(proto.card);
@@ -6190,7 +6210,7 @@ class PaymentMethod {
6190
6210
  }
6191
6211
  }
6192
6212
 
6193
- function enumStringToValue$o(enumRef, value) {
6213
+ function enumStringToValue$r(enumRef, value) {
6194
6214
  if (typeof value === 'number') {
6195
6215
  return value;
6196
6216
  }
@@ -6285,7 +6305,7 @@ class ListRecurringInvoicesFiltersDetailedInterval {
6285
6305
  let m = new ListRecurringInvoicesFiltersDetailedInterval();
6286
6306
  m = Object.assign(m, proto);
6287
6307
  if (proto.interval) {
6288
- m.interval = enumStringToValue$o(Interval, proto.interval);
6308
+ m.interval = enumStringToValue$r(Interval, proto.interval);
6289
6309
  }
6290
6310
  if (proto.intervalCount) {
6291
6311
  m.intervalCount = parseInt(proto.intervalCount, 10);
@@ -6334,7 +6354,7 @@ class ListRecurringInvoicesFilters {
6334
6354
  let m = new ListRecurringInvoicesFilters();
6335
6355
  m = Object.assign(m, proto);
6336
6356
  if (proto.statuses) {
6337
- m.statuses = proto.statuses.map((v) => enumStringToValue$o(RecurringInvoiceStatus, v));
6357
+ m.statuses = proto.statuses.map((v) => enumStringToValue$r(RecurringInvoiceStatus, v));
6338
6358
  }
6339
6359
  if (proto.intervals) {
6340
6360
  m.intervals = proto.intervals.map(ListRecurringInvoicesFiltersDetailedInterval.fromProto);
@@ -6439,7 +6459,7 @@ class RecurringInvoice {
6439
6459
  m.updated = new Date(proto.updated);
6440
6460
  }
6441
6461
  if (proto.status) {
6442
- m.status = enumStringToValue$o(RecurringInvoiceStatus, proto.status);
6462
+ m.status = enumStringToValue$r(RecurringInvoiceStatus, proto.status);
6443
6463
  }
6444
6464
  if (proto.nextIssue) {
6445
6465
  m.nextIssue = new Date(proto.nextIssue);
@@ -6448,16 +6468,16 @@ class RecurringInvoice {
6448
6468
  m.intervalCount = parseInt(proto.intervalCount, 10);
6449
6469
  }
6450
6470
  if (proto.interval) {
6451
- m.interval = enumStringToValue$o(Interval, proto.interval);
6471
+ m.interval = enumStringToValue$r(Interval, proto.interval);
6452
6472
  }
6453
6473
  if (proto.repeatOnDayOfMonth) {
6454
6474
  m.repeatOnDayOfMonth = parseInt(proto.repeatOnDayOfMonth, 10);
6455
6475
  }
6456
6476
  if (proto.collectionMethod) {
6457
- m.collectionMethod = enumStringToValue$o(CollectionMethod, proto.collectionMethod);
6477
+ m.collectionMethod = enumStringToValue$r(CollectionMethod, proto.collectionMethod);
6458
6478
  }
6459
6479
  if (proto.paymentProcessor) {
6460
- m.paymentProcessor = enumStringToValue$o(PaymentProcessor, proto.paymentProcessor);
6480
+ m.paymentProcessor = enumStringToValue$r(PaymentProcessor, proto.paymentProcessor);
6461
6481
  }
6462
6482
  if (proto.items) {
6463
6483
  m.items = proto.items.map(RecurringInvoiceItem.fromProto);
@@ -6475,7 +6495,7 @@ class RecurringInvoice {
6475
6495
  m.netD = parseInt(proto.netD, 10);
6476
6496
  }
6477
6497
  if (proto.paymentMethodTypes) {
6478
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$o(PaymentMethodType, v));
6498
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$r(PaymentMethodType, v));
6479
6499
  }
6480
6500
  return m;
6481
6501
  }
@@ -6682,7 +6702,7 @@ class UpdateRecurringInvoiceRequest {
6682
6702
  }
6683
6703
  }
6684
6704
 
6685
- function enumStringToValue$n(enumRef, value) {
6705
+ function enumStringToValue$q(enumRef, value) {
6686
6706
  if (typeof value === 'number') {
6687
6707
  return value;
6688
6708
  }
@@ -6827,7 +6847,7 @@ class AppliedCreditNote {
6827
6847
  m.amount = parseInt(proto.amount, 10);
6828
6848
  }
6829
6849
  if (proto.creditNoteType) {
6830
- m.creditNoteType = enumStringToValue$n(CreditNoteType, proto.creditNoteType);
6850
+ m.creditNoteType = enumStringToValue$q(CreditNoteType, proto.creditNoteType);
6831
6851
  }
6832
6852
  return m;
6833
6853
  }
@@ -6891,10 +6911,10 @@ class CreateInvoiceRequest {
6891
6911
  m.items = proto.items.map(InvoiceItem.fromProto);
6892
6912
  }
6893
6913
  if (proto.collectionMethod) {
6894
- m.collectionMethod = enumStringToValue$n(CollectionMethod, proto.collectionMethod);
6914
+ m.collectionMethod = enumStringToValue$q(CollectionMethod, proto.collectionMethod);
6895
6915
  }
6896
6916
  if (proto.origin) {
6897
- m.origin = enumStringToValue$n(Origin, proto.origin);
6917
+ m.origin = enumStringToValue$q(Origin, proto.origin);
6898
6918
  }
6899
6919
  if (proto.issued) {
6900
6920
  m.issued = new Date(proto.issued);
@@ -7060,7 +7080,7 @@ class ListInvoicesRequestFiltersDateFilter {
7060
7080
  let m = new ListInvoicesRequestFiltersDateFilter();
7061
7081
  m = Object.assign(m, proto);
7062
7082
  if (proto.dateField) {
7063
- m.dateField = enumStringToValue$n(ListInvoicesRequestFiltersDateFilterDateField, proto.dateField);
7083
+ m.dateField = enumStringToValue$q(ListInvoicesRequestFiltersDateFilterDateField, proto.dateField);
7064
7084
  }
7065
7085
  if (proto.dateLte) {
7066
7086
  m.dateLte = new Date(proto.dateLte);
@@ -7210,13 +7230,13 @@ class ListInvoicesRequestFilters {
7210
7230
  let m = new ListInvoicesRequestFilters();
7211
7231
  m = Object.assign(m, proto);
7212
7232
  if (proto.statuses) {
7213
- m.statuses = proto.statuses.map((v) => enumStringToValue$n(InvoiceStatus, v));
7233
+ m.statuses = proto.statuses.map((v) => enumStringToValue$q(InvoiceStatus, v));
7214
7234
  }
7215
7235
  if (proto.dateFilter) {
7216
7236
  m.dateFilter = ListInvoicesRequestFiltersDateFilter.fromProto(proto.dateFilter);
7217
7237
  }
7218
7238
  if (proto.lastPaymentStatuses) {
7219
- m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$n(LastPaymentStatus, v));
7239
+ m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$q(LastPaymentStatus, v));
7220
7240
  }
7221
7241
  return m;
7222
7242
  }
@@ -7407,7 +7427,7 @@ class Invoice {
7407
7427
  let m = new Invoice();
7408
7428
  m = Object.assign(m, proto);
7409
7429
  if (proto.status) {
7410
- m.status = enumStringToValue$n(InvoiceStatus, proto.status);
7430
+ m.status = enumStringToValue$q(InvoiceStatus, proto.status);
7411
7431
  }
7412
7432
  if (proto.subtotal) {
7413
7433
  m.subtotal = parseInt(proto.subtotal, 10);
@@ -7434,7 +7454,7 @@ class Invoice {
7434
7454
  m.items = proto.items.map(InvoiceItem.fromProto);
7435
7455
  }
7436
7456
  if (proto.currency) {
7437
- m.currency = enumStringToValue$n(Currency, proto.currency);
7457
+ m.currency = enumStringToValue$q(Currency, proto.currency);
7438
7458
  }
7439
7459
  if (proto.paid) {
7440
7460
  m.paid = new Date(proto.paid);
@@ -7467,10 +7487,10 @@ class Invoice {
7467
7487
  m.autoAdvance = new Date(proto.autoAdvance);
7468
7488
  }
7469
7489
  if (proto.paymentMethodTypes) {
7470
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$n(PaymentMethodType, v));
7490
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$q(PaymentMethodType, v));
7471
7491
  }
7472
7492
  if (proto.lastPaymentStatus) {
7473
- m.lastPaymentStatus = enumStringToValue$n(LastPaymentStatus, proto.lastPaymentStatus);
7493
+ m.lastPaymentStatus = enumStringToValue$q(LastPaymentStatus, proto.lastPaymentStatus);
7474
7494
  }
7475
7495
  if (proto.amountOwing) {
7476
7496
  m.amountOwing = parseInt(proto.amountOwing, 10);
@@ -7478,6 +7498,9 @@ class Invoice {
7478
7498
  if (proto.appliedCreditNotes) {
7479
7499
  m.appliedCreditNotes = proto.appliedCreditNotes.map(AppliedCreditNote.fromProto);
7480
7500
  }
7501
+ if (proto.processingFailureCode) {
7502
+ m.processingFailureCode = enumStringToValue$q(ProcessingFailureCode, proto.processingFailureCode);
7503
+ }
7481
7504
  return m;
7482
7505
  }
7483
7506
  constructor(kwargs) {
@@ -7599,6 +7622,9 @@ class Invoice {
7599
7622
  if (typeof this.appliedCreditNotes !== 'undefined' && this.appliedCreditNotes !== null) {
7600
7623
  toReturn['appliedCreditNotes'] = 'toApiJson' in this.appliedCreditNotes ? this.appliedCreditNotes.toApiJson() : this.appliedCreditNotes;
7601
7624
  }
7625
+ if (typeof this.processingFailureCode !== 'undefined') {
7626
+ toReturn['processingFailureCode'] = this.processingFailureCode;
7627
+ }
7602
7628
  return toReturn;
7603
7629
  }
7604
7630
  }
@@ -8182,7 +8208,7 @@ class VoidInvoiceRequest {
8182
8208
  }
8183
8209
  }
8184
8210
 
8185
- function enumStringToValue$m(enumRef, value) {
8211
+ function enumStringToValue$p(enumRef, value) {
8186
8212
  if (typeof value === 'number') {
8187
8213
  return value;
8188
8214
  }
@@ -8276,7 +8302,7 @@ class BalanceAmount {
8276
8302
  }
8277
8303
  }
8278
8304
 
8279
- function enumStringToValue$l(enumRef, value) {
8305
+ function enumStringToValue$o(enumRef, value) {
8280
8306
  if (typeof value === 'number') {
8281
8307
  return value;
8282
8308
  }
@@ -8312,7 +8338,7 @@ class DateRange {
8312
8338
  }
8313
8339
  }
8314
8340
 
8315
- function enumStringToValue$k(enumRef, value) {
8341
+ function enumStringToValue$n(enumRef, value) {
8316
8342
  if (typeof value === 'number') {
8317
8343
  return value;
8318
8344
  }
@@ -8413,13 +8439,13 @@ class Payout {
8413
8439
  m.amount = parseInt(proto.amount, 10);
8414
8440
  }
8415
8441
  if (proto.currency) {
8416
- m.currency = enumStringToValue$k(Currency, proto.currency);
8442
+ m.currency = enumStringToValue$n(Currency, proto.currency);
8417
8443
  }
8418
8444
  if (proto.status) {
8419
- m.status = enumStringToValue$k(PayoutStatus, proto.status);
8445
+ m.status = enumStringToValue$n(PayoutStatus, proto.status);
8420
8446
  }
8421
8447
  if (proto.type) {
8422
- m.type = enumStringToValue$k(PayoutType, proto.type);
8448
+ m.type = enumStringToValue$n(PayoutType, proto.type);
8423
8449
  }
8424
8450
  return m;
8425
8451
  }
@@ -8521,10 +8547,10 @@ class RetailPayout {
8521
8547
  m.amount = parseInt(proto.amount, 10);
8522
8548
  }
8523
8549
  if (proto.status) {
8524
- m.status = enumStringToValue$k(PayoutStatus, proto.status);
8550
+ m.status = enumStringToValue$n(PayoutStatus, proto.status);
8525
8551
  }
8526
8552
  if (proto.type) {
8527
- m.type = enumStringToValue$k(PayoutType, proto.type);
8553
+ m.type = enumStringToValue$n(PayoutType, proto.type);
8528
8554
  }
8529
8555
  return m;
8530
8556
  }
@@ -8573,7 +8599,7 @@ class RetailPayout {
8573
8599
  }
8574
8600
  }
8575
8601
 
8576
- function enumStringToValue$j(enumRef, value) {
8602
+ function enumStringToValue$m(enumRef, value) {
8577
8603
  if (typeof value === 'number') {
8578
8604
  return value;
8579
8605
  }
@@ -8688,7 +8714,7 @@ class CreateMerchantRequest {
8688
8714
  m.includeInFinancialRecords = CreateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);
8689
8715
  }
8690
8716
  if (proto.merchantType) {
8691
- m.merchantType = enumStringToValue$j(MerchantType, proto.merchantType);
8717
+ m.merchantType = enumStringToValue$m(MerchantType, proto.merchantType);
8692
8718
  }
8693
8719
  return m;
8694
8720
  }
@@ -8952,7 +8978,7 @@ class GetOutstandingBalanceResponse {
8952
8978
  m.outstandingBalance = parseInt(proto.outstandingBalance, 10);
8953
8979
  }
8954
8980
  if (proto.currency) {
8955
- m.currency = enumStringToValue$j(Currency, proto.currency);
8981
+ m.currency = enumStringToValue$m(Currency, proto.currency);
8956
8982
  }
8957
8983
  return m;
8958
8984
  }
@@ -9263,7 +9289,7 @@ class Merchant {
9263
9289
  let m = new Merchant();
9264
9290
  m = Object.assign(m, proto);
9265
9291
  if (proto.merchantType) {
9266
- m.merchantType = enumStringToValue$j(MerchantType, proto.merchantType);
9292
+ m.merchantType = enumStringToValue$m(MerchantType, proto.merchantType);
9267
9293
  }
9268
9294
  return m;
9269
9295
  }
@@ -9418,10 +9444,10 @@ class SearchMerchantsRequest {
9418
9444
  let m = new SearchMerchantsRequest();
9419
9445
  m = Object.assign(m, proto);
9420
9446
  if (proto.sortBy) {
9421
- m.sortBy = enumStringToValue$j(SearchMerchantsRequestSortBy, proto.sortBy);
9447
+ m.sortBy = enumStringToValue$m(SearchMerchantsRequestSortBy, proto.sortBy);
9422
9448
  }
9423
9449
  if (proto.sortDirection) {
9424
- m.sortDirection = enumStringToValue$j(SortDirection, proto.sortDirection);
9450
+ m.sortDirection = enumStringToValue$m(SortDirection, proto.sortDirection);
9425
9451
  }
9426
9452
  if (proto.pagingOptions) {
9427
9453
  m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
@@ -9629,7 +9655,7 @@ class UpdateMerchantRequest {
9629
9655
  m.includeInFinancialRecords = UpdateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);
9630
9656
  }
9631
9657
  if (proto.merchantType) {
9632
- m.merchantType = enumStringToValue$j(MerchantType, proto.merchantType);
9658
+ m.merchantType = enumStringToValue$m(MerchantType, proto.merchantType);
9633
9659
  }
9634
9660
  return m;
9635
9661
  }
@@ -9754,7 +9780,7 @@ class UpsertRetailConfigurationRequest {
9754
9780
  }
9755
9781
  }
9756
9782
 
9757
- function enumStringToValue$i(enumRef, value) {
9783
+ function enumStringToValue$l(enumRef, value) {
9758
9784
  if (typeof value === 'number') {
9759
9785
  return value;
9760
9786
  }
@@ -9823,13 +9849,13 @@ class MerchantReport {
9823
9849
  m.year = parseInt(proto.year, 10);
9824
9850
  }
9825
9851
  if (proto.month) {
9826
- m.month = enumStringToValue$i(Month, proto.month);
9852
+ m.month = enumStringToValue$l(Month, proto.month);
9827
9853
  }
9828
9854
  if (proto.created) {
9829
9855
  m.created = new Date(proto.created);
9830
9856
  }
9831
9857
  if (proto.status) {
9832
- m.status = enumStringToValue$i(MerchantReportStatus, proto.status);
9858
+ m.status = enumStringToValue$l(MerchantReportStatus, proto.status);
9833
9859
  }
9834
9860
  return m;
9835
9861
  }
@@ -9860,7 +9886,7 @@ class MerchantReport {
9860
9886
  }
9861
9887
  }
9862
9888
 
9863
- function enumStringToValue$h(enumRef, value) {
9889
+ function enumStringToValue$k(enumRef, value) {
9864
9890
  if (typeof value === 'number') {
9865
9891
  return value;
9866
9892
  }
@@ -9957,7 +9983,7 @@ class TickComponentUsageRequest {
9957
9983
  }
9958
9984
  }
9959
9985
 
9960
- function enumStringToValue$g(enumRef, value) {
9986
+ function enumStringToValue$j(enumRef, value) {
9961
9987
  if (typeof value === 'number') {
9962
9988
  return value;
9963
9989
  }
@@ -10070,7 +10096,7 @@ class RetailPaymentCardDetails {
10070
10096
  let m = new RetailPaymentCardDetails();
10071
10097
  m = Object.assign(m, proto);
10072
10098
  if (proto.cardType) {
10073
- m.cardType = enumStringToValue$g(CardType, proto.cardType);
10099
+ m.cardType = enumStringToValue$j(CardType, proto.cardType);
10074
10100
  }
10075
10101
  return m;
10076
10102
  }
@@ -10119,7 +10145,7 @@ class ConfigureRetailPaymentProviderRequest {
10119
10145
  let m = new ConfigureRetailPaymentProviderRequest();
10120
10146
  m = Object.assign(m, proto);
10121
10147
  if (proto.paymentFacilitatorType) {
10122
- m.paymentFacilitatorType = enumStringToValue$g(PaymentFacilitatorType, proto.paymentFacilitatorType);
10148
+ m.paymentFacilitatorType = enumStringToValue$j(PaymentFacilitatorType, proto.paymentFacilitatorType);
10123
10149
  }
10124
10150
  return m;
10125
10151
  }
@@ -10197,7 +10223,7 @@ class Dispute {
10197
10223
  let m = new Dispute();
10198
10224
  m = Object.assign(m, proto);
10199
10225
  if (proto.status) {
10200
- m.status = enumStringToValue$g(DisputeStatus, proto.status);
10226
+ m.status = enumStringToValue$j(DisputeStatus, proto.status);
10201
10227
  }
10202
10228
  if (proto.amount) {
10203
10229
  m.amount = parseInt(proto.amount, 10);
@@ -10215,7 +10241,7 @@ class Dispute {
10215
10241
  m.fee = parseInt(proto.fee, 10);
10216
10242
  }
10217
10243
  if (proto.paymentReferenceType) {
10218
- m.paymentReferenceType = enumStringToValue$g(RetailPaymentReferenceType, proto.paymentReferenceType);
10244
+ m.paymentReferenceType = enumStringToValue$j(RetailPaymentReferenceType, proto.paymentReferenceType);
10219
10245
  }
10220
10246
  if (proto.paymentReceivedAt) {
10221
10247
  m.paymentReceivedAt = new Date(proto.paymentReceivedAt);
@@ -10531,7 +10557,7 @@ class GetRetailPaymentProviderResponse {
10531
10557
  let m = new GetRetailPaymentProviderResponse();
10532
10558
  m = Object.assign(m, proto);
10533
10559
  if (proto.paymentFacilitatorType) {
10534
- m.paymentFacilitatorType = enumStringToValue$g(PaymentFacilitatorType, proto.paymentFacilitatorType);
10560
+ m.paymentFacilitatorType = enumStringToValue$j(PaymentFacilitatorType, proto.paymentFacilitatorType);
10535
10561
  }
10536
10562
  return m;
10537
10563
  }
@@ -10745,7 +10771,7 @@ class ListRetailDisputesRequestListRetailDisputesFilters {
10745
10771
  let m = new ListRetailDisputesRequestListRetailDisputesFilters();
10746
10772
  m = Object.assign(m, proto);
10747
10773
  if (proto.status) {
10748
- m.status = enumStringToValue$g(DisputeStatus, proto.status);
10774
+ m.status = enumStringToValue$j(DisputeStatus, proto.status);
10749
10775
  }
10750
10776
  return m;
10751
10777
  }
@@ -10931,7 +10957,7 @@ class ListRetailTransactionsRequestListRetailTransactionsFilters {
10931
10957
  m.createdDateLte = new Date(proto.createdDateLte);
10932
10958
  }
10933
10959
  if (proto.type) {
10934
- m.type = enumStringToValue$g(RetailTransactionType, proto.type);
10960
+ m.type = enumStringToValue$j(RetailTransactionType, proto.type);
10935
10961
  }
10936
10962
  return m;
10937
10963
  }
@@ -11065,10 +11091,10 @@ class Payment {
11065
11091
  m.created = new Date(proto.created);
11066
11092
  }
11067
11093
  if (proto.currency) {
11068
- m.currency = enumStringToValue$g(Currency, proto.currency);
11094
+ m.currency = enumStringToValue$j(Currency, proto.currency);
11069
11095
  }
11070
11096
  if (proto.paymentSource) {
11071
- m.paymentSource = enumStringToValue$g(PaymentSource, proto.paymentSource);
11097
+ m.paymentSource = enumStringToValue$j(PaymentSource, proto.paymentSource);
11072
11098
  }
11073
11099
  if (proto.allocations) {
11074
11100
  m.allocations = proto.allocations.map(PaymentPaymentAllocation.fromProto);
@@ -11077,7 +11103,7 @@ class Payment {
11077
11103
  m.total = parseInt(proto.total, 10);
11078
11104
  }
11079
11105
  if (proto.status) {
11080
- m.status = enumStringToValue$g(PaymentStatus, proto.status);
11106
+ m.status = enumStringToValue$j(PaymentStatus, proto.status);
11081
11107
  }
11082
11108
  return m;
11083
11109
  }
@@ -11127,7 +11153,7 @@ class PaymentPaymentAllocation {
11127
11153
  m.amount = parseInt(proto.amount, 10);
11128
11154
  }
11129
11155
  if (proto.type) {
11130
- m.type = enumStringToValue$g(PaymentAllocationType, proto.type);
11156
+ m.type = enumStringToValue$j(PaymentAllocationType, proto.type);
11131
11157
  }
11132
11158
  return m;
11133
11159
  }
@@ -11156,13 +11182,13 @@ class PaymentIntent {
11156
11182
  let m = new PaymentIntent();
11157
11183
  m = Object.assign(m, proto);
11158
11184
  if (proto.paymentIntentStatus) {
11159
- m.paymentIntentStatus = enumStringToValue$g(PaymentIntentStatus, proto.paymentIntentStatus);
11185
+ m.paymentIntentStatus = enumStringToValue$j(PaymentIntentStatus, proto.paymentIntentStatus);
11160
11186
  }
11161
11187
  if (proto.paymentMethodType) {
11162
- m.paymentMethodType = enumStringToValue$g(PaymentMethodType, proto.paymentMethodType);
11188
+ m.paymentMethodType = enumStringToValue$j(PaymentMethodType, proto.paymentMethodType);
11163
11189
  }
11164
11190
  if (proto.lastErrorCode) {
11165
- m.lastErrorCode = enumStringToValue$g(PaymentErrorCode, proto.lastErrorCode);
11191
+ m.lastErrorCode = enumStringToValue$j(PaymentErrorCode, proto.lastErrorCode);
11166
11192
  }
11167
11193
  return m;
11168
11194
  }
@@ -11194,7 +11220,7 @@ class PrepareRetailPaymentRequest {
11194
11220
  m.order = PrepareRetailPaymentRequestOrder.fromProto(proto.order);
11195
11221
  }
11196
11222
  if (proto.paymentMethodTypes) {
11197
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$g(PaymentMethodType, v));
11223
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$j(PaymentMethodType, v));
11198
11224
  }
11199
11225
  return m;
11200
11226
  }
@@ -11261,7 +11287,7 @@ class RefundRetailPaymentRequest {
11261
11287
  m.amount = parseInt(proto.amount, 10);
11262
11288
  }
11263
11289
  if (proto.reason) {
11264
- m.reason = enumStringToValue$g(RetailRefundReason, proto.reason);
11290
+ m.reason = enumStringToValue$j(RetailRefundReason, proto.reason);
11265
11291
  }
11266
11292
  return m;
11267
11293
  }
@@ -11322,10 +11348,10 @@ class RetailPayment {
11322
11348
  m.amount = parseInt(proto.amount, 10);
11323
11349
  }
11324
11350
  if (proto.referenceType) {
11325
- m.referenceType = enumStringToValue$g(RetailPaymentReferenceType, proto.referenceType);
11351
+ m.referenceType = enumStringToValue$j(RetailPaymentReferenceType, proto.referenceType);
11326
11352
  }
11327
11353
  if (proto.status) {
11328
- m.status = enumStringToValue$g(PaymentStatus, proto.status);
11354
+ m.status = enumStringToValue$j(PaymentStatus, proto.status);
11329
11355
  }
11330
11356
  if (proto.applicationFee) {
11331
11357
  m.applicationFee = parseInt(proto.applicationFee, 10);
@@ -11340,7 +11366,7 @@ class RetailPayment {
11340
11366
  m.refunds = proto.refunds.map(RetailRefund.fromProto);
11341
11367
  }
11342
11368
  if (proto.paymentMethodDetailsType) {
11343
- m.paymentMethodDetailsType = enumStringToValue$g(RetailPaymentPaymentMethodDetailsType, proto.paymentMethodDetailsType);
11369
+ m.paymentMethodDetailsType = enumStringToValue$j(RetailPaymentPaymentMethodDetailsType, proto.paymentMethodDetailsType);
11344
11370
  }
11345
11371
  if (proto.achDebitDetails) {
11346
11372
  m.achDebitDetails = RetailPaymentACHDetails.fromProto(proto.achDebitDetails);
@@ -11352,7 +11378,7 @@ class RetailPayment {
11352
11378
  m.paymentFacilitatorFee = parseInt(proto.paymentFacilitatorFee, 10);
11353
11379
  }
11354
11380
  if (proto.paymentFacilitatorType) {
11355
- m.paymentFacilitatorType = enumStringToValue$g(PaymentFacilitatorType, proto.paymentFacilitatorType);
11381
+ m.paymentFacilitatorType = enumStringToValue$j(PaymentFacilitatorType, proto.paymentFacilitatorType);
11356
11382
  }
11357
11383
  if (proto.settledAt) {
11358
11384
  m.settledAt = new Date(proto.settledAt);
@@ -11487,13 +11513,13 @@ class RetailRefund {
11487
11513
  m.amount = parseInt(proto.amount, 10);
11488
11514
  }
11489
11515
  if (proto.refundReason) {
11490
- m.refundReason = enumStringToValue$g(RetailRefundReason, proto.refundReason);
11516
+ m.refundReason = enumStringToValue$j(RetailRefundReason, proto.refundReason);
11491
11517
  }
11492
11518
  if (proto.status) {
11493
- m.status = enumStringToValue$g(RetailRefundStatus, proto.status);
11519
+ m.status = enumStringToValue$j(RetailRefundStatus, proto.status);
11494
11520
  }
11495
11521
  if (proto.failureReason) {
11496
- m.failureReason = enumStringToValue$g(RetailRefundFailureReason, proto.failureReason);
11522
+ m.failureReason = enumStringToValue$j(RetailRefundFailureReason, proto.failureReason);
11497
11523
  }
11498
11524
  if (proto.created) {
11499
11525
  m.created = new Date(proto.created);
@@ -11757,7 +11783,7 @@ class RetailStatusResponseVerificationRequirements {
11757
11783
  }
11758
11784
  }
11759
11785
 
11760
- function enumStringToValue$f(enumRef, value) {
11786
+ function enumStringToValue$i(enumRef, value) {
11761
11787
  if (typeof value === 'number') {
11762
11788
  return value;
11763
11789
  }
@@ -11768,7 +11794,7 @@ class CreatePricingPlanProductRequest {
11768
11794
  let m = new CreatePricingPlanProductRequest();
11769
11795
  m = Object.assign(m, proto);
11770
11796
  if (proto.frequency) {
11771
- m.frequency = enumStringToValue$f(Frequency, proto.frequency);
11797
+ m.frequency = enumStringToValue$i(Frequency, proto.frequency);
11772
11798
  }
11773
11799
  if (proto.pricing) {
11774
11800
  m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
@@ -11777,7 +11803,7 @@ class CreatePricingPlanProductRequest {
11777
11803
  m.commitment = Commitment.fromProto(proto.commitment);
11778
11804
  }
11779
11805
  if (proto.strategy) {
11780
- m.strategy = enumStringToValue$f(BillingStrategy, proto.strategy);
11806
+ m.strategy = enumStringToValue$i(BillingStrategy, proto.strategy);
11781
11807
  }
11782
11808
  if (proto.volumeCommitment) {
11783
11809
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -11951,7 +11977,7 @@ class GetPricingPlanProductResponse {
11951
11977
  m.pricingPlanProduct = PricingPlanProduct.fromProto(proto.pricingPlanProduct);
11952
11978
  }
11953
11979
  if (proto.pricingPlanDefaultStrategy) {
11954
- m.pricingPlanDefaultStrategy = enumStringToValue$f(BillingStrategy, proto.pricingPlanDefaultStrategy);
11980
+ m.pricingPlanDefaultStrategy = enumStringToValue$i(BillingStrategy, proto.pricingPlanDefaultStrategy);
11955
11981
  }
11956
11982
  return m;
11957
11983
  }
@@ -12139,7 +12165,7 @@ class PricingPlanProduct {
12139
12165
  let m = new PricingPlanProduct();
12140
12166
  m = Object.assign(m, proto);
12141
12167
  if (proto.frequency) {
12142
- m.frequency = enumStringToValue$f(Frequency, proto.frequency);
12168
+ m.frequency = enumStringToValue$i(Frequency, proto.frequency);
12143
12169
  }
12144
12170
  if (proto.pricing) {
12145
12171
  m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
@@ -12154,7 +12180,7 @@ class PricingPlanProduct {
12154
12180
  m.modified = new Date(proto.modified);
12155
12181
  }
12156
12182
  if (proto.strategy) {
12157
- m.strategy = enumStringToValue$f(BillingStrategy, proto.strategy);
12183
+ m.strategy = enumStringToValue$i(BillingStrategy, proto.strategy);
12158
12184
  }
12159
12185
  if (proto.volumeCommitment) {
12160
12186
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -12166,7 +12192,7 @@ class PricingPlanProduct {
12166
12192
  m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);
12167
12193
  }
12168
12194
  if (proto.pricingType) {
12169
- m.pricingType = enumStringToValue$f(ProductPricingType, proto.pricingType);
12195
+ m.pricingType = enumStringToValue$i(ProductPricingType, proto.pricingType);
12170
12196
  }
12171
12197
  return m;
12172
12198
  }
@@ -12222,7 +12248,7 @@ class UpdatePricingPlanProductRequest {
12222
12248
  let m = new UpdatePricingPlanProductRequest();
12223
12249
  m = Object.assign(m, proto);
12224
12250
  if (proto.frequency) {
12225
- m.frequency = enumStringToValue$f(Frequency, proto.frequency);
12251
+ m.frequency = enumStringToValue$i(Frequency, proto.frequency);
12226
12252
  }
12227
12253
  if (proto.pricing) {
12228
12254
  m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
@@ -12234,7 +12260,7 @@ class UpdatePricingPlanProductRequest {
12234
12260
  m.fieldMask = FieldMask.fromProto(proto.fieldMask);
12235
12261
  }
12236
12262
  if (proto.strategy) {
12237
- m.strategy = enumStringToValue$f(BillingStrategy, proto.strategy);
12263
+ m.strategy = enumStringToValue$i(BillingStrategy, proto.strategy);
12238
12264
  }
12239
12265
  if (proto.volumeCommitment) {
12240
12266
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -12316,7 +12342,7 @@ class UpsertWholesalePricingRequest {
12316
12342
  m.termCommitment = Commitment.fromProto(proto.termCommitment);
12317
12343
  }
12318
12344
  if (proto.strategy) {
12319
- m.strategy = enumStringToValue$f(BillingStrategy, proto.strategy);
12345
+ m.strategy = enumStringToValue$i(BillingStrategy, proto.strategy);
12320
12346
  }
12321
12347
  if (proto.volumeCommitment) {
12322
12348
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -12365,7 +12391,7 @@ class UpsertWholesalePricingRequest {
12365
12391
  }
12366
12392
  }
12367
12393
 
12368
- function enumStringToValue$e(enumRef, value) {
12394
+ function enumStringToValue$h(enumRef, value) {
12369
12395
  if (typeof value === 'number') {
12370
12396
  return value;
12371
12397
  }
@@ -12376,7 +12402,7 @@ class CreateProductRequest {
12376
12402
  let m = new CreateProductRequest();
12377
12403
  m = Object.assign(m, proto);
12378
12404
  if (proto.productType) {
12379
- m.productType = enumStringToValue$e(ProductType, proto.productType);
12405
+ m.productType = enumStringToValue$h(ProductType, proto.productType);
12380
12406
  }
12381
12407
  return m;
12382
12408
  }
@@ -12480,7 +12506,7 @@ class ListProductsRequestListProductsFilters {
12480
12506
  let m = new ListProductsRequestListProductsFilters();
12481
12507
  m = Object.assign(m, proto);
12482
12508
  if (proto.productType) {
12483
- m.productType = proto.productType.map((v) => enumStringToValue$e(ProductType, v));
12509
+ m.productType = proto.productType.map((v) => enumStringToValue$h(ProductType, v));
12484
12510
  }
12485
12511
  return m;
12486
12512
  }
@@ -12576,7 +12602,7 @@ class Product {
12576
12602
  let m = new Product();
12577
12603
  m = Object.assign(m, proto);
12578
12604
  if (proto.productType) {
12579
- m.productType = enumStringToValue$e(ProductType, proto.productType);
12605
+ m.productType = enumStringToValue$h(ProductType, proto.productType);
12580
12606
  }
12581
12607
  return m;
12582
12608
  }
@@ -12643,7 +12669,7 @@ class UpdateProductRequest {
12643
12669
  let m = new UpdateProductRequest();
12644
12670
  m = Object.assign(m, proto);
12645
12671
  if (proto.productType) {
12646
- m.productType = enumStringToValue$e(ProductType, proto.productType);
12672
+ m.productType = enumStringToValue$h(ProductType, proto.productType);
12647
12673
  }
12648
12674
  return m;
12649
12675
  }
@@ -12674,7 +12700,7 @@ class UpdateProductRequest {
12674
12700
  }
12675
12701
  }
12676
12702
 
12677
- function enumStringToValue$d(enumRef, value) {
12703
+ function enumStringToValue$g(enumRef, value) {
12678
12704
  if (typeof value === 'number') {
12679
12705
  return value;
12680
12706
  }
@@ -12688,7 +12714,7 @@ class AppliedCredit {
12688
12714
  m.appliedAmount = parseInt(proto.appliedAmount, 10);
12689
12715
  }
12690
12716
  if (proto.referenceType) {
12691
- m.referenceType = enumStringToValue$d(CreditType, proto.referenceType);
12717
+ m.referenceType = enumStringToValue$g(CreditType, proto.referenceType);
12692
12718
  }
12693
12719
  return m;
12694
12720
  }
@@ -12717,7 +12743,7 @@ class ListPurchaseRequestListPurchaseBillingStrategyFilter {
12717
12743
  let m = new ListPurchaseRequestListPurchaseBillingStrategyFilter();
12718
12744
  m = Object.assign(m, proto);
12719
12745
  if (proto.billingStrategy) {
12720
- m.billingStrategy = proto.billingStrategy.map((v) => enumStringToValue$d(BillingStrategy, v));
12746
+ m.billingStrategy = proto.billingStrategy.map((v) => enumStringToValue$g(BillingStrategy, v));
12721
12747
  }
12722
12748
  return m;
12723
12749
  }
@@ -12749,13 +12775,13 @@ class ListPurchaseRequestListPurchaseFilters {
12749
12775
  m.billingStrategyFilter = ListPurchaseRequestListPurchaseBillingStrategyFilter.fromProto(proto.billingStrategyFilter);
12750
12776
  }
12751
12777
  if (proto.state) {
12752
- m.state = enumStringToValue$d(ListPurchaseRequestState, proto.state);
12778
+ m.state = enumStringToValue$g(ListPurchaseRequestState, proto.state);
12753
12779
  }
12754
12780
  if (proto.minPrice) {
12755
12781
  m.minPrice = parseInt(proto.minPrice, 10);
12756
12782
  }
12757
12783
  if (proto.status) {
12758
- m.status = enumStringToValue$d(PurchaseStatus, proto.status);
12784
+ m.status = enumStringToValue$g(PurchaseStatus, proto.status);
12759
12785
  }
12760
12786
  if (proto.dunningPauseStart) {
12761
12787
  m.dunningPauseStart = new Date(proto.dunningPauseStart);
@@ -12884,7 +12910,7 @@ class ListPurchaseItemsResponse {
12884
12910
  m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);
12885
12911
  }
12886
12912
  if (proto.currency) {
12887
- m.currency = enumStringToValue$d(Currency, proto.currency);
12913
+ m.currency = enumStringToValue$g(Currency, proto.currency);
12888
12914
  }
12889
12915
  return m;
12890
12916
  }
@@ -13009,13 +13035,13 @@ class Purchase {
13009
13035
  m.total = parseInt(proto.total, 10);
13010
13036
  }
13011
13037
  if (proto.currency) {
13012
- m.currency = enumStringToValue$d(Currency, proto.currency);
13038
+ m.currency = enumStringToValue$g(Currency, proto.currency);
13013
13039
  }
13014
13040
  if (proto.items) {
13015
13041
  m.items = proto.items.map(PurchaseItem.fromProto);
13016
13042
  }
13017
13043
  if (proto.billingStrategy) {
13018
- m.billingStrategy = enumStringToValue$d(BillingStrategy, proto.billingStrategy);
13044
+ m.billingStrategy = enumStringToValue$g(BillingStrategy, proto.billingStrategy);
13019
13045
  }
13020
13046
  if (proto.dunningAttempt) {
13021
13047
  m.dunningAttempt = parseInt(proto.dunningAttempt, 10);
@@ -13024,7 +13050,7 @@ class Purchase {
13024
13050
  m.voided = new Date(proto.voided);
13025
13051
  }
13026
13052
  if (proto.status) {
13027
- m.status = enumStringToValue$d(PurchaseStatus, proto.status);
13053
+ m.status = enumStringToValue$g(PurchaseStatus, proto.status);
13028
13054
  }
13029
13055
  if (proto.creditAmount) {
13030
13056
  m.creditAmount = parseInt(proto.creditAmount, 10);
@@ -13308,7 +13334,7 @@ class VoidPurchaseRequest {
13308
13334
  }
13309
13335
  }
13310
13336
 
13311
- function enumStringToValue$c(enumRef, value) {
13337
+ function enumStringToValue$f(enumRef, value) {
13312
13338
  if (typeof value === 'number') {
13313
13339
  return value;
13314
13340
  }
@@ -13322,10 +13348,10 @@ class CreateRefundRequest {
13322
13348
  m.amount = parseInt(proto.amount, 10);
13323
13349
  }
13324
13350
  if (proto.reason) {
13325
- m.reason = enumStringToValue$c(RefundReason, proto.reason);
13351
+ m.reason = enumStringToValue$f(RefundReason, proto.reason);
13326
13352
  }
13327
13353
  if (proto.referenceType) {
13328
- m.referenceType = enumStringToValue$c(ReferenceType, proto.referenceType);
13354
+ m.referenceType = enumStringToValue$f(ReferenceType, proto.referenceType);
13329
13355
  }
13330
13356
  return m;
13331
13357
  }
@@ -13430,10 +13456,10 @@ class Refund {
13430
13456
  m.amount = parseInt(proto.amount, 10);
13431
13457
  }
13432
13458
  if (proto.reason) {
13433
- m.reason = enumStringToValue$c(RefundReason, proto.reason);
13459
+ m.reason = enumStringToValue$f(RefundReason, proto.reason);
13434
13460
  }
13435
13461
  if (proto.status) {
13436
- m.status = enumStringToValue$c(RefundStatus, proto.status);
13462
+ m.status = enumStringToValue$f(RefundStatus, proto.status);
13437
13463
  }
13438
13464
  if (proto.created) {
13439
13465
  m.created = new Date(proto.created);
@@ -13442,7 +13468,7 @@ class Refund {
13442
13468
  m.updated = new Date(proto.updated);
13443
13469
  }
13444
13470
  if (proto.referenceType) {
13445
- m.referenceType = enumStringToValue$c(ReferenceType, proto.referenceType);
13471
+ m.referenceType = enumStringToValue$f(ReferenceType, proto.referenceType);
13446
13472
  }
13447
13473
  return m;
13448
13474
  }
@@ -13494,7 +13520,7 @@ class Refund {
13494
13520
  }
13495
13521
  }
13496
13522
 
13497
- function enumStringToValue$b(enumRef, value) {
13523
+ function enumStringToValue$e(enumRef, value) {
13498
13524
  if (typeof value === 'number') {
13499
13525
  return value;
13500
13526
  }
@@ -13549,7 +13575,7 @@ class ListSalesCreditNoteRequestListSalesCreditNoteFilters {
13549
13575
  let m = new ListSalesCreditNoteRequestListSalesCreditNoteFilters();
13550
13576
  m = Object.assign(m, proto);
13551
13577
  if (proto.statuses) {
13552
- m.statuses = proto.statuses.map((v) => enumStringToValue$b(SalesCreditNoteStatus, v));
13578
+ m.statuses = proto.statuses.map((v) => enumStringToValue$e(SalesCreditNoteStatus, v));
13553
13579
  }
13554
13580
  return m;
13555
13581
  }
@@ -13639,7 +13665,7 @@ class SalesCreditNote {
13639
13665
  m.dueDate = new Date(proto.dueDate);
13640
13666
  }
13641
13667
  if (proto.currency) {
13642
- m.currency = enumStringToValue$b(Currency, proto.currency);
13668
+ m.currency = enumStringToValue$e(Currency, proto.currency);
13643
13669
  }
13644
13670
  if (proto.total) {
13645
13671
  m.total = parseInt(proto.total, 10);
@@ -13648,7 +13674,7 @@ class SalesCreditNote {
13648
13674
  m.outstanding = parseInt(proto.outstanding, 10);
13649
13675
  }
13650
13676
  if (proto.status) {
13651
- m.status = enumStringToValue$b(SalesCreditNoteStatus, proto.status);
13677
+ m.status = enumStringToValue$e(SalesCreditNoteStatus, proto.status);
13652
13678
  }
13653
13679
  return m;
13654
13680
  }
@@ -13706,7 +13732,7 @@ class SalesCreditNote {
13706
13732
  }
13707
13733
  }
13708
13734
 
13709
- function enumStringToValue$a(enumRef, value) {
13735
+ function enumStringToValue$d(enumRef, value) {
13710
13736
  if (typeof value === 'number') {
13711
13737
  return value;
13712
13738
  }
@@ -13763,10 +13789,10 @@ class ListSalesInvoiceRequestListSalesInvoiceFilters {
13763
13789
  let m = new ListSalesInvoiceRequestListSalesInvoiceFilters();
13764
13790
  m = Object.assign(m, proto);
13765
13791
  if (proto.statuses) {
13766
- m.statuses = proto.statuses.map((v) => enumStringToValue$a(SalesInvoiceStatus, v));
13792
+ m.statuses = proto.statuses.map((v) => enumStringToValue$d(SalesInvoiceStatus, v));
13767
13793
  }
13768
13794
  if (proto.paymentStatuses) {
13769
- m.paymentStatuses = proto.paymentStatuses.map((v) => enumStringToValue$a(PaymentStatuses, v));
13795
+ m.paymentStatuses = proto.paymentStatuses.map((v) => enumStringToValue$d(PaymentStatuses, v));
13770
13796
  }
13771
13797
  return m;
13772
13798
  }
@@ -13894,16 +13920,16 @@ class SalesInvoice {
13894
13920
  m.total = parseInt(proto.total, 10);
13895
13921
  }
13896
13922
  if (proto.currency) {
13897
- m.currency = enumStringToValue$a(Currency, proto.currency);
13923
+ m.currency = enumStringToValue$d(Currency, proto.currency);
13898
13924
  }
13899
13925
  if (proto.status) {
13900
- m.status = enumStringToValue$a(SalesInvoiceStatus, proto.status);
13926
+ m.status = enumStringToValue$d(SalesInvoiceStatus, proto.status);
13901
13927
  }
13902
13928
  if (proto.outstanding) {
13903
13929
  m.outstanding = parseInt(proto.outstanding, 10);
13904
13930
  }
13905
13931
  if (proto.type) {
13906
- m.type = enumStringToValue$a(SalesInvoiceType, proto.type);
13932
+ m.type = enumStringToValue$d(SalesInvoiceType, proto.type);
13907
13933
  }
13908
13934
  return m;
13909
13935
  }
@@ -14007,7 +14033,7 @@ class SendSalesInvoiceReceiptEmailRequest {
14007
14033
  }
14008
14034
  }
14009
14035
 
14010
- function enumStringToValue$9(enumRef, value) {
14036
+ function enumStringToValue$c(enumRef, value) {
14011
14037
  if (typeof value === 'number') {
14012
14038
  return value;
14013
14039
  }
@@ -14116,10 +14142,10 @@ class ListTaxRulesRequestFilters {
14116
14142
  let m = new ListTaxRulesRequestFilters();
14117
14143
  m = Object.assign(m, proto);
14118
14144
  if (proto.consumer) {
14119
- m.consumer = enumStringToValue$9(Consumer, proto.consumer);
14145
+ m.consumer = enumStringToValue$c(Consumer, proto.consumer);
14120
14146
  }
14121
14147
  if (proto.entityType) {
14122
- m.entityType = enumStringToValue$9(TaxRuleEntityType, proto.entityType);
14148
+ m.entityType = enumStringToValue$c(TaxRuleEntityType, proto.entityType);
14123
14149
  }
14124
14150
  return m;
14125
14151
  }
@@ -14168,7 +14194,7 @@ class GetTaxProviderResponse {
14168
14194
  let m = new GetTaxProviderResponse();
14169
14195
  m = Object.assign(m, proto);
14170
14196
  if (proto.taxProviderType) {
14171
- m.taxProviderType = enumStringToValue$9(TaxProviderType, proto.taxProviderType);
14197
+ m.taxProviderType = enumStringToValue$c(TaxProviderType, proto.taxProviderType);
14172
14198
  }
14173
14199
  return m;
14174
14200
  }
@@ -14292,7 +14318,7 @@ class TaxRuleProductProductIdentifier {
14292
14318
  let m = new TaxRuleProductProductIdentifier();
14293
14319
  m = Object.assign(m, proto);
14294
14320
  if (proto.type) {
14295
- m.type = enumStringToValue$9(ProductType, proto.type);
14321
+ m.type = enumStringToValue$c(ProductType, proto.type);
14296
14322
  }
14297
14323
  return m;
14298
14324
  }
@@ -14321,13 +14347,13 @@ class ReplaceTaxRuleRequest {
14321
14347
  let m = new ReplaceTaxRuleRequest();
14322
14348
  m = Object.assign(m, proto);
14323
14349
  if (proto.entityType) {
14324
- m.entityType = enumStringToValue$9(TaxRuleEntityType, proto.entityType);
14350
+ m.entityType = enumStringToValue$c(TaxRuleEntityType, proto.entityType);
14325
14351
  }
14326
14352
  if (proto.type) {
14327
- m.type = enumStringToValue$9(TaxRuleType, proto.type);
14353
+ m.type = enumStringToValue$c(TaxRuleType, proto.type);
14328
14354
  }
14329
14355
  if (proto.consumer) {
14330
- m.consumer = enumStringToValue$9(Consumer, proto.consumer);
14356
+ m.consumer = enumStringToValue$c(Consumer, proto.consumer);
14331
14357
  }
14332
14358
  return m;
14333
14359
  }
@@ -14385,13 +14411,13 @@ class TaxRule {
14385
14411
  let m = new TaxRule();
14386
14412
  m = Object.assign(m, proto);
14387
14413
  if (proto.entityType) {
14388
- m.entityType = enumStringToValue$9(TaxRuleEntityType, proto.entityType);
14414
+ m.entityType = enumStringToValue$c(TaxRuleEntityType, proto.entityType);
14389
14415
  }
14390
14416
  if (proto.entity) {
14391
14417
  m.entity = TaxRuleTaxRuleEntity.fromProto(proto.entity);
14392
14418
  }
14393
14419
  if (proto.type) {
14394
- m.type = enumStringToValue$9(TaxRuleType, proto.type);
14420
+ m.type = enumStringToValue$c(TaxRuleType, proto.type);
14395
14421
  }
14396
14422
  if (proto.taxRates) {
14397
14423
  m.taxRates = proto.taxRates.map(TaxRate.fromProto);
@@ -14512,7 +14538,7 @@ class TaxRuleProduct {
14512
14538
  }
14513
14539
  }
14514
14540
 
14515
- function enumStringToValue$8(enumRef, value) {
14541
+ function enumStringToValue$b(enumRef, value) {
14516
14542
  if (typeof value === 'number') {
14517
14543
  return value;
14518
14544
  }
@@ -14652,7 +14678,7 @@ class ListContractDocumentsResponse {
14652
14678
  }
14653
14679
  }
14654
14680
 
14655
- function enumStringToValue$7(enumRef, value) {
14681
+ function enumStringToValue$a(enumRef, value) {
14656
14682
  if (typeof value === 'number') {
14657
14683
  return value;
14658
14684
  }
@@ -14718,7 +14744,7 @@ class RetailCustomerConfiguration {
14718
14744
  m.netD = parseInt(proto.netD, 10);
14719
14745
  }
14720
14746
  if (proto.paymentMethodTypes) {
14721
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$7(PaymentMethodType, v));
14747
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$a(PaymentMethodType, v));
14722
14748
  }
14723
14749
  return m;
14724
14750
  }
@@ -14786,7 +14812,7 @@ class UpsertRetailCustomerConfigurationRequest {
14786
14812
  m.netD = parseInt(proto.netD, 10);
14787
14813
  }
14788
14814
  if (proto.paymentMethodTypes) {
14789
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$7(PaymentMethodType, v));
14815
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$a(PaymentMethodType, v));
14790
14816
  }
14791
14817
  if (proto.fieldMask) {
14792
14818
  m.fieldMask = FieldMask.fromProto(proto.fieldMask);
@@ -14847,7 +14873,7 @@ class UpsertRetailCustomerConfigurationRequest {
14847
14873
  }
14848
14874
  }
14849
14875
 
14850
- function enumStringToValue$6(enumRef, value) {
14876
+ function enumStringToValue$9(enumRef, value) {
14851
14877
  if (typeof value === 'number') {
14852
14878
  return value;
14853
14879
  }
@@ -14964,7 +14990,7 @@ class GetBalanceResponse {
14964
14990
  }
14965
14991
  }
14966
14992
 
14967
- function enumStringToValue$5(enumRef, value) {
14993
+ function enumStringToValue$8(enumRef, value) {
14968
14994
  if (typeof value === 'number') {
14969
14995
  return value;
14970
14996
  }
@@ -14975,7 +15001,7 @@ class CreateMerchantServicesReportRun {
14975
15001
  let m = new CreateMerchantServicesReportRun();
14976
15002
  m = Object.assign(m, proto);
14977
15003
  if (proto.reportType) {
14978
- m.reportType = enumStringToValue$5(MerchantServicesReportRunType, proto.reportType);
15004
+ m.reportType = enumStringToValue$8(MerchantServicesReportRunType, proto.reportType);
14979
15005
  }
14980
15006
  if (proto.intervalStart) {
14981
15007
  m.intervalStart = new Date(proto.intervalStart);
@@ -15039,10 +15065,10 @@ class MerchantServicesReportRun {
15039
15065
  m.created = new Date(proto.created);
15040
15066
  }
15041
15067
  if (proto.reportType) {
15042
- m.reportType = enumStringToValue$5(MerchantServicesReportRunType, proto.reportType);
15068
+ m.reportType = enumStringToValue$8(MerchantServicesReportRunType, proto.reportType);
15043
15069
  }
15044
15070
  if (proto.status) {
15045
- m.status = enumStringToValue$5(MerchantServicesReportRunStatus, proto.status);
15071
+ m.status = enumStringToValue$8(MerchantServicesReportRunStatus, proto.status);
15046
15072
  }
15047
15073
  return m;
15048
15074
  }
@@ -15073,7 +15099,7 @@ class MerchantServicesReportRun {
15073
15099
  }
15074
15100
  }
15075
15101
 
15076
- function enumStringToValue$4(enumRef, value) {
15102
+ function enumStringToValue$7(enumRef, value) {
15077
15103
  if (typeof value === 'number') {
15078
15104
  return value;
15079
15105
  }
@@ -15123,7 +15149,7 @@ class MCPOptions {
15123
15149
  }
15124
15150
  }
15125
15151
 
15126
- function enumStringToValue$3(enumRef, value) {
15152
+ function enumStringToValue$6(enumRef, value) {
15127
15153
  if (typeof value === 'number') {
15128
15154
  return value;
15129
15155
  }
@@ -15134,13 +15160,13 @@ class ListSubscriptionRelationshipsRequestFilters {
15134
15160
  let m = new ListSubscriptionRelationshipsRequestFilters();
15135
15161
  m = Object.assign(m, proto);
15136
15162
  if (proto.originType) {
15137
- m.originType = enumStringToValue$3(EntityType, proto.originType);
15163
+ m.originType = enumStringToValue$6(EntityType, proto.originType);
15138
15164
  }
15139
15165
  if (proto.targetType) {
15140
- m.targetType = enumStringToValue$3(EntityType, proto.targetType);
15166
+ m.targetType = enumStringToValue$6(EntityType, proto.targetType);
15141
15167
  }
15142
15168
  if (proto.relationshipType) {
15143
- m.relationshipType = enumStringToValue$3(RelationshipType, proto.relationshipType);
15169
+ m.relationshipType = enumStringToValue$6(RelationshipType, proto.relationshipType);
15144
15170
  }
15145
15171
  return m;
15146
15172
  }
@@ -15328,13 +15354,13 @@ class SubscriptionRelationship {
15328
15354
  let m = new SubscriptionRelationship();
15329
15355
  m = Object.assign(m, proto);
15330
15356
  if (proto.originType) {
15331
- m.originType = enumStringToValue$3(EntityType, proto.originType);
15357
+ m.originType = enumStringToValue$6(EntityType, proto.originType);
15332
15358
  }
15333
15359
  if (proto.targetType) {
15334
- m.targetType = enumStringToValue$3(EntityType, proto.targetType);
15360
+ m.targetType = enumStringToValue$6(EntityType, proto.targetType);
15335
15361
  }
15336
15362
  if (proto.relationshipType) {
15337
- m.relationshipType = enumStringToValue$3(RelationshipType, proto.relationshipType);
15363
+ m.relationshipType = enumStringToValue$6(RelationshipType, proto.relationshipType);
15338
15364
  }
15339
15365
  if (proto.created) {
15340
15366
  m.created = new Date(proto.created);
@@ -15392,7 +15418,7 @@ class SubscriptionRelationship {
15392
15418
  }
15393
15419
  }
15394
15420
 
15395
- function enumStringToValue$2(enumRef, value) {
15421
+ function enumStringToValue$5(enumRef, value) {
15396
15422
  if (typeof value === 'number') {
15397
15423
  return value;
15398
15424
  }
@@ -15491,11 +15517,14 @@ class SubscriptionPreset {
15491
15517
  if (typeof this.invoiceId !== 'undefined') {
15492
15518
  toReturn['invoiceId'] = this.invoiceId;
15493
15519
  }
15520
+ if (typeof this.retailSubscriptionGroupId !== 'undefined') {
15521
+ toReturn['retailSubscriptionGroupId'] = this.retailSubscriptionGroupId;
15522
+ }
15494
15523
  return toReturn;
15495
15524
  }
15496
15525
  }
15497
15526
 
15498
- function enumStringToValue$1(enumRef, value) {
15527
+ function enumStringToValue$4(enumRef, value) {
15499
15528
  if (typeof value === 'number') {
15500
15529
  return value;
15501
15530
  }
@@ -15506,13 +15535,13 @@ class AppliedTo {
15506
15535
  let m = new AppliedTo();
15507
15536
  m = Object.assign(m, proto);
15508
15537
  if (proto.referenceType) {
15509
- m.referenceType = enumStringToValue$1(AppliedReferenceType, proto.referenceType);
15538
+ m.referenceType = enumStringToValue$4(AppliedReferenceType, proto.referenceType);
15510
15539
  }
15511
15540
  if (proto.amount) {
15512
15541
  m.amount = parseInt(proto.amount, 10);
15513
15542
  }
15514
15543
  if (proto.creditNoteType) {
15515
- m.creditNoteType = enumStringToValue$1(CreditNoteType, proto.creditNoteType);
15544
+ m.creditNoteType = enumStringToValue$4(CreditNoteType, proto.creditNoteType);
15516
15545
  }
15517
15546
  if (proto.appliedAt) {
15518
15547
  m.appliedAt = new Date(proto.appliedAt);
@@ -15660,7 +15689,7 @@ class CreditNote {
15660
15689
  m.items = proto.items.map(LineItem.fromProto);
15661
15690
  }
15662
15691
  if (proto.currency) {
15663
- m.currency = enumStringToValue$1(Currency, proto.currency);
15692
+ m.currency = enumStringToValue$4(Currency, proto.currency);
15664
15693
  }
15665
15694
  if (proto.amountTax) {
15666
15695
  m.amountTax = parseInt(proto.amountTax, 10);
@@ -15672,7 +15701,7 @@ class CreditNote {
15672
15701
  m.notes = proto.notes.map(Note.fromProto);
15673
15702
  }
15674
15703
  if (proto.reason) {
15675
- m.reason = enumStringToValue$1(CreditNoteReason, proto.reason);
15704
+ m.reason = enumStringToValue$4(CreditNoteReason, proto.reason);
15676
15705
  }
15677
15706
  if (proto.appliedTo) {
15678
15707
  m.appliedTo = proto.appliedTo.map(AppliedTo.fromProto);
@@ -16012,16 +16041,19 @@ class SendCreditNoteRequest {
16012
16041
  }
16013
16042
  }
16014
16043
 
16015
- function enumStringToValue(enumRef, value) {
16044
+ function enumStringToValue$3(enumRef, value) {
16016
16045
  if (typeof value === 'number') {
16017
16046
  return value;
16018
16047
  }
16019
16048
  return enumRef[value];
16020
16049
  }
16021
- class DeleteRetailPricingRequest {
16050
+ class CreateRetailSubscriptionGroupRequest {
16022
16051
  static fromProto(proto) {
16023
- let m = new DeleteRetailPricingRequest();
16052
+ let m = new CreateRetailSubscriptionGroupRequest();
16024
16053
  m = Object.assign(m, proto);
16054
+ if (proto.retailSubscriptionGroup) {
16055
+ m.retailSubscriptionGroup = RetailSubscriptionGroup.fromProto(proto.retailSubscriptionGroup);
16056
+ }
16025
16057
  return m;
16026
16058
  }
16027
16059
  constructor(kwargs) {
@@ -16032,34 +16064,16 @@ class DeleteRetailPricingRequest {
16032
16064
  }
16033
16065
  toApiJson() {
16034
16066
  const toReturn = {};
16035
- if (typeof this.merchantId !== 'undefined') {
16036
- toReturn['merchantId'] = this.merchantId;
16037
- }
16038
- if (typeof this.sku !== 'undefined') {
16039
- toReturn['sku'] = this.sku;
16040
- }
16041
- if (typeof this.groupId !== 'undefined') {
16042
- toReturn['groupId'] = this.groupId;
16043
- }
16044
- if (typeof this.customerId !== 'undefined') {
16045
- toReturn['customerId'] = this.customerId;
16046
- }
16047
- if (typeof this.subscriptionId !== 'undefined') {
16048
- toReturn['subscriptionId'] = this.subscriptionId;
16067
+ if (typeof this.retailSubscriptionGroup !== 'undefined' && this.retailSubscriptionGroup !== null) {
16068
+ toReturn['retailSubscriptionGroup'] = 'toApiJson' in this.retailSubscriptionGroup ? this.retailSubscriptionGroup.toApiJson() : this.retailSubscriptionGroup;
16049
16069
  }
16050
16070
  return toReturn;
16051
16071
  }
16052
16072
  }
16053
- class GenerateBillableItemsCSVRequest {
16073
+ class CreateRetailSubscriptionGroupResponse {
16054
16074
  static fromProto(proto) {
16055
- let m = new GenerateBillableItemsCSVRequest();
16075
+ let m = new CreateRetailSubscriptionGroupResponse();
16056
16076
  m = Object.assign(m, proto);
16057
- if (proto.periodStart) {
16058
- m.periodStart = new Date(proto.periodStart);
16059
- }
16060
- if (proto.periodEnd) {
16061
- m.periodEnd = new Date(proto.periodEnd);
16062
- }
16063
16077
  return m;
16064
16078
  }
16065
16079
  constructor(kwargs) {
@@ -16070,22 +16084,19 @@ class GenerateBillableItemsCSVRequest {
16070
16084
  }
16071
16085
  toApiJson() {
16072
16086
  const toReturn = {};
16073
- if (typeof this.merchantId !== 'undefined') {
16074
- toReturn['merchantId'] = this.merchantId;
16075
- }
16076
- if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {
16077
- toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;
16078
- }
16079
- if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {
16080
- toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;
16087
+ if (typeof this.id !== 'undefined') {
16088
+ toReturn['id'] = this.id;
16081
16089
  }
16082
16090
  return toReturn;
16083
16091
  }
16084
16092
  }
16085
- class GenerateBillableItemsCSVResponse {
16093
+ class RetailSubscriptionGroup {
16086
16094
  static fromProto(proto) {
16087
- let m = new GenerateBillableItemsCSVResponse();
16095
+ let m = new RetailSubscriptionGroup();
16088
16096
  m = Object.assign(m, proto);
16097
+ if (proto.displayOption) {
16098
+ m.displayOption = enumStringToValue$3(DisplayOption, proto.displayOption);
16099
+ }
16089
16100
  return m;
16090
16101
  }
16091
16102
  constructor(kwargs) {
@@ -16096,22 +16107,29 @@ class GenerateBillableItemsCSVResponse {
16096
16107
  }
16097
16108
  toApiJson() {
16098
16109
  const toReturn = {};
16099
- if (typeof this.url !== 'undefined') {
16100
- toReturn['url'] = this.url;
16110
+ if (typeof this.id !== 'undefined') {
16111
+ toReturn['id'] = this.id;
16112
+ }
16113
+ if (typeof this.name !== 'undefined') {
16114
+ toReturn['name'] = this.name;
16115
+ }
16116
+ if (typeof this.displayOption !== 'undefined') {
16117
+ toReturn['displayOption'] = this.displayOption;
16101
16118
  }
16102
16119
  return toReturn;
16103
16120
  }
16104
16121
  }
16105
- class GenerateVendorReportRequest {
16122
+
16123
+ function enumStringToValue$2(enumRef, value) {
16124
+ if (typeof value === 'number') {
16125
+ return value;
16126
+ }
16127
+ return enumRef[value];
16128
+ }
16129
+ class GetVendorSplitRequest {
16106
16130
  static fromProto(proto) {
16107
- let m = new GenerateVendorReportRequest();
16131
+ let m = new GetVendorSplitRequest();
16108
16132
  m = Object.assign(m, proto);
16109
- if (proto.periodStart) {
16110
- m.periodStart = new Date(proto.periodStart);
16111
- }
16112
- if (proto.periodEnd) {
16113
- m.periodEnd = new Date(proto.periodEnd);
16114
- }
16115
16133
  return m;
16116
16134
  }
16117
16135
  constructor(kwargs) {
@@ -16122,31 +16140,19 @@ class GenerateVendorReportRequest {
16122
16140
  }
16123
16141
  toApiJson() {
16124
16142
  const toReturn = {};
16125
- if (typeof this.skus !== 'undefined') {
16126
- toReturn['skus'] = this.skus;
16127
- }
16128
- if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {
16129
- toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;
16130
- }
16131
- if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {
16132
- toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;
16133
- }
16134
- if (typeof this.vendorName !== 'undefined') {
16135
- toReturn['vendorName'] = this.vendorName;
16136
- }
16137
- if (typeof this.markAsApproved !== 'undefined') {
16138
- toReturn['markAsApproved'] = this.markAsApproved;
16139
- }
16140
- if (typeof this.vendorMerchantId !== 'undefined') {
16141
- toReturn['vendorMerchantId'] = this.vendorMerchantId;
16143
+ if (typeof this.sku !== 'undefined') {
16144
+ toReturn['sku'] = this.sku;
16142
16145
  }
16143
16146
  return toReturn;
16144
16147
  }
16145
16148
  }
16146
- class GenerateVendorReportResponse {
16149
+ class GetVendorSplitResponse {
16147
16150
  static fromProto(proto) {
16148
- let m = new GenerateVendorReportResponse();
16151
+ let m = new GetVendorSplitResponse();
16149
16152
  m = Object.assign(m, proto);
16153
+ if (proto.vendorSplit) {
16154
+ m.vendorSplit = VendorSplit.fromProto(proto.vendorSplit);
16155
+ }
16150
16156
  return m;
16151
16157
  }
16152
16158
  constructor(kwargs) {
@@ -16157,22 +16163,19 @@ class GenerateVendorReportResponse {
16157
16163
  }
16158
16164
  toApiJson() {
16159
16165
  const toReturn = {};
16160
- if (typeof this.url !== 'undefined') {
16161
- toReturn['url'] = this.url;
16162
- }
16163
- if (typeof this.bucket !== 'undefined') {
16164
- toReturn['bucket'] = this.bucket;
16165
- }
16166
- if (typeof this.filename !== 'undefined') {
16167
- toReturn['filename'] = this.filename;
16166
+ if (typeof this.vendorSplit !== 'undefined' && this.vendorSplit !== null) {
16167
+ toReturn['vendorSplit'] = 'toApiJson' in this.vendorSplit ? this.vendorSplit.toApiJson() : this.vendorSplit;
16168
16168
  }
16169
16169
  return toReturn;
16170
16170
  }
16171
16171
  }
16172
- class GetMultiBundleRetailPricingRequest {
16172
+ class UpsertVendorSplitRequest {
16173
16173
  static fromProto(proto) {
16174
- let m = new GetMultiBundleRetailPricingRequest();
16174
+ let m = new UpsertVendorSplitRequest();
16175
16175
  m = Object.assign(m, proto);
16176
+ if (proto.vendorSplit) {
16177
+ m.vendorSplit = VendorSplit.fromProto(proto.vendorSplit);
16178
+ }
16176
16179
  return m;
16177
16180
  }
16178
16181
  constructor(kwargs) {
@@ -16183,24 +16186,18 @@ class GetMultiBundleRetailPricingRequest {
16183
16186
  }
16184
16187
  toApiJson() {
16185
16188
  const toReturn = {};
16186
- if (typeof this.merchantId !== 'undefined') {
16187
- toReturn['merchantId'] = this.merchantId;
16188
- }
16189
- if (typeof this.storeId !== 'undefined') {
16190
- toReturn['storeId'] = this.storeId;
16191
- }
16192
- if (typeof this.bundleIds !== 'undefined') {
16193
- toReturn['bundleIds'] = this.bundleIds;
16189
+ if (typeof this.vendorSplit !== 'undefined' && this.vendorSplit !== null) {
16190
+ toReturn['vendorSplit'] = 'toApiJson' in this.vendorSplit ? this.vendorSplit.toApiJson() : this.vendorSplit;
16194
16191
  }
16195
16192
  return toReturn;
16196
16193
  }
16197
16194
  }
16198
- class GetMultiBundleRetailPricingResponse {
16195
+ class UpsertVendorSplitResponse {
16199
16196
  static fromProto(proto) {
16200
- let m = new GetMultiBundleRetailPricingResponse();
16197
+ let m = new UpsertVendorSplitResponse();
16201
16198
  m = Object.assign(m, proto);
16202
- if (proto.prices) {
16203
- m.prices = Object.keys(proto.prices).reduce((obj, k) => { obj[k] = BundlePricing.fromProto(proto.prices[k]); return obj; }, {});
16199
+ if (proto.vendorSplit) {
16200
+ m.vendorSplit = VendorSplit.fromProto(proto.vendorSplit);
16204
16201
  }
16205
16202
  return m;
16206
16203
  }
@@ -16212,15 +16209,15 @@ class GetMultiBundleRetailPricingResponse {
16212
16209
  }
16213
16210
  toApiJson() {
16214
16211
  const toReturn = {};
16215
- if (typeof this.prices !== 'undefined' && this.prices !== null) {
16216
- toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;
16212
+ if (typeof this.vendorSplit !== 'undefined' && this.vendorSplit !== null) {
16213
+ toReturn['vendorSplit'] = 'toApiJson' in this.vendorSplit ? this.vendorSplit.toApiJson() : this.vendorSplit;
16217
16214
  }
16218
16215
  return toReturn;
16219
16216
  }
16220
16217
  }
16221
- class GetMultiProductPricingRequest {
16218
+ class VendorSplit {
16222
16219
  static fromProto(proto) {
16223
- let m = new GetMultiProductPricingRequest();
16220
+ let m = new VendorSplit();
16224
16221
  m = Object.assign(m, proto);
16225
16222
  return m;
16226
16223
  }
@@ -16232,22 +16229,455 @@ class GetMultiProductPricingRequest {
16232
16229
  }
16233
16230
  toApiJson() {
16234
16231
  const toReturn = {};
16235
- if (typeof this.merchantId !== 'undefined') {
16236
- toReturn['merchantId'] = this.merchantId;
16232
+ if (typeof this.sku !== 'undefined') {
16233
+ toReturn['sku'] = this.sku;
16237
16234
  }
16238
- if (typeof this.skus !== 'undefined') {
16239
- toReturn['skus'] = this.skus;
16235
+ if (typeof this.productPrice !== 'undefined') {
16236
+ toReturn['productPrice'] = this.productPrice;
16240
16237
  }
16241
- if (typeof this.pricingPlanId !== 'undefined') {
16242
- toReturn['pricingPlanId'] = this.pricingPlanId;
16238
+ if (typeof this.setupFee !== 'undefined') {
16239
+ toReturn['setupFee'] = this.setupFee;
16240
+ }
16241
+ if (typeof this.managementFee !== 'undefined') {
16242
+ toReturn['managementFee'] = this.managementFee;
16243
16243
  }
16244
16244
  return toReturn;
16245
16245
  }
16246
16246
  }
16247
- class GetMultiProductPricingResponse {
16248
- static fromProto(proto) {
16249
- let m = new GetMultiProductPricingResponse();
16250
- m = Object.assign(m, proto);
16247
+
16248
+ function enumStringToValue$1(enumRef, value) {
16249
+ if (typeof value === 'number') {
16250
+ return value;
16251
+ }
16252
+ return enumRef[value];
16253
+ }
16254
+ class AvalaraConfiguration {
16255
+ static fromProto(proto) {
16256
+ let m = new AvalaraConfiguration();
16257
+ m = Object.assign(m, proto);
16258
+ return m;
16259
+ }
16260
+ constructor(kwargs) {
16261
+ if (!kwargs) {
16262
+ return;
16263
+ }
16264
+ Object.assign(this, kwargs);
16265
+ }
16266
+ toApiJson() {
16267
+ const toReturn = {};
16268
+ if (typeof this.merchantId !== 'undefined') {
16269
+ toReturn['merchantId'] = this.merchantId;
16270
+ }
16271
+ if (typeof this.companyCode !== 'undefined') {
16272
+ toReturn['companyCode'] = this.companyCode;
16273
+ }
16274
+ if (typeof this.accountId !== 'undefined') {
16275
+ toReturn['accountId'] = this.accountId;
16276
+ }
16277
+ if (typeof this.licenseKey !== 'undefined') {
16278
+ toReturn['licenseKey'] = this.licenseKey;
16279
+ }
16280
+ return toReturn;
16281
+ }
16282
+ }
16283
+ class CreateAvalaraConfigurationRequest {
16284
+ static fromProto(proto) {
16285
+ let m = new CreateAvalaraConfigurationRequest();
16286
+ m = Object.assign(m, proto);
16287
+ if (proto.configuration) {
16288
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16289
+ }
16290
+ return m;
16291
+ }
16292
+ constructor(kwargs) {
16293
+ if (!kwargs) {
16294
+ return;
16295
+ }
16296
+ Object.assign(this, kwargs);
16297
+ }
16298
+ toApiJson() {
16299
+ const toReturn = {};
16300
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16301
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16302
+ }
16303
+ return toReturn;
16304
+ }
16305
+ }
16306
+ class CreateAvalaraConfigurationResponse {
16307
+ static fromProto(proto) {
16308
+ let m = new CreateAvalaraConfigurationResponse();
16309
+ m = Object.assign(m, proto);
16310
+ if (proto.configuration) {
16311
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16312
+ }
16313
+ return m;
16314
+ }
16315
+ constructor(kwargs) {
16316
+ if (!kwargs) {
16317
+ return;
16318
+ }
16319
+ Object.assign(this, kwargs);
16320
+ }
16321
+ toApiJson() {
16322
+ const toReturn = {};
16323
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16324
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16325
+ }
16326
+ return toReturn;
16327
+ }
16328
+ }
16329
+ class DeleteAvalaraConfigurationRequest {
16330
+ static fromProto(proto) {
16331
+ let m = new DeleteAvalaraConfigurationRequest();
16332
+ m = Object.assign(m, proto);
16333
+ return m;
16334
+ }
16335
+ constructor(kwargs) {
16336
+ if (!kwargs) {
16337
+ return;
16338
+ }
16339
+ Object.assign(this, kwargs);
16340
+ }
16341
+ toApiJson() {
16342
+ const toReturn = {};
16343
+ if (typeof this.merchantId !== 'undefined') {
16344
+ toReturn['merchantId'] = this.merchantId;
16345
+ }
16346
+ return toReturn;
16347
+ }
16348
+ }
16349
+ class GetAvalaraConfigurationRequest {
16350
+ static fromProto(proto) {
16351
+ let m = new GetAvalaraConfigurationRequest();
16352
+ m = Object.assign(m, proto);
16353
+ return m;
16354
+ }
16355
+ constructor(kwargs) {
16356
+ if (!kwargs) {
16357
+ return;
16358
+ }
16359
+ Object.assign(this, kwargs);
16360
+ }
16361
+ toApiJson() {
16362
+ const toReturn = {};
16363
+ if (typeof this.merchantId !== 'undefined') {
16364
+ toReturn['merchantId'] = this.merchantId;
16365
+ }
16366
+ return toReturn;
16367
+ }
16368
+ }
16369
+ class GetAvalaraConfigurationResponse {
16370
+ static fromProto(proto) {
16371
+ let m = new GetAvalaraConfigurationResponse();
16372
+ m = Object.assign(m, proto);
16373
+ if (proto.configuration) {
16374
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16375
+ }
16376
+ return m;
16377
+ }
16378
+ constructor(kwargs) {
16379
+ if (!kwargs) {
16380
+ return;
16381
+ }
16382
+ Object.assign(this, kwargs);
16383
+ }
16384
+ toApiJson() {
16385
+ const toReturn = {};
16386
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16387
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16388
+ }
16389
+ return toReturn;
16390
+ }
16391
+ }
16392
+ class UpdateAvalaraConfigurationRequest {
16393
+ static fromProto(proto) {
16394
+ let m = new UpdateAvalaraConfigurationRequest();
16395
+ m = Object.assign(m, proto);
16396
+ if (proto.configuration) {
16397
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16398
+ }
16399
+ if (proto.fieldMask) {
16400
+ m.fieldMask = FieldMask.fromProto(proto.fieldMask);
16401
+ }
16402
+ return m;
16403
+ }
16404
+ constructor(kwargs) {
16405
+ if (!kwargs) {
16406
+ return;
16407
+ }
16408
+ Object.assign(this, kwargs);
16409
+ }
16410
+ toApiJson() {
16411
+ const toReturn = {};
16412
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16413
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16414
+ }
16415
+ if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
16416
+ toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
16417
+ }
16418
+ return toReturn;
16419
+ }
16420
+ }
16421
+ class UpdateAvalaraConfigurationResponse {
16422
+ static fromProto(proto) {
16423
+ let m = new UpdateAvalaraConfigurationResponse();
16424
+ m = Object.assign(m, proto);
16425
+ if (proto.configuration) {
16426
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16427
+ }
16428
+ return m;
16429
+ }
16430
+ constructor(kwargs) {
16431
+ if (!kwargs) {
16432
+ return;
16433
+ }
16434
+ Object.assign(this, kwargs);
16435
+ }
16436
+ toApiJson() {
16437
+ const toReturn = {};
16438
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16439
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16440
+ }
16441
+ return toReturn;
16442
+ }
16443
+ }
16444
+
16445
+ function enumStringToValue(enumRef, value) {
16446
+ if (typeof value === 'number') {
16447
+ return value;
16448
+ }
16449
+ return enumRef[value];
16450
+ }
16451
+ class DeleteRetailPricingRequest {
16452
+ static fromProto(proto) {
16453
+ let m = new DeleteRetailPricingRequest();
16454
+ m = Object.assign(m, proto);
16455
+ return m;
16456
+ }
16457
+ constructor(kwargs) {
16458
+ if (!kwargs) {
16459
+ return;
16460
+ }
16461
+ Object.assign(this, kwargs);
16462
+ }
16463
+ toApiJson() {
16464
+ const toReturn = {};
16465
+ if (typeof this.merchantId !== 'undefined') {
16466
+ toReturn['merchantId'] = this.merchantId;
16467
+ }
16468
+ if (typeof this.sku !== 'undefined') {
16469
+ toReturn['sku'] = this.sku;
16470
+ }
16471
+ if (typeof this.groupId !== 'undefined') {
16472
+ toReturn['groupId'] = this.groupId;
16473
+ }
16474
+ if (typeof this.customerId !== 'undefined') {
16475
+ toReturn['customerId'] = this.customerId;
16476
+ }
16477
+ if (typeof this.subscriptionId !== 'undefined') {
16478
+ toReturn['subscriptionId'] = this.subscriptionId;
16479
+ }
16480
+ return toReturn;
16481
+ }
16482
+ }
16483
+ class GenerateBillableItemsCSVRequest {
16484
+ static fromProto(proto) {
16485
+ let m = new GenerateBillableItemsCSVRequest();
16486
+ m = Object.assign(m, proto);
16487
+ if (proto.periodStart) {
16488
+ m.periodStart = new Date(proto.periodStart);
16489
+ }
16490
+ if (proto.periodEnd) {
16491
+ m.periodEnd = new Date(proto.periodEnd);
16492
+ }
16493
+ return m;
16494
+ }
16495
+ constructor(kwargs) {
16496
+ if (!kwargs) {
16497
+ return;
16498
+ }
16499
+ Object.assign(this, kwargs);
16500
+ }
16501
+ toApiJson() {
16502
+ const toReturn = {};
16503
+ if (typeof this.merchantId !== 'undefined') {
16504
+ toReturn['merchantId'] = this.merchantId;
16505
+ }
16506
+ if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {
16507
+ toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;
16508
+ }
16509
+ if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {
16510
+ toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;
16511
+ }
16512
+ return toReturn;
16513
+ }
16514
+ }
16515
+ class GenerateBillableItemsCSVResponse {
16516
+ static fromProto(proto) {
16517
+ let m = new GenerateBillableItemsCSVResponse();
16518
+ m = Object.assign(m, proto);
16519
+ return m;
16520
+ }
16521
+ constructor(kwargs) {
16522
+ if (!kwargs) {
16523
+ return;
16524
+ }
16525
+ Object.assign(this, kwargs);
16526
+ }
16527
+ toApiJson() {
16528
+ const toReturn = {};
16529
+ if (typeof this.url !== 'undefined') {
16530
+ toReturn['url'] = this.url;
16531
+ }
16532
+ return toReturn;
16533
+ }
16534
+ }
16535
+ class GenerateVendorReportRequest {
16536
+ static fromProto(proto) {
16537
+ let m = new GenerateVendorReportRequest();
16538
+ m = Object.assign(m, proto);
16539
+ if (proto.periodStart) {
16540
+ m.periodStart = new Date(proto.periodStart);
16541
+ }
16542
+ if (proto.periodEnd) {
16543
+ m.periodEnd = new Date(proto.periodEnd);
16544
+ }
16545
+ return m;
16546
+ }
16547
+ constructor(kwargs) {
16548
+ if (!kwargs) {
16549
+ return;
16550
+ }
16551
+ Object.assign(this, kwargs);
16552
+ }
16553
+ toApiJson() {
16554
+ const toReturn = {};
16555
+ if (typeof this.skus !== 'undefined') {
16556
+ toReturn['skus'] = this.skus;
16557
+ }
16558
+ if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {
16559
+ toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;
16560
+ }
16561
+ if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {
16562
+ toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;
16563
+ }
16564
+ if (typeof this.vendorName !== 'undefined') {
16565
+ toReturn['vendorName'] = this.vendorName;
16566
+ }
16567
+ if (typeof this.markAsApproved !== 'undefined') {
16568
+ toReturn['markAsApproved'] = this.markAsApproved;
16569
+ }
16570
+ if (typeof this.vendorMerchantId !== 'undefined') {
16571
+ toReturn['vendorMerchantId'] = this.vendorMerchantId;
16572
+ }
16573
+ return toReturn;
16574
+ }
16575
+ }
16576
+ class GenerateVendorReportResponse {
16577
+ static fromProto(proto) {
16578
+ let m = new GenerateVendorReportResponse();
16579
+ m = Object.assign(m, proto);
16580
+ return m;
16581
+ }
16582
+ constructor(kwargs) {
16583
+ if (!kwargs) {
16584
+ return;
16585
+ }
16586
+ Object.assign(this, kwargs);
16587
+ }
16588
+ toApiJson() {
16589
+ const toReturn = {};
16590
+ if (typeof this.url !== 'undefined') {
16591
+ toReturn['url'] = this.url;
16592
+ }
16593
+ if (typeof this.bucket !== 'undefined') {
16594
+ toReturn['bucket'] = this.bucket;
16595
+ }
16596
+ if (typeof this.filename !== 'undefined') {
16597
+ toReturn['filename'] = this.filename;
16598
+ }
16599
+ return toReturn;
16600
+ }
16601
+ }
16602
+ class GetMultiBundleRetailPricingRequest {
16603
+ static fromProto(proto) {
16604
+ let m = new GetMultiBundleRetailPricingRequest();
16605
+ m = Object.assign(m, proto);
16606
+ return m;
16607
+ }
16608
+ constructor(kwargs) {
16609
+ if (!kwargs) {
16610
+ return;
16611
+ }
16612
+ Object.assign(this, kwargs);
16613
+ }
16614
+ toApiJson() {
16615
+ const toReturn = {};
16616
+ if (typeof this.merchantId !== 'undefined') {
16617
+ toReturn['merchantId'] = this.merchantId;
16618
+ }
16619
+ if (typeof this.storeId !== 'undefined') {
16620
+ toReturn['storeId'] = this.storeId;
16621
+ }
16622
+ if (typeof this.bundleIds !== 'undefined') {
16623
+ toReturn['bundleIds'] = this.bundleIds;
16624
+ }
16625
+ return toReturn;
16626
+ }
16627
+ }
16628
+ class GetMultiBundleRetailPricingResponse {
16629
+ static fromProto(proto) {
16630
+ let m = new GetMultiBundleRetailPricingResponse();
16631
+ m = Object.assign(m, proto);
16632
+ if (proto.prices) {
16633
+ m.prices = Object.keys(proto.prices).reduce((obj, k) => { obj[k] = BundlePricing.fromProto(proto.prices[k]); return obj; }, {});
16634
+ }
16635
+ return m;
16636
+ }
16637
+ constructor(kwargs) {
16638
+ if (!kwargs) {
16639
+ return;
16640
+ }
16641
+ Object.assign(this, kwargs);
16642
+ }
16643
+ toApiJson() {
16644
+ const toReturn = {};
16645
+ if (typeof this.prices !== 'undefined' && this.prices !== null) {
16646
+ toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;
16647
+ }
16648
+ return toReturn;
16649
+ }
16650
+ }
16651
+ class GetMultiProductPricingRequest {
16652
+ static fromProto(proto) {
16653
+ let m = new GetMultiProductPricingRequest();
16654
+ m = Object.assign(m, proto);
16655
+ return m;
16656
+ }
16657
+ constructor(kwargs) {
16658
+ if (!kwargs) {
16659
+ return;
16660
+ }
16661
+ Object.assign(this, kwargs);
16662
+ }
16663
+ toApiJson() {
16664
+ const toReturn = {};
16665
+ if (typeof this.merchantId !== 'undefined') {
16666
+ toReturn['merchantId'] = this.merchantId;
16667
+ }
16668
+ if (typeof this.skus !== 'undefined') {
16669
+ toReturn['skus'] = this.skus;
16670
+ }
16671
+ if (typeof this.pricingPlanId !== 'undefined') {
16672
+ toReturn['pricingPlanId'] = this.pricingPlanId;
16673
+ }
16674
+ return toReturn;
16675
+ }
16676
+ }
16677
+ class GetMultiProductPricingResponse {
16678
+ static fromProto(proto) {
16679
+ let m = new GetMultiProductPricingResponse();
16680
+ m = Object.assign(m, proto);
16251
16681
  if (proto.productPrices) {
16252
16682
  m.productPrices = Object.keys(proto.productPrices).reduce((obj, k) => { obj[k] = ProductPricing.fromProto(proto.productPrices[k]); return obj; }, {});
16253
16683
  }
@@ -16960,6 +17390,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
16960
17390
  args: [{ providedIn: 'root' }]
16961
17391
  }] });
16962
17392
 
17393
+ // *********************************
17394
+ // Code generated by sdkgen
17395
+ // DO NOT EDIT!.
17396
+ //
17397
+ // API Service.
17398
+ // *********************************
17399
+ class AvalaraConfigurationApiService {
17400
+ constructor() {
17401
+ this.hostService = inject(HostService);
17402
+ this.http = inject(HttpClient);
17403
+ this._host = this.hostService.hostWithScheme;
17404
+ }
17405
+ apiOptions() {
17406
+ return {
17407
+ headers: new HttpHeaders({
17408
+ 'Content-Type': 'application/json'
17409
+ }),
17410
+ withCredentials: true
17411
+ };
17412
+ }
17413
+ get(r) {
17414
+ const request = (r.toApiJson) ? r : new GetAvalaraConfigurationRequest(r);
17415
+ return this.http.post(this._host + "/billing.v1.AvalaraConfigurationService/Get", request.toApiJson(), this.apiOptions())
17416
+ .pipe(map(resp => GetAvalaraConfigurationResponse.fromProto(resp)));
17417
+ }
17418
+ create(r) {
17419
+ const request = (r.toApiJson) ? r : new CreateAvalaraConfigurationRequest(r);
17420
+ return this.http.post(this._host + "/billing.v1.AvalaraConfigurationService/Create", request.toApiJson(), this.apiOptions())
17421
+ .pipe(map(resp => CreateAvalaraConfigurationResponse.fromProto(resp)));
17422
+ }
17423
+ update(r) {
17424
+ const request = (r.toApiJson) ? r : new UpdateAvalaraConfigurationRequest(r);
17425
+ return this.http.post(this._host + "/billing.v1.AvalaraConfigurationService/Update", request.toApiJson(), this.apiOptions())
17426
+ .pipe(map(resp => UpdateAvalaraConfigurationResponse.fromProto(resp)));
17427
+ }
17428
+ delete(r) {
17429
+ const request = (r.toApiJson) ? r : new DeleteAvalaraConfigurationRequest(r);
17430
+ return this.http.post(this._host + "/billing.v1.AvalaraConfigurationService/Delete", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
17431
+ }
17432
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: AvalaraConfigurationApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
17433
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: AvalaraConfigurationApiService, providedIn: 'root' }); }
17434
+ }
17435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: AvalaraConfigurationApiService, decorators: [{
17436
+ type: Injectable,
17437
+ args: [{ providedIn: 'root' }]
17438
+ }] });
17439
+
16963
17440
  // *********************************
16964
17441
  // Code generated by sdkgen
16965
17442
  // DO NOT EDIT!.
@@ -18316,6 +18793,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
18316
18793
  args: [{ providedIn: 'root' }]
18317
18794
  }] });
18318
18795
 
18796
+ // *********************************
18797
+ // Code generated by sdkgen
18798
+ // DO NOT EDIT!.
18799
+ //
18800
+ // API Service.
18801
+ // *********************************
18802
+ class RetailSubscriptionGroupApiService {
18803
+ constructor() {
18804
+ this.hostService = inject(HostService);
18805
+ this.http = inject(HttpClient);
18806
+ this._host = this.hostService.hostWithScheme;
18807
+ }
18808
+ apiOptions() {
18809
+ return {
18810
+ headers: new HttpHeaders({
18811
+ 'Content-Type': 'application/json'
18812
+ }),
18813
+ withCredentials: true
18814
+ };
18815
+ }
18816
+ createRetailSubscriptionGroup(r) {
18817
+ const request = (r.toApiJson) ? r : new CreateRetailSubscriptionGroupRequest(r);
18818
+ return this.http.post(this._host + "/billing.v1.RetailSubscriptionGroupService/CreateRetailSubscriptionGroup", request.toApiJson(), this.apiOptions())
18819
+ .pipe(map(resp => CreateRetailSubscriptionGroupResponse.fromProto(resp)));
18820
+ }
18821
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: RetailSubscriptionGroupApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
18822
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: RetailSubscriptionGroupApiService, providedIn: 'root' }); }
18823
+ }
18824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: RetailSubscriptionGroupApiService, decorators: [{
18825
+ type: Injectable,
18826
+ args: [{ providedIn: 'root' }]
18827
+ }] });
18828
+
18319
18829
  // *********************************
18320
18830
  // Code generated by sdkgen
18321
18831
  // DO NOT EDIT!.
@@ -18566,6 +19076,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
18566
19076
  args: [{ providedIn: 'root' }]
18567
19077
  }] });
18568
19078
 
19079
+ // *********************************
19080
+ // Code generated by sdkgen
19081
+ // DO NOT EDIT!.
19082
+ //
19083
+ // API Service.
19084
+ // *********************************
19085
+ class VendorSplitApiService {
19086
+ constructor() {
19087
+ this.hostService = inject(HostService);
19088
+ this.http = inject(HttpClient);
19089
+ this._host = this.hostService.hostWithScheme;
19090
+ }
19091
+ apiOptions() {
19092
+ return {
19093
+ headers: new HttpHeaders({
19094
+ 'Content-Type': 'application/json'
19095
+ }),
19096
+ withCredentials: true
19097
+ };
19098
+ }
19099
+ get(r) {
19100
+ const request = (r.toApiJson) ? r : new GetVendorSplitRequest(r);
19101
+ return this.http.post(this._host + "/billing.v1.VendorSplitService/Get", request.toApiJson(), this.apiOptions())
19102
+ .pipe(map(resp => GetVendorSplitResponse.fromProto(resp)));
19103
+ }
19104
+ upsert(r) {
19105
+ const request = (r.toApiJson) ? r : new UpsertVendorSplitRequest(r);
19106
+ return this.http.post(this._host + "/billing.v1.VendorSplitService/Upsert", request.toApiJson(), this.apiOptions())
19107
+ .pipe(map(resp => UpsertVendorSplitResponse.fromProto(resp)));
19108
+ }
19109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: VendorSplitApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19110
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: VendorSplitApiService, providedIn: 'root' }); }
19111
+ }
19112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: VendorSplitApiService, decorators: [{
19113
+ type: Injectable,
19114
+ args: [{ providedIn: 'root' }]
19115
+ }] });
19116
+
18569
19117
  // *********************************
18570
19118
  // Code generated by sdkgen
18571
19119
  // DO NOT EDIT!.
@@ -18580,5 +19128,5 @@ const usdConversionRate = 1.4;
18580
19128
  * Generated bundle index. Do not edit.
18581
19129
  */
18582
19130
 
18583
- export { Access, AccountBalance, AddBundleRequest, AddBundleResponse, AddCreditRequest, AddLineItemRequest, AddLineItemResponse, Adjustment, AlignmentSubscription, AppliedBundle, AppliedBundleItem, AppliedCredit, AppliedCreditNote, AppliedDiscount, AppliedFee, AppliedReferenceType, AppliedTaxRate, AppliedTo, ArchiveTaxRequest, 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, CreateContractRequest, CreateContractResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreateDiscountRequest, CreateDiscountResponse, CreateInvoiceRequest, CreateInvoiceResponse, CreateMerchantRequest, CreateMerchantRequestIncludeInFinancialRecords, CreateMerchantServicesReportRun, CreateMeteredComponentRequest, CreatePaymentCardRequest, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CreatePricingPlanProductRequest, CreatePricingPlanProductRequestPricingEntry, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateProductRequest, CreateRefundRequest, CreateSalesCreditNoteRequest, CreateStripeExternalAccountRequest, CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateTaxRequest, CreateTaxResponse, CreateUsageRequest, CreditApiService, CreditBalance, CreditNote, CreditNoteApiService, CreditNoteReason, CreditNoteType, CreditType, Currency, CustomerSummary, DateRange, DefaultCustomerConfiguration, DeleteBankAccountRequest, DeleteBillableItemRequest, DeleteContractDocumentRequest, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DeletePaymentCardRequest, DeletePricingPlanProductRequest, DeleteProductRequest, DeleteRecurringInvoiceRequest, DeleteRetailPricingRequest, DeleteTaxRuleRequest, Discount, DiscountApiService, DiscountType, Dispute, DisputeEvidence, DisputeEvidenceDetails, DisputeStatus, DuplicateInvoiceRequest, DuplicateInvoiceResponse, EntityType, ExpireBillableItemRequest, ExpireDiscountRequest, ExportResponse, ExportSubscriptionsRequest, Fee, FeeAmountType, FeeType, FieldMask, File, Frequency, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GenerateVendorReportRequest, GenerateVendorReportResponse, GetBalanceRequest, GetBalanceResponse, GetBillableItemRequest, GetBillableItemResponse, GetContractRequest, GetContractResponse, GetCreditNoteRequest, GetCreditNoteResponse, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceWithCalculatedTaxesRequest, GetInvoiceWithCalculatedTaxesResponse, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMerchantWholesaleCurrencyRequest, GetMerchantWholesaleCurrencyResponse, GetMultiBundleRequest, GetMultiBundleResponse, GetMultiBundleResponseBundlesEntry, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiBundleRetailPricingResponsePricesEntry, GetMultiContractsRequest, GetMultiContractsResponse, GetMultiContractsResponseContractsEntry, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiProductPricingResponseProductPricesEntry, GetMultiProductRequest, GetMultiProductResponse, GetMultiProductResponseProductsEntry, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiRetailPricingResponseProductPricesEntry, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsRequestKey, GetMultiSubscriptionsResponse, GetMultiTaxRequest, GetMultiTaxResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetNextRetailInvoiceSequenceRequest, GetNextRetailInvoiceSequenceResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, GetProductSummariesTotalRequest, GetProductSummariesTotalResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetRecurringInvoiceRequest, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetRevenueStatsRequest, GetRevenueStatsResponse, GetSalesInvoiceRequest, GetSalesInvoiceResponse, GetStatisticsRequest, GetStatisticsResponse, GetTaxProviderRequest, GetTaxProviderResponse, GetTaxRuleRequest, GetTaxRuleResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonRequestGetWholesaleComparisonFilters, GetWholesaleComparisonResponse, GetWholesaleComparisonResponseGetWholesaleComparisonResult, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, HostService, Interval, Invoice, InvoiceApiService, InvoiceCustomerAddress, InvoiceItem, InvoiceItemRetailSubscriptionGroup, InvoiceStatus, Item, LastPaymentStatus, LineItem, ListBankAccountsRequest, ListBankAccountsResponse, ListBillableItemsRequest, ListBillableItemsRequestFilters, ListBillableItemsResponse, ListBundlesRequest, ListBundlesRequestFilters, ListBundlesResponse, ListContractDocumentsRequest, ListContractDocumentsRequestFilters, ListContractDocumentsResponse, ListContractsRequest, ListContractsResponse, ListCreditNotesRequest, ListCreditNotesRequestFilters, ListCreditNotesResponse, ListDiscountsRequest, ListDiscountsRequestFilters, ListDiscountsResponse, ListInvoicesRequest, ListInvoicesRequestFilters, ListInvoicesRequestFiltersDateFilter, ListInvoicesRequestFiltersDateFilterDateField, ListInvoicesResponse, ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListPaymentRequest, ListPaymentRequestListPaymentFilters, ListPaymentResponse, ListPayoutsRequest, ListPayoutsRequestFilters, ListPayoutsResponse, ListPricingPlanProductsRequest, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsResponse, ListProductSummariesRequest, ListProductSummariesResponse, ListProductsRequest, ListProductsRequestListProductsFilters, ListProductsResponse, ListPurchaseItemsRequest, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseRequestState, ListPurchaseResponse, ListRecurringInvoicesFilters, ListRecurringInvoicesFiltersDateFilter, ListRecurringInvoicesFiltersDetailedInterval, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, ListRefundsRequest, ListRefundsResponse, ListRetailDisputesRequest, ListRetailDisputesRequestListRetailDisputesFilters, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, ListRetailTransactionsRequest, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsResponse, ListSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteResponse, ListSalesInvoiceRequest, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsRequestFilters, ListSubscriptionRelationshipsResponse, ListSubscriptionRetentionByGroupResponse, ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup, ListSubscriptionRetentionBySKUResponse, ListSubscriptionRetentionRequest, ListSubscriptionRetentionRequestFilters, ListSubscriptionsRequest, ListSubscriptionsRequestFilters, ListSubscriptionsResponse, ListTaxRequest, ListTaxRequestFilters, ListTaxResponse, ListTaxRulesRequest, ListTaxRulesRequestFilters, ListTaxRulesResponse, MCPOptions, Merchant, MerchantApiService, MerchantReport, MerchantReportStatus, MerchantServicesReportRun, MerchantServicesReportRunStatus, MerchantServicesReportRunType, MerchantType, MeteredComponent, Month, Note, Origin, PagedRequestOptions, PagedResponseMetadata, PauseDunningRequest, PayInvoiceRequest, Payment, PaymentACHDebit, PaymentACSSDebit, PaymentAllocationType, PaymentApiService, PaymentCard, PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, PaymentErrorCode, PaymentFacilitatorType, PaymentIntent, PaymentIntentStatus, PaymentLinkItem, PaymentMethod, PaymentMethodApiService, PaymentMethodType, PaymentPaymentAllocation, PaymentProcessor, PaymentSource, PaymentStatus, PaymentStatuses, Payout, PayoutStatus, PayoutType, PostSalesInvoiceRequest, PrepareRetailPaymentRequest, PrepareRetailPaymentRequestOrder, PrepareRetailPaymentResponse, Pricing, PricingApiService, PricingPlan, PricingPlanProduct, PricingPlanProductPricing, PricingPlanProductPricingEntry, PricingRule, PricingRuleType, Product, ProductApiService, ProductPrices, ProductPricing, ProductPricingRule, ProductPricingType, ProductSummary, ProductSummaryApiService, ProductSummaryBillingStrategy, ProductSummaryDiscount, ProductSummaryDiscountDiscountType, ProductSummaryProductType, ProductType, Purchase, PurchaseApiService, PurchaseItem, PurchaseStatus, ReconcilePayoutRequest, ReconcilePayoutResponse, RecurringInvoice, RecurringInvoiceApiService, RecurringInvoiceBundle, RecurringInvoiceCustomerAddress, RecurringInvoiceItem, RecurringInvoiceLineItem, RecurringInvoiceStatus, ReferenceType, Refund, RefundApiService, RefundReason, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RefundStatus, RelationshipType, RemoveBundleRequest, RemoveBundleResponse, RenewalState, ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, ResetContractPricingRequest, ResetPaymentFacilitatorRequest, ResumeDunningRequest, RetailConfiguration, RetailCustomerConfiguration, RetailCustomerConfigurationApiService, RetailPayment, RetailPaymentACHDetails, RetailPaymentACSSDetails, RetailPaymentCardDetails, RetailPaymentPaymentMethodDetailsType, RetailPaymentReferenceType, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailPayout, RetailRefund, RetailRefundFailureReason, RetailRefundReason, RetailRefundStatus, RetailStatusRequest, RetailStatusResponse, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, 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, UpdateBundleRequest, UpdateBundleResponse, UpdateContractRequest, UpdateContractRequestMutation, UpdateContractResponse, UpdateContractSubscriptionRequest, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateDiscountRequest, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, UpdateMerchantRequest, UpdateMerchantRequestIncludeInFinancialRecords, UpdatePaymentCardRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse, UpdateProductRequest, UpdateRecurringInvoiceRequest, UpdateRetailPaymentProviderRequest, UpdateSubscriptionRequest, UpdateSubscriptionRequestSubscription, UpdateSubscriptionResponse, UpdateTaxRequest, UpsertBundleRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, UpsertRetailCustomerConfigurationRequest, UpsertRetailPricingRequest, UpsertRetailPricingRequestPricingEntry, UpsertWholesalePricingRequest, ValidateResponse, VendorApiService, VoidInvoiceRequest, VoidPurchaseRequest, WholesaleCostItemRequest, usdConversionRate };
19131
+ export { Access, AccountBalance, AddBundleRequest, AddBundleResponse, AddCreditRequest, AddLineItemRequest, AddLineItemResponse, Adjustment, AlignmentSubscription, AppliedBundle, AppliedBundleItem, AppliedCredit, AppliedCreditNote, AppliedDiscount, AppliedFee, AppliedReferenceType, AppliedTaxRate, AppliedTo, ArchiveTaxRequest, AvalaraConfiguration, AvalaraConfigurationApiService, Balance, BalanceAmount, BankAccount, BankReconciliationApiService, BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, BillableItemCustomerAddress, BillableItemRetailSubscriptionGroup, BillingApiService, BillingStrategy, BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, Bundle, BundleApiService, BundleItem, BundleItemPrice, BundlePricing, BundlePricingPriceAndFrequency, CalculateCreditNoteRequest, CalculateCreditNoteResponse, CalculateLineItemTaxesRequest, CalculateLineItemTaxesRequestLineItem, CalculateLineItemTaxesResponse, CalculateLineItemTaxesResponseLineItemTaxes, CalculateTaxRequest, CalculateTaxResponse, CanBillItemRequest, CanCreateSubscriptionsRequest, CanCreateSubscriptionsRequestSkusEntry, CanCreateSubscriptionsRequestSubscriptionItem, CanCreateSubscriptionsResponse, CancelRetailBillingRequest, CardType, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, ChargeInvoiceRequest, ChargeSalesInvoiceRequest, CloseRetailDisputeRequest, CollectionMethod, Commitment, ComponentPricing, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, Consumer, Contract, ContractApiService, ContractDocument, ContractDocumentApiService, ContractSubscriptionStatus, CreateAvalaraConfigurationRequest, CreateAvalaraConfigurationResponse, CreateContractRequest, CreateContractResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreateDiscountRequest, CreateDiscountResponse, CreateInvoiceRequest, CreateInvoiceResponse, CreateMerchantRequest, CreateMerchantRequestIncludeInFinancialRecords, CreateMerchantServicesReportRun, CreateMeteredComponentRequest, CreatePaymentCardRequest, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CreatePricingPlanProductRequest, CreatePricingPlanProductRequestPricingEntry, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateProductRequest, CreateRefundRequest, CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse, CreateSalesCreditNoteRequest, CreateStripeExternalAccountRequest, CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateTaxRequest, CreateTaxResponse, CreateUsageRequest, CreditApiService, CreditBalance, CreditNote, CreditNoteApiService, CreditNoteReason, CreditNoteType, CreditType, Currency, CustomerSummary, DateRange, DefaultCustomerConfiguration, DeleteAvalaraConfigurationRequest, DeleteBankAccountRequest, DeleteBillableItemRequest, DeleteContractDocumentRequest, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DeletePaymentCardRequest, DeletePricingPlanProductRequest, DeleteProductRequest, DeleteRecurringInvoiceRequest, DeleteRetailPricingRequest, DeleteTaxRuleRequest, Discount, DiscountApiService, DiscountType, DisplayOption, Dispute, DisputeEvidence, DisputeEvidenceDetails, DisputeStatus, DuplicateInvoiceRequest, DuplicateInvoiceResponse, EntityType, ExpireBillableItemRequest, ExpireDiscountRequest, ExportResponse, ExportSubscriptionsRequest, Fee, FeeAmountType, FeeType, FieldMask, File, Frequency, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GenerateVendorReportRequest, GenerateVendorReportResponse, GetAvalaraConfigurationRequest, GetAvalaraConfigurationResponse, GetBalanceRequest, GetBalanceResponse, GetBillableItemRequest, GetBillableItemResponse, GetContractRequest, GetContractResponse, GetCreditNoteRequest, GetCreditNoteResponse, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceWithCalculatedTaxesRequest, GetInvoiceWithCalculatedTaxesResponse, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMerchantWholesaleCurrencyRequest, GetMerchantWholesaleCurrencyResponse, GetMultiBundleRequest, GetMultiBundleResponse, GetMultiBundleResponseBundlesEntry, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiBundleRetailPricingResponsePricesEntry, GetMultiContractsRequest, GetMultiContractsResponse, GetMultiContractsResponseContractsEntry, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiProductPricingResponseProductPricesEntry, GetMultiProductRequest, GetMultiProductResponse, GetMultiProductResponseProductsEntry, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiRetailPricingResponseProductPricesEntry, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsRequestKey, GetMultiSubscriptionsResponse, GetMultiTaxRequest, GetMultiTaxResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetNextRetailInvoiceSequenceRequest, GetNextRetailInvoiceSequenceResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, GetProductSummariesTotalRequest, GetProductSummariesTotalResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetRecurringInvoiceRequest, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetRevenueStatsRequest, GetRevenueStatsResponse, GetSalesInvoiceRequest, GetSalesInvoiceResponse, GetStatisticsRequest, GetStatisticsResponse, GetTaxProviderRequest, GetTaxProviderResponse, GetTaxRuleRequest, GetTaxRuleResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, GetVendorSplitRequest, GetVendorSplitResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonRequestGetWholesaleComparisonFilters, GetWholesaleComparisonResponse, GetWholesaleComparisonResponseGetWholesaleComparisonResult, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, HostService, Interval, Invoice, InvoiceApiService, InvoiceCustomerAddress, InvoiceItem, InvoiceItemRetailSubscriptionGroup, InvoiceStatus, Item, LastPaymentStatus, LineItem, ListBankAccountsRequest, ListBankAccountsResponse, ListBillableItemsRequest, ListBillableItemsRequestFilters, ListBillableItemsResponse, ListBundlesRequest, ListBundlesRequestFilters, ListBundlesResponse, ListContractDocumentsRequest, ListContractDocumentsRequestFilters, ListContractDocumentsResponse, ListContractsRequest, ListContractsResponse, ListCreditNotesRequest, ListCreditNotesRequestFilters, ListCreditNotesResponse, ListDiscountsRequest, ListDiscountsRequestFilters, ListDiscountsResponse, ListInvoicesRequest, ListInvoicesRequestFilters, ListInvoicesRequestFiltersDateFilter, ListInvoicesRequestFiltersDateFilterDateField, ListInvoicesResponse, ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListPaymentRequest, ListPaymentRequestListPaymentFilters, ListPaymentResponse, ListPayoutsRequest, ListPayoutsRequestFilters, ListPayoutsResponse, ListPricingPlanProductsRequest, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsResponse, ListProductSummariesRequest, ListProductSummariesResponse, ListProductsRequest, ListProductsRequestListProductsFilters, ListProductsResponse, ListPurchaseItemsRequest, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseRequestState, ListPurchaseResponse, ListRecurringInvoicesFilters, ListRecurringInvoicesFiltersDateFilter, ListRecurringInvoicesFiltersDetailedInterval, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, ListRefundsRequest, ListRefundsResponse, ListRetailDisputesRequest, ListRetailDisputesRequestListRetailDisputesFilters, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, ListRetailTransactionsRequest, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsResponse, ListSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteResponse, ListSalesInvoiceRequest, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsRequestFilters, ListSubscriptionRelationshipsResponse, ListSubscriptionRetentionByGroupResponse, ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup, ListSubscriptionRetentionBySKUResponse, ListSubscriptionRetentionRequest, ListSubscriptionRetentionRequestFilters, ListSubscriptionsRequest, ListSubscriptionsRequestFilters, ListSubscriptionsResponse, ListTaxRequest, ListTaxRequestFilters, ListTaxResponse, ListTaxRulesRequest, ListTaxRulesRequestFilters, ListTaxRulesResponse, MCPOptions, Merchant, MerchantApiService, MerchantReport, MerchantReportStatus, MerchantServicesReportRun, MerchantServicesReportRunStatus, MerchantServicesReportRunType, MerchantType, MeteredComponent, Month, Note, Origin, PagedRequestOptions, PagedResponseMetadata, PauseDunningRequest, PayInvoiceRequest, Payment, PaymentACHDebit, PaymentACSSDebit, PaymentAllocationType, PaymentApiService, PaymentCard, PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, PaymentErrorCode, PaymentFacilitatorType, PaymentIntent, PaymentIntentStatus, PaymentLinkItem, PaymentMethod, PaymentMethodApiService, PaymentMethodType, PaymentPaymentAllocation, PaymentProcessor, PaymentSource, PaymentStatus, PaymentStatuses, Payout, PayoutStatus, PayoutType, PostSalesInvoiceRequest, PrepareRetailPaymentRequest, PrepareRetailPaymentRequestOrder, PrepareRetailPaymentResponse, Pricing, PricingApiService, PricingPlan, PricingPlanProduct, PricingPlanProductPricing, PricingPlanProductPricingEntry, PricingRule, PricingRuleType, ProcessingFailureCode, Product, ProductApiService, ProductPrices, ProductPricing, ProductPricingRule, ProductPricingType, ProductSummary, ProductSummaryApiService, ProductSummaryBillingStrategy, ProductSummaryDiscount, ProductSummaryDiscountDiscountType, ProductSummaryProductType, ProductType, Purchase, PurchaseApiService, PurchaseItem, PurchaseStatus, ReconcilePayoutRequest, ReconcilePayoutResponse, RecurringInvoice, RecurringInvoiceApiService, RecurringInvoiceBundle, RecurringInvoiceCustomerAddress, RecurringInvoiceItem, RecurringInvoiceLineItem, RecurringInvoiceStatus, ReferenceType, Refund, RefundApiService, RefundReason, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RefundStatus, RelationshipType, RemoveBundleRequest, RemoveBundleResponse, RenewalState, ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, ResetContractPricingRequest, ResetPaymentFacilitatorRequest, ResumeDunningRequest, RetailConfiguration, RetailCustomerConfiguration, RetailCustomerConfigurationApiService, RetailPayment, RetailPaymentACHDetails, RetailPaymentACSSDetails, RetailPaymentCardDetails, RetailPaymentPaymentMethodDetailsType, RetailPaymentReferenceType, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailPayout, RetailRefund, RetailRefundFailureReason, RetailRefundReason, RetailRefundStatus, RetailStatusRequest, RetailStatusResponse, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, RetailSubscriptionGroup, RetailSubscriptionGroupApiService, RetailTransaction, RetailTransactionType, RetentionMetrics, RetryPurchaseRequest, ReverseSubscriptionRequest, SalesCreditNote, SalesCreditNoteApiService, SalesCreditNoteStatus, SalesInvoice, SalesInvoiceApiService, SalesInvoiceStatus, SalesInvoiceType, SearchMerchantsRequest, SearchMerchantsRequestSortBy, SearchMerchantsResponse, SendCreditNoteRequest, SendInvoiceRequest, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoBillableRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetDefaultPaymentMethodRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, SetNextRetailInvoiceSequenceRequest, SetRenewalStartRequest, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, SortDirection, Source, StartRevRecTemplateBackfillRequest, StopDunningRequest, SubmitEvidenceRequest, SubmitEvidenceRequestDisputeEvidence, SubscribeValidation, SubscribeValidationStatus, Subscription, SubscriptionPreset, SubscriptionProjectionFilter, SubscriptionRelationship, SubscriptionRelationshipApiService, SubscriptionStatus, TaxApiService, TaxProviderType, TaxRate, TaxRule, TaxRuleCustomer, TaxRuleCustomerCustomerAddress, TaxRuleEntityType, TaxRuleProduct, TaxRuleProductProductIdentifier, TaxRuleTaxRuleEntity, TaxRuleType, TickComponentUsageRequest, UnexpireBillableItemRequest, UpdateAvalaraConfigurationRequest, UpdateAvalaraConfigurationResponse, UpdateBundleRequest, UpdateBundleResponse, UpdateContractRequest, UpdateContractRequestMutation, UpdateContractResponse, UpdateContractSubscriptionRequest, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateDiscountRequest, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, UpdateMerchantRequest, UpdateMerchantRequestIncludeInFinancialRecords, UpdatePaymentCardRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse, UpdateProductRequest, UpdateRecurringInvoiceRequest, UpdateRetailPaymentProviderRequest, UpdateSubscriptionRequest, UpdateSubscriptionRequestSubscription, UpdateSubscriptionResponse, UpdateTaxRequest, UpsertBundleRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, UpsertRetailCustomerConfigurationRequest, UpsertRetailPricingRequest, UpsertRetailPricingRequestPricingEntry, UpsertVendorSplitRequest, UpsertVendorSplitResponse, UpsertWholesalePricingRequest, ValidateResponse, VendorApiService, VendorSplit, VendorSplitApiService, VoidInvoiceRequest, VoidPurchaseRequest, WholesaleCostItemRequest, usdConversionRate };
18584
19132
  //# sourceMappingURL=vendasta-billing.mjs.map