@vendasta/billing 14.48.0 → 14.50.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 (37) hide show
  1. package/esm2022/lib/_internal/avalara-configuration.api.service.mjs +54 -0
  2. package/esm2022/lib/_internal/enums/index.mjs +2 -1
  3. package/esm2022/lib/_internal/enums/invoice.enum.mjs +4 -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/retail-subscription-group.interface.mjs +8 -0
  9. package/esm2022/lib/_internal/interfaces/subscription-preset.interface.mjs +1 -1
  10. package/esm2022/lib/_internal/interfaces/vendor-split.interface.mjs +8 -0
  11. package/esm2022/lib/_internal/objects/avalara.mjs +198 -0
  12. package/esm2022/lib/_internal/objects/index.mjs +4 -1
  13. package/esm2022/lib/_internal/objects/retail-subscription-group.mjs +80 -0
  14. package/esm2022/lib/_internal/objects/subscription-preset.mjs +4 -1
  15. package/esm2022/lib/_internal/objects/vendor-split.mjs +125 -0
  16. package/esm2022/lib/_internal/retail-subscription-group.api.service.mjs +40 -0
  17. package/esm2022/lib/_internal/vendor-split.api.service.mjs +45 -0
  18. package/fesm2022/vendasta-billing.mjs +852 -313
  19. package/fesm2022/vendasta-billing.mjs.map +1 -1
  20. package/lib/_internal/avalara-configuration.api.service.d.ts +17 -0
  21. package/lib/_internal/enums/index.d.ts +1 -0
  22. package/lib/_internal/enums/invoice.enum.d.ts +4 -1
  23. package/lib/_internal/enums/retail-subscription-group.enum.d.ts +6 -0
  24. package/lib/_internal/index.d.ts +3 -0
  25. package/lib/_internal/interfaces/avalara.interface.d.ts +29 -0
  26. package/lib/_internal/interfaces/index.d.ts +3 -0
  27. package/lib/_internal/interfaces/retail-subscription-group.interface.d.ts +12 -0
  28. package/lib/_internal/interfaces/subscription-preset.interface.d.ts +1 -0
  29. package/lib/_internal/interfaces/vendor-split.interface.d.ts +18 -0
  30. package/lib/_internal/objects/avalara.d.ts +55 -0
  31. package/lib/_internal/objects/index.d.ts +3 -0
  32. package/lib/_internal/objects/retail-subscription-group.d.ts +23 -0
  33. package/lib/_internal/objects/subscription-preset.d.ts +1 -0
  34. package/lib/_internal/objects/vendor-split.d.ts +35 -0
  35. package/lib/_internal/retail-subscription-group.api.service.d.ts +13 -0
  36. package/lib/_internal/vendor-split.api.service.d.ts +14 -0
  37. package/package.json +1 -1
@@ -338,6 +338,9 @@ var ProcessingFailureCode;
338
338
  ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_UNSET"] = 0] = "PROCESSING_FAILURE_CODE_UNSET";
339
339
  ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_TAX_CALCULATION_INVALID_ADDRESS"] = 1] = "PROCESSING_FAILURE_CODE_TAX_CALCULATION_INVALID_ADDRESS";
340
340
  ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_TAX_CALCULATION_GENERAL_ERROR"] = 2] = "PROCESSING_FAILURE_CODE_TAX_CALCULATION_GENERAL_ERROR";
341
+ ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_UNABLE_TO_CHARGE_OR_SEND"] = 3] = "PROCESSING_FAILURE_CODE_UNABLE_TO_CHARGE_OR_SEND";
342
+ ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_UNABLE_TO_SEND"] = 4] = "PROCESSING_FAILURE_CODE_UNABLE_TO_SEND";
343
+ ProcessingFailureCode[ProcessingFailureCode["PROCESSING_FAILURE_CODE_UNABLE_TO_CHARGE"] = 5] = "PROCESSING_FAILURE_CODE_UNABLE_TO_CHARGE";
341
344
  })(ProcessingFailureCode || (ProcessingFailureCode = {}));
342
345
 
343
346
  // *********************************
@@ -747,6 +750,20 @@ var CreditNoteReason;
747
750
  CreditNoteReason[CreditNoteReason["CREDIT_NOTE_REASON_OTHER"] = 4] = "CREDIT_NOTE_REASON_OTHER";
748
751
  })(CreditNoteReason || (CreditNoteReason = {}));
749
752
 
753
+ // *********************************
754
+ // Code generated by sdkgen
755
+ // DO NOT EDIT!.
756
+ //
757
+ // Enums.
758
+ // *********************************
759
+ var DisplayOption;
760
+ (function (DisplayOption) {
761
+ DisplayOption[DisplayOption["DISPLAY_OPTION_INVALID"] = 0] = "DISPLAY_OPTION_INVALID";
762
+ DisplayOption[DisplayOption["SHOW_CONTENT_SHOW_PRICES"] = 1] = "SHOW_CONTENT_SHOW_PRICES";
763
+ DisplayOption[DisplayOption["SHOW_CONTENT_HIDE_PRICES"] = 2] = "SHOW_CONTENT_HIDE_PRICES";
764
+ DisplayOption[DisplayOption["HIDE_CONTENT_HIDE_PRICES"] = 3] = "HIDE_CONTENT_HIDE_PRICES";
765
+ })(DisplayOption || (DisplayOption = {}));
766
+
750
767
  // *********************************
751
768
  // Code generated by sdkgen
752
769
  // DO NOT EDIT!.
@@ -754,7 +771,7 @@ var CreditNoteReason;
754
771
  // Enums Index.
755
772
  // *********************************
756
773
 
757
- function enumStringToValue$J(enumRef, value) {
774
+ function enumStringToValue$M(enumRef, value) {
758
775
  if (typeof value === 'number') {
759
776
  return value;
760
777
  }
@@ -847,7 +864,7 @@ class PagedResponseMetadata {
847
864
  }
848
865
  }
849
866
 
850
- function enumStringToValue$I(enumRef, value) {
867
+ function enumStringToValue$L(enumRef, value) {
851
868
  if (typeof value === 'number') {
852
869
  return value;
853
870
  }
@@ -874,7 +891,7 @@ class FieldMask {
874
891
  }
875
892
  }
876
893
 
877
- function enumStringToValue$H(enumRef, value) {
894
+ function enumStringToValue$K(enumRef, value) {
878
895
  if (typeof value === 'number') {
879
896
  return value;
880
897
  }
@@ -910,7 +927,7 @@ class Commitment {
910
927
  }
911
928
  }
912
929
 
913
- function enumStringToValue$G(enumRef, value) {
930
+ function enumStringToValue$J(enumRef, value) {
914
931
  if (typeof value === 'number') {
915
932
  return value;
916
933
  }
@@ -950,10 +967,10 @@ class Fee {
950
967
  let m = new Fee();
951
968
  m = Object.assign(m, proto);
952
969
  if (proto.amountType) {
953
- m.amountType = enumStringToValue$G(FeeAmountType, proto.amountType);
970
+ m.amountType = enumStringToValue$J(FeeAmountType, proto.amountType);
954
971
  }
955
972
  if (proto.feeType) {
956
- m.feeType = enumStringToValue$G(FeeType, proto.feeType);
973
+ m.feeType = enumStringToValue$J(FeeType, proto.feeType);
957
974
  }
958
975
  return m;
959
976
  }
@@ -978,7 +995,7 @@ class Fee {
978
995
  }
979
996
  }
980
997
 
981
- function enumStringToValue$F(enumRef, value) {
998
+ function enumStringToValue$I(enumRef, value) {
982
999
  if (typeof value === 'number') {
983
1000
  return value;
984
1001
  }
@@ -1015,7 +1032,7 @@ class CreatePricingPlanRequest {
1015
1032
  let m = new CreatePricingPlanRequest();
1016
1033
  m = Object.assign(m, proto);
1017
1034
  if (proto.defaultBillingStrategy) {
1018
- m.defaultBillingStrategy = enumStringToValue$F(BillingStrategy, proto.defaultBillingStrategy);
1035
+ m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
1019
1036
  }
1020
1037
  return m;
1021
1038
  }
@@ -1104,7 +1121,7 @@ class PricingPlan {
1104
1121
  let m = new PricingPlan();
1105
1122
  m = Object.assign(m, proto);
1106
1123
  if (proto.defaultBillingStrategy) {
1107
- m.defaultBillingStrategy = enumStringToValue$F(BillingStrategy, proto.defaultBillingStrategy);
1124
+ m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
1108
1125
  }
1109
1126
  return m;
1110
1127
  }
@@ -1133,7 +1150,7 @@ class PricingPlanProductPricing {
1133
1150
  let m = new PricingPlanProductPricing();
1134
1151
  m = Object.assign(m, proto);
1135
1152
  if (proto.type) {
1136
- m.type = enumStringToValue$F(ProductPricingType, proto.type);
1153
+ m.type = enumStringToValue$I(ProductPricingType, proto.type);
1137
1154
  }
1138
1155
  if (proto.rules) {
1139
1156
  m.rules = proto.rules.map(ProductPricingRule.fromProto);
@@ -1142,7 +1159,7 @@ class PricingPlanProductPricing {
1142
1159
  m.setupFee = parseInt(proto.setupFee, 10);
1143
1160
  }
1144
1161
  if (proto.frequency) {
1145
- m.frequency = enumStringToValue$F(Frequency, proto.frequency);
1162
+ m.frequency = enumStringToValue$I(Frequency, proto.frequency);
1146
1163
  }
1147
1164
  if (proto.fees) {
1148
1165
  m.fees = proto.fees.map(Fee.fromProto);
@@ -1227,7 +1244,7 @@ class UpdatePricingPlanRequest {
1227
1244
  m.fieldMask = FieldMask.fromProto(proto.fieldMask);
1228
1245
  }
1229
1246
  if (proto.defaultBillingStrategy) {
1230
- m.defaultBillingStrategy = enumStringToValue$F(BillingStrategy, proto.defaultBillingStrategy);
1247
+ m.defaultBillingStrategy = enumStringToValue$I(BillingStrategy, proto.defaultBillingStrategy);
1231
1248
  }
1232
1249
  return m;
1233
1250
  }
@@ -1272,7 +1289,7 @@ class UpdatePricingPlanResponse {
1272
1289
  }
1273
1290
  }
1274
1291
 
1275
- function enumStringToValue$E(enumRef, value) {
1292
+ function enumStringToValue$H(enumRef, value) {
1276
1293
  if (typeof value === 'number') {
1277
1294
  return value;
1278
1295
  }
@@ -1309,16 +1326,16 @@ class ProductPricing {
1309
1326
  let m = new ProductPricing();
1310
1327
  m = Object.assign(m, proto);
1311
1328
  if (proto.strategy) {
1312
- m.strategy = enumStringToValue$E(BillingStrategy, proto.strategy);
1329
+ m.strategy = enumStringToValue$H(BillingStrategy, proto.strategy);
1313
1330
  }
1314
1331
  if (proto.pricingType) {
1315
- m.pricingType = enumStringToValue$E(ProductPricingType, proto.pricingType);
1332
+ m.pricingType = enumStringToValue$H(ProductPricingType, proto.pricingType);
1316
1333
  }
1317
1334
  if (proto.currency) {
1318
- m.currency = enumStringToValue$E(Currency, proto.currency);
1335
+ m.currency = enumStringToValue$H(Currency, proto.currency);
1319
1336
  }
1320
1337
  if (proto.frequency) {
1321
- m.frequency = enumStringToValue$E(Frequency, proto.frequency);
1338
+ m.frequency = enumStringToValue$H(Frequency, proto.frequency);
1322
1339
  }
1323
1340
  if (proto.pricingRules) {
1324
1341
  m.pricingRules = proto.pricingRules.map(ProductPricingRule.fromProto);
@@ -1389,7 +1406,7 @@ class WholesaleCostItemRequest {
1389
1406
  m.quantity = parseInt(proto.quantity, 10);
1390
1407
  }
1391
1408
  if (proto.frequency) {
1392
- m.frequency = enumStringToValue$E(Frequency, proto.frequency);
1409
+ m.frequency = enumStringToValue$H(Frequency, proto.frequency);
1393
1410
  }
1394
1411
  return m;
1395
1412
  }
@@ -1414,7 +1431,7 @@ class WholesaleCostItemRequest {
1414
1431
  }
1415
1432
  }
1416
1433
 
1417
- function enumStringToValue$D(enumRef, value) {
1434
+ function enumStringToValue$G(enumRef, value) {
1418
1435
  if (typeof value === 'number') {
1419
1436
  return value;
1420
1437
  }
@@ -1425,7 +1442,7 @@ class SubscribeValidation {
1425
1442
  let m = new SubscribeValidation();
1426
1443
  m = Object.assign(m, proto);
1427
1444
  if (proto.status) {
1428
- m.status = enumStringToValue$D(SubscribeValidationStatus, proto.status);
1445
+ m.status = enumStringToValue$G(SubscribeValidationStatus, proto.status);
1429
1446
  }
1430
1447
  return m;
1431
1448
  }
@@ -1444,7 +1461,7 @@ class SubscribeValidation {
1444
1461
  }
1445
1462
  }
1446
1463
 
1447
- function enumStringToValue$C(enumRef, value) {
1464
+ function enumStringToValue$F(enumRef, value) {
1448
1465
  if (typeof value === 'number') {
1449
1466
  return value;
1450
1467
  }
@@ -1571,7 +1588,7 @@ class ChangeFrequencyRequest {
1571
1588
  let m = new ChangeFrequencyRequest();
1572
1589
  m = Object.assign(m, proto);
1573
1590
  if (proto.frequency) {
1574
- m.frequency = enumStringToValue$C(Frequency, proto.frequency);
1591
+ m.frequency = enumStringToValue$F(Frequency, proto.frequency);
1575
1592
  }
1576
1593
  return m;
1577
1594
  }
@@ -1647,7 +1664,7 @@ class CreateSubscriptionRequest {
1647
1664
  m.proratedTo = new Date(proto.proratedTo);
1648
1665
  }
1649
1666
  if (proto.renewalState) {
1650
- m.renewalState = enumStringToValue$C(RenewalState, proto.renewalState);
1667
+ m.renewalState = enumStringToValue$F(RenewalState, proto.renewalState);
1651
1668
  }
1652
1669
  if (proto.customUnitPrice) {
1653
1670
  m.customUnitPrice = parseInt(proto.customUnitPrice, 10);
@@ -1656,16 +1673,16 @@ class CreateSubscriptionRequest {
1656
1673
  m.alignWith = AlignmentSubscription.fromProto(proto.alignWith);
1657
1674
  }
1658
1675
  if (proto.frequency) {
1659
- m.frequency = enumStringToValue$C(Frequency, proto.frequency);
1676
+ m.frequency = enumStringToValue$F(Frequency, proto.frequency);
1660
1677
  }
1661
1678
  if (proto.retailAmount) {
1662
1679
  m.retailAmount = parseInt(proto.retailAmount, 10);
1663
1680
  }
1664
1681
  if (proto.retailFrequency) {
1665
- m.retailFrequency = enumStringToValue$C(Frequency, proto.retailFrequency);
1682
+ m.retailFrequency = enumStringToValue$F(Frequency, proto.retailFrequency);
1666
1683
  }
1667
1684
  if (proto.consumer) {
1668
- m.consumer = enumStringToValue$C(Consumer, proto.consumer);
1685
+ m.consumer = enumStringToValue$F(Consumer, proto.consumer);
1669
1686
  }
1670
1687
  if (proto.renewalStart) {
1671
1688
  m.renewalStart = new Date(proto.renewalStart);
@@ -1939,7 +1956,7 @@ class Subscription {
1939
1956
  m.billingStart = new Date(proto.billingStart);
1940
1957
  }
1941
1958
  if (proto.renewalState) {
1942
- m.renewalState = enumStringToValue$C(RenewalState, proto.renewalState);
1959
+ m.renewalState = enumStringToValue$F(RenewalState, proto.renewalState);
1943
1960
  }
1944
1961
  if (proto.proratedTo) {
1945
1962
  m.proratedTo = new Date(proto.proratedTo);
@@ -1951,16 +1968,16 @@ class Subscription {
1951
1968
  m.alignWith = AlignmentSubscription.fromProto(proto.alignWith);
1952
1969
  }
1953
1970
  if (proto.frequency) {
1954
- m.frequency = enumStringToValue$C(Frequency, proto.frequency);
1971
+ m.frequency = enumStringToValue$F(Frequency, proto.frequency);
1955
1972
  }
1956
1973
  if (proto.retailAmount) {
1957
1974
  m.retailAmount = parseInt(proto.retailAmount, 10);
1958
1975
  }
1959
1976
  if (proto.retailFrequency) {
1960
- m.retailFrequency = enumStringToValue$C(Frequency, proto.retailFrequency);
1977
+ m.retailFrequency = enumStringToValue$F(Frequency, proto.retailFrequency);
1961
1978
  }
1962
1979
  if (proto.consumer) {
1963
- m.consumer = enumStringToValue$C(Consumer, proto.consumer);
1980
+ m.consumer = enumStringToValue$F(Consumer, proto.consumer);
1964
1981
  }
1965
1982
  if (proto.renewalStart) {
1966
1983
  m.renewalStart = new Date(proto.renewalStart);
@@ -2052,7 +2069,7 @@ class CanCreateSubscriptionsRequestSubscriptionItem {
2052
2069
  let m = new CanCreateSubscriptionsRequestSubscriptionItem();
2053
2070
  m = Object.assign(m, proto);
2054
2071
  if (proto.frequency) {
2055
- m.frequency = enumStringToValue$C(Frequency, proto.frequency);
2072
+ m.frequency = enumStringToValue$F(Frequency, proto.frequency);
2056
2073
  }
2057
2074
  if (proto.quantity) {
2058
2075
  m.quantity = parseInt(proto.quantity, 10);
@@ -2106,7 +2123,7 @@ class ValidateResponse {
2106
2123
  }
2107
2124
  }
2108
2125
 
2109
- function enumStringToValue$B(enumRef, value) {
2126
+ function enumStringToValue$E(enumRef, value) {
2110
2127
  if (typeof value === 'number') {
2111
2128
  return value;
2112
2129
  }
@@ -2216,7 +2233,7 @@ class BillableItem {
2216
2233
  m.updated = new Date(proto.updated);
2217
2234
  }
2218
2235
  if (proto.frequency) {
2219
- m.frequency = enumStringToValue$B(Frequency, proto.frequency);
2236
+ m.frequency = enumStringToValue$E(Frequency, proto.frequency);
2220
2237
  }
2221
2238
  if (proto.nextRenewal) {
2222
2239
  m.nextRenewal = new Date(proto.nextRenewal);
@@ -2228,7 +2245,7 @@ class BillableItem {
2228
2245
  m.customUnitPrice = parseInt(proto.customUnitPrice, 10);
2229
2246
  }
2230
2247
  if (proto.retailFrequency) {
2231
- m.retailFrequency = enumStringToValue$B(Frequency, proto.retailFrequency);
2248
+ m.retailFrequency = enumStringToValue$E(Frequency, proto.retailFrequency);
2232
2249
  }
2233
2250
  if (proto.nextRetailRenewal) {
2234
2251
  m.nextRetailRenewal = new Date(proto.nextRetailRenewal);
@@ -2237,7 +2254,7 @@ class BillableItem {
2237
2254
  m.retailUnitPrice = parseInt(proto.retailUnitPrice, 10);
2238
2255
  }
2239
2256
  if (proto.status) {
2240
- m.status = enumStringToValue$B(SubscriptionStatus, proto.status);
2257
+ m.status = enumStringToValue$E(SubscriptionStatus, proto.status);
2241
2258
  }
2242
2259
  if (proto.price) {
2243
2260
  m.price = ProductPricing.fromProto(proto.price);
@@ -2246,10 +2263,10 @@ class BillableItem {
2246
2263
  m.deleted = new Date(proto.deleted);
2247
2264
  }
2248
2265
  if (proto.source) {
2249
- m.source = enumStringToValue$B(Source, proto.source);
2266
+ m.source = enumStringToValue$E(Source, proto.source);
2250
2267
  }
2251
2268
  if (proto.consumer) {
2252
- m.consumer = enumStringToValue$B(Consumer, proto.consumer);
2269
+ m.consumer = enumStringToValue$E(Consumer, proto.consumer);
2253
2270
  }
2254
2271
  if (proto.billingCycleAnchor) {
2255
2272
  m.billingCycleAnchor = new Date(proto.billingCycleAnchor);
@@ -2540,7 +2557,7 @@ class ExportSubscriptionsRequest {
2540
2557
  m.filters = ListSubscriptionsRequestFilters.fromProto(proto.filters);
2541
2558
  }
2542
2559
  if (proto.consumer) {
2543
- m.consumer = enumStringToValue$B(Consumer, proto.consumer);
2560
+ m.consumer = enumStringToValue$E(Consumer, proto.consumer);
2544
2561
  }
2545
2562
  return m;
2546
2563
  }
@@ -2592,7 +2609,7 @@ class ListSubscriptionsRequestFilters {
2592
2609
  let m = new ListSubscriptionsRequestFilters();
2593
2610
  m = Object.assign(m, proto);
2594
2611
  if (proto.status) {
2595
- m.status = enumStringToValue$B(SubscriptionStatus, proto.status);
2612
+ m.status = enumStringToValue$E(SubscriptionStatus, proto.status);
2596
2613
  }
2597
2614
  if (proto.expiredDateGte) {
2598
2615
  m.expiredDateGte = new Date(proto.expiredDateGte);
@@ -2601,7 +2618,7 @@ class ListSubscriptionsRequestFilters {
2601
2618
  m.expiredDateLte = new Date(proto.expiredDateLte);
2602
2619
  }
2603
2620
  if (proto.frequencies) {
2604
- m.frequencies = proto.frequencies.map((v) => enumStringToValue$B(Frequency, v));
2621
+ m.frequencies = proto.frequencies.map((v) => enumStringToValue$E(Frequency, v));
2605
2622
  }
2606
2623
  return m;
2607
2624
  }
@@ -3093,7 +3110,7 @@ class UpdateSubscriptionResponse {
3093
3110
  }
3094
3111
  }
3095
3112
 
3096
- function enumStringToValue$A(enumRef, value) {
3113
+ function enumStringToValue$D(enumRef, value) {
3097
3114
  if (typeof value === 'number') {
3098
3115
  return value;
3099
3116
  }
@@ -3104,7 +3121,7 @@ class AppliedDiscount {
3104
3121
  let m = new AppliedDiscount();
3105
3122
  m = Object.assign(m, proto);
3106
3123
  if (proto.type) {
3107
- m.type = enumStringToValue$A(DiscountType, proto.type);
3124
+ m.type = enumStringToValue$D(DiscountType, proto.type);
3108
3125
  }
3109
3126
  if (proto.value) {
3110
3127
  m.value = parseInt(proto.value, 10);
@@ -3141,7 +3158,7 @@ class AppliedDiscount {
3141
3158
  }
3142
3159
  }
3143
3160
 
3144
- function enumStringToValue$z(enumRef, value) {
3161
+ function enumStringToValue$C(enumRef, value) {
3145
3162
  if (typeof value === 'number') {
3146
3163
  return value;
3147
3164
  }
@@ -3199,7 +3216,7 @@ class BundleItem {
3199
3216
  let m = new BundleItem();
3200
3217
  m = Object.assign(m, proto);
3201
3218
  if (proto.discountType) {
3202
- m.discountType = enumStringToValue$z(DiscountType, proto.discountType);
3219
+ m.discountType = enumStringToValue$C(DiscountType, proto.discountType);
3203
3220
  }
3204
3221
  if (proto.discountAmount) {
3205
3222
  m.discountAmount = parseInt(proto.discountAmount, 10);
@@ -3457,7 +3474,7 @@ class BundlePricingPriceAndFrequency {
3457
3474
  let m = new BundlePricingPriceAndFrequency();
3458
3475
  m = Object.assign(m, proto);
3459
3476
  if (proto.frequency) {
3460
- m.frequency = enumStringToValue$z(Frequency, proto.frequency);
3477
+ m.frequency = enumStringToValue$C(Frequency, proto.frequency);
3461
3478
  }
3462
3479
  if (proto.effectivePrice) {
3463
3480
  m.effectivePrice = parseInt(proto.effectivePrice, 10);
@@ -3529,7 +3546,7 @@ class UpsertBundleRequest {
3529
3546
  }
3530
3547
  }
3531
3548
 
3532
- function enumStringToValue$y(enumRef, value) {
3549
+ function enumStringToValue$B(enumRef, value) {
3533
3550
  if (typeof value === 'number') {
3534
3551
  return value;
3535
3552
  }
@@ -3546,7 +3563,7 @@ class Contract {
3546
3563
  m.created = new Date(proto.created);
3547
3564
  }
3548
3565
  if (proto.currency) {
3549
- m.currency = enumStringToValue$y(Currency, proto.currency);
3566
+ m.currency = enumStringToValue$B(Currency, proto.currency);
3550
3567
  }
3551
3568
  if (proto.signed) {
3552
3569
  m.signed = new Date(proto.signed);
@@ -3567,7 +3584,7 @@ class Contract {
3567
3584
  m.end = new Date(proto.end);
3568
3585
  }
3569
3586
  if (proto.subscriptionUpdateStatus) {
3570
- m.subscriptionUpdateStatus = enumStringToValue$y(ContractSubscriptionStatus, proto.subscriptionUpdateStatus);
3587
+ m.subscriptionUpdateStatus = enumStringToValue$B(ContractSubscriptionStatus, proto.subscriptionUpdateStatus);
3571
3588
  }
3572
3589
  return m;
3573
3590
  }
@@ -3767,7 +3784,7 @@ class GetMerchantWholesaleCurrencyResponse {
3767
3784
  let m = new GetMerchantWholesaleCurrencyResponse();
3768
3785
  m = Object.assign(m, proto);
3769
3786
  if (proto.currency) {
3770
- m.currency = enumStringToValue$y(Currency, proto.currency);
3787
+ m.currency = enumStringToValue$B(Currency, proto.currency);
3771
3788
  }
3772
3789
  return m;
3773
3790
  }
@@ -4022,7 +4039,7 @@ class UpdateContractSubscriptionRequest {
4022
4039
  let m = new UpdateContractSubscriptionRequest();
4023
4040
  m = Object.assign(m, proto);
4024
4041
  if (proto.frequency) {
4025
- m.frequency = enumStringToValue$y(Frequency, proto.frequency);
4042
+ m.frequency = enumStringToValue$B(Frequency, proto.frequency);
4026
4043
  }
4027
4044
  return m;
4028
4045
  }
@@ -4047,7 +4064,7 @@ class UpdateContractSubscriptionRequest {
4047
4064
  }
4048
4065
  }
4049
4066
 
4050
- function enumStringToValue$x(enumRef, value) {
4067
+ function enumStringToValue$A(enumRef, value) {
4051
4068
  if (typeof value === 'number') {
4052
4069
  return value;
4053
4070
  }
@@ -4064,7 +4081,7 @@ class CustomerSummary {
4064
4081
  m.purchaseItemTotal = parseInt(proto.purchaseItemTotal, 10);
4065
4082
  }
4066
4083
  if (proto.currency) {
4067
- m.currency = enumStringToValue$x(Currency, proto.currency);
4084
+ m.currency = enumStringToValue$A(Currency, proto.currency);
4068
4085
  }
4069
4086
  return m;
4070
4087
  }
@@ -4150,7 +4167,7 @@ class GetMultiCustomerSummariesResponse {
4150
4167
  }
4151
4168
  }
4152
4169
 
4153
- function enumStringToValue$w(enumRef, value) {
4170
+ function enumStringToValue$z(enumRef, value) {
4154
4171
  if (typeof value === 'number') {
4155
4172
  return value;
4156
4173
  }
@@ -4310,7 +4327,7 @@ class SetDefaultBankAccountRequest {
4310
4327
  }
4311
4328
  }
4312
4329
 
4313
- function enumStringToValue$v(enumRef, value) {
4330
+ function enumStringToValue$y(enumRef, value) {
4314
4331
  if (typeof value === 'number') {
4315
4332
  return value;
4316
4333
  }
@@ -4321,7 +4338,7 @@ class ProductSummaryDiscount {
4321
4338
  let m = new ProductSummaryDiscount();
4322
4339
  m = Object.assign(m, proto);
4323
4340
  if (proto.type) {
4324
- m.type = enumStringToValue$v(ProductSummaryDiscountDiscountType, proto.type);
4341
+ m.type = enumStringToValue$y(ProductSummaryDiscountDiscountType, proto.type);
4325
4342
  }
4326
4343
  if (proto.value) {
4327
4344
  m.value = parseInt(proto.value, 10);
@@ -4615,7 +4632,7 @@ class Pricing {
4615
4632
  let m = new Pricing();
4616
4633
  m = Object.assign(m, proto);
4617
4634
  if (proto.type) {
4618
- m.type = enumStringToValue$v(PricingRuleType, proto.type);
4635
+ m.type = enumStringToValue$y(PricingRuleType, proto.type);
4619
4636
  }
4620
4637
  if (proto.rules) {
4621
4638
  m.rules = proto.rules.map(PricingRule.fromProto);
@@ -4659,13 +4676,13 @@ class ProductSummary {
4659
4676
  m.discounts = proto.discounts.map(ProductSummaryDiscount.fromProto);
4660
4677
  }
4661
4678
  if (proto.billingStrategy) {
4662
- m.billingStrategy = enumStringToValue$v(ProductSummaryBillingStrategy, proto.billingStrategy);
4679
+ m.billingStrategy = enumStringToValue$y(ProductSummaryBillingStrategy, proto.billingStrategy);
4663
4680
  }
4664
4681
  if (proto.productType) {
4665
- m.productType = enumStringToValue$v(ProductSummaryProductType, proto.productType);
4682
+ m.productType = enumStringToValue$y(ProductSummaryProductType, proto.productType);
4666
4683
  }
4667
4684
  if (proto.frequency) {
4668
- m.frequency = enumStringToValue$v(Frequency, proto.frequency);
4685
+ m.frequency = enumStringToValue$y(Frequency, proto.frequency);
4669
4686
  }
4670
4687
  if (proto.volumeCommitment) {
4671
4688
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -4846,7 +4863,7 @@ class ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup {
4846
4863
  }
4847
4864
  }
4848
4865
 
4849
- function enumStringToValue$u(enumRef, value) {
4866
+ function enumStringToValue$x(enumRef, value) {
4850
4867
  if (typeof value === 'number') {
4851
4868
  return value;
4852
4869
  }
@@ -4857,7 +4874,7 @@ class CreateDiscountRequest {
4857
4874
  let m = new CreateDiscountRequest();
4858
4875
  m = Object.assign(m, proto);
4859
4876
  if (proto.discountType) {
4860
- m.discountType = enumStringToValue$u(DiscountType, proto.discountType);
4877
+ m.discountType = enumStringToValue$x(DiscountType, proto.discountType);
4861
4878
  }
4862
4879
  if (proto.amount) {
4863
4880
  m.amount = parseInt(proto.amount, 10);
@@ -4869,7 +4886,7 @@ class CreateDiscountRequest {
4869
4886
  m.end = new Date(proto.end);
4870
4887
  }
4871
4888
  if (proto.consumer) {
4872
- m.consumer = enumStringToValue$u(Consumer, proto.consumer);
4889
+ m.consumer = enumStringToValue$x(Consumer, proto.consumer);
4873
4890
  }
4874
4891
  if (proto.numberOfBillingPeriods) {
4875
4892
  m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);
@@ -4951,7 +4968,7 @@ class Discount {
4951
4968
  m.discountId = parseInt(proto.discountId, 10);
4952
4969
  }
4953
4970
  if (proto.discountType) {
4954
- m.discountType = enumStringToValue$u(DiscountType, proto.discountType);
4971
+ m.discountType = enumStringToValue$x(DiscountType, proto.discountType);
4955
4972
  }
4956
4973
  if (proto.amount) {
4957
4974
  m.amount = parseInt(proto.amount, 10);
@@ -4969,7 +4986,7 @@ class Discount {
4969
4986
  m.updated = new Date(proto.updated);
4970
4987
  }
4971
4988
  if (proto.consumer) {
4972
- m.consumer = enumStringToValue$u(Consumer, proto.consumer);
4989
+ m.consumer = enumStringToValue$x(Consumer, proto.consumer);
4973
4990
  }
4974
4991
  if (proto.numberOfBillingPeriods) {
4975
4992
  m.numberOfBillingPeriods = parseInt(proto.numberOfBillingPeriods, 10);
@@ -5066,7 +5083,7 @@ class ListDiscountsRequestFilters {
5066
5083
  m.expiry = new Date(proto.expiry);
5067
5084
  }
5068
5085
  if (proto.consumers) {
5069
- m.consumers = proto.consumers.map((v) => enumStringToValue$u(Consumer, v));
5086
+ m.consumers = proto.consumers.map((v) => enumStringToValue$x(Consumer, v));
5070
5087
  }
5071
5088
  return m;
5072
5089
  }
@@ -5165,7 +5182,7 @@ class UpdateDiscountRequest {
5165
5182
  let m = new UpdateDiscountRequest();
5166
5183
  m = Object.assign(m, proto);
5167
5184
  if (proto.discountType) {
5168
- m.discountType = enumStringToValue$u(DiscountType, proto.discountType);
5185
+ m.discountType = enumStringToValue$x(DiscountType, proto.discountType);
5169
5186
  }
5170
5187
  if (proto.amount) {
5171
5188
  m.amount = parseInt(proto.amount, 10);
@@ -5226,7 +5243,7 @@ class UpdateDiscountRequest {
5226
5243
  }
5227
5244
  }
5228
5245
 
5229
- function enumStringToValue$t(enumRef, value) {
5246
+ function enumStringToValue$w(enumRef, value) {
5230
5247
  if (typeof value === 'number') {
5231
5248
  return value;
5232
5249
  }
@@ -5268,7 +5285,7 @@ class AppliedTaxRate {
5268
5285
  }
5269
5286
  }
5270
5287
 
5271
- function enumStringToValue$s(enumRef, value) {
5288
+ function enumStringToValue$v(enumRef, value) {
5272
5289
  if (typeof value === 'number') {
5273
5290
  return value;
5274
5291
  }
@@ -5760,7 +5777,7 @@ class UpdateTaxRequest {
5760
5777
  }
5761
5778
  }
5762
5779
 
5763
- function enumStringToValue$r(enumRef, value) {
5780
+ function enumStringToValue$u(enumRef, value) {
5764
5781
  if (typeof value === 'number') {
5765
5782
  return value;
5766
5783
  }
@@ -5837,7 +5854,7 @@ class AppliedBundleItem {
5837
5854
  }
5838
5855
  }
5839
5856
 
5840
- function enumStringToValue$q(enumRef, value) {
5857
+ function enumStringToValue$t(enumRef, value) {
5841
5858
  if (typeof value === 'number') {
5842
5859
  return value;
5843
5860
  }
@@ -5943,10 +5960,10 @@ class PaymentCard {
5943
5960
  let m = new PaymentCard();
5944
5961
  m = Object.assign(m, proto);
5945
5962
  if (proto.cardType) {
5946
- m.cardType = enumStringToValue$q(PaymentCardCARD_TYPE, proto.cardType);
5963
+ m.cardType = enumStringToValue$t(PaymentCardCARD_TYPE, proto.cardType);
5947
5964
  }
5948
5965
  if (proto.fundingType) {
5949
- m.fundingType = enumStringToValue$q(PaymentCardFUNDING_TYPE, proto.fundingType);
5966
+ m.fundingType = enumStringToValue$t(PaymentCardFUNDING_TYPE, proto.fundingType);
5950
5967
  }
5951
5968
  return m;
5952
5969
  }
@@ -6053,7 +6070,7 @@ class UpdatePaymentCardRequest {
6053
6070
  }
6054
6071
  }
6055
6072
 
6056
- function enumStringToValue$p(enumRef, value) {
6073
+ function enumStringToValue$s(enumRef, value) {
6057
6074
  if (typeof value === 'number') {
6058
6075
  return value;
6059
6076
  }
@@ -6156,7 +6173,7 @@ class PaymentMethod {
6156
6173
  let m = new PaymentMethod();
6157
6174
  m = Object.assign(m, proto);
6158
6175
  if (proto.type) {
6159
- m.type = enumStringToValue$p(PaymentMethodType, proto.type);
6176
+ m.type = enumStringToValue$s(PaymentMethodType, proto.type);
6160
6177
  }
6161
6178
  if (proto.card) {
6162
6179
  m.card = PaymentCard.fromProto(proto.card);
@@ -6196,7 +6213,7 @@ class PaymentMethod {
6196
6213
  }
6197
6214
  }
6198
6215
 
6199
- function enumStringToValue$o(enumRef, value) {
6216
+ function enumStringToValue$r(enumRef, value) {
6200
6217
  if (typeof value === 'number') {
6201
6218
  return value;
6202
6219
  }
@@ -6291,7 +6308,7 @@ class ListRecurringInvoicesFiltersDetailedInterval {
6291
6308
  let m = new ListRecurringInvoicesFiltersDetailedInterval();
6292
6309
  m = Object.assign(m, proto);
6293
6310
  if (proto.interval) {
6294
- m.interval = enumStringToValue$o(Interval, proto.interval);
6311
+ m.interval = enumStringToValue$r(Interval, proto.interval);
6295
6312
  }
6296
6313
  if (proto.intervalCount) {
6297
6314
  m.intervalCount = parseInt(proto.intervalCount, 10);
@@ -6340,7 +6357,7 @@ class ListRecurringInvoicesFilters {
6340
6357
  let m = new ListRecurringInvoicesFilters();
6341
6358
  m = Object.assign(m, proto);
6342
6359
  if (proto.statuses) {
6343
- m.statuses = proto.statuses.map((v) => enumStringToValue$o(RecurringInvoiceStatus, v));
6360
+ m.statuses = proto.statuses.map((v) => enumStringToValue$r(RecurringInvoiceStatus, v));
6344
6361
  }
6345
6362
  if (proto.intervals) {
6346
6363
  m.intervals = proto.intervals.map(ListRecurringInvoicesFiltersDetailedInterval.fromProto);
@@ -6445,7 +6462,7 @@ class RecurringInvoice {
6445
6462
  m.updated = new Date(proto.updated);
6446
6463
  }
6447
6464
  if (proto.status) {
6448
- m.status = enumStringToValue$o(RecurringInvoiceStatus, proto.status);
6465
+ m.status = enumStringToValue$r(RecurringInvoiceStatus, proto.status);
6449
6466
  }
6450
6467
  if (proto.nextIssue) {
6451
6468
  m.nextIssue = new Date(proto.nextIssue);
@@ -6454,16 +6471,16 @@ class RecurringInvoice {
6454
6471
  m.intervalCount = parseInt(proto.intervalCount, 10);
6455
6472
  }
6456
6473
  if (proto.interval) {
6457
- m.interval = enumStringToValue$o(Interval, proto.interval);
6474
+ m.interval = enumStringToValue$r(Interval, proto.interval);
6458
6475
  }
6459
6476
  if (proto.repeatOnDayOfMonth) {
6460
6477
  m.repeatOnDayOfMonth = parseInt(proto.repeatOnDayOfMonth, 10);
6461
6478
  }
6462
6479
  if (proto.collectionMethod) {
6463
- m.collectionMethod = enumStringToValue$o(CollectionMethod, proto.collectionMethod);
6480
+ m.collectionMethod = enumStringToValue$r(CollectionMethod, proto.collectionMethod);
6464
6481
  }
6465
6482
  if (proto.paymentProcessor) {
6466
- m.paymentProcessor = enumStringToValue$o(PaymentProcessor, proto.paymentProcessor);
6483
+ m.paymentProcessor = enumStringToValue$r(PaymentProcessor, proto.paymentProcessor);
6467
6484
  }
6468
6485
  if (proto.items) {
6469
6486
  m.items = proto.items.map(RecurringInvoiceItem.fromProto);
@@ -6481,7 +6498,7 @@ class RecurringInvoice {
6481
6498
  m.netD = parseInt(proto.netD, 10);
6482
6499
  }
6483
6500
  if (proto.paymentMethodTypes) {
6484
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$o(PaymentMethodType, v));
6501
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$r(PaymentMethodType, v));
6485
6502
  }
6486
6503
  return m;
6487
6504
  }
@@ -6688,7 +6705,7 @@ class UpdateRecurringInvoiceRequest {
6688
6705
  }
6689
6706
  }
6690
6707
 
6691
- function enumStringToValue$n(enumRef, value) {
6708
+ function enumStringToValue$q(enumRef, value) {
6692
6709
  if (typeof value === 'number') {
6693
6710
  return value;
6694
6711
  }
@@ -6833,7 +6850,7 @@ class AppliedCreditNote {
6833
6850
  m.amount = parseInt(proto.amount, 10);
6834
6851
  }
6835
6852
  if (proto.creditNoteType) {
6836
- m.creditNoteType = enumStringToValue$n(CreditNoteType, proto.creditNoteType);
6853
+ m.creditNoteType = enumStringToValue$q(CreditNoteType, proto.creditNoteType);
6837
6854
  }
6838
6855
  return m;
6839
6856
  }
@@ -6897,10 +6914,10 @@ class CreateInvoiceRequest {
6897
6914
  m.items = proto.items.map(InvoiceItem.fromProto);
6898
6915
  }
6899
6916
  if (proto.collectionMethod) {
6900
- m.collectionMethod = enumStringToValue$n(CollectionMethod, proto.collectionMethod);
6917
+ m.collectionMethod = enumStringToValue$q(CollectionMethod, proto.collectionMethod);
6901
6918
  }
6902
6919
  if (proto.origin) {
6903
- m.origin = enumStringToValue$n(Origin, proto.origin);
6920
+ m.origin = enumStringToValue$q(Origin, proto.origin);
6904
6921
  }
6905
6922
  if (proto.issued) {
6906
6923
  m.issued = new Date(proto.issued);
@@ -7066,7 +7083,7 @@ class ListInvoicesRequestFiltersDateFilter {
7066
7083
  let m = new ListInvoicesRequestFiltersDateFilter();
7067
7084
  m = Object.assign(m, proto);
7068
7085
  if (proto.dateField) {
7069
- m.dateField = enumStringToValue$n(ListInvoicesRequestFiltersDateFilterDateField, proto.dateField);
7086
+ m.dateField = enumStringToValue$q(ListInvoicesRequestFiltersDateFilterDateField, proto.dateField);
7070
7087
  }
7071
7088
  if (proto.dateLte) {
7072
7089
  m.dateLte = new Date(proto.dateLte);
@@ -7216,13 +7233,13 @@ class ListInvoicesRequestFilters {
7216
7233
  let m = new ListInvoicesRequestFilters();
7217
7234
  m = Object.assign(m, proto);
7218
7235
  if (proto.statuses) {
7219
- m.statuses = proto.statuses.map((v) => enumStringToValue$n(InvoiceStatus, v));
7236
+ m.statuses = proto.statuses.map((v) => enumStringToValue$q(InvoiceStatus, v));
7220
7237
  }
7221
7238
  if (proto.dateFilter) {
7222
7239
  m.dateFilter = ListInvoicesRequestFiltersDateFilter.fromProto(proto.dateFilter);
7223
7240
  }
7224
7241
  if (proto.lastPaymentStatuses) {
7225
- m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$n(LastPaymentStatus, v));
7242
+ m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$q(LastPaymentStatus, v));
7226
7243
  }
7227
7244
  return m;
7228
7245
  }
@@ -7413,7 +7430,7 @@ class Invoice {
7413
7430
  let m = new Invoice();
7414
7431
  m = Object.assign(m, proto);
7415
7432
  if (proto.status) {
7416
- m.status = enumStringToValue$n(InvoiceStatus, proto.status);
7433
+ m.status = enumStringToValue$q(InvoiceStatus, proto.status);
7417
7434
  }
7418
7435
  if (proto.subtotal) {
7419
7436
  m.subtotal = parseInt(proto.subtotal, 10);
@@ -7440,7 +7457,7 @@ class Invoice {
7440
7457
  m.items = proto.items.map(InvoiceItem.fromProto);
7441
7458
  }
7442
7459
  if (proto.currency) {
7443
- m.currency = enumStringToValue$n(Currency, proto.currency);
7460
+ m.currency = enumStringToValue$q(Currency, proto.currency);
7444
7461
  }
7445
7462
  if (proto.paid) {
7446
7463
  m.paid = new Date(proto.paid);
@@ -7473,10 +7490,10 @@ class Invoice {
7473
7490
  m.autoAdvance = new Date(proto.autoAdvance);
7474
7491
  }
7475
7492
  if (proto.paymentMethodTypes) {
7476
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$n(PaymentMethodType, v));
7493
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$q(PaymentMethodType, v));
7477
7494
  }
7478
7495
  if (proto.lastPaymentStatus) {
7479
- m.lastPaymentStatus = enumStringToValue$n(LastPaymentStatus, proto.lastPaymentStatus);
7496
+ m.lastPaymentStatus = enumStringToValue$q(LastPaymentStatus, proto.lastPaymentStatus);
7480
7497
  }
7481
7498
  if (proto.amountOwing) {
7482
7499
  m.amountOwing = parseInt(proto.amountOwing, 10);
@@ -7485,7 +7502,7 @@ class Invoice {
7485
7502
  m.appliedCreditNotes = proto.appliedCreditNotes.map(AppliedCreditNote.fromProto);
7486
7503
  }
7487
7504
  if (proto.processingFailureCode) {
7488
- m.processingFailureCode = enumStringToValue$n(ProcessingFailureCode, proto.processingFailureCode);
7505
+ m.processingFailureCode = enumStringToValue$q(ProcessingFailureCode, proto.processingFailureCode);
7489
7506
  }
7490
7507
  return m;
7491
7508
  }
@@ -8194,7 +8211,7 @@ class VoidInvoiceRequest {
8194
8211
  }
8195
8212
  }
8196
8213
 
8197
- function enumStringToValue$m(enumRef, value) {
8214
+ function enumStringToValue$p(enumRef, value) {
8198
8215
  if (typeof value === 'number') {
8199
8216
  return value;
8200
8217
  }
@@ -8288,7 +8305,7 @@ class BalanceAmount {
8288
8305
  }
8289
8306
  }
8290
8307
 
8291
- function enumStringToValue$l(enumRef, value) {
8308
+ function enumStringToValue$o(enumRef, value) {
8292
8309
  if (typeof value === 'number') {
8293
8310
  return value;
8294
8311
  }
@@ -8324,7 +8341,7 @@ class DateRange {
8324
8341
  }
8325
8342
  }
8326
8343
 
8327
- function enumStringToValue$k(enumRef, value) {
8344
+ function enumStringToValue$n(enumRef, value) {
8328
8345
  if (typeof value === 'number') {
8329
8346
  return value;
8330
8347
  }
@@ -8425,13 +8442,13 @@ class Payout {
8425
8442
  m.amount = parseInt(proto.amount, 10);
8426
8443
  }
8427
8444
  if (proto.currency) {
8428
- m.currency = enumStringToValue$k(Currency, proto.currency);
8445
+ m.currency = enumStringToValue$n(Currency, proto.currency);
8429
8446
  }
8430
8447
  if (proto.status) {
8431
- m.status = enumStringToValue$k(PayoutStatus, proto.status);
8448
+ m.status = enumStringToValue$n(PayoutStatus, proto.status);
8432
8449
  }
8433
8450
  if (proto.type) {
8434
- m.type = enumStringToValue$k(PayoutType, proto.type);
8451
+ m.type = enumStringToValue$n(PayoutType, proto.type);
8435
8452
  }
8436
8453
  return m;
8437
8454
  }
@@ -8533,10 +8550,10 @@ class RetailPayout {
8533
8550
  m.amount = parseInt(proto.amount, 10);
8534
8551
  }
8535
8552
  if (proto.status) {
8536
- m.status = enumStringToValue$k(PayoutStatus, proto.status);
8553
+ m.status = enumStringToValue$n(PayoutStatus, proto.status);
8537
8554
  }
8538
8555
  if (proto.type) {
8539
- m.type = enumStringToValue$k(PayoutType, proto.type);
8556
+ m.type = enumStringToValue$n(PayoutType, proto.type);
8540
8557
  }
8541
8558
  return m;
8542
8559
  }
@@ -8585,7 +8602,7 @@ class RetailPayout {
8585
8602
  }
8586
8603
  }
8587
8604
 
8588
- function enumStringToValue$j(enumRef, value) {
8605
+ function enumStringToValue$m(enumRef, value) {
8589
8606
  if (typeof value === 'number') {
8590
8607
  return value;
8591
8608
  }
@@ -8700,7 +8717,7 @@ class CreateMerchantRequest {
8700
8717
  m.includeInFinancialRecords = CreateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);
8701
8718
  }
8702
8719
  if (proto.merchantType) {
8703
- m.merchantType = enumStringToValue$j(MerchantType, proto.merchantType);
8720
+ m.merchantType = enumStringToValue$m(MerchantType, proto.merchantType);
8704
8721
  }
8705
8722
  return m;
8706
8723
  }
@@ -8964,7 +8981,7 @@ class GetOutstandingBalanceResponse {
8964
8981
  m.outstandingBalance = parseInt(proto.outstandingBalance, 10);
8965
8982
  }
8966
8983
  if (proto.currency) {
8967
- m.currency = enumStringToValue$j(Currency, proto.currency);
8984
+ m.currency = enumStringToValue$m(Currency, proto.currency);
8968
8985
  }
8969
8986
  return m;
8970
8987
  }
@@ -9275,7 +9292,7 @@ class Merchant {
9275
9292
  let m = new Merchant();
9276
9293
  m = Object.assign(m, proto);
9277
9294
  if (proto.merchantType) {
9278
- m.merchantType = enumStringToValue$j(MerchantType, proto.merchantType);
9295
+ m.merchantType = enumStringToValue$m(MerchantType, proto.merchantType);
9279
9296
  }
9280
9297
  return m;
9281
9298
  }
@@ -9430,10 +9447,10 @@ class SearchMerchantsRequest {
9430
9447
  let m = new SearchMerchantsRequest();
9431
9448
  m = Object.assign(m, proto);
9432
9449
  if (proto.sortBy) {
9433
- m.sortBy = enumStringToValue$j(SearchMerchantsRequestSortBy, proto.sortBy);
9450
+ m.sortBy = enumStringToValue$m(SearchMerchantsRequestSortBy, proto.sortBy);
9434
9451
  }
9435
9452
  if (proto.sortDirection) {
9436
- m.sortDirection = enumStringToValue$j(SortDirection, proto.sortDirection);
9453
+ m.sortDirection = enumStringToValue$m(SortDirection, proto.sortDirection);
9437
9454
  }
9438
9455
  if (proto.pagingOptions) {
9439
9456
  m.pagingOptions = PagedRequestOptions.fromProto(proto.pagingOptions);
@@ -9641,7 +9658,7 @@ class UpdateMerchantRequest {
9641
9658
  m.includeInFinancialRecords = UpdateMerchantRequestIncludeInFinancialRecords.fromProto(proto.includeInFinancialRecords);
9642
9659
  }
9643
9660
  if (proto.merchantType) {
9644
- m.merchantType = enumStringToValue$j(MerchantType, proto.merchantType);
9661
+ m.merchantType = enumStringToValue$m(MerchantType, proto.merchantType);
9645
9662
  }
9646
9663
  return m;
9647
9664
  }
@@ -9766,7 +9783,7 @@ class UpsertRetailConfigurationRequest {
9766
9783
  }
9767
9784
  }
9768
9785
 
9769
- function enumStringToValue$i(enumRef, value) {
9786
+ function enumStringToValue$l(enumRef, value) {
9770
9787
  if (typeof value === 'number') {
9771
9788
  return value;
9772
9789
  }
@@ -9835,13 +9852,13 @@ class MerchantReport {
9835
9852
  m.year = parseInt(proto.year, 10);
9836
9853
  }
9837
9854
  if (proto.month) {
9838
- m.month = enumStringToValue$i(Month, proto.month);
9855
+ m.month = enumStringToValue$l(Month, proto.month);
9839
9856
  }
9840
9857
  if (proto.created) {
9841
9858
  m.created = new Date(proto.created);
9842
9859
  }
9843
9860
  if (proto.status) {
9844
- m.status = enumStringToValue$i(MerchantReportStatus, proto.status);
9861
+ m.status = enumStringToValue$l(MerchantReportStatus, proto.status);
9845
9862
  }
9846
9863
  return m;
9847
9864
  }
@@ -9872,7 +9889,7 @@ class MerchantReport {
9872
9889
  }
9873
9890
  }
9874
9891
 
9875
- function enumStringToValue$h(enumRef, value) {
9892
+ function enumStringToValue$k(enumRef, value) {
9876
9893
  if (typeof value === 'number') {
9877
9894
  return value;
9878
9895
  }
@@ -9969,7 +9986,7 @@ class TickComponentUsageRequest {
9969
9986
  }
9970
9987
  }
9971
9988
 
9972
- function enumStringToValue$g(enumRef, value) {
9989
+ function enumStringToValue$j(enumRef, value) {
9973
9990
  if (typeof value === 'number') {
9974
9991
  return value;
9975
9992
  }
@@ -10082,7 +10099,7 @@ class RetailPaymentCardDetails {
10082
10099
  let m = new RetailPaymentCardDetails();
10083
10100
  m = Object.assign(m, proto);
10084
10101
  if (proto.cardType) {
10085
- m.cardType = enumStringToValue$g(CardType, proto.cardType);
10102
+ m.cardType = enumStringToValue$j(CardType, proto.cardType);
10086
10103
  }
10087
10104
  return m;
10088
10105
  }
@@ -10131,7 +10148,7 @@ class ConfigureRetailPaymentProviderRequest {
10131
10148
  let m = new ConfigureRetailPaymentProviderRequest();
10132
10149
  m = Object.assign(m, proto);
10133
10150
  if (proto.paymentFacilitatorType) {
10134
- m.paymentFacilitatorType = enumStringToValue$g(PaymentFacilitatorType, proto.paymentFacilitatorType);
10151
+ m.paymentFacilitatorType = enumStringToValue$j(PaymentFacilitatorType, proto.paymentFacilitatorType);
10135
10152
  }
10136
10153
  return m;
10137
10154
  }
@@ -10209,7 +10226,7 @@ class Dispute {
10209
10226
  let m = new Dispute();
10210
10227
  m = Object.assign(m, proto);
10211
10228
  if (proto.status) {
10212
- m.status = enumStringToValue$g(DisputeStatus, proto.status);
10229
+ m.status = enumStringToValue$j(DisputeStatus, proto.status);
10213
10230
  }
10214
10231
  if (proto.amount) {
10215
10232
  m.amount = parseInt(proto.amount, 10);
@@ -10227,7 +10244,7 @@ class Dispute {
10227
10244
  m.fee = parseInt(proto.fee, 10);
10228
10245
  }
10229
10246
  if (proto.paymentReferenceType) {
10230
- m.paymentReferenceType = enumStringToValue$g(RetailPaymentReferenceType, proto.paymentReferenceType);
10247
+ m.paymentReferenceType = enumStringToValue$j(RetailPaymentReferenceType, proto.paymentReferenceType);
10231
10248
  }
10232
10249
  if (proto.paymentReceivedAt) {
10233
10250
  m.paymentReceivedAt = new Date(proto.paymentReceivedAt);
@@ -10543,7 +10560,7 @@ class GetRetailPaymentProviderResponse {
10543
10560
  let m = new GetRetailPaymentProviderResponse();
10544
10561
  m = Object.assign(m, proto);
10545
10562
  if (proto.paymentFacilitatorType) {
10546
- m.paymentFacilitatorType = enumStringToValue$g(PaymentFacilitatorType, proto.paymentFacilitatorType);
10563
+ m.paymentFacilitatorType = enumStringToValue$j(PaymentFacilitatorType, proto.paymentFacilitatorType);
10547
10564
  }
10548
10565
  return m;
10549
10566
  }
@@ -10757,7 +10774,7 @@ class ListRetailDisputesRequestListRetailDisputesFilters {
10757
10774
  let m = new ListRetailDisputesRequestListRetailDisputesFilters();
10758
10775
  m = Object.assign(m, proto);
10759
10776
  if (proto.status) {
10760
- m.status = enumStringToValue$g(DisputeStatus, proto.status);
10777
+ m.status = enumStringToValue$j(DisputeStatus, proto.status);
10761
10778
  }
10762
10779
  return m;
10763
10780
  }
@@ -10943,7 +10960,7 @@ class ListRetailTransactionsRequestListRetailTransactionsFilters {
10943
10960
  m.createdDateLte = new Date(proto.createdDateLte);
10944
10961
  }
10945
10962
  if (proto.type) {
10946
- m.type = enumStringToValue$g(RetailTransactionType, proto.type);
10963
+ m.type = enumStringToValue$j(RetailTransactionType, proto.type);
10947
10964
  }
10948
10965
  return m;
10949
10966
  }
@@ -11077,10 +11094,10 @@ class Payment {
11077
11094
  m.created = new Date(proto.created);
11078
11095
  }
11079
11096
  if (proto.currency) {
11080
- m.currency = enumStringToValue$g(Currency, proto.currency);
11097
+ m.currency = enumStringToValue$j(Currency, proto.currency);
11081
11098
  }
11082
11099
  if (proto.paymentSource) {
11083
- m.paymentSource = enumStringToValue$g(PaymentSource, proto.paymentSource);
11100
+ m.paymentSource = enumStringToValue$j(PaymentSource, proto.paymentSource);
11084
11101
  }
11085
11102
  if (proto.allocations) {
11086
11103
  m.allocations = proto.allocations.map(PaymentPaymentAllocation.fromProto);
@@ -11089,7 +11106,7 @@ class Payment {
11089
11106
  m.total = parseInt(proto.total, 10);
11090
11107
  }
11091
11108
  if (proto.status) {
11092
- m.status = enumStringToValue$g(PaymentStatus, proto.status);
11109
+ m.status = enumStringToValue$j(PaymentStatus, proto.status);
11093
11110
  }
11094
11111
  return m;
11095
11112
  }
@@ -11139,7 +11156,7 @@ class PaymentPaymentAllocation {
11139
11156
  m.amount = parseInt(proto.amount, 10);
11140
11157
  }
11141
11158
  if (proto.type) {
11142
- m.type = enumStringToValue$g(PaymentAllocationType, proto.type);
11159
+ m.type = enumStringToValue$j(PaymentAllocationType, proto.type);
11143
11160
  }
11144
11161
  return m;
11145
11162
  }
@@ -11168,13 +11185,13 @@ class PaymentIntent {
11168
11185
  let m = new PaymentIntent();
11169
11186
  m = Object.assign(m, proto);
11170
11187
  if (proto.paymentIntentStatus) {
11171
- m.paymentIntentStatus = enumStringToValue$g(PaymentIntentStatus, proto.paymentIntentStatus);
11188
+ m.paymentIntentStatus = enumStringToValue$j(PaymentIntentStatus, proto.paymentIntentStatus);
11172
11189
  }
11173
11190
  if (proto.paymentMethodType) {
11174
- m.paymentMethodType = enumStringToValue$g(PaymentMethodType, proto.paymentMethodType);
11191
+ m.paymentMethodType = enumStringToValue$j(PaymentMethodType, proto.paymentMethodType);
11175
11192
  }
11176
11193
  if (proto.lastErrorCode) {
11177
- m.lastErrorCode = enumStringToValue$g(PaymentErrorCode, proto.lastErrorCode);
11194
+ m.lastErrorCode = enumStringToValue$j(PaymentErrorCode, proto.lastErrorCode);
11178
11195
  }
11179
11196
  return m;
11180
11197
  }
@@ -11206,7 +11223,7 @@ class PrepareRetailPaymentRequest {
11206
11223
  m.order = PrepareRetailPaymentRequestOrder.fromProto(proto.order);
11207
11224
  }
11208
11225
  if (proto.paymentMethodTypes) {
11209
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$g(PaymentMethodType, v));
11226
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$j(PaymentMethodType, v));
11210
11227
  }
11211
11228
  return m;
11212
11229
  }
@@ -11273,7 +11290,7 @@ class RefundRetailPaymentRequest {
11273
11290
  m.amount = parseInt(proto.amount, 10);
11274
11291
  }
11275
11292
  if (proto.reason) {
11276
- m.reason = enumStringToValue$g(RetailRefundReason, proto.reason);
11293
+ m.reason = enumStringToValue$j(RetailRefundReason, proto.reason);
11277
11294
  }
11278
11295
  return m;
11279
11296
  }
@@ -11334,10 +11351,10 @@ class RetailPayment {
11334
11351
  m.amount = parseInt(proto.amount, 10);
11335
11352
  }
11336
11353
  if (proto.referenceType) {
11337
- m.referenceType = enumStringToValue$g(RetailPaymentReferenceType, proto.referenceType);
11354
+ m.referenceType = enumStringToValue$j(RetailPaymentReferenceType, proto.referenceType);
11338
11355
  }
11339
11356
  if (proto.status) {
11340
- m.status = enumStringToValue$g(PaymentStatus, proto.status);
11357
+ m.status = enumStringToValue$j(PaymentStatus, proto.status);
11341
11358
  }
11342
11359
  if (proto.applicationFee) {
11343
11360
  m.applicationFee = parseInt(proto.applicationFee, 10);
@@ -11352,7 +11369,7 @@ class RetailPayment {
11352
11369
  m.refunds = proto.refunds.map(RetailRefund.fromProto);
11353
11370
  }
11354
11371
  if (proto.paymentMethodDetailsType) {
11355
- m.paymentMethodDetailsType = enumStringToValue$g(RetailPaymentPaymentMethodDetailsType, proto.paymentMethodDetailsType);
11372
+ m.paymentMethodDetailsType = enumStringToValue$j(RetailPaymentPaymentMethodDetailsType, proto.paymentMethodDetailsType);
11356
11373
  }
11357
11374
  if (proto.achDebitDetails) {
11358
11375
  m.achDebitDetails = RetailPaymentACHDetails.fromProto(proto.achDebitDetails);
@@ -11364,7 +11381,7 @@ class RetailPayment {
11364
11381
  m.paymentFacilitatorFee = parseInt(proto.paymentFacilitatorFee, 10);
11365
11382
  }
11366
11383
  if (proto.paymentFacilitatorType) {
11367
- m.paymentFacilitatorType = enumStringToValue$g(PaymentFacilitatorType, proto.paymentFacilitatorType);
11384
+ m.paymentFacilitatorType = enumStringToValue$j(PaymentFacilitatorType, proto.paymentFacilitatorType);
11368
11385
  }
11369
11386
  if (proto.settledAt) {
11370
11387
  m.settledAt = new Date(proto.settledAt);
@@ -11499,13 +11516,13 @@ class RetailRefund {
11499
11516
  m.amount = parseInt(proto.amount, 10);
11500
11517
  }
11501
11518
  if (proto.refundReason) {
11502
- m.refundReason = enumStringToValue$g(RetailRefundReason, proto.refundReason);
11519
+ m.refundReason = enumStringToValue$j(RetailRefundReason, proto.refundReason);
11503
11520
  }
11504
11521
  if (proto.status) {
11505
- m.status = enumStringToValue$g(RetailRefundStatus, proto.status);
11522
+ m.status = enumStringToValue$j(RetailRefundStatus, proto.status);
11506
11523
  }
11507
11524
  if (proto.failureReason) {
11508
- m.failureReason = enumStringToValue$g(RetailRefundFailureReason, proto.failureReason);
11525
+ m.failureReason = enumStringToValue$j(RetailRefundFailureReason, proto.failureReason);
11509
11526
  }
11510
11527
  if (proto.created) {
11511
11528
  m.created = new Date(proto.created);
@@ -11769,7 +11786,7 @@ class RetailStatusResponseVerificationRequirements {
11769
11786
  }
11770
11787
  }
11771
11788
 
11772
- function enumStringToValue$f(enumRef, value) {
11789
+ function enumStringToValue$i(enumRef, value) {
11773
11790
  if (typeof value === 'number') {
11774
11791
  return value;
11775
11792
  }
@@ -11780,7 +11797,7 @@ class CreatePricingPlanProductRequest {
11780
11797
  let m = new CreatePricingPlanProductRequest();
11781
11798
  m = Object.assign(m, proto);
11782
11799
  if (proto.frequency) {
11783
- m.frequency = enumStringToValue$f(Frequency, proto.frequency);
11800
+ m.frequency = enumStringToValue$i(Frequency, proto.frequency);
11784
11801
  }
11785
11802
  if (proto.pricing) {
11786
11803
  m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
@@ -11789,7 +11806,7 @@ class CreatePricingPlanProductRequest {
11789
11806
  m.commitment = Commitment.fromProto(proto.commitment);
11790
11807
  }
11791
11808
  if (proto.strategy) {
11792
- m.strategy = enumStringToValue$f(BillingStrategy, proto.strategy);
11809
+ m.strategy = enumStringToValue$i(BillingStrategy, proto.strategy);
11793
11810
  }
11794
11811
  if (proto.volumeCommitment) {
11795
11812
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -11963,7 +11980,7 @@ class GetPricingPlanProductResponse {
11963
11980
  m.pricingPlanProduct = PricingPlanProduct.fromProto(proto.pricingPlanProduct);
11964
11981
  }
11965
11982
  if (proto.pricingPlanDefaultStrategy) {
11966
- m.pricingPlanDefaultStrategy = enumStringToValue$f(BillingStrategy, proto.pricingPlanDefaultStrategy);
11983
+ m.pricingPlanDefaultStrategy = enumStringToValue$i(BillingStrategy, proto.pricingPlanDefaultStrategy);
11967
11984
  }
11968
11985
  return m;
11969
11986
  }
@@ -12151,7 +12168,7 @@ class PricingPlanProduct {
12151
12168
  let m = new PricingPlanProduct();
12152
12169
  m = Object.assign(m, proto);
12153
12170
  if (proto.frequency) {
12154
- m.frequency = enumStringToValue$f(Frequency, proto.frequency);
12171
+ m.frequency = enumStringToValue$i(Frequency, proto.frequency);
12155
12172
  }
12156
12173
  if (proto.pricing) {
12157
12174
  m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
@@ -12166,7 +12183,7 @@ class PricingPlanProduct {
12166
12183
  m.modified = new Date(proto.modified);
12167
12184
  }
12168
12185
  if (proto.strategy) {
12169
- m.strategy = enumStringToValue$f(BillingStrategy, proto.strategy);
12186
+ m.strategy = enumStringToValue$i(BillingStrategy, proto.strategy);
12170
12187
  }
12171
12188
  if (proto.volumeCommitment) {
12172
12189
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -12178,7 +12195,7 @@ class PricingPlanProduct {
12178
12195
  m.volumeCommitmentEndsAt = new Date(proto.volumeCommitmentEndsAt);
12179
12196
  }
12180
12197
  if (proto.pricingType) {
12181
- m.pricingType = enumStringToValue$f(ProductPricingType, proto.pricingType);
12198
+ m.pricingType = enumStringToValue$i(ProductPricingType, proto.pricingType);
12182
12199
  }
12183
12200
  return m;
12184
12201
  }
@@ -12234,7 +12251,7 @@ class UpdatePricingPlanProductRequest {
12234
12251
  let m = new UpdatePricingPlanProductRequest();
12235
12252
  m = Object.assign(m, proto);
12236
12253
  if (proto.frequency) {
12237
- m.frequency = enumStringToValue$f(Frequency, proto.frequency);
12254
+ m.frequency = enumStringToValue$i(Frequency, proto.frequency);
12238
12255
  }
12239
12256
  if (proto.pricing) {
12240
12257
  m.pricing = Object.keys(proto.pricing).reduce((obj, k) => { obj[k] = PricingPlanProductPricing.fromProto(proto.pricing[k]); return obj; }, {});
@@ -12246,7 +12263,7 @@ class UpdatePricingPlanProductRequest {
12246
12263
  m.fieldMask = FieldMask.fromProto(proto.fieldMask);
12247
12264
  }
12248
12265
  if (proto.strategy) {
12249
- m.strategy = enumStringToValue$f(BillingStrategy, proto.strategy);
12266
+ m.strategy = enumStringToValue$i(BillingStrategy, proto.strategy);
12250
12267
  }
12251
12268
  if (proto.volumeCommitment) {
12252
12269
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -12328,7 +12345,7 @@ class UpsertWholesalePricingRequest {
12328
12345
  m.termCommitment = Commitment.fromProto(proto.termCommitment);
12329
12346
  }
12330
12347
  if (proto.strategy) {
12331
- m.strategy = enumStringToValue$f(BillingStrategy, proto.strategy);
12348
+ m.strategy = enumStringToValue$i(BillingStrategy, proto.strategy);
12332
12349
  }
12333
12350
  if (proto.volumeCommitment) {
12334
12351
  m.volumeCommitment = parseInt(proto.volumeCommitment, 10);
@@ -12377,7 +12394,7 @@ class UpsertWholesalePricingRequest {
12377
12394
  }
12378
12395
  }
12379
12396
 
12380
- function enumStringToValue$e(enumRef, value) {
12397
+ function enumStringToValue$h(enumRef, value) {
12381
12398
  if (typeof value === 'number') {
12382
12399
  return value;
12383
12400
  }
@@ -12388,7 +12405,7 @@ class CreateProductRequest {
12388
12405
  let m = new CreateProductRequest();
12389
12406
  m = Object.assign(m, proto);
12390
12407
  if (proto.productType) {
12391
- m.productType = enumStringToValue$e(ProductType, proto.productType);
12408
+ m.productType = enumStringToValue$h(ProductType, proto.productType);
12392
12409
  }
12393
12410
  return m;
12394
12411
  }
@@ -12492,7 +12509,7 @@ class ListProductsRequestListProductsFilters {
12492
12509
  let m = new ListProductsRequestListProductsFilters();
12493
12510
  m = Object.assign(m, proto);
12494
12511
  if (proto.productType) {
12495
- m.productType = proto.productType.map((v) => enumStringToValue$e(ProductType, v));
12512
+ m.productType = proto.productType.map((v) => enumStringToValue$h(ProductType, v));
12496
12513
  }
12497
12514
  return m;
12498
12515
  }
@@ -12588,7 +12605,7 @@ class Product {
12588
12605
  let m = new Product();
12589
12606
  m = Object.assign(m, proto);
12590
12607
  if (proto.productType) {
12591
- m.productType = enumStringToValue$e(ProductType, proto.productType);
12608
+ m.productType = enumStringToValue$h(ProductType, proto.productType);
12592
12609
  }
12593
12610
  return m;
12594
12611
  }
@@ -12655,7 +12672,7 @@ class UpdateProductRequest {
12655
12672
  let m = new UpdateProductRequest();
12656
12673
  m = Object.assign(m, proto);
12657
12674
  if (proto.productType) {
12658
- m.productType = enumStringToValue$e(ProductType, proto.productType);
12675
+ m.productType = enumStringToValue$h(ProductType, proto.productType);
12659
12676
  }
12660
12677
  return m;
12661
12678
  }
@@ -12686,7 +12703,7 @@ class UpdateProductRequest {
12686
12703
  }
12687
12704
  }
12688
12705
 
12689
- function enumStringToValue$d(enumRef, value) {
12706
+ function enumStringToValue$g(enumRef, value) {
12690
12707
  if (typeof value === 'number') {
12691
12708
  return value;
12692
12709
  }
@@ -12700,7 +12717,7 @@ class AppliedCredit {
12700
12717
  m.appliedAmount = parseInt(proto.appliedAmount, 10);
12701
12718
  }
12702
12719
  if (proto.referenceType) {
12703
- m.referenceType = enumStringToValue$d(CreditType, proto.referenceType);
12720
+ m.referenceType = enumStringToValue$g(CreditType, proto.referenceType);
12704
12721
  }
12705
12722
  return m;
12706
12723
  }
@@ -12729,7 +12746,7 @@ class ListPurchaseRequestListPurchaseBillingStrategyFilter {
12729
12746
  let m = new ListPurchaseRequestListPurchaseBillingStrategyFilter();
12730
12747
  m = Object.assign(m, proto);
12731
12748
  if (proto.billingStrategy) {
12732
- m.billingStrategy = proto.billingStrategy.map((v) => enumStringToValue$d(BillingStrategy, v));
12749
+ m.billingStrategy = proto.billingStrategy.map((v) => enumStringToValue$g(BillingStrategy, v));
12733
12750
  }
12734
12751
  return m;
12735
12752
  }
@@ -12761,13 +12778,13 @@ class ListPurchaseRequestListPurchaseFilters {
12761
12778
  m.billingStrategyFilter = ListPurchaseRequestListPurchaseBillingStrategyFilter.fromProto(proto.billingStrategyFilter);
12762
12779
  }
12763
12780
  if (proto.state) {
12764
- m.state = enumStringToValue$d(ListPurchaseRequestState, proto.state);
12781
+ m.state = enumStringToValue$g(ListPurchaseRequestState, proto.state);
12765
12782
  }
12766
12783
  if (proto.minPrice) {
12767
12784
  m.minPrice = parseInt(proto.minPrice, 10);
12768
12785
  }
12769
12786
  if (proto.status) {
12770
- m.status = enumStringToValue$d(PurchaseStatus, proto.status);
12787
+ m.status = enumStringToValue$g(PurchaseStatus, proto.status);
12771
12788
  }
12772
12789
  if (proto.dunningPauseStart) {
12773
12790
  m.dunningPauseStart = new Date(proto.dunningPauseStart);
@@ -12896,7 +12913,7 @@ class ListPurchaseItemsResponse {
12896
12913
  m.pagingMetadata = PagedResponseMetadata.fromProto(proto.pagingMetadata);
12897
12914
  }
12898
12915
  if (proto.currency) {
12899
- m.currency = enumStringToValue$d(Currency, proto.currency);
12916
+ m.currency = enumStringToValue$g(Currency, proto.currency);
12900
12917
  }
12901
12918
  return m;
12902
12919
  }
@@ -13021,13 +13038,13 @@ class Purchase {
13021
13038
  m.total = parseInt(proto.total, 10);
13022
13039
  }
13023
13040
  if (proto.currency) {
13024
- m.currency = enumStringToValue$d(Currency, proto.currency);
13041
+ m.currency = enumStringToValue$g(Currency, proto.currency);
13025
13042
  }
13026
13043
  if (proto.items) {
13027
13044
  m.items = proto.items.map(PurchaseItem.fromProto);
13028
13045
  }
13029
13046
  if (proto.billingStrategy) {
13030
- m.billingStrategy = enumStringToValue$d(BillingStrategy, proto.billingStrategy);
13047
+ m.billingStrategy = enumStringToValue$g(BillingStrategy, proto.billingStrategy);
13031
13048
  }
13032
13049
  if (proto.dunningAttempt) {
13033
13050
  m.dunningAttempt = parseInt(proto.dunningAttempt, 10);
@@ -13036,7 +13053,7 @@ class Purchase {
13036
13053
  m.voided = new Date(proto.voided);
13037
13054
  }
13038
13055
  if (proto.status) {
13039
- m.status = enumStringToValue$d(PurchaseStatus, proto.status);
13056
+ m.status = enumStringToValue$g(PurchaseStatus, proto.status);
13040
13057
  }
13041
13058
  if (proto.creditAmount) {
13042
13059
  m.creditAmount = parseInt(proto.creditAmount, 10);
@@ -13320,7 +13337,7 @@ class VoidPurchaseRequest {
13320
13337
  }
13321
13338
  }
13322
13339
 
13323
- function enumStringToValue$c(enumRef, value) {
13340
+ function enumStringToValue$f(enumRef, value) {
13324
13341
  if (typeof value === 'number') {
13325
13342
  return value;
13326
13343
  }
@@ -13334,10 +13351,10 @@ class CreateRefundRequest {
13334
13351
  m.amount = parseInt(proto.amount, 10);
13335
13352
  }
13336
13353
  if (proto.reason) {
13337
- m.reason = enumStringToValue$c(RefundReason, proto.reason);
13354
+ m.reason = enumStringToValue$f(RefundReason, proto.reason);
13338
13355
  }
13339
13356
  if (proto.referenceType) {
13340
- m.referenceType = enumStringToValue$c(ReferenceType, proto.referenceType);
13357
+ m.referenceType = enumStringToValue$f(ReferenceType, proto.referenceType);
13341
13358
  }
13342
13359
  return m;
13343
13360
  }
@@ -13442,10 +13459,10 @@ class Refund {
13442
13459
  m.amount = parseInt(proto.amount, 10);
13443
13460
  }
13444
13461
  if (proto.reason) {
13445
- m.reason = enumStringToValue$c(RefundReason, proto.reason);
13462
+ m.reason = enumStringToValue$f(RefundReason, proto.reason);
13446
13463
  }
13447
13464
  if (proto.status) {
13448
- m.status = enumStringToValue$c(RefundStatus, proto.status);
13465
+ m.status = enumStringToValue$f(RefundStatus, proto.status);
13449
13466
  }
13450
13467
  if (proto.created) {
13451
13468
  m.created = new Date(proto.created);
@@ -13454,7 +13471,7 @@ class Refund {
13454
13471
  m.updated = new Date(proto.updated);
13455
13472
  }
13456
13473
  if (proto.referenceType) {
13457
- m.referenceType = enumStringToValue$c(ReferenceType, proto.referenceType);
13474
+ m.referenceType = enumStringToValue$f(ReferenceType, proto.referenceType);
13458
13475
  }
13459
13476
  return m;
13460
13477
  }
@@ -13506,7 +13523,7 @@ class Refund {
13506
13523
  }
13507
13524
  }
13508
13525
 
13509
- function enumStringToValue$b(enumRef, value) {
13526
+ function enumStringToValue$e(enumRef, value) {
13510
13527
  if (typeof value === 'number') {
13511
13528
  return value;
13512
13529
  }
@@ -13561,7 +13578,7 @@ class ListSalesCreditNoteRequestListSalesCreditNoteFilters {
13561
13578
  let m = new ListSalesCreditNoteRequestListSalesCreditNoteFilters();
13562
13579
  m = Object.assign(m, proto);
13563
13580
  if (proto.statuses) {
13564
- m.statuses = proto.statuses.map((v) => enumStringToValue$b(SalesCreditNoteStatus, v));
13581
+ m.statuses = proto.statuses.map((v) => enumStringToValue$e(SalesCreditNoteStatus, v));
13565
13582
  }
13566
13583
  return m;
13567
13584
  }
@@ -13651,7 +13668,7 @@ class SalesCreditNote {
13651
13668
  m.dueDate = new Date(proto.dueDate);
13652
13669
  }
13653
13670
  if (proto.currency) {
13654
- m.currency = enumStringToValue$b(Currency, proto.currency);
13671
+ m.currency = enumStringToValue$e(Currency, proto.currency);
13655
13672
  }
13656
13673
  if (proto.total) {
13657
13674
  m.total = parseInt(proto.total, 10);
@@ -13660,7 +13677,7 @@ class SalesCreditNote {
13660
13677
  m.outstanding = parseInt(proto.outstanding, 10);
13661
13678
  }
13662
13679
  if (proto.status) {
13663
- m.status = enumStringToValue$b(SalesCreditNoteStatus, proto.status);
13680
+ m.status = enumStringToValue$e(SalesCreditNoteStatus, proto.status);
13664
13681
  }
13665
13682
  return m;
13666
13683
  }
@@ -13718,7 +13735,7 @@ class SalesCreditNote {
13718
13735
  }
13719
13736
  }
13720
13737
 
13721
- function enumStringToValue$a(enumRef, value) {
13738
+ function enumStringToValue$d(enumRef, value) {
13722
13739
  if (typeof value === 'number') {
13723
13740
  return value;
13724
13741
  }
@@ -13775,10 +13792,10 @@ class ListSalesInvoiceRequestListSalesInvoiceFilters {
13775
13792
  let m = new ListSalesInvoiceRequestListSalesInvoiceFilters();
13776
13793
  m = Object.assign(m, proto);
13777
13794
  if (proto.statuses) {
13778
- m.statuses = proto.statuses.map((v) => enumStringToValue$a(SalesInvoiceStatus, v));
13795
+ m.statuses = proto.statuses.map((v) => enumStringToValue$d(SalesInvoiceStatus, v));
13779
13796
  }
13780
13797
  if (proto.paymentStatuses) {
13781
- m.paymentStatuses = proto.paymentStatuses.map((v) => enumStringToValue$a(PaymentStatuses, v));
13798
+ m.paymentStatuses = proto.paymentStatuses.map((v) => enumStringToValue$d(PaymentStatuses, v));
13782
13799
  }
13783
13800
  return m;
13784
13801
  }
@@ -13906,16 +13923,16 @@ class SalesInvoice {
13906
13923
  m.total = parseInt(proto.total, 10);
13907
13924
  }
13908
13925
  if (proto.currency) {
13909
- m.currency = enumStringToValue$a(Currency, proto.currency);
13926
+ m.currency = enumStringToValue$d(Currency, proto.currency);
13910
13927
  }
13911
13928
  if (proto.status) {
13912
- m.status = enumStringToValue$a(SalesInvoiceStatus, proto.status);
13929
+ m.status = enumStringToValue$d(SalesInvoiceStatus, proto.status);
13913
13930
  }
13914
13931
  if (proto.outstanding) {
13915
13932
  m.outstanding = parseInt(proto.outstanding, 10);
13916
13933
  }
13917
13934
  if (proto.type) {
13918
- m.type = enumStringToValue$a(SalesInvoiceType, proto.type);
13935
+ m.type = enumStringToValue$d(SalesInvoiceType, proto.type);
13919
13936
  }
13920
13937
  return m;
13921
13938
  }
@@ -14019,7 +14036,7 @@ class SendSalesInvoiceReceiptEmailRequest {
14019
14036
  }
14020
14037
  }
14021
14038
 
14022
- function enumStringToValue$9(enumRef, value) {
14039
+ function enumStringToValue$c(enumRef, value) {
14023
14040
  if (typeof value === 'number') {
14024
14041
  return value;
14025
14042
  }
@@ -14128,10 +14145,10 @@ class ListTaxRulesRequestFilters {
14128
14145
  let m = new ListTaxRulesRequestFilters();
14129
14146
  m = Object.assign(m, proto);
14130
14147
  if (proto.consumer) {
14131
- m.consumer = enumStringToValue$9(Consumer, proto.consumer);
14148
+ m.consumer = enumStringToValue$c(Consumer, proto.consumer);
14132
14149
  }
14133
14150
  if (proto.entityType) {
14134
- m.entityType = enumStringToValue$9(TaxRuleEntityType, proto.entityType);
14151
+ m.entityType = enumStringToValue$c(TaxRuleEntityType, proto.entityType);
14135
14152
  }
14136
14153
  return m;
14137
14154
  }
@@ -14180,7 +14197,7 @@ class GetTaxProviderResponse {
14180
14197
  let m = new GetTaxProviderResponse();
14181
14198
  m = Object.assign(m, proto);
14182
14199
  if (proto.taxProviderType) {
14183
- m.taxProviderType = enumStringToValue$9(TaxProviderType, proto.taxProviderType);
14200
+ m.taxProviderType = enumStringToValue$c(TaxProviderType, proto.taxProviderType);
14184
14201
  }
14185
14202
  return m;
14186
14203
  }
@@ -14304,7 +14321,7 @@ class TaxRuleProductProductIdentifier {
14304
14321
  let m = new TaxRuleProductProductIdentifier();
14305
14322
  m = Object.assign(m, proto);
14306
14323
  if (proto.type) {
14307
- m.type = enumStringToValue$9(ProductType, proto.type);
14324
+ m.type = enumStringToValue$c(ProductType, proto.type);
14308
14325
  }
14309
14326
  return m;
14310
14327
  }
@@ -14333,13 +14350,13 @@ class ReplaceTaxRuleRequest {
14333
14350
  let m = new ReplaceTaxRuleRequest();
14334
14351
  m = Object.assign(m, proto);
14335
14352
  if (proto.entityType) {
14336
- m.entityType = enumStringToValue$9(TaxRuleEntityType, proto.entityType);
14353
+ m.entityType = enumStringToValue$c(TaxRuleEntityType, proto.entityType);
14337
14354
  }
14338
14355
  if (proto.type) {
14339
- m.type = enumStringToValue$9(TaxRuleType, proto.type);
14356
+ m.type = enumStringToValue$c(TaxRuleType, proto.type);
14340
14357
  }
14341
14358
  if (proto.consumer) {
14342
- m.consumer = enumStringToValue$9(Consumer, proto.consumer);
14359
+ m.consumer = enumStringToValue$c(Consumer, proto.consumer);
14343
14360
  }
14344
14361
  return m;
14345
14362
  }
@@ -14397,13 +14414,13 @@ class TaxRule {
14397
14414
  let m = new TaxRule();
14398
14415
  m = Object.assign(m, proto);
14399
14416
  if (proto.entityType) {
14400
- m.entityType = enumStringToValue$9(TaxRuleEntityType, proto.entityType);
14417
+ m.entityType = enumStringToValue$c(TaxRuleEntityType, proto.entityType);
14401
14418
  }
14402
14419
  if (proto.entity) {
14403
14420
  m.entity = TaxRuleTaxRuleEntity.fromProto(proto.entity);
14404
14421
  }
14405
14422
  if (proto.type) {
14406
- m.type = enumStringToValue$9(TaxRuleType, proto.type);
14423
+ m.type = enumStringToValue$c(TaxRuleType, proto.type);
14407
14424
  }
14408
14425
  if (proto.taxRates) {
14409
14426
  m.taxRates = proto.taxRates.map(TaxRate.fromProto);
@@ -14524,7 +14541,7 @@ class TaxRuleProduct {
14524
14541
  }
14525
14542
  }
14526
14543
 
14527
- function enumStringToValue$8(enumRef, value) {
14544
+ function enumStringToValue$b(enumRef, value) {
14528
14545
  if (typeof value === 'number') {
14529
14546
  return value;
14530
14547
  }
@@ -14664,7 +14681,7 @@ class ListContractDocumentsResponse {
14664
14681
  }
14665
14682
  }
14666
14683
 
14667
- function enumStringToValue$7(enumRef, value) {
14684
+ function enumStringToValue$a(enumRef, value) {
14668
14685
  if (typeof value === 'number') {
14669
14686
  return value;
14670
14687
  }
@@ -14730,7 +14747,7 @@ class RetailCustomerConfiguration {
14730
14747
  m.netD = parseInt(proto.netD, 10);
14731
14748
  }
14732
14749
  if (proto.paymentMethodTypes) {
14733
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$7(PaymentMethodType, v));
14750
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$a(PaymentMethodType, v));
14734
14751
  }
14735
14752
  return m;
14736
14753
  }
@@ -14798,7 +14815,7 @@ class UpsertRetailCustomerConfigurationRequest {
14798
14815
  m.netD = parseInt(proto.netD, 10);
14799
14816
  }
14800
14817
  if (proto.paymentMethodTypes) {
14801
- m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$7(PaymentMethodType, v));
14818
+ m.paymentMethodTypes = proto.paymentMethodTypes.map((v) => enumStringToValue$a(PaymentMethodType, v));
14802
14819
  }
14803
14820
  if (proto.fieldMask) {
14804
14821
  m.fieldMask = FieldMask.fromProto(proto.fieldMask);
@@ -14859,7 +14876,7 @@ class UpsertRetailCustomerConfigurationRequest {
14859
14876
  }
14860
14877
  }
14861
14878
 
14862
- function enumStringToValue$6(enumRef, value) {
14879
+ function enumStringToValue$9(enumRef, value) {
14863
14880
  if (typeof value === 'number') {
14864
14881
  return value;
14865
14882
  }
@@ -14976,7 +14993,7 @@ class GetBalanceResponse {
14976
14993
  }
14977
14994
  }
14978
14995
 
14979
- function enumStringToValue$5(enumRef, value) {
14996
+ function enumStringToValue$8(enumRef, value) {
14980
14997
  if (typeof value === 'number') {
14981
14998
  return value;
14982
14999
  }
@@ -14987,7 +15004,7 @@ class CreateMerchantServicesReportRun {
14987
15004
  let m = new CreateMerchantServicesReportRun();
14988
15005
  m = Object.assign(m, proto);
14989
15006
  if (proto.reportType) {
14990
- m.reportType = enumStringToValue$5(MerchantServicesReportRunType, proto.reportType);
15007
+ m.reportType = enumStringToValue$8(MerchantServicesReportRunType, proto.reportType);
14991
15008
  }
14992
15009
  if (proto.intervalStart) {
14993
15010
  m.intervalStart = new Date(proto.intervalStart);
@@ -15051,10 +15068,10 @@ class MerchantServicesReportRun {
15051
15068
  m.created = new Date(proto.created);
15052
15069
  }
15053
15070
  if (proto.reportType) {
15054
- m.reportType = enumStringToValue$5(MerchantServicesReportRunType, proto.reportType);
15071
+ m.reportType = enumStringToValue$8(MerchantServicesReportRunType, proto.reportType);
15055
15072
  }
15056
15073
  if (proto.status) {
15057
- m.status = enumStringToValue$5(MerchantServicesReportRunStatus, proto.status);
15074
+ m.status = enumStringToValue$8(MerchantServicesReportRunStatus, proto.status);
15058
15075
  }
15059
15076
  return m;
15060
15077
  }
@@ -15085,7 +15102,7 @@ class MerchantServicesReportRun {
15085
15102
  }
15086
15103
  }
15087
15104
 
15088
- function enumStringToValue$4(enumRef, value) {
15105
+ function enumStringToValue$7(enumRef, value) {
15089
15106
  if (typeof value === 'number') {
15090
15107
  return value;
15091
15108
  }
@@ -15135,7 +15152,7 @@ class MCPOptions {
15135
15152
  }
15136
15153
  }
15137
15154
 
15138
- function enumStringToValue$3(enumRef, value) {
15155
+ function enumStringToValue$6(enumRef, value) {
15139
15156
  if (typeof value === 'number') {
15140
15157
  return value;
15141
15158
  }
@@ -15146,13 +15163,13 @@ class ListSubscriptionRelationshipsRequestFilters {
15146
15163
  let m = new ListSubscriptionRelationshipsRequestFilters();
15147
15164
  m = Object.assign(m, proto);
15148
15165
  if (proto.originType) {
15149
- m.originType = enumStringToValue$3(EntityType, proto.originType);
15166
+ m.originType = enumStringToValue$6(EntityType, proto.originType);
15150
15167
  }
15151
15168
  if (proto.targetType) {
15152
- m.targetType = enumStringToValue$3(EntityType, proto.targetType);
15169
+ m.targetType = enumStringToValue$6(EntityType, proto.targetType);
15153
15170
  }
15154
15171
  if (proto.relationshipType) {
15155
- m.relationshipType = enumStringToValue$3(RelationshipType, proto.relationshipType);
15172
+ m.relationshipType = enumStringToValue$6(RelationshipType, proto.relationshipType);
15156
15173
  }
15157
15174
  return m;
15158
15175
  }
@@ -15340,13 +15357,13 @@ class SubscriptionRelationship {
15340
15357
  let m = new SubscriptionRelationship();
15341
15358
  m = Object.assign(m, proto);
15342
15359
  if (proto.originType) {
15343
- m.originType = enumStringToValue$3(EntityType, proto.originType);
15360
+ m.originType = enumStringToValue$6(EntityType, proto.originType);
15344
15361
  }
15345
15362
  if (proto.targetType) {
15346
- m.targetType = enumStringToValue$3(EntityType, proto.targetType);
15363
+ m.targetType = enumStringToValue$6(EntityType, proto.targetType);
15347
15364
  }
15348
15365
  if (proto.relationshipType) {
15349
- m.relationshipType = enumStringToValue$3(RelationshipType, proto.relationshipType);
15366
+ m.relationshipType = enumStringToValue$6(RelationshipType, proto.relationshipType);
15350
15367
  }
15351
15368
  if (proto.created) {
15352
15369
  m.created = new Date(proto.created);
@@ -15404,7 +15421,7 @@ class SubscriptionRelationship {
15404
15421
  }
15405
15422
  }
15406
15423
 
15407
- function enumStringToValue$2(enumRef, value) {
15424
+ function enumStringToValue$5(enumRef, value) {
15408
15425
  if (typeof value === 'number') {
15409
15426
  return value;
15410
15427
  }
@@ -15503,11 +15520,14 @@ class SubscriptionPreset {
15503
15520
  if (typeof this.invoiceId !== 'undefined') {
15504
15521
  toReturn['invoiceId'] = this.invoiceId;
15505
15522
  }
15523
+ if (typeof this.retailSubscriptionGroupId !== 'undefined') {
15524
+ toReturn['retailSubscriptionGroupId'] = this.retailSubscriptionGroupId;
15525
+ }
15506
15526
  return toReturn;
15507
15527
  }
15508
15528
  }
15509
15529
 
15510
- function enumStringToValue$1(enumRef, value) {
15530
+ function enumStringToValue$4(enumRef, value) {
15511
15531
  if (typeof value === 'number') {
15512
15532
  return value;
15513
15533
  }
@@ -15518,13 +15538,13 @@ class AppliedTo {
15518
15538
  let m = new AppliedTo();
15519
15539
  m = Object.assign(m, proto);
15520
15540
  if (proto.referenceType) {
15521
- m.referenceType = enumStringToValue$1(AppliedReferenceType, proto.referenceType);
15541
+ m.referenceType = enumStringToValue$4(AppliedReferenceType, proto.referenceType);
15522
15542
  }
15523
15543
  if (proto.amount) {
15524
15544
  m.amount = parseInt(proto.amount, 10);
15525
15545
  }
15526
15546
  if (proto.creditNoteType) {
15527
- m.creditNoteType = enumStringToValue$1(CreditNoteType, proto.creditNoteType);
15547
+ m.creditNoteType = enumStringToValue$4(CreditNoteType, proto.creditNoteType);
15528
15548
  }
15529
15549
  if (proto.appliedAt) {
15530
15550
  m.appliedAt = new Date(proto.appliedAt);
@@ -15672,7 +15692,7 @@ class CreditNote {
15672
15692
  m.items = proto.items.map(LineItem.fromProto);
15673
15693
  }
15674
15694
  if (proto.currency) {
15675
- m.currency = enumStringToValue$1(Currency, proto.currency);
15695
+ m.currency = enumStringToValue$4(Currency, proto.currency);
15676
15696
  }
15677
15697
  if (proto.amountTax) {
15678
15698
  m.amountTax = parseInt(proto.amountTax, 10);
@@ -15684,7 +15704,7 @@ class CreditNote {
15684
15704
  m.notes = proto.notes.map(Note.fromProto);
15685
15705
  }
15686
15706
  if (proto.reason) {
15687
- m.reason = enumStringToValue$1(CreditNoteReason, proto.reason);
15707
+ m.reason = enumStringToValue$4(CreditNoteReason, proto.reason);
15688
15708
  }
15689
15709
  if (proto.appliedTo) {
15690
15710
  m.appliedTo = proto.appliedTo.map(AppliedTo.fromProto);
@@ -16024,16 +16044,19 @@ class SendCreditNoteRequest {
16024
16044
  }
16025
16045
  }
16026
16046
 
16027
- function enumStringToValue(enumRef, value) {
16047
+ function enumStringToValue$3(enumRef, value) {
16028
16048
  if (typeof value === 'number') {
16029
16049
  return value;
16030
16050
  }
16031
16051
  return enumRef[value];
16032
16052
  }
16033
- class DeleteRetailPricingRequest {
16053
+ class CreateRetailSubscriptionGroupRequest {
16034
16054
  static fromProto(proto) {
16035
- let m = new DeleteRetailPricingRequest();
16055
+ let m = new CreateRetailSubscriptionGroupRequest();
16036
16056
  m = Object.assign(m, proto);
16057
+ if (proto.retailSubscriptionGroup) {
16058
+ m.retailSubscriptionGroup = RetailSubscriptionGroup.fromProto(proto.retailSubscriptionGroup);
16059
+ }
16037
16060
  return m;
16038
16061
  }
16039
16062
  constructor(kwargs) {
@@ -16044,34 +16067,16 @@ class DeleteRetailPricingRequest {
16044
16067
  }
16045
16068
  toApiJson() {
16046
16069
  const toReturn = {};
16047
- if (typeof this.merchantId !== 'undefined') {
16048
- toReturn['merchantId'] = this.merchantId;
16049
- }
16050
- if (typeof this.sku !== 'undefined') {
16051
- toReturn['sku'] = this.sku;
16052
- }
16053
- if (typeof this.groupId !== 'undefined') {
16054
- toReturn['groupId'] = this.groupId;
16055
- }
16056
- if (typeof this.customerId !== 'undefined') {
16057
- toReturn['customerId'] = this.customerId;
16058
- }
16059
- if (typeof this.subscriptionId !== 'undefined') {
16060
- toReturn['subscriptionId'] = this.subscriptionId;
16070
+ if (typeof this.retailSubscriptionGroup !== 'undefined' && this.retailSubscriptionGroup !== null) {
16071
+ toReturn['retailSubscriptionGroup'] = 'toApiJson' in this.retailSubscriptionGroup ? this.retailSubscriptionGroup.toApiJson() : this.retailSubscriptionGroup;
16061
16072
  }
16062
16073
  return toReturn;
16063
16074
  }
16064
16075
  }
16065
- class GenerateBillableItemsCSVRequest {
16076
+ class CreateRetailSubscriptionGroupResponse {
16066
16077
  static fromProto(proto) {
16067
- let m = new GenerateBillableItemsCSVRequest();
16078
+ let m = new CreateRetailSubscriptionGroupResponse();
16068
16079
  m = Object.assign(m, proto);
16069
- if (proto.periodStart) {
16070
- m.periodStart = new Date(proto.periodStart);
16071
- }
16072
- if (proto.periodEnd) {
16073
- m.periodEnd = new Date(proto.periodEnd);
16074
- }
16075
16080
  return m;
16076
16081
  }
16077
16082
  constructor(kwargs) {
@@ -16082,22 +16087,19 @@ class GenerateBillableItemsCSVRequest {
16082
16087
  }
16083
16088
  toApiJson() {
16084
16089
  const toReturn = {};
16085
- if (typeof this.merchantId !== 'undefined') {
16086
- toReturn['merchantId'] = this.merchantId;
16087
- }
16088
- if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {
16089
- toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;
16090
- }
16091
- if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {
16092
- toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;
16090
+ if (typeof this.id !== 'undefined') {
16091
+ toReturn['id'] = this.id;
16093
16092
  }
16094
16093
  return toReturn;
16095
16094
  }
16096
16095
  }
16097
- class GenerateBillableItemsCSVResponse {
16096
+ class RetailSubscriptionGroup {
16098
16097
  static fromProto(proto) {
16099
- let m = new GenerateBillableItemsCSVResponse();
16098
+ let m = new RetailSubscriptionGroup();
16100
16099
  m = Object.assign(m, proto);
16100
+ if (proto.displayOption) {
16101
+ m.displayOption = enumStringToValue$3(DisplayOption, proto.displayOption);
16102
+ }
16101
16103
  return m;
16102
16104
  }
16103
16105
  constructor(kwargs) {
@@ -16108,22 +16110,29 @@ class GenerateBillableItemsCSVResponse {
16108
16110
  }
16109
16111
  toApiJson() {
16110
16112
  const toReturn = {};
16111
- if (typeof this.url !== 'undefined') {
16112
- toReturn['url'] = this.url;
16113
+ if (typeof this.id !== 'undefined') {
16114
+ toReturn['id'] = this.id;
16115
+ }
16116
+ if (typeof this.name !== 'undefined') {
16117
+ toReturn['name'] = this.name;
16118
+ }
16119
+ if (typeof this.displayOption !== 'undefined') {
16120
+ toReturn['displayOption'] = this.displayOption;
16113
16121
  }
16114
16122
  return toReturn;
16115
16123
  }
16116
16124
  }
16117
- class GenerateVendorReportRequest {
16125
+
16126
+ function enumStringToValue$2(enumRef, value) {
16127
+ if (typeof value === 'number') {
16128
+ return value;
16129
+ }
16130
+ return enumRef[value];
16131
+ }
16132
+ class GetVendorSplitRequest {
16118
16133
  static fromProto(proto) {
16119
- let m = new GenerateVendorReportRequest();
16134
+ let m = new GetVendorSplitRequest();
16120
16135
  m = Object.assign(m, proto);
16121
- if (proto.periodStart) {
16122
- m.periodStart = new Date(proto.periodStart);
16123
- }
16124
- if (proto.periodEnd) {
16125
- m.periodEnd = new Date(proto.periodEnd);
16126
- }
16127
16136
  return m;
16128
16137
  }
16129
16138
  constructor(kwargs) {
@@ -16134,31 +16143,19 @@ class GenerateVendorReportRequest {
16134
16143
  }
16135
16144
  toApiJson() {
16136
16145
  const toReturn = {};
16137
- if (typeof this.skus !== 'undefined') {
16138
- toReturn['skus'] = this.skus;
16139
- }
16140
- if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {
16141
- toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;
16142
- }
16143
- if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {
16144
- toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;
16145
- }
16146
- if (typeof this.vendorName !== 'undefined') {
16147
- toReturn['vendorName'] = this.vendorName;
16148
- }
16149
- if (typeof this.markAsApproved !== 'undefined') {
16150
- toReturn['markAsApproved'] = this.markAsApproved;
16151
- }
16152
- if (typeof this.vendorMerchantId !== 'undefined') {
16153
- toReturn['vendorMerchantId'] = this.vendorMerchantId;
16146
+ if (typeof this.sku !== 'undefined') {
16147
+ toReturn['sku'] = this.sku;
16154
16148
  }
16155
16149
  return toReturn;
16156
16150
  }
16157
16151
  }
16158
- class GenerateVendorReportResponse {
16152
+ class GetVendorSplitResponse {
16159
16153
  static fromProto(proto) {
16160
- let m = new GenerateVendorReportResponse();
16154
+ let m = new GetVendorSplitResponse();
16161
16155
  m = Object.assign(m, proto);
16156
+ if (proto.vendorSplit) {
16157
+ m.vendorSplit = VendorSplit.fromProto(proto.vendorSplit);
16158
+ }
16162
16159
  return m;
16163
16160
  }
16164
16161
  constructor(kwargs) {
@@ -16169,22 +16166,19 @@ class GenerateVendorReportResponse {
16169
16166
  }
16170
16167
  toApiJson() {
16171
16168
  const toReturn = {};
16172
- if (typeof this.url !== 'undefined') {
16173
- toReturn['url'] = this.url;
16174
- }
16175
- if (typeof this.bucket !== 'undefined') {
16176
- toReturn['bucket'] = this.bucket;
16177
- }
16178
- if (typeof this.filename !== 'undefined') {
16179
- toReturn['filename'] = this.filename;
16169
+ if (typeof this.vendorSplit !== 'undefined' && this.vendorSplit !== null) {
16170
+ toReturn['vendorSplit'] = 'toApiJson' in this.vendorSplit ? this.vendorSplit.toApiJson() : this.vendorSplit;
16180
16171
  }
16181
16172
  return toReturn;
16182
16173
  }
16183
16174
  }
16184
- class GetMultiBundleRetailPricingRequest {
16175
+ class UpsertVendorSplitRequest {
16185
16176
  static fromProto(proto) {
16186
- let m = new GetMultiBundleRetailPricingRequest();
16177
+ let m = new UpsertVendorSplitRequest();
16187
16178
  m = Object.assign(m, proto);
16179
+ if (proto.vendorSplit) {
16180
+ m.vendorSplit = VendorSplit.fromProto(proto.vendorSplit);
16181
+ }
16188
16182
  return m;
16189
16183
  }
16190
16184
  constructor(kwargs) {
@@ -16195,24 +16189,18 @@ class GetMultiBundleRetailPricingRequest {
16195
16189
  }
16196
16190
  toApiJson() {
16197
16191
  const toReturn = {};
16198
- if (typeof this.merchantId !== 'undefined') {
16199
- toReturn['merchantId'] = this.merchantId;
16200
- }
16201
- if (typeof this.storeId !== 'undefined') {
16202
- toReturn['storeId'] = this.storeId;
16203
- }
16204
- if (typeof this.bundleIds !== 'undefined') {
16205
- toReturn['bundleIds'] = this.bundleIds;
16192
+ if (typeof this.vendorSplit !== 'undefined' && this.vendorSplit !== null) {
16193
+ toReturn['vendorSplit'] = 'toApiJson' in this.vendorSplit ? this.vendorSplit.toApiJson() : this.vendorSplit;
16206
16194
  }
16207
16195
  return toReturn;
16208
16196
  }
16209
16197
  }
16210
- class GetMultiBundleRetailPricingResponse {
16198
+ class UpsertVendorSplitResponse {
16211
16199
  static fromProto(proto) {
16212
- let m = new GetMultiBundleRetailPricingResponse();
16200
+ let m = new UpsertVendorSplitResponse();
16213
16201
  m = Object.assign(m, proto);
16214
- if (proto.prices) {
16215
- m.prices = Object.keys(proto.prices).reduce((obj, k) => { obj[k] = BundlePricing.fromProto(proto.prices[k]); return obj; }, {});
16202
+ if (proto.vendorSplit) {
16203
+ m.vendorSplit = VendorSplit.fromProto(proto.vendorSplit);
16216
16204
  }
16217
16205
  return m;
16218
16206
  }
@@ -16224,15 +16212,15 @@ class GetMultiBundleRetailPricingResponse {
16224
16212
  }
16225
16213
  toApiJson() {
16226
16214
  const toReturn = {};
16227
- if (typeof this.prices !== 'undefined' && this.prices !== null) {
16228
- toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;
16215
+ if (typeof this.vendorSplit !== 'undefined' && this.vendorSplit !== null) {
16216
+ toReturn['vendorSplit'] = 'toApiJson' in this.vendorSplit ? this.vendorSplit.toApiJson() : this.vendorSplit;
16229
16217
  }
16230
16218
  return toReturn;
16231
16219
  }
16232
16220
  }
16233
- class GetMultiProductPricingRequest {
16221
+ class VendorSplit {
16234
16222
  static fromProto(proto) {
16235
- let m = new GetMultiProductPricingRequest();
16223
+ let m = new VendorSplit();
16236
16224
  m = Object.assign(m, proto);
16237
16225
  return m;
16238
16226
  }
@@ -16244,24 +16232,457 @@ class GetMultiProductPricingRequest {
16244
16232
  }
16245
16233
  toApiJson() {
16246
16234
  const toReturn = {};
16247
- if (typeof this.merchantId !== 'undefined') {
16248
- toReturn['merchantId'] = this.merchantId;
16235
+ if (typeof this.sku !== 'undefined') {
16236
+ toReturn['sku'] = this.sku;
16249
16237
  }
16250
- if (typeof this.skus !== 'undefined') {
16251
- toReturn['skus'] = this.skus;
16238
+ if (typeof this.productPrice !== 'undefined') {
16239
+ toReturn['productPrice'] = this.productPrice;
16252
16240
  }
16253
- if (typeof this.pricingPlanId !== 'undefined') {
16254
- toReturn['pricingPlanId'] = this.pricingPlanId;
16241
+ if (typeof this.setupFee !== 'undefined') {
16242
+ toReturn['setupFee'] = this.setupFee;
16243
+ }
16244
+ if (typeof this.managementFee !== 'undefined') {
16245
+ toReturn['managementFee'] = this.managementFee;
16255
16246
  }
16256
16247
  return toReturn;
16257
16248
  }
16258
16249
  }
16259
- class GetMultiProductPricingResponse {
16260
- static fromProto(proto) {
16261
- let m = new GetMultiProductPricingResponse();
16262
- m = Object.assign(m, proto);
16263
- if (proto.productPrices) {
16264
- m.productPrices = Object.keys(proto.productPrices).reduce((obj, k) => { obj[k] = ProductPricing.fromProto(proto.productPrices[k]); return obj; }, {});
16250
+
16251
+ function enumStringToValue$1(enumRef, value) {
16252
+ if (typeof value === 'number') {
16253
+ return value;
16254
+ }
16255
+ return enumRef[value];
16256
+ }
16257
+ class AvalaraConfiguration {
16258
+ static fromProto(proto) {
16259
+ let m = new AvalaraConfiguration();
16260
+ m = Object.assign(m, proto);
16261
+ return m;
16262
+ }
16263
+ constructor(kwargs) {
16264
+ if (!kwargs) {
16265
+ return;
16266
+ }
16267
+ Object.assign(this, kwargs);
16268
+ }
16269
+ toApiJson() {
16270
+ const toReturn = {};
16271
+ if (typeof this.merchantId !== 'undefined') {
16272
+ toReturn['merchantId'] = this.merchantId;
16273
+ }
16274
+ if (typeof this.companyCode !== 'undefined') {
16275
+ toReturn['companyCode'] = this.companyCode;
16276
+ }
16277
+ if (typeof this.accountId !== 'undefined') {
16278
+ toReturn['accountId'] = this.accountId;
16279
+ }
16280
+ if (typeof this.licenseKey !== 'undefined') {
16281
+ toReturn['licenseKey'] = this.licenseKey;
16282
+ }
16283
+ return toReturn;
16284
+ }
16285
+ }
16286
+ class CreateAvalaraConfigurationRequest {
16287
+ static fromProto(proto) {
16288
+ let m = new CreateAvalaraConfigurationRequest();
16289
+ m = Object.assign(m, proto);
16290
+ if (proto.configuration) {
16291
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16292
+ }
16293
+ return m;
16294
+ }
16295
+ constructor(kwargs) {
16296
+ if (!kwargs) {
16297
+ return;
16298
+ }
16299
+ Object.assign(this, kwargs);
16300
+ }
16301
+ toApiJson() {
16302
+ const toReturn = {};
16303
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16304
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16305
+ }
16306
+ return toReturn;
16307
+ }
16308
+ }
16309
+ class CreateAvalaraConfigurationResponse {
16310
+ static fromProto(proto) {
16311
+ let m = new CreateAvalaraConfigurationResponse();
16312
+ m = Object.assign(m, proto);
16313
+ if (proto.configuration) {
16314
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16315
+ }
16316
+ return m;
16317
+ }
16318
+ constructor(kwargs) {
16319
+ if (!kwargs) {
16320
+ return;
16321
+ }
16322
+ Object.assign(this, kwargs);
16323
+ }
16324
+ toApiJson() {
16325
+ const toReturn = {};
16326
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16327
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16328
+ }
16329
+ return toReturn;
16330
+ }
16331
+ }
16332
+ class DeleteAvalaraConfigurationRequest {
16333
+ static fromProto(proto) {
16334
+ let m = new DeleteAvalaraConfigurationRequest();
16335
+ m = Object.assign(m, proto);
16336
+ return m;
16337
+ }
16338
+ constructor(kwargs) {
16339
+ if (!kwargs) {
16340
+ return;
16341
+ }
16342
+ Object.assign(this, kwargs);
16343
+ }
16344
+ toApiJson() {
16345
+ const toReturn = {};
16346
+ if (typeof this.merchantId !== 'undefined') {
16347
+ toReturn['merchantId'] = this.merchantId;
16348
+ }
16349
+ return toReturn;
16350
+ }
16351
+ }
16352
+ class GetAvalaraConfigurationRequest {
16353
+ static fromProto(proto) {
16354
+ let m = new GetAvalaraConfigurationRequest();
16355
+ m = Object.assign(m, proto);
16356
+ return m;
16357
+ }
16358
+ constructor(kwargs) {
16359
+ if (!kwargs) {
16360
+ return;
16361
+ }
16362
+ Object.assign(this, kwargs);
16363
+ }
16364
+ toApiJson() {
16365
+ const toReturn = {};
16366
+ if (typeof this.merchantId !== 'undefined') {
16367
+ toReturn['merchantId'] = this.merchantId;
16368
+ }
16369
+ return toReturn;
16370
+ }
16371
+ }
16372
+ class GetAvalaraConfigurationResponse {
16373
+ static fromProto(proto) {
16374
+ let m = new GetAvalaraConfigurationResponse();
16375
+ m = Object.assign(m, proto);
16376
+ if (proto.configuration) {
16377
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16378
+ }
16379
+ return m;
16380
+ }
16381
+ constructor(kwargs) {
16382
+ if (!kwargs) {
16383
+ return;
16384
+ }
16385
+ Object.assign(this, kwargs);
16386
+ }
16387
+ toApiJson() {
16388
+ const toReturn = {};
16389
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16390
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16391
+ }
16392
+ return toReturn;
16393
+ }
16394
+ }
16395
+ class UpdateAvalaraConfigurationRequest {
16396
+ static fromProto(proto) {
16397
+ let m = new UpdateAvalaraConfigurationRequest();
16398
+ m = Object.assign(m, proto);
16399
+ if (proto.configuration) {
16400
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16401
+ }
16402
+ if (proto.fieldMask) {
16403
+ m.fieldMask = FieldMask.fromProto(proto.fieldMask);
16404
+ }
16405
+ return m;
16406
+ }
16407
+ constructor(kwargs) {
16408
+ if (!kwargs) {
16409
+ return;
16410
+ }
16411
+ Object.assign(this, kwargs);
16412
+ }
16413
+ toApiJson() {
16414
+ const toReturn = {};
16415
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16416
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16417
+ }
16418
+ if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
16419
+ toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
16420
+ }
16421
+ return toReturn;
16422
+ }
16423
+ }
16424
+ class UpdateAvalaraConfigurationResponse {
16425
+ static fromProto(proto) {
16426
+ let m = new UpdateAvalaraConfigurationResponse();
16427
+ m = Object.assign(m, proto);
16428
+ if (proto.configuration) {
16429
+ m.configuration = AvalaraConfiguration.fromProto(proto.configuration);
16430
+ }
16431
+ return m;
16432
+ }
16433
+ constructor(kwargs) {
16434
+ if (!kwargs) {
16435
+ return;
16436
+ }
16437
+ Object.assign(this, kwargs);
16438
+ }
16439
+ toApiJson() {
16440
+ const toReturn = {};
16441
+ if (typeof this.configuration !== 'undefined' && this.configuration !== null) {
16442
+ toReturn['configuration'] = 'toApiJson' in this.configuration ? this.configuration.toApiJson() : this.configuration;
16443
+ }
16444
+ return toReturn;
16445
+ }
16446
+ }
16447
+
16448
+ function enumStringToValue(enumRef, value) {
16449
+ if (typeof value === 'number') {
16450
+ return value;
16451
+ }
16452
+ return enumRef[value];
16453
+ }
16454
+ class DeleteRetailPricingRequest {
16455
+ static fromProto(proto) {
16456
+ let m = new DeleteRetailPricingRequest();
16457
+ m = Object.assign(m, proto);
16458
+ return m;
16459
+ }
16460
+ constructor(kwargs) {
16461
+ if (!kwargs) {
16462
+ return;
16463
+ }
16464
+ Object.assign(this, kwargs);
16465
+ }
16466
+ toApiJson() {
16467
+ const toReturn = {};
16468
+ if (typeof this.merchantId !== 'undefined') {
16469
+ toReturn['merchantId'] = this.merchantId;
16470
+ }
16471
+ if (typeof this.sku !== 'undefined') {
16472
+ toReturn['sku'] = this.sku;
16473
+ }
16474
+ if (typeof this.groupId !== 'undefined') {
16475
+ toReturn['groupId'] = this.groupId;
16476
+ }
16477
+ if (typeof this.customerId !== 'undefined') {
16478
+ toReturn['customerId'] = this.customerId;
16479
+ }
16480
+ if (typeof this.subscriptionId !== 'undefined') {
16481
+ toReturn['subscriptionId'] = this.subscriptionId;
16482
+ }
16483
+ return toReturn;
16484
+ }
16485
+ }
16486
+ class GenerateBillableItemsCSVRequest {
16487
+ static fromProto(proto) {
16488
+ let m = new GenerateBillableItemsCSVRequest();
16489
+ m = Object.assign(m, proto);
16490
+ if (proto.periodStart) {
16491
+ m.periodStart = new Date(proto.periodStart);
16492
+ }
16493
+ if (proto.periodEnd) {
16494
+ m.periodEnd = new Date(proto.periodEnd);
16495
+ }
16496
+ return m;
16497
+ }
16498
+ constructor(kwargs) {
16499
+ if (!kwargs) {
16500
+ return;
16501
+ }
16502
+ Object.assign(this, kwargs);
16503
+ }
16504
+ toApiJson() {
16505
+ const toReturn = {};
16506
+ if (typeof this.merchantId !== 'undefined') {
16507
+ toReturn['merchantId'] = this.merchantId;
16508
+ }
16509
+ if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {
16510
+ toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;
16511
+ }
16512
+ if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {
16513
+ toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;
16514
+ }
16515
+ return toReturn;
16516
+ }
16517
+ }
16518
+ class GenerateBillableItemsCSVResponse {
16519
+ static fromProto(proto) {
16520
+ let m = new GenerateBillableItemsCSVResponse();
16521
+ m = Object.assign(m, proto);
16522
+ return m;
16523
+ }
16524
+ constructor(kwargs) {
16525
+ if (!kwargs) {
16526
+ return;
16527
+ }
16528
+ Object.assign(this, kwargs);
16529
+ }
16530
+ toApiJson() {
16531
+ const toReturn = {};
16532
+ if (typeof this.url !== 'undefined') {
16533
+ toReturn['url'] = this.url;
16534
+ }
16535
+ return toReturn;
16536
+ }
16537
+ }
16538
+ class GenerateVendorReportRequest {
16539
+ static fromProto(proto) {
16540
+ let m = new GenerateVendorReportRequest();
16541
+ m = Object.assign(m, proto);
16542
+ if (proto.periodStart) {
16543
+ m.periodStart = new Date(proto.periodStart);
16544
+ }
16545
+ if (proto.periodEnd) {
16546
+ m.periodEnd = new Date(proto.periodEnd);
16547
+ }
16548
+ return m;
16549
+ }
16550
+ constructor(kwargs) {
16551
+ if (!kwargs) {
16552
+ return;
16553
+ }
16554
+ Object.assign(this, kwargs);
16555
+ }
16556
+ toApiJson() {
16557
+ const toReturn = {};
16558
+ if (typeof this.skus !== 'undefined') {
16559
+ toReturn['skus'] = this.skus;
16560
+ }
16561
+ if (typeof this.periodStart !== 'undefined' && this.periodStart !== null) {
16562
+ toReturn['periodStart'] = 'toApiJson' in this.periodStart ? this.periodStart.toApiJson() : this.periodStart;
16563
+ }
16564
+ if (typeof this.periodEnd !== 'undefined' && this.periodEnd !== null) {
16565
+ toReturn['periodEnd'] = 'toApiJson' in this.periodEnd ? this.periodEnd.toApiJson() : this.periodEnd;
16566
+ }
16567
+ if (typeof this.vendorName !== 'undefined') {
16568
+ toReturn['vendorName'] = this.vendorName;
16569
+ }
16570
+ if (typeof this.markAsApproved !== 'undefined') {
16571
+ toReturn['markAsApproved'] = this.markAsApproved;
16572
+ }
16573
+ if (typeof this.vendorMerchantId !== 'undefined') {
16574
+ toReturn['vendorMerchantId'] = this.vendorMerchantId;
16575
+ }
16576
+ return toReturn;
16577
+ }
16578
+ }
16579
+ class GenerateVendorReportResponse {
16580
+ static fromProto(proto) {
16581
+ let m = new GenerateVendorReportResponse();
16582
+ m = Object.assign(m, proto);
16583
+ return m;
16584
+ }
16585
+ constructor(kwargs) {
16586
+ if (!kwargs) {
16587
+ return;
16588
+ }
16589
+ Object.assign(this, kwargs);
16590
+ }
16591
+ toApiJson() {
16592
+ const toReturn = {};
16593
+ if (typeof this.url !== 'undefined') {
16594
+ toReturn['url'] = this.url;
16595
+ }
16596
+ if (typeof this.bucket !== 'undefined') {
16597
+ toReturn['bucket'] = this.bucket;
16598
+ }
16599
+ if (typeof this.filename !== 'undefined') {
16600
+ toReturn['filename'] = this.filename;
16601
+ }
16602
+ return toReturn;
16603
+ }
16604
+ }
16605
+ class GetMultiBundleRetailPricingRequest {
16606
+ static fromProto(proto) {
16607
+ let m = new GetMultiBundleRetailPricingRequest();
16608
+ m = Object.assign(m, proto);
16609
+ return m;
16610
+ }
16611
+ constructor(kwargs) {
16612
+ if (!kwargs) {
16613
+ return;
16614
+ }
16615
+ Object.assign(this, kwargs);
16616
+ }
16617
+ toApiJson() {
16618
+ const toReturn = {};
16619
+ if (typeof this.merchantId !== 'undefined') {
16620
+ toReturn['merchantId'] = this.merchantId;
16621
+ }
16622
+ if (typeof this.storeId !== 'undefined') {
16623
+ toReturn['storeId'] = this.storeId;
16624
+ }
16625
+ if (typeof this.bundleIds !== 'undefined') {
16626
+ toReturn['bundleIds'] = this.bundleIds;
16627
+ }
16628
+ return toReturn;
16629
+ }
16630
+ }
16631
+ class GetMultiBundleRetailPricingResponse {
16632
+ static fromProto(proto) {
16633
+ let m = new GetMultiBundleRetailPricingResponse();
16634
+ m = Object.assign(m, proto);
16635
+ if (proto.prices) {
16636
+ m.prices = Object.keys(proto.prices).reduce((obj, k) => { obj[k] = BundlePricing.fromProto(proto.prices[k]); return obj; }, {});
16637
+ }
16638
+ return m;
16639
+ }
16640
+ constructor(kwargs) {
16641
+ if (!kwargs) {
16642
+ return;
16643
+ }
16644
+ Object.assign(this, kwargs);
16645
+ }
16646
+ toApiJson() {
16647
+ const toReturn = {};
16648
+ if (typeof this.prices !== 'undefined' && this.prices !== null) {
16649
+ toReturn['prices'] = 'toApiJson' in this.prices ? this.prices.toApiJson() : this.prices;
16650
+ }
16651
+ return toReturn;
16652
+ }
16653
+ }
16654
+ class GetMultiProductPricingRequest {
16655
+ static fromProto(proto) {
16656
+ let m = new GetMultiProductPricingRequest();
16657
+ m = Object.assign(m, proto);
16658
+ return m;
16659
+ }
16660
+ constructor(kwargs) {
16661
+ if (!kwargs) {
16662
+ return;
16663
+ }
16664
+ Object.assign(this, kwargs);
16665
+ }
16666
+ toApiJson() {
16667
+ const toReturn = {};
16668
+ if (typeof this.merchantId !== 'undefined') {
16669
+ toReturn['merchantId'] = this.merchantId;
16670
+ }
16671
+ if (typeof this.skus !== 'undefined') {
16672
+ toReturn['skus'] = this.skus;
16673
+ }
16674
+ if (typeof this.pricingPlanId !== 'undefined') {
16675
+ toReturn['pricingPlanId'] = this.pricingPlanId;
16676
+ }
16677
+ return toReturn;
16678
+ }
16679
+ }
16680
+ class GetMultiProductPricingResponse {
16681
+ static fromProto(proto) {
16682
+ let m = new GetMultiProductPricingResponse();
16683
+ m = Object.assign(m, proto);
16684
+ if (proto.productPrices) {
16685
+ m.productPrices = Object.keys(proto.productPrices).reduce((obj, k) => { obj[k] = ProductPricing.fromProto(proto.productPrices[k]); return obj; }, {});
16265
16686
  }
16266
16687
  if (proto.prices) {
16267
16688
  m.prices = proto.prices.map(ProductPrices.fromProto);
@@ -16972,6 +17393,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
16972
17393
  args: [{ providedIn: 'root' }]
16973
17394
  }] });
16974
17395
 
17396
+ // *********************************
17397
+ // Code generated by sdkgen
17398
+ // DO NOT EDIT!.
17399
+ //
17400
+ // API Service.
17401
+ // *********************************
17402
+ class AvalaraConfigurationApiService {
17403
+ constructor() {
17404
+ this.hostService = inject(HostService);
17405
+ this.http = inject(HttpClient);
17406
+ this._host = this.hostService.hostWithScheme;
17407
+ }
17408
+ apiOptions() {
17409
+ return {
17410
+ headers: new HttpHeaders({
17411
+ 'Content-Type': 'application/json'
17412
+ }),
17413
+ withCredentials: true
17414
+ };
17415
+ }
17416
+ get(r) {
17417
+ const request = (r.toApiJson) ? r : new GetAvalaraConfigurationRequest(r);
17418
+ return this.http.post(this._host + "/billing.v1.AvalaraConfigurationService/Get", request.toApiJson(), this.apiOptions())
17419
+ .pipe(map(resp => GetAvalaraConfigurationResponse.fromProto(resp)));
17420
+ }
17421
+ create(r) {
17422
+ const request = (r.toApiJson) ? r : new CreateAvalaraConfigurationRequest(r);
17423
+ return this.http.post(this._host + "/billing.v1.AvalaraConfigurationService/Create", request.toApiJson(), this.apiOptions())
17424
+ .pipe(map(resp => CreateAvalaraConfigurationResponse.fromProto(resp)));
17425
+ }
17426
+ update(r) {
17427
+ const request = (r.toApiJson) ? r : new UpdateAvalaraConfigurationRequest(r);
17428
+ return this.http.post(this._host + "/billing.v1.AvalaraConfigurationService/Update", request.toApiJson(), this.apiOptions())
17429
+ .pipe(map(resp => UpdateAvalaraConfigurationResponse.fromProto(resp)));
17430
+ }
17431
+ delete(r) {
17432
+ const request = (r.toApiJson) ? r : new DeleteAvalaraConfigurationRequest(r);
17433
+ return this.http.post(this._host + "/billing.v1.AvalaraConfigurationService/Delete", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
17434
+ }
17435
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: AvalaraConfigurationApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
17436
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: AvalaraConfigurationApiService, providedIn: 'root' }); }
17437
+ }
17438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: AvalaraConfigurationApiService, decorators: [{
17439
+ type: Injectable,
17440
+ args: [{ providedIn: 'root' }]
17441
+ }] });
17442
+
16975
17443
  // *********************************
16976
17444
  // Code generated by sdkgen
16977
17445
  // DO NOT EDIT!.
@@ -18328,6 +18796,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
18328
18796
  args: [{ providedIn: 'root' }]
18329
18797
  }] });
18330
18798
 
18799
+ // *********************************
18800
+ // Code generated by sdkgen
18801
+ // DO NOT EDIT!.
18802
+ //
18803
+ // API Service.
18804
+ // *********************************
18805
+ class RetailSubscriptionGroupApiService {
18806
+ constructor() {
18807
+ this.hostService = inject(HostService);
18808
+ this.http = inject(HttpClient);
18809
+ this._host = this.hostService.hostWithScheme;
18810
+ }
18811
+ apiOptions() {
18812
+ return {
18813
+ headers: new HttpHeaders({
18814
+ 'Content-Type': 'application/json'
18815
+ }),
18816
+ withCredentials: true
18817
+ };
18818
+ }
18819
+ createRetailSubscriptionGroup(r) {
18820
+ const request = (r.toApiJson) ? r : new CreateRetailSubscriptionGroupRequest(r);
18821
+ return this.http.post(this._host + "/billing.v1.RetailSubscriptionGroupService/CreateRetailSubscriptionGroup", request.toApiJson(), this.apiOptions())
18822
+ .pipe(map(resp => CreateRetailSubscriptionGroupResponse.fromProto(resp)));
18823
+ }
18824
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: RetailSubscriptionGroupApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
18825
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: RetailSubscriptionGroupApiService, providedIn: 'root' }); }
18826
+ }
18827
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: RetailSubscriptionGroupApiService, decorators: [{
18828
+ type: Injectable,
18829
+ args: [{ providedIn: 'root' }]
18830
+ }] });
18831
+
18331
18832
  // *********************************
18332
18833
  // Code generated by sdkgen
18333
18834
  // DO NOT EDIT!.
@@ -18578,6 +19079,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImpor
18578
19079
  args: [{ providedIn: 'root' }]
18579
19080
  }] });
18580
19081
 
19082
+ // *********************************
19083
+ // Code generated by sdkgen
19084
+ // DO NOT EDIT!.
19085
+ //
19086
+ // API Service.
19087
+ // *********************************
19088
+ class VendorSplitApiService {
19089
+ constructor() {
19090
+ this.hostService = inject(HostService);
19091
+ this.http = inject(HttpClient);
19092
+ this._host = this.hostService.hostWithScheme;
19093
+ }
19094
+ apiOptions() {
19095
+ return {
19096
+ headers: new HttpHeaders({
19097
+ 'Content-Type': 'application/json'
19098
+ }),
19099
+ withCredentials: true
19100
+ };
19101
+ }
19102
+ get(r) {
19103
+ const request = (r.toApiJson) ? r : new GetVendorSplitRequest(r);
19104
+ return this.http.post(this._host + "/billing.v1.VendorSplitService/Get", request.toApiJson(), this.apiOptions())
19105
+ .pipe(map(resp => GetVendorSplitResponse.fromProto(resp)));
19106
+ }
19107
+ upsert(r) {
19108
+ const request = (r.toApiJson) ? r : new UpsertVendorSplitRequest(r);
19109
+ return this.http.post(this._host + "/billing.v1.VendorSplitService/Upsert", request.toApiJson(), this.apiOptions())
19110
+ .pipe(map(resp => UpsertVendorSplitResponse.fromProto(resp)));
19111
+ }
19112
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: VendorSplitApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
19113
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: VendorSplitApiService, providedIn: 'root' }); }
19114
+ }
19115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: VendorSplitApiService, decorators: [{
19116
+ type: Injectable,
19117
+ args: [{ providedIn: 'root' }]
19118
+ }] });
19119
+
18581
19120
  // *********************************
18582
19121
  // Code generated by sdkgen
18583
19122
  // DO NOT EDIT!.
@@ -18592,5 +19131,5 @@ const usdConversionRate = 1.4;
18592
19131
  * Generated bundle index. Do not edit.
18593
19132
  */
18594
19133
 
18595
- 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, 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, 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 };
19134
+ export { Access, AccountBalance, AddBundleRequest, AddBundleResponse, AddCreditRequest, AddLineItemRequest, AddLineItemResponse, Adjustment, AlignmentSubscription, AppliedBundle, AppliedBundleItem, AppliedCredit, AppliedCreditNote, AppliedDiscount, AppliedFee, AppliedReferenceType, AppliedTaxRate, AppliedTo, ArchiveTaxRequest, AvalaraConfiguration, AvalaraConfigurationApiService, Balance, BalanceAmount, BankAccount, BankReconciliationApiService, BillItemRequest, BillMultipleItemsRequest, BillMultipleItemsResponse, BillableItem, BillableItemCustomerAddress, BillableItemRetailSubscriptionGroup, BillingApiService, BillingStrategy, BulkReplaceTaxRulesRequest, BulkReplaceTaxRulesResponse, Bundle, BundleApiService, BundleItem, BundleItemPrice, BundlePricing, BundlePricingPriceAndFrequency, CalculateCreditNoteRequest, CalculateCreditNoteResponse, CalculateLineItemTaxesRequest, CalculateLineItemTaxesRequestLineItem, CalculateLineItemTaxesResponse, CalculateLineItemTaxesResponseLineItemTaxes, CalculateTaxRequest, CalculateTaxResponse, CanBillItemRequest, CanCreateSubscriptionsRequest, CanCreateSubscriptionsRequestSkusEntry, CanCreateSubscriptionsRequestSubscriptionItem, CanCreateSubscriptionsResponse, CancelRetailBillingRequest, CardType, ChangeCustomUnitPriceRequest, ChangeFrequencyRequest, ChangeRenewalDateRequest, ChargeInvoiceRequest, ChargeSalesInvoiceRequest, CloseRetailDisputeRequest, CollectionMethod, Commitment, ComponentPricing, ConfigureRetailPaymentProviderRequest, ConfigureRetailPaymentProviderResponse, ConfirmRetailPaymentRequest, ConnectStripeAccountRequest, ConnectStripeAccountResponse, Consumer, Contract, ContractApiService, ContractDocument, ContractDocumentApiService, ContractSubscriptionStatus, CreateAvalaraConfigurationRequest, CreateAvalaraConfigurationResponse, CreateContractRequest, CreateContractResponse, CreateCreditNoteRequest, CreateCreditNoteResponse, CreateDiscountRequest, CreateDiscountResponse, CreateInvoiceRequest, CreateInvoiceResponse, CreateMerchantRequest, CreateMerchantRequestIncludeInFinancialRecords, CreateMerchantServicesReportRun, CreateMeteredComponentRequest, CreatePaymentCardRequest, CreatePaymentLinkRequest, CreatePaymentLinkResponse, CreatePricingPlanProductRequest, CreatePricingPlanProductRequestPricingEntry, CreatePricingPlanProductResponse, CreatePricingPlanRequest, CreatePricingPlanResponse, CreateProductRequest, CreateRefundRequest, CreateRetailSubscriptionGroupRequest, CreateRetailSubscriptionGroupResponse, CreateSalesCreditNoteRequest, CreateStripeExternalAccountRequest, CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionsRequest, CreateSubscriptionsResponse, CreateTaxRequest, CreateTaxResponse, CreateUsageRequest, CreditApiService, CreditBalance, CreditNote, CreditNoteApiService, CreditNoteReason, CreditNoteType, CreditType, Currency, CustomerSummary, DateRange, DefaultCustomerConfiguration, DeleteAvalaraConfigurationRequest, DeleteBankAccountRequest, DeleteBillableItemRequest, DeleteContractDocumentRequest, DeleteInvoiceRequest, DeleteLineItemRequest, DeleteLineItemResponse, DeletePaymentCardRequest, DeletePricingPlanProductRequest, DeleteProductRequest, DeleteRecurringInvoiceRequest, DeleteRetailPricingRequest, DeleteTaxRuleRequest, Discount, DiscountApiService, DiscountType, DisplayOption, Dispute, DisputeEvidence, DisputeEvidenceDetails, DisputeStatus, DuplicateInvoiceRequest, DuplicateInvoiceResponse, EntityType, ExpireBillableItemRequest, ExpireDiscountRequest, ExportResponse, ExportSubscriptionsRequest, Fee, FeeAmountType, FeeType, FieldMask, File, Frequency, GenerateBillableItemsCSVRequest, GenerateBillableItemsCSVResponse, GenerateVendorReportRequest, GenerateVendorReportResponse, GetAvalaraConfigurationRequest, GetAvalaraConfigurationResponse, GetBalanceRequest, GetBalanceResponse, GetBillableItemRequest, GetBillableItemResponse, GetContractRequest, GetContractResponse, GetCreditNoteRequest, GetCreditNoteResponse, GetInvoiceRequest, GetInvoiceResponse, GetInvoiceWithCalculatedTaxesRequest, GetInvoiceWithCalculatedTaxesResponse, GetMerchantRequest, GetMerchantResponse, GetMerchantServicesReportRun, GetMerchantWholesaleCurrencyRequest, GetMerchantWholesaleCurrencyResponse, GetMultiBundleRequest, GetMultiBundleResponse, GetMultiBundleResponseBundlesEntry, GetMultiBundleRetailPricingRequest, GetMultiBundleRetailPricingResponse, GetMultiBundleRetailPricingResponsePricesEntry, GetMultiContractsRequest, GetMultiContractsResponse, GetMultiContractsResponseContractsEntry, GetMultiCreditNoteRequest, GetMultiCreditNoteResponse, GetMultiCustomerSummariesRequest, GetMultiCustomerSummariesResponse, GetMultiPricingPlanProductRequest, GetMultiPricingPlanProductResponse, GetMultiPricingPlanRequest, GetMultiPricingPlanResponse, GetMultiProductPricingRequest, GetMultiProductPricingResponse, GetMultiProductPricingResponseProductPricesEntry, GetMultiProductRequest, GetMultiProductResponse, GetMultiProductResponseProductsEntry, GetMultiRetailConfigurationsRequest, GetMultiRetailConfigurationsResponse, GetMultiRetailConfigurationsResponseRetailConfigurationsEntry, GetMultiRetailPricingRequest, GetMultiRetailPricingResponse, GetMultiRetailPricingResponseProductPricesEntry, GetMultiSubscriptionRelationshipsRequest, GetMultiSubscriptionRelationshipsResponse, GetMultiSubscriptionsRequest, GetMultiSubscriptionsRequestKey, GetMultiSubscriptionsResponse, GetMultiTaxRequest, GetMultiTaxResponse, GetMultiWholesaleCostRequest, GetMultiWholesaleCostResponse, GetNextRetailInvoiceSequenceRequest, GetNextRetailInvoiceSequenceResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPayoutSummaryRequest, GetPayoutSummaryResponse, GetPricingPlanProductRequest, GetPricingPlanProductResponse, GetProductSummariesTotalRequest, GetProductSummariesTotalResponse, GetPurchaseCostRequest, GetPurchaseCostResponse, GetRecurringInvoiceRequest, GetRetailAccountBalanceRequest, GetRetailAccountBalanceResponse, GetRetailBalanceRequest, GetRetailBalanceResponse, GetRetailCustomerConfigurationRequest, GetRetailCustomerConfigurationResponse, GetRetailDisputeRequest, GetRetailDisputeResponse, GetRetailPaymentProviderRequest, GetRetailPaymentProviderResponse, GetRetailPaymentRequest, GetRetailPaymentResponse, GetRetailPayoutRequest, GetRetailPayoutResponse, GetRevenueStatsRequest, GetRevenueStatsResponse, GetSalesInvoiceRequest, GetSalesInvoiceResponse, GetStatisticsRequest, GetStatisticsResponse, GetTaxProviderRequest, GetTaxProviderResponse, GetTaxRuleRequest, GetTaxRuleResponse, GetUpcomingInvoicePreviewRequest, GetUpcomingInvoicePreviewResponse, GetVendorSplitRequest, GetVendorSplitResponse, GetWholesaleComparisonRequest, GetWholesaleComparisonRequestGetWholesaleComparisonFilters, GetWholesaleComparisonResponse, GetWholesaleComparisonResponseGetWholesaleComparisonResult, GetWholesaleProviderPublicKeyRequest, GetWholesaleProviderPublicKeyResponse, HostService, Interval, Invoice, InvoiceApiService, InvoiceCustomerAddress, InvoiceItem, InvoiceItemRetailSubscriptionGroup, InvoiceStatus, Item, LastPaymentStatus, LineItem, ListBankAccountsRequest, ListBankAccountsResponse, ListBillableItemsRequest, ListBillableItemsRequestFilters, ListBillableItemsResponse, ListBundlesRequest, ListBundlesRequestFilters, ListBundlesResponse, ListContractDocumentsRequest, ListContractDocumentsRequestFilters, ListContractDocumentsResponse, ListContractsRequest, ListContractsResponse, ListCreditNotesRequest, ListCreditNotesRequestFilters, ListCreditNotesResponse, ListDiscountsRequest, ListDiscountsRequestFilters, ListDiscountsResponse, ListInvoicesRequest, ListInvoicesRequestFilters, ListInvoicesRequestFiltersDateFilter, ListInvoicesRequestFiltersDateFilterDateField, ListInvoicesResponse, ListMerchantBillingReportsRequest, ListMerchantBillingReportsResponse, ListPaymentCardsRequest, ListPaymentCardsResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListPaymentRequest, ListPaymentRequestListPaymentFilters, ListPaymentResponse, ListPayoutsRequest, ListPayoutsRequestFilters, ListPayoutsResponse, ListPricingPlanProductsRequest, ListPricingPlanProductsRequestListPricingPlanProductsFilters, ListPricingPlanProductsResponse, ListProductSummariesRequest, ListProductSummariesResponse, ListProductsRequest, ListProductsRequestListProductsFilters, ListProductsResponse, ListPurchaseItemsRequest, ListPurchaseItemsRequestListPurchaseItemsFilters, ListPurchaseItemsResponse, ListPurchaseRequest, ListPurchaseRequestListPurchaseBillingStrategyFilter, ListPurchaseRequestListPurchaseFilters, ListPurchaseRequestState, ListPurchaseResponse, ListRecurringInvoicesFilters, ListRecurringInvoicesFiltersDateFilter, ListRecurringInvoicesFiltersDetailedInterval, ListRecurringInvoicesRequest, ListRecurringInvoicesResponse, ListRefundsRequest, ListRefundsResponse, ListRetailDisputesRequest, ListRetailDisputesRequestListRetailDisputesFilters, ListRetailDisputesResponse, ListRetailPaymentsRequest, ListRetailPaymentsRequestListRetailPaymentsFilters, ListRetailPaymentsResponse, ListRetailPayoutsRequest, ListRetailPayoutsResponse, ListRetailTransactionsRequest, ListRetailTransactionsRequestListRetailTransactionsFilters, ListRetailTransactionsResponse, ListSalesCreditNoteRequest, ListSalesCreditNoteRequestListSalesCreditNoteFilters, ListSalesCreditNoteResponse, ListSalesInvoiceRequest, ListSalesInvoiceRequestListSalesInvoiceFilters, ListSalesInvoiceResponse, ListSubscriptionRelationshipsRequest, ListSubscriptionRelationshipsRequestFilters, ListSubscriptionRelationshipsResponse, ListSubscriptionRetentionByGroupResponse, ListSubscriptionRetentionByGroupResponseSubscriptionRetentionByGroup, ListSubscriptionRetentionBySKUResponse, ListSubscriptionRetentionRequest, ListSubscriptionRetentionRequestFilters, ListSubscriptionsRequest, ListSubscriptionsRequestFilters, ListSubscriptionsResponse, ListTaxRequest, ListTaxRequestFilters, ListTaxResponse, ListTaxRulesRequest, ListTaxRulesRequestFilters, ListTaxRulesResponse, MCPOptions, Merchant, MerchantApiService, MerchantReport, MerchantReportStatus, MerchantServicesReportRun, MerchantServicesReportRunStatus, MerchantServicesReportRunType, MerchantType, MeteredComponent, Month, Note, Origin, PagedRequestOptions, PagedResponseMetadata, PauseDunningRequest, PayInvoiceRequest, Payment, PaymentACHDebit, PaymentACSSDebit, PaymentAllocationType, PaymentApiService, PaymentCard, PaymentCardCARD_TYPE, PaymentCardFUNDING_TYPE, PaymentErrorCode, PaymentFacilitatorType, PaymentIntent, PaymentIntentStatus, PaymentLinkItem, PaymentMethod, PaymentMethodApiService, PaymentMethodType, PaymentPaymentAllocation, PaymentProcessor, PaymentSource, PaymentStatus, PaymentStatuses, Payout, PayoutStatus, PayoutType, PostSalesInvoiceRequest, PrepareRetailPaymentRequest, PrepareRetailPaymentRequestOrder, PrepareRetailPaymentResponse, Pricing, PricingApiService, PricingPlan, PricingPlanProduct, PricingPlanProductPricing, PricingPlanProductPricingEntry, PricingRule, PricingRuleType, ProcessingFailureCode, Product, ProductApiService, ProductPrices, ProductPricing, ProductPricingRule, ProductPricingType, ProductSummary, ProductSummaryApiService, ProductSummaryBillingStrategy, ProductSummaryDiscount, ProductSummaryDiscountDiscountType, ProductSummaryProductType, ProductType, Purchase, PurchaseApiService, PurchaseItem, PurchaseStatus, ReconcilePayoutRequest, ReconcilePayoutResponse, RecurringInvoice, RecurringInvoiceApiService, RecurringInvoiceBundle, RecurringInvoiceCustomerAddress, RecurringInvoiceItem, RecurringInvoiceLineItem, RecurringInvoiceStatus, ReferenceType, Refund, RefundApiService, RefundReason, RefundRetailPaymentRequest, RefundRetailPaymentResponse, RefundStatus, RelationshipType, RemoveBundleRequest, RemoveBundleResponse, RenewalState, ReplaceSubscriptionPresetsRequest, ReplaceSubscriptionPresetsResponse, ReplaceSubscriptionRelationshipsRequest, ReplaceSubscriptionRelationshipsResponse, ReplaceTaxRuleRequest, ReplaceTaxRuleResponse, ResetContractPricingRequest, ResetPaymentFacilitatorRequest, ResumeDunningRequest, RetailConfiguration, RetailCustomerConfiguration, RetailCustomerConfigurationApiService, RetailPayment, RetailPaymentACHDetails, RetailPaymentACSSDetails, RetailPaymentCardDetails, RetailPaymentPaymentMethodDetailsType, RetailPaymentReferenceType, RetailPaymentsEnabledRequest, RetailPaymentsEnabledResponse, RetailPayout, RetailRefund, RetailRefundFailureReason, RetailRefundReason, RetailRefundStatus, RetailStatusRequest, RetailStatusResponse, RetailStatusResponseVerificationError, RetailStatusResponseVerificationRequirements, RetailSubscriptionGroup, RetailSubscriptionGroupApiService, RetailTransaction, RetailTransactionType, RetentionMetrics, RetryPurchaseRequest, ReverseSubscriptionRequest, SalesCreditNote, SalesCreditNoteApiService, SalesCreditNoteStatus, SalesInvoice, SalesInvoiceApiService, SalesInvoiceStatus, SalesInvoiceType, SearchMerchantsRequest, SearchMerchantsRequestSortBy, SearchMerchantsResponse, SendCreditNoteRequest, SendInvoiceRequest, SendSalesInvoiceEmailRequest, SendSalesInvoiceReceiptEmailRequest, SetAutoBillableRequest, SetAutoChargeInvoicesRequest, SetAutoPostInvoicesRequest, SetDefaultBankAccountRequest, SetDefaultPaymentCardRequest, SetDefaultPaymentMethodRequest, SetHasAlternativePaymentMethodRequest, SetIncludeInFinancialRecordsRequest, SetNextRetailInvoiceSequenceRequest, SetRenewalStartRequest, SetWholesaleProductStrategyRequest, SetWholesaleProductVolumeCommitmentRequest, SortDirection, Source, StartRevRecTemplateBackfillRequest, StopDunningRequest, SubmitEvidenceRequest, SubmitEvidenceRequestDisputeEvidence, SubscribeValidation, SubscribeValidationStatus, Subscription, SubscriptionPreset, SubscriptionProjectionFilter, SubscriptionRelationship, SubscriptionRelationshipApiService, SubscriptionStatus, TaxApiService, TaxProviderType, TaxRate, TaxRule, TaxRuleCustomer, TaxRuleCustomerCustomerAddress, TaxRuleEntityType, TaxRuleProduct, TaxRuleProductProductIdentifier, TaxRuleTaxRuleEntity, TaxRuleType, TickComponentUsageRequest, UnexpireBillableItemRequest, UpdateAvalaraConfigurationRequest, UpdateAvalaraConfigurationResponse, UpdateBundleRequest, UpdateBundleResponse, UpdateContractRequest, UpdateContractRequestMutation, UpdateContractResponse, UpdateContractSubscriptionRequest, UpdateDefaultTaxRatesRequest, UpdateDefaultTaxRatesResponse, UpdateDiscountRequest, UpdateInvoiceRequest, UpdateInvoiceResponse, UpdateLineItemRequest, UpdateLineItemResponse, UpdateMerchantRequest, UpdateMerchantRequestIncludeInFinancialRecords, UpdatePaymentCardRequest, UpdatePricingPlanProductRequest, UpdatePricingPlanProductRequestPricingEntry, UpdatePricingPlanProductResponse, UpdatePricingPlanRequest, UpdatePricingPlanResponse, UpdateProductRequest, UpdateRecurringInvoiceRequest, UpdateRetailPaymentProviderRequest, UpdateSubscriptionRequest, UpdateSubscriptionRequestSubscription, UpdateSubscriptionResponse, UpdateTaxRequest, UpsertBundleRequest, UpsertDefaultRetailCustomerConfigurationRequest, UpsertRetailConfigurationRequest, UpsertRetailCustomerConfigurationRequest, UpsertRetailPricingRequest, UpsertRetailPricingRequestPricingEntry, UpsertVendorSplitRequest, UpsertVendorSplitResponse, UpsertWholesalePricingRequest, ValidateResponse, VendorApiService, VendorSplit, VendorSplitApiService, VoidInvoiceRequest, VoidPurchaseRequest, WholesaleCostItemRequest, usdConversionRate };
18596
19135
  //# sourceMappingURL=vendasta-billing.mjs.map