- Improved logic for managing account statuses during registration.
- Enhanced validation for anonymous call purchases.
- Streamlined email notification process for new account creations.
- Introduced `AccountStatus.PENDING` to manage pending account states.
- Added `PurchaseAnonymousCallRequest` schema for anonymous call purchases.
- Implemented `create_anonymous_account_obj` to create accounts with pending status.
- Updated `create_call_obj` to handle both regular and anonymous calls.
- Enhanced email notifications for anonymous bookings.
- Added endpoint for completing account registration, updating status to active.
- Changed the return type of `initialize_daily` function to `CbhResponseWrapper[DailyInitializeResponse]`.
- Updated `create_daily_token` function to derive `room_name` from `call.roomUrl` and added validation for the room URL.
- Modified the payload for the meeting token request to include `user_id`, `nbf`, and `eject_at_token_exp` fields, and corrected the API endpoint URL.
- Removed the discount code router and related functionality from the project.
- Introduced `update_account_status_obj` function to handle account status updates.
- Added `ChangeStatusRequest` schema for updating account status via API.
- Updated account model to include a phone number field instead of picture URL.
- Cleaned up unused reschedule call functionality and related schemas.
- Enhanced account creation process to include phone number and account status.
- Removed the discount code router and related functionality from the project.
- Introduced `update_account_status_obj` function to handle account status updates.
- Added `ChangeStatusRequest` schema for updating account status via API.
- Updated account model to include a phone number field instead of picture URL.
- Cleaned up unused reschedule call functionality and related schemas.
- Enhanced account creation process to include phone number and account status.
- Updated `filter_accounts_objs` to include additional filters for `statuses` and `opportunities`.
- Modified `AccountFilter` schema to support new filter fields.
- Introduced `filter_events_objs` function to enable event filtering based on date range and search term.
- Added `EventFilter` schema for event filtering parameters.
- Implemented new endpoint for filtering events in the events router.
- Updated `minDate` and `maxDate` in `CallsFilter` schema to use `date` type instead of `datetime`.
- Enhanced date filtering logic in `filter_calls_objs` to ensure proper date comparisons.
- Improved readability of print statements in `enable_call` and `calculate_call_availabilities` functions by formatting code for clarity.
Refactor date handling in call filters and improve logging
- Updated `minDate` and `maxDate` in `CallsFilter` schema to use `date` type instead of `datetime`.
- Enhanced date filtering logic in `filter_calls_objs` to ensure proper date comparisons.
- Improved readability of print statements in `enable_call` and `calculate_call_availabilities` functions by formatting code for clarity.
- Integrated `discountcode_router` for managing discount codes in the API.
- Added `events_router` for handling events-related endpoints.
- Updated `check_call_payment` function to use `call_id` instead of `callId` for consistency.
- Added debug print statements in various functions for better traceability during payment processing.
- Improved the `form_delete_scenario_filter` utility function for better filter creation during scenario deletions.
- Refined the `bulk_delete_scenarios_objs` and `delete_scenario` functions to enhance clarity and maintainability.
- Strengthened access control measures in the filtering logic for scenario deletions.
- Improved the `form_delete_scenario_filter` utility function for better filter creation during scenario deletions.
- Refined the `bulk_delete_scenarios_objs` and `delete_scenario` functions to enhance clarity and maintainability.
- Strengthened access control measures in the filtering logic for scenario deletions.