@vendasta/billing 10.9.1 → 10.9.3

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.
@@ -6633,7 +6633,7 @@ class Adjustment {
6633
6633
  m.dispute = Dispute.fromProto(proto.dispute);
6634
6634
  }
6635
6635
  if (proto.created) {
6636
- m.created = parseInt(proto.created, 10);
6636
+ m.created = new Date(proto.created);
6637
6637
  }
6638
6638
  return m;
6639
6639
  }
@@ -6663,8 +6663,8 @@ class Adjustment {
6663
6663
  if (typeof this.dispute !== 'undefined' && this.dispute !== null) {
6664
6664
  toReturn['dispute'] = 'toApiJson' in this.dispute ? this.dispute.toApiJson() : this.dispute;
6665
6665
  }
6666
- if (typeof this.created !== 'undefined') {
6667
- toReturn['created'] = this.created;
6666
+ if (typeof this.created !== 'undefined' && this.created !== null) {
6667
+ toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
6668
6668
  }
6669
6669
  return toReturn;
6670
6670
  }
@@ -7488,6 +7488,9 @@ class ListRetailTransactionsRequestListRetailTransactionsFilters {
7488
7488
  if (typeof this.type !== 'undefined') {
7489
7489
  toReturn['type'] = this.type;
7490
7490
  }
7491
+ if (typeof this.customerId !== 'undefined') {
7492
+ toReturn['customerId'] = this.customerId;
7493
+ }
7491
7494
  return toReturn;
7492
7495
  }
7493
7496
  }