@wix/bookings 1.0.1756 → 1.0.1757
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.
|
@@ -4417,8 +4417,8 @@ function a_(e2, t2) {
|
|
|
4417
4417
|
function o_(e2) {
|
|
4418
4418
|
return { serviceId: e2.serviceId, staff: c_(e2), variantChoiceId: Vg(e2)[0], addOns: qg(e2).map((e3) => ({ addOnId: e3.id, quantity: e3.quantity ?? 1 })) };
|
|
4419
4419
|
}
|
|
4420
|
-
function s_({ service: e2, pricingOption: t2, selection: n2, multiServiceAppointmentsEnabled: r2, basketSelections: i2 }) {
|
|
4421
|
-
return { serviceId: e2?._id ?? void 0, service: e2 ?? void 0, variants: e2 ? a_(e2, t2) : void 0, staff: c_(n2), locationId: n2.locationId ?? void 0, variantChoiceId: Vg(n2)[0], addOns: qg(n2).map((e3) => ({ addOnId: e3.id, quantity: e3.quantity ?? 1 })), multiServiceAppointmentsEnabled: r2, ...i2?.length ? { basket: i2.map(o_) } : {} };
|
|
4420
|
+
function s_({ service: e2, pricingOption: t2, selection: n2, multiServiceAppointmentsEnabled: r2, basketSelections: i2, openAtBasket: a2 }) {
|
|
4421
|
+
return { serviceId: e2?._id ?? void 0, service: e2 ?? void 0, variants: e2 ? a_(e2, t2) : void 0, staff: c_(n2), locationId: n2.locationId ?? void 0, variantChoiceId: Vg(n2)[0], addOns: qg(n2).map((e3) => ({ addOnId: e3.id, quantity: e3.quantity ?? 1 })), multiServiceAppointmentsEnabled: r2, ...i2?.length ? { basket: i2.map(o_) } : {}, ...a2 ? { openAtBasket: a2 } : {} };
|
|
4422
4422
|
}
|
|
4423
4423
|
function c_(e2) {
|
|
4424
4424
|
let t2 = Lg(e2);
|