feat(api): support schedule quota tracking
This commit is contained in:
@ -366,6 +366,7 @@ const doc = {
|
||||
$doctorId: "uuid-string",
|
||||
$title: "Practice Schedule",
|
||||
$timezone: "Asia/Jakarta",
|
||||
$quota: 20,
|
||||
$startDate: "2026-03-20",
|
||||
$untilDate: "2026-06-30",
|
||||
$startTimeLocal: "09:00:00",
|
||||
@ -377,6 +378,7 @@ const doc = {
|
||||
$doctorId: "uuid-string",
|
||||
$title: "Practice Schedule Updated",
|
||||
$timezone: "Asia/Jakarta",
|
||||
$quota: 25,
|
||||
$startDate: "2026-03-20",
|
||||
$untilDate: "2026-07-31",
|
||||
$startTimeLocal: "10:00:00",
|
||||
@ -406,6 +408,9 @@ const doc = {
|
||||
$title: "Practice",
|
||||
$startAt: "2026-03-20T09:00:00+07:00",
|
||||
$endAt: "2026-03-20T12:00:00+07:00",
|
||||
$quota: 20,
|
||||
$usedQuota: 7,
|
||||
$leftQuota: 13,
|
||||
$isRecurring: true,
|
||||
$isException: false,
|
||||
$status: "confirmed"
|
||||
|
||||
Reference in New Issue
Block a user