Hi! I can help with that. I have experience reverse-engineering built-in functions and recreating them with fully dynamic parameters. I can build a custom availability function that mirrors check_availability_cal while allowing dynamic event_type_id and cal_api. Happy to discuss details and get started.
@Sanjay