* feat: update automation models to use WorkspaceBaseModel and ProjectOptionalBaseModel * feat: implement workspace automation endpoints and models * feat: add workspace automation endpoints and models, including project associations and global automation support * feat: enhance AutomationWriteSerializer to manage project associations during create and update * feat: refactor feature flag usage for automations to unify project and workspace flags * init: workspace automations (#6525) * chore: implement project select * feat: add is_global field to Automation serializers * chore: init automation details page * feat: add global filter to WorkspaceAutomationsEndpoint * feat: update permission levels for WorkspaceAutomation endpoints * chore: workspace automation details * chore: handle grouped options as flat-list * feat: update Automation endpoint filters to include workspace and is_global conditions * chore: handle multiple project ids * chore: handle main content spacing * chore: add projects list to details header * chore: update dropdown UI for grouped options * chore: add translations * feat: enhance automation activity logging and improve error handling in automation endpoints * fix: correct verb usage in automation activity tracking * chore: add project_ids activity item * fix: update query to use correct field name for project associations * fix: project name handling * chore: add setter for project_ids * fix: build errors * fix: remove unused project_id parameter from WorkspaceAutomationNodeEndpoint * fix: update allow_permission decorator to include workspace level for WorkspaceAutomationRunEndpoint * fix: change default value of project_ids to None in AutomationWriteSerializer update method * refactor: update feature flag references from PROJECT_AUTOMATIONS to AUTOMATIONS across components and documentation * refactor: update feature flag references from AUTOMATIONS to PROJECT_AUTOMATIONS and WORKSPACE_AUTOMATIONS across automation endpoints * fix: correct field name handling in track_automation_field_change function * fix: optimize list item change tracking in track_automation_field_change function * refactor: replace unsafe type assertions with runtime type guards for filter options - Add 'group' variants to TCoreFilterFieldConfigs and operator config types so TypeScript correctly models that getOptions() can return grouped options - Add isFilterOptionGroups type guard to validate option shape at runtime - Fix resolveOptionsFromConfig in pql-suggestions to handle grouped options - Remove all 'as unknown as' and 'as' casts from consuming code * refactor: split AUTOMATIONS feature flag into PROJECT_AUTOMATIONS and WORKSPACE_AUTOMATIONS - Restore PROJECT_AUTOMATIONS (Business tier) for project-level automations - Add WORKSPACE_AUTOMATIONS (Enterprise tier) for workspace-level automations - Update all project components/stores to use PROJECT_AUTOMATIONS - Update all workspace components/stores to use WORKSPACE_AUTOMATIONS * fix: license check --------- Co-authored-by: pablohashescobar <[email protected]> Co-authored-by: Prateek Shourya <[email protected]>