Source: factory.service/package.sunswept/ObjServiceClientEventPlan.py
| Method | Signature | Description |
|---|---|---|
| activity_isavailable | activity_isavailable(event_obj) |
Do a lookup to see if the event is available at the time we are trying to book. |
| book_activity | book_activity(event_obj) |
Make call to Maestro to book the Spa/Facility |
| customer_isavailable | customer_isavailable(starttime, endtime) |
Do a lookup to the calendar data table to see if there are currently any events booked for the customer that will conflict with |
| check_is_valid | check_is_valid(event_obj) |
Rules list to validate if we can book an event |
| apply_constraint | apply_constraint(event_obj) |
|
| time_to_int | time_to_int(time_str: str) -> int |
|
| date_to_obj | date_to_obj(dx: str) |
|
| int_to_time | int_to_time(int) |
|
| time_to_datetime | time_to_datetime(dx: str) |
|
| generate_calendar | generate_calendar(cust_id) |
|
| run_workflow_direct | run_workflow_direct(Guid = '', Param1 = '', Param2 = '', Param3 = '') |
|
| Connect | Connect(Param1 = '', Param2 = '', Param3 = '') |
|
| Send | Send() |