@vendasta/billing 10.10.3 → 10.11.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/billable-item.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/billable-item.mjs +7 -1
- package/fesm2015/vendasta-billing.mjs +6 -0
- package/fesm2015/vendasta-billing.mjs.map +1 -1
- package/fesm2020/vendasta-billing.mjs +6 -0
- package/fesm2020/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/billable-item.interface.d.ts +1 -0
- package/lib/_internal/objects/billable-item.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1040,6 +1040,9 @@ class ListSubscriptionsRequestFilters {
|
|
|
1040
1040
|
if (proto.expiredDateLte) {
|
|
1041
1041
|
m.expiredDateLte = new Date(proto.expiredDateLte);
|
|
1042
1042
|
}
|
|
1043
|
+
if (proto.frequencies) {
|
|
1044
|
+
m.frequencies = proto.frequencies.map((v) => enumStringToValue$E(Frequency, v));
|
|
1045
|
+
}
|
|
1043
1046
|
return m;
|
|
1044
1047
|
}
|
|
1045
1048
|
toApiJson() {
|
|
@@ -1065,6 +1068,9 @@ class ListSubscriptionsRequestFilters {
|
|
|
1065
1068
|
if (typeof this.expiredDateLte !== 'undefined' && this.expiredDateLte !== null) {
|
|
1066
1069
|
toReturn['expiredDateLte'] = 'toApiJson' in this.expiredDateLte ? this.expiredDateLte.toApiJson() : this.expiredDateLte;
|
|
1067
1070
|
}
|
|
1071
|
+
if (typeof this.frequencies !== 'undefined') {
|
|
1072
|
+
toReturn['frequencies'] = this.frequencies;
|
|
1073
|
+
}
|
|
1068
1074
|
return toReturn;
|
|
1069
1075
|
}
|
|
1070
1076
|
}
|