@gomusdev/web-components 1.36.0 → 1.37.1
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.
|
@@ -12654,7 +12654,10 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
12654
12654
|
return { error: { errors: validationErrors } };
|
|
12655
12655
|
}
|
|
12656
12656
|
const httpMethod = this.client[options.method];
|
|
12657
|
-
const ret = await httpMethod(path, {
|
|
12657
|
+
const ret = await httpMethod(path, {
|
|
12658
|
+
body,
|
|
12659
|
+
params: assign(this.#defaultApiParams, { params }).params
|
|
12660
|
+
});
|
|
12658
12661
|
return ret;
|
|
12659
12662
|
}
|
|
12660
12663
|
/**
|
|
@@ -31085,7 +31088,8 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
31085
31088
|
const { tickets, quotas } = await shop.asyncFetch(() => shop.ticketsAndQuotas({
|
|
31086
31089
|
"by_ticket_ids[]": ticketIds,
|
|
31087
31090
|
by_bookable: true,
|
|
31088
|
-
valid_at: tsd.selectedDate?.toString()
|
|
31091
|
+
valid_at: tsd.selectedDate?.toString(),
|
|
31092
|
+
date_id: segment.dateId
|
|
31089
31093
|
}));
|
|
31090
31094
|
shop.capacityManager.addQuotas(quotas);
|
|
31091
31095
|
const available = filterAvailabletickets(tickets, tsd.selectedTime);
|
|
@@ -12654,7 +12654,10 @@ class Shop {
|
|
|
12654
12654
|
return { error: { errors: validationErrors } };
|
|
12655
12655
|
}
|
|
12656
12656
|
const httpMethod = this.client[options.method];
|
|
12657
|
-
const ret = await httpMethod(path, {
|
|
12657
|
+
const ret = await httpMethod(path, {
|
|
12658
|
+
body,
|
|
12659
|
+
params: assign(this.#defaultApiParams, { params }).params
|
|
12660
|
+
});
|
|
12658
12661
|
return ret;
|
|
12659
12662
|
}
|
|
12660
12663
|
/**
|
|
@@ -31085,7 +31088,8 @@ async function loadEventTickets(segment) {
|
|
|
31085
31088
|
const { tickets, quotas } = await shop.asyncFetch(() => shop.ticketsAndQuotas({
|
|
31086
31089
|
"by_ticket_ids[]": ticketIds,
|
|
31087
31090
|
by_bookable: true,
|
|
31088
|
-
valid_at: tsd.selectedDate?.toString()
|
|
31091
|
+
valid_at: tsd.selectedDate?.toString(),
|
|
31092
|
+
date_id: segment.dateId
|
|
31089
31093
|
}));
|
|
31090
31094
|
shop.capacityManager.addQuotas(quotas);
|
|
31091
31095
|
const available = filterAvailabletickets(tickets, tsd.selectedTime);
|