This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
function onRuleDeleted(handler: function): void;
handler(event: RuleDeletedEnvelope): void | Promise<void>
import { serviceFees } from "@wix/restaurants";
serviceFees.onRuleDeleted((event) => {
// handle your event here
});