Skip to content

feat(ticketing): schedules CUD + intervals + holidays#92

Merged
lmeilibr merged 1 commit into
mainfrom
feature/schedules-cud
Apr 21, 2026
Merged

feat(ticketing): schedules CUD + intervals + holidays#92
lmeilibr merged 1 commit into
mainfrom
feature/schedules-cud

Conversation

@lmeilibr
Copy link
Copy Markdown
Contributor

Summary

  • Adds full CUD on schedules plus workweek intervals update and holiday CUD.
  • New Create/Update/UpdateIntervals/CreateHoliday/UpdateHoliday command dataclasses and matching payload mappers (date objects serialised to ISO strings).
  • Extends ScheduleApiClient and ScheduleService with create/update/delete/update_intervals/create_holiday/update_holiday/delete_holiday.

Refs #79.

Test plan

  • uv run --python 3.12 pytest tests/unit/ticketing/ — 618 passed
  • 100% coverage across schedule_cmds / schedule_mapper / schedule_api_client / schedule_service / schedule domain model
  • Live integration tests in tests/integration/ticketing/test_schedule.py on a real tenant

🤖 Generated with Claude Code

Refs #79.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
end_date: date | str | None = None


ScheduleCmd: TypeAlias = CreateScheduleCmd | UpdateScheduleCmd


ScheduleCmd: TypeAlias = CreateScheduleCmd | UpdateScheduleCmd
HolidayCmd: TypeAlias = CreateHolidayCmd | UpdateHolidayCmd
@sonarqubecloud
Copy link
Copy Markdown

@lmeilibr lmeilibr merged commit 3d28d21 into main Apr 21, 2026
3 checks passed
@lmeilibr lmeilibr deleted the feature/schedules-cud branch April 21, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant