the nozzle id to clear the selected pourable for.
import { NozzleServices } from "@kosdev-code/kos-dispense-sdk";
...
try {
const response = await NozzleServices.clearPourable("nozzle-1");
if (response?.status !== 200) {
throw new Error("Failed to clear pourable");
}
} catch (e) {
console.error(e);
}
Invokes the endpoint to clear the selected pourable for the specified nozzle. Uses the KOS endpoint [DELETE]
${URL}/api/ext/dispense/nozzle/${nozzleId}/pipeline/beverage/select