@vendasta/billing 12.27.0 → 12.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/payment.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/payment.mjs +16 -1
- package/fesm2022/vendasta-billing.mjs +15 -0
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/payment.interface.d.ts +3 -0
- package/lib/_internal/objects/payment.d.ts +3 -0
- package/package.json +1 -1
|
@@ -9824,6 +9824,9 @@ class RetailStatusResponse {
|
|
|
9824
9824
|
if (proto.requirements) {
|
|
9825
9825
|
m.requirements = RetailStatusResponseVerificationRequirements.fromProto(proto.requirements);
|
|
9826
9826
|
}
|
|
9827
|
+
if (proto.futureRequirements) {
|
|
9828
|
+
m.futureRequirements = RetailStatusResponseVerificationRequirements.fromProto(proto.futureRequirements);
|
|
9829
|
+
}
|
|
9827
9830
|
return m;
|
|
9828
9831
|
}
|
|
9829
9832
|
constructor(kwargs) {
|
|
@@ -9846,6 +9849,9 @@ class RetailStatusResponse {
|
|
|
9846
9849
|
if (typeof this.disabledReason !== 'undefined') {
|
|
9847
9850
|
toReturn['disabledReason'] = this.disabledReason;
|
|
9848
9851
|
}
|
|
9852
|
+
if (typeof this.futureRequirements !== 'undefined' && this.futureRequirements !== null) {
|
|
9853
|
+
toReturn['futureRequirements'] = 'toApiJson' in this.futureRequirements ? this.futureRequirements.toApiJson() : this.futureRequirements;
|
|
9854
|
+
}
|
|
9849
9855
|
return toReturn;
|
|
9850
9856
|
}
|
|
9851
9857
|
}
|
|
@@ -9981,6 +9987,9 @@ class RetailStatusResponseVerificationRequirements {
|
|
|
9981
9987
|
if (proto.error) {
|
|
9982
9988
|
m.error = proto.error.map(RetailStatusResponseVerificationError.fromProto);
|
|
9983
9989
|
}
|
|
9990
|
+
if (proto.currentDeadline) {
|
|
9991
|
+
m.currentDeadline = new Date(proto.currentDeadline);
|
|
9992
|
+
}
|
|
9984
9993
|
return m;
|
|
9985
9994
|
}
|
|
9986
9995
|
constructor(kwargs) {
|
|
@@ -9997,6 +10006,12 @@ class RetailStatusResponseVerificationRequirements {
|
|
|
9997
10006
|
if (typeof this.error !== 'undefined' && this.error !== null) {
|
|
9998
10007
|
toReturn['error'] = 'toApiJson' in this.error ? this.error.toApiJson() : this.error;
|
|
9999
10008
|
}
|
|
10009
|
+
if (typeof this.currentDeadline !== 'undefined' && this.currentDeadline !== null) {
|
|
10010
|
+
toReturn['currentDeadline'] = 'toApiJson' in this.currentDeadline ? this.currentDeadline.toApiJson() : this.currentDeadline;
|
|
10011
|
+
}
|
|
10012
|
+
if (typeof this.eventuallyDue !== 'undefined') {
|
|
10013
|
+
toReturn['eventuallyDue'] = this.eventuallyDue;
|
|
10014
|
+
}
|
|
10000
10015
|
return toReturn;
|
|
10001
10016
|
}
|
|
10002
10017
|
}
|