@vendasta/billing 14.26.0 → 14.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/_internal/interfaces/invoice.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/invoice.mjs +13 -1
- package/fesm2022/vendasta-billing.mjs +12 -0
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/invoice.interface.d.ts +2 -0
- package/lib/_internal/objects/invoice.d.ts +2 -0
- package/package.json +1 -1
|
@@ -6591,6 +6591,9 @@ class ListInvoicesRequestFilters {
|
|
|
6591
6591
|
if (proto.dateFilter) {
|
|
6592
6592
|
m.dateFilter = ListInvoicesRequestFiltersDateFilter.fromProto(proto.dateFilter);
|
|
6593
6593
|
}
|
|
6594
|
+
if (proto.lastPaymentStatuses) {
|
|
6595
|
+
m.lastPaymentStatuses = proto.lastPaymentStatuses.map((v) => enumStringToValue$o(LastPaymentStatus, v));
|
|
6596
|
+
}
|
|
6594
6597
|
return m;
|
|
6595
6598
|
}
|
|
6596
6599
|
constructor(kwargs) {
|
|
@@ -6625,6 +6628,9 @@ class ListInvoicesRequestFilters {
|
|
|
6625
6628
|
if (typeof this.collectionMethods !== 'undefined') {
|
|
6626
6629
|
toReturn['collectionMethods'] = this.collectionMethods;
|
|
6627
6630
|
}
|
|
6631
|
+
if (typeof this.lastPaymentStatuses !== 'undefined') {
|
|
6632
|
+
toReturn['lastPaymentStatuses'] = this.lastPaymentStatuses;
|
|
6633
|
+
}
|
|
6628
6634
|
return toReturn;
|
|
6629
6635
|
}
|
|
6630
6636
|
}
|
|
@@ -7375,6 +7381,9 @@ class UpdateLineItemRequest {
|
|
|
7375
7381
|
if (proto.servicePeriodEnd) {
|
|
7376
7382
|
m.servicePeriodEnd = new Date(proto.servicePeriodEnd);
|
|
7377
7383
|
}
|
|
7384
|
+
if (proto.fieldMask) {
|
|
7385
|
+
m.fieldMask = FieldMask.fromProto(proto.fieldMask);
|
|
7386
|
+
}
|
|
7378
7387
|
return m;
|
|
7379
7388
|
}
|
|
7380
7389
|
constructor(kwargs) {
|
|
@@ -7418,6 +7427,9 @@ class UpdateLineItemRequest {
|
|
|
7418
7427
|
if (typeof this.servicePeriodEnd !== 'undefined' && this.servicePeriodEnd !== null) {
|
|
7419
7428
|
toReturn['servicePeriodEnd'] = 'toApiJson' in this.servicePeriodEnd ? this.servicePeriodEnd.toApiJson() : this.servicePeriodEnd;
|
|
7420
7429
|
}
|
|
7430
|
+
if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
|
|
7431
|
+
toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
|
|
7432
|
+
}
|
|
7421
7433
|
return toReturn;
|
|
7422
7434
|
}
|
|
7423
7435
|
}
|