@vendasta/billing 11.5.0 → 11.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.
- package/esm2020/lib/_internal/interfaces/invoice.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/recurring-invoice.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/invoice.mjs +7 -1
- package/esm2020/lib/_internal/objects/recurring-invoice.mjs +7 -1
- package/fesm2015/vendasta-billing.mjs +12 -0
- package/fesm2015/vendasta-billing.mjs.map +1 -1
- package/fesm2020/vendasta-billing.mjs +12 -0
- package/fesm2020/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/invoice.interface.d.ts +2 -0
- package/lib/_internal/interfaces/recurring-invoice.interface.d.ts +1 -0
- package/lib/_internal/objects/invoice.d.ts +2 -0
- package/lib/_internal/objects/recurring-invoice.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4378,6 +4378,12 @@ class ListInvoicesRequestFilters {
|
|
|
4378
4378
|
if (typeof this.dateFilter !== 'undefined' && this.dateFilter !== null) {
|
|
4379
4379
|
toReturn['dateFilter'] = 'toApiJson' in this.dateFilter ? this.dateFilter.toApiJson() : this.dateFilter;
|
|
4380
4380
|
}
|
|
4381
|
+
if (typeof this.origins !== 'undefined') {
|
|
4382
|
+
toReturn['origins'] = this.origins;
|
|
4383
|
+
}
|
|
4384
|
+
if (typeof this.collectionMethods !== 'undefined') {
|
|
4385
|
+
toReturn['collectionMethods'] = this.collectionMethods;
|
|
4386
|
+
}
|
|
4381
4387
|
return toReturn;
|
|
4382
4388
|
}
|
|
4383
4389
|
}
|
|
@@ -13206,6 +13212,9 @@ class RecurringInvoice {
|
|
|
13206
13212
|
if (proto.customerAddress) {
|
|
13207
13213
|
m.customerAddress = RecurringInvoiceCustomerAddress.fromProto(proto.customerAddress);
|
|
13208
13214
|
}
|
|
13215
|
+
if (proto.netD) {
|
|
13216
|
+
m.netD = parseInt(proto.netD, 10);
|
|
13217
|
+
}
|
|
13209
13218
|
return m;
|
|
13210
13219
|
}
|
|
13211
13220
|
constructor(kwargs) {
|
|
@@ -13276,6 +13285,9 @@ class RecurringInvoice {
|
|
|
13276
13285
|
if (typeof this.customerAddress !== 'undefined' && this.customerAddress !== null) {
|
|
13277
13286
|
toReturn['customerAddress'] = 'toApiJson' in this.customerAddress ? this.customerAddress.toApiJson() : this.customerAddress;
|
|
13278
13287
|
}
|
|
13288
|
+
if (typeof this.netD !== 'undefined') {
|
|
13289
|
+
toReturn['netD'] = this.netD;
|
|
13290
|
+
}
|
|
13279
13291
|
return toReturn;
|
|
13280
13292
|
}
|
|
13281
13293
|
}
|