@vendasta/billing 12.5.0 → 12.7.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.
@@ -4171,6 +4171,9 @@ class CalculateLineItemTaxesResponse {
4171
4171
  if (proto.taxRates) {
4172
4172
  m.taxRates = proto.taxRates.map(TaxRate.fromProto);
4173
4173
  }
4174
+ if (proto.appliedTaxes) {
4175
+ m.appliedTaxes = proto.appliedTaxes.map(AppliedTaxRate.fromProto);
4176
+ }
4174
4177
  return m;
4175
4178
  }
4176
4179
  constructor(kwargs) {
@@ -4190,6 +4193,9 @@ class CalculateLineItemTaxesResponse {
4190
4193
  if (typeof this.taxRates !== 'undefined' && this.taxRates !== null) {
4191
4194
  toReturn['taxRates'] = 'toApiJson' in this.taxRates ? this.taxRates.toApiJson() : this.taxRates;
4192
4195
  }
4196
+ if (typeof this.appliedTaxes !== 'undefined' && this.appliedTaxes !== null) {
4197
+ toReturn['appliedTaxes'] = 'toApiJson' in this.appliedTaxes ? this.appliedTaxes.toApiJson() : this.appliedTaxes;
4198
+ }
4193
4199
  return toReturn;
4194
4200
  }
4195
4201
  }
@@ -6430,6 +6436,9 @@ class DefaultCustomerConfiguration {
6430
6436
  if (proto.invoiceDay) {
6431
6437
  m.invoiceDay = parseInt(proto.invoiceDay, 10);
6432
6438
  }
6439
+ if (proto.netD) {
6440
+ m.netD = parseInt(proto.netD, 10);
6441
+ }
6433
6442
  return m;
6434
6443
  }
6435
6444
  constructor(kwargs) {
@@ -6449,6 +6458,12 @@ class DefaultCustomerConfiguration {
6449
6458
  if (typeof this.invoiceDay !== 'undefined') {
6450
6459
  toReturn['invoiceDay'] = this.invoiceDay;
6451
6460
  }
6461
+ if (typeof this.memo !== 'undefined') {
6462
+ toReturn['memo'] = this.memo;
6463
+ }
6464
+ if (typeof this.netD !== 'undefined') {
6465
+ toReturn['netD'] = this.netD;
6466
+ }
6452
6467
  return toReturn;
6453
6468
  }
6454
6469
  }