{"openapi":"3.1.0","info":{"title":"Gematry Calendar Developer API","version":"1.0.0"},"servers":[{"url":"https://api.calendar.gematry.ru/api/developer/v1"}],"paths":{"/workspace":{"get":{"tags":["calendar"],"summary":"Получить рабочее пространство","description":"Показывает текущее рабочее пространство и роль пользователя.","operationId":"get_workspace","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceView"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"calendar:read"}},"/calendars":{"get":{"tags":["calendar"],"summary":"Календари · список","description":"Возвращает доступные записи рабочего пространства постранично.","operationId":"list_calendars","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarViewPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:read"},"post":{"tags":["calendar"],"summary":"Календари · создание","description":"Создаёт запись. Повтор запроса с тем же ключом и данными возвращает тот же результат.","operationId":"create_calendar","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:write"}},"/calendars/{entity_id}":{"get":{"tags":["calendar"],"summary":"Календари · сведения","description":"Возвращает запись по идентификатору и её текущую версию.","operationId":"get_calendar","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:read"},"put":{"tags":["calendar"],"summary":"Календари · изменение","description":"Сохраняет изменения записи по её текущей версии.","operationId":"update_calendar","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:write"},"delete":{"tags":["calendar"],"summary":"Календари · удаление","description":"Удаляет запись по её текущей версии.","operationId":"delete_calendar","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:write"}},"/schedules":{"get":{"tags":["availability"],"summary":"Расписания · список","description":"Возвращает доступные записи рабочего пространства постранично.","operationId":"list_schedules","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleViewPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:read"},"post":{"tags":["availability"],"summary":"Расписания · создание","description":"Создаёт запись. Повтор запроса с тем же ключом и данными возвращает тот же результат.","operationId":"create_schedule","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"}},"/schedules/{entity_id}":{"get":{"tags":["availability"],"summary":"Расписания · сведения","description":"Возвращает запись по идентификатору и её текущую версию.","operationId":"get_schedule","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:read"},"put":{"tags":["availability"],"summary":"Расписания · изменение","description":"Сохраняет изменения записи по её текущей версии.","operationId":"update_schedule","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"},"delete":{"tags":["availability"],"summary":"Расписания · удаление","description":"Удаляет запись по её текущей версии.","operationId":"delete_schedule","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"}},"/time-off":{"get":{"tags":["availability"],"summary":"Отсутствия · список","description":"Возвращает доступные записи рабочего пространства постранично.","operationId":"list_time_off","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffViewPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:read"},"post":{"tags":["availability"],"summary":"Отсутствия · создание","description":"Создаёт запись. Повтор запроса с тем же ключом и данными возвращает тот же результат.","operationId":"create_time_off","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"}},"/time-off/{entity_id}":{"get":{"tags":["availability"],"summary":"Отсутствия · сведения","description":"Возвращает запись по идентификатору и её текущую версию.","operationId":"get_time_off","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:read"},"put":{"tags":["availability"],"summary":"Отсутствия · изменение","description":"Сохраняет изменения записи по её текущей версии.","operationId":"update_time_off","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeOffView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"},"delete":{"tags":["availability"],"summary":"Отсутствия · удаление","description":"Удаляет запись по её текущей версии.","operationId":"delete_time_off","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"}},"/resources":{"get":{"tags":["availability"],"summary":"Ресурсы · список","description":"Возвращает доступные записи рабочего пространства постранично.","operationId":"list_resources","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceViewPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:read"},"post":{"tags":["availability"],"summary":"Ресурсы · создание","description":"Создаёт запись. Повтор запроса с тем же ключом и данными возвращает тот же результат.","operationId":"create_resource","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"}},"/resources/{entity_id}":{"get":{"tags":["availability"],"summary":"Ресурсы · сведения","description":"Возвращает запись по идентификатору и её текущую версию.","operationId":"get_resource","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:read"},"put":{"tags":["availability"],"summary":"Ресурсы · изменение","description":"Сохраняет изменения записи по её текущей версии.","operationId":"update_resource","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"},"delete":{"tags":["availability"],"summary":"Ресурсы · удаление","description":"Удаляет запись по её текущей версии.","operationId":"delete_resource","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"availability:write"}},"/team/units":{"get":{"tags":["team"],"summary":"Подразделения · список","description":"Возвращает доступные записи рабочего пространства постранично.","operationId":"list_organization_units","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitViewPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:read"},"post":{"tags":["team"],"summary":"Подразделения · создание","description":"Создаёт запись. Повтор запроса с тем же ключом и данными возвращает тот же результат.","operationId":"create_organization_unit","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"}},"/team/units/{entity_id}":{"get":{"tags":["team"],"summary":"Подразделения · сведения","description":"Возвращает запись по идентификатору и её текущую версию.","operationId":"get_organization_unit","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:read"},"put":{"tags":["team"],"summary":"Подразделения · изменение","description":"Сохраняет изменения записи по её текущей версии.","operationId":"update_organization_unit","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnitView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"},"delete":{"tags":["team"],"summary":"Подразделения · удаление","description":"Удаляет запись по её текущей версии.","operationId":"delete_organization_unit","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"}},"/workflows":{"get":{"tags":["automations"],"summary":"Автоматизации · список","description":"Возвращает доступные записи рабочего пространства постранично.","operationId":"list_workflows","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowViewPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"automations:read"},"post":{"tags":["automations"],"summary":"Автоматизации · создание","description":"Создаёт запись. Повтор запроса с тем же ключом и данными возвращает тот же результат.","operationId":"create_workflow","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"automations:write"}},"/workflows/{entity_id}":{"get":{"tags":["automations"],"summary":"Автоматизации · сведения","description":"Возвращает запись по идентификатору и её текущую версию.","operationId":"get_workflow","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"automations:read"},"put":{"tags":["automations"],"summary":"Автоматизации · изменение","description":"Сохраняет изменения записи по её текущей версии.","operationId":"update_workflow","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"automations:write"},"delete":{"tags":["automations"],"summary":"Автоматизации · удаление","description":"Удаляет запись по её текущей версии.","operationId":"delete_workflow","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"automations:write"}},"/team/delegations":{"get":{"tags":["team"],"summary":"Делегирование · список","description":"Возвращает доступные записи рабочего пространства постранично.","operationId":"list_delegations","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegationViewPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:read"},"post":{"tags":["team"],"summary":"Делегирование · создание","description":"Создаёт запись. Повтор запроса с тем же ключом и данными возвращает тот же результат.","operationId":"create_delegation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegationWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegationView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"}},"/team/delegations/{entity_id}":{"get":{"tags":["team"],"summary":"Делегирование · сведения","description":"Возвращает запись по идентификатору и её текущую версию.","operationId":"get_delegation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegationView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:read"},"put":{"tags":["team"],"summary":"Делегирование · изменение","description":"Сохраняет изменения записи по её текущей версии.","operationId":"update_delegation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegationWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DelegationView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"},"delete":{"tags":["team"],"summary":"Делегирование · удаление","description":"Удаляет запись по её текущей версии.","operationId":"delete_delegation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"}},"/events":{"get":{"tags":["calendar"],"summary":"Найти события","description":"События и серии, пересекающие заданный интервал. Личные детали скрыты по правилам Calendar.","operationId":"list_events","security":[{"DeveloperToken":[]}],"parameters":[{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Start"}},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"End"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"calendar_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Calendar Id"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventsPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:read"},"post":{"tags":["calendar"],"summary":"Создать событие","description":"Добавляет событие в календарь и отправляет приглашения участникам.","operationId":"create_event","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:write"}},"/events/{entity_id}":{"get":{"tags":["calendar"],"summary":"Получить событие","description":"Возвращает видимые детали события или серии.","operationId":"get_event","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:read"},"put":{"tags":["calendar"],"summary":"Изменить событие","description":"Обновляет событие по его текущей версии и уведомляет участников об изменениях.","operationId":"update_event","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventChanges"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:write"}},"/events/{entity_id}/cancel":{"post":{"tags":["calendar"],"summary":"Отменить событие","description":"Отменяет отдельное повторение, будущие повторения или всю серию и уведомляет участников.","operationId":"cancel_event","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperEventCancellation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:write"}},"/events/{entity_id}/rsvp":{"post":{"tags":["calendar"],"summary":"Ответить на приглашение","description":"Сохраняет ответ текущего участника встречи.","operationId":"respond_to_event","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventRsvp"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventRsvpView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:write"}},"/events/{entity_id}/conference/retry":{"post":{"tags":["calendar"],"summary":"Повторить создание конференции","description":"Запрашивает повторное создание конференции для события.","operationId":"retry_event_conference","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"calendar:write"}},"/booking-options":{"get":{"tags":["booking"],"summary":"Список услуг записи","description":"Возвращает доступные объекты с черновиками и статусами публикации.","operationId":"list_booking_options","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPage_BookingOptionView_"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"post":{"tags":["booking"],"summary":"Создать услугу записи","description":"Сохраняет черновик для онлайн-записи.","operationId":"create_booking_option","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOptionCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOptionView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-options/{entity_id}":{"get":{"tags":["booking"],"summary":"Получить услугу записи","description":"Возвращает черновик и опубликованную версию.","operationId":"get_booking_option","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOptionView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"put":{"tags":["booking"],"summary":"Изменить услугу записи","description":"Сохраняет черновик по текущей версии.","operationId":"update_booking_option","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOptionCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOptionView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-options/{entity_id}/publish":{"post":{"tags":["booking"],"summary":"Опубликовать услугу записи","description":"Проверяет правила и публикует черновик.","operationId":"publish_booking_option","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOptionView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-options/{entity_id}/archive":{"post":{"tags":["booking"],"summary":"Архивировать услугу записи","description":"Архивирует объект по текущей версии.","operationId":"archive_booking_option","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOptionView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-options/{entity_id}/unpublish":{"post":{"tags":["booking"],"summary":"Снять с публикации услугу записи","description":"Приостанавливает использование опубликованной версии.","operationId":"unpublish_booking_option","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOptionView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/employee-groups":{"get":{"tags":["booking"],"summary":"Список групп ответственных","description":"Возвращает доступные объекты с черновиками и статусами публикации.","operationId":"list_employee_groups","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPage_EmployeeGroupView_"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"post":{"tags":["booking"],"summary":"Создать группу ответственных","description":"Сохраняет черновик для онлайн-записи.","operationId":"create_employee_group","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeGroupCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeGroupView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/employee-groups/{entity_id}":{"get":{"tags":["booking"],"summary":"Получить группу ответственных","description":"Возвращает черновик и опубликованную версию.","operationId":"get_employee_group","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeGroupView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"put":{"tags":["booking"],"summary":"Изменить группу ответственных","description":"Сохраняет черновик по текущей версии.","operationId":"update_employee_group","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeGroupCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeGroupView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/employee-groups/{entity_id}/publish":{"post":{"tags":["booking"],"summary":"Опубликовать группу ответственных","description":"Проверяет правила и публикует черновик.","operationId":"publish_employee_group","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeGroupView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/employee-groups/{entity_id}/archive":{"post":{"tags":["booking"],"summary":"Архивировать группу ответственных","description":"Архивирует объект по текущей версии.","operationId":"archive_employee_group","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeGroupView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-forms":{"get":{"tags":["booking"],"summary":"Список форм записи","description":"Возвращает доступные объекты с черновиками и статусами публикации.","operationId":"list_booking_forms","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPage_BookingFormView_"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"post":{"tags":["booking"],"summary":"Создать форму записи","description":"Сохраняет черновик для онлайн-записи.","operationId":"create_booking_form","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormCreateCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-forms/{entity_id}":{"get":{"tags":["booking"],"summary":"Получить форму записи","description":"Возвращает черновик и опубликованную версию.","operationId":"get_booking_form","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"put":{"tags":["booking"],"summary":"Изменить форму записи","description":"Сохраняет черновик по текущей версии.","operationId":"update_booking_form","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-forms/{entity_id}/publish":{"post":{"tags":["booking"],"summary":"Опубликовать форму записи","description":"Проверяет правила и публикует черновик.","operationId":"publish_booking_form","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-forms/{entity_id}/archive":{"post":{"tags":["booking"],"summary":"Архивировать форму записи","description":"Архивирует объект по текущей версии.","operationId":"archive_booking_form","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-forms/{entity_id}/unpublish":{"post":{"tags":["booking"],"summary":"Снять с публикации форму записи","description":"Приостанавливает использование опубликованной версии.","operationId":"unpublish_booking_form","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-catalogs":{"get":{"tags":["booking"],"summary":"Список каталогов записи","description":"Возвращает доступные объекты с черновиками и статусами публикации.","operationId":"list_booking_catalogs","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPage_BookingCatalogView_"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"post":{"tags":["booking"],"summary":"Создать каталог записи","description":"Сохраняет черновик для онлайн-записи.","operationId":"create_booking_catalog","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-catalogs/{entity_id}":{"get":{"tags":["booking"],"summary":"Получить каталог записи","description":"Возвращает черновик и опубликованную версию.","operationId":"get_booking_catalog","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"put":{"tags":["booking"],"summary":"Изменить каталог записи","description":"Сохраняет черновик по текущей версии.","operationId":"update_booking_catalog","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-catalogs/{entity_id}/publish":{"post":{"tags":["booking"],"summary":"Опубликовать каталог записи","description":"Проверяет правила и публикует черновик.","operationId":"publish_booking_catalog","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-catalogs/{entity_id}/archive":{"post":{"tags":["booking"],"summary":"Архивировать каталог записи","description":"Архивирует объект по текущей версии.","operationId":"archive_booking_catalog","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-catalogs/{entity_id}/unpublish":{"post":{"tags":["booking"],"summary":"Снять с публикации каталог записи","description":"Приостанавливает использование опубликованной версии.","operationId":"unpublish_booking_catalog","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-forms/from-template":{"post":{"tags":["booking"],"summary":"Создать форму записи из шаблона","description":"Создаёт черновик по ключу шаблона Calendar.","operationId":"create_booking_form_from_template","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormFromTemplateCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-forms/quick":{"post":{"tags":["booking"],"summary":"Создать форму записи по названию","description":"Готовит страницу и связанные настройки записи.","operationId":"quick_create_booking_form","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormQuickCreateCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-catalogs/quick":{"post":{"tags":["booking"],"summary":"Создать каталог по названию","description":"Готовит каталог с выбранным способом группировки.","operationId":"quick_create_booking_catalog","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogQuickCreateCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-forms/{entity_id}/check-path":{"post":{"tags":["booking"],"summary":"Проверить путь записи","description":"Показывает, какую услугу и ответственного выберет форма для заданных ответов.","operationId":"check_booking_form_path","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormPathCheckCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormPathCheckResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"}},"/booking-forms/{entity_id}/publish-preflight":{"post":{"tags":["booking"],"summary":"Проверить готовность формы к публикации","description":"Проверяет версии настроек и наличие доступного времени записи.","operationId":"preflight_booking_form","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormPublishPreflightCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormPublishPreflightResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"}},"/booking-forms/{entity_id}/publish-bundle":{"post":{"tags":["booking"],"summary":"Опубликовать форму и её настройки","description":"Публикует форму, услуги и группы из запроса одной операцией.","operationId":"publish_booking_form_bundle","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormPublishBundleCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingFormView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-catalogs/{entity_id}/publish-bundle":{"post":{"tags":["booking"],"summary":"Опубликовать каталог и его настройки","description":"Публикует каталог и связанные формы, услуги и группы из запроса.","operationId":"publish_booking_catalog_bundle","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogPublishBundleCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCatalogView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/booking-meeting-types":{"get":{"tags":["booking"],"summary":"Список типов записи","description":"Возвращает активные типы встреч, доступные для добавления записей вручную.","operationId":"list_booking_meeting_types","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPage_BookingMeetingTypeView_"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"}},"/bookings":{"get":{"tags":["booking"],"summary":"Найти записи клиентов","description":"Возвращает записи за указанный период.","operationId":"list_bookings","security":[{"DeveloperToken":[]}],"parameters":[{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Start"}},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"End"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"host_identity_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Host Identity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPage_BookingRecordView_"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"post":{"tags":["booking"],"summary":"Добавить запись клиента вручную","description":"Создаёт запись в журнале. Чтобы добавить событие в календарь, используйте создание события.","operationId":"create_booking_record","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualBookingCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingRecordView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/bookings/{entity_id}":{"get":{"tags":["booking"],"summary":"Получить запись клиента","description":"Возвращает время, статус и доступные данные клиента.","operationId":"get_booking","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingRecordView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"delete":{"tags":["booking"],"summary":"Удалить запись из журнала","description":"Удаляет вручную добавленную запись. Связанную со встречей запись можно отменить.","operationId":"delete_booking_record","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/bookings/{entity_id}/status":{"put":{"tags":["booking"],"summary":"Изменить статус записи клиента","description":"Обновляет статус записи и связанного события. Для переноса используйте изменение события.","operationId":"update_booking_status","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingRecordStatus"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingRecordView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/one-time-booking-invitations":{"get":{"tags":["booking"],"summary":"Список одноразовых ссылок записи","description":"Возвращает доступные приглашения с текущим статусом и ссылкой.","operationId":"list_one_time_booking_invitations","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPage_OneTimeBookingInvitationView_"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"post":{"tags":["booking"],"summary":"Выпустить одноразовую ссылку записи","description":"Создаёт ссылку для выбранного календаря, ответственного и срока действия.","operationId":"create_one_time_booking_invitation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneTimeBookingInvitationCreateCommand"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneTimeBookingInvitationView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/one-time-booking-invitations/{entity_id}":{"get":{"tags":["booking"],"summary":"Получить одноразовую ссылку записи","description":"Возвращает ссылку, срок действия и статус приглашения.","operationId":"get_one_time_booking_invitation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneTimeBookingInvitationView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:read"},"put":{"tags":["booking"],"summary":"Изменить одноразовую ссылку записи","description":"Меняет параметры действующего приглашения по его текущей версии.","operationId":"update_one_time_booking_invitation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneTimeBookingInvitationCreateCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneTimeBookingInvitationView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/one-time-booking-invitations/{entity_id}/revoke":{"post":{"tags":["booking"],"summary":"Отозвать одноразовую ссылку записи","description":"Закрывает действующее приглашение для новых записей.","operationId":"revoke_one_time_booking_invitation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneTimeBookingInvitationView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"booking:write"}},"/availability/free-busy":{"post":{"tags":["availability"],"summary":"Узнать занятость","description":"Показывает интервалы занятости участников без деталей встреч.","operationId":"get_free_busy","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreeBusyView"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"availability:read"}},"/availability/find-time":{"post":{"tags":["availability"],"summary":"Подобрать время","description":"Подбирает общие слоты по рабочим часам, праздникам и занятости участников.","operationId":"find_time","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindTimeInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindTimeView"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"availability:read"}},"/polls":{"get":{"tags":["polls"],"summary":"Список согласований","description":"Возвращает согласования организатора.","operationId":"list_polls","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollsPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"polls:read"},"post":{"tags":["polls"],"summary":"Создать согласование","description":"Публикует варианты времени для голосования участников.","operationId":"create_poll","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollWrite"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"polls:write"}},"/polls/{entity_id}":{"get":{"tags":["polls"],"summary":"Получить согласование","description":"Возвращает варианты времени и ссылку на голосование.","operationId":"get_poll","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"polls:read"},"put":{"tags":["polls"],"summary":"Изменить согласование","description":"Сохраняет изменения и ссылку для участников. Изменение вариантов, длительности или состава участников начинает новый раунд голосования.","operationId":"update_poll","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"polls:write"},"delete":{"tags":["polls"],"summary":"Удалить согласование","description":"Удаляет согласование и его варианты.","operationId":"delete_poll","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDeleteResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"polls:write"}},"/polls/{entity_id}/slots":{"put":{"tags":["polls"],"summary":"Заменить варианты согласования","description":"Сохраняет новый список вариантов времени с учётом версии согласования.","operationId":"replace_poll_slots","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplacePollSlots"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"polls:write"}},"/polls/{entity_id}/cancel":{"post":{"tags":["polls"],"summary":"Отменить согласование","description":"Закрывает согласование для новых ответов.","operationId":"cancel_poll","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"polls:write"}},"/polls/{entity_id}/finalize":{"post":{"tags":["polls"],"summary":"Назначить встречу","description":"Назначает встречу по общему варианту согласования и приглашает участников.","operationId":"finalize_poll","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinalizePoll"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinalizedPollView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"polls:write"}},"/team/members":{"get":{"tags":["team"],"summary":"Список участников команды","description":"Возвращает активных участников, роли и права.","operationId":"list_members","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembersPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:read"}},"/team/invitations":{"post":{"tags":["team"],"summary":"Пригласить участника","description":"Отправляет приглашение присоединиться к команде.","operationId":"invite_member","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceInvitationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceInvitationResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"}},"/team/invitations/{entity_id}":{"put":{"tags":["team"],"summary":"Изменить приглашение","description":"Изменяет назначенное подразделение и права приглашённого участника.","operationId":"update_member_invitation","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceInvitationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceInvitationResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"}},"/team/members/{entity_id}/permissions":{"put":{"tags":["team"],"summary":"Изменить права участника","description":"Заменяет права участника команды по текущей версии.","operationId":"update_member_permissions","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeePermissionsEntity"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"team:write"}},"/reports/{entity_id}":{"get":{"tags":["reports"],"summary":"Получить результат встречи","description":"Возвращает доступные расшифровку, заметки и статус результата.","operationId":"get_report","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:read"}},"/reports":{"get":{"tags":["reports"],"summary":"Список результатов встреч","description":"Показывает доступные результаты и их статус.","operationId":"list_reports","security":[{"DeveloperToken":[]}],"parameters":[{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Курсор из next_cursor предыдущей страницы.","title":"After"},"description":"Курсор из next_cursor предыдущей страницы."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportsPage"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:read"},"post":{"tags":["reports"],"summary":"Создать результат встречи","description":"Открывает существующий или создаёт новый черновик для события.","operationId":"prepare_report","security":[{"DeveloperToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingResultCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:write"}},"/reports/{entity_id}/draft":{"put":{"tags":["reports"],"summary":"Сохранить результат встречи","description":"Изменяет видимость фрагментов и вид результата по текущей версии.","operationId":"save_report_draft","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingResultPublishDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:write"}},"/reports/{entity_id}/publish":{"post":{"tags":["reports"],"summary":"Опубликовать результат встречи","description":"Создаёт публичную ссылку на утверждённый результат.","operationId":"publish_report","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:write"}},"/reports/{entity_id}/revoke":{"post":{"tags":["reports"],"summary":"Закрыть публичную ссылку","description":"Отзывает публичный доступ к результату встречи.","operationId":"revoke_report","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:write"}},"/reports/{entity_id}/upload":{"post":{"tags":["reports"],"summary":"Начать загрузку записи встречи","description":"Создаёт сессию загрузки записи для подготовки результата встречи.","operationId":"start_report_upload","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingUploadStart"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingUploadSession"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:write"},"get":{"tags":["reports"],"summary":"Проверить загрузку записи встречи","description":"Возвращает статус и уже сохранённые части записи.","operationId":"get_report_upload","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingUploadSession"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:read"}},"/reports/{entity_id}/upload/part-url":{"post":{"tags":["reports"],"summary":"Получить адрес загрузки части записи","description":"Выдаёт временный URL для отправки одной части записи.","operationId":"get_report_upload_part_url","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadPartInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingUploadPartUrl"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:write"}},"/reports/{entity_id}/upload/complete":{"post":{"tags":["reports"],"summary":"Завершить загрузку записи","description":"Проверяет запись и ставит подготовку результата в очередь.","operationId":"complete_report_upload","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"reports:write"}},"/integrations":{"get":{"tags":["integrations"],"summary":"Список подключений","description":"Показывает подключённые календари и доступные сервисы конференций.","operationId":"list_integrations","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationsView"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"integrations:read"}},"/integrations/settings":{"get":{"tags":["integrations"],"summary":"Открыть настройки подключений","description":"Возвращает ссылку на подключение внешнего аккаунта через браузер.","operationId":"open_integration_settings","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserHandoff"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"integrations:read"}},"/integrations/calendars/{entity_id}/selection":{"put":{"tags":["integrations"],"summary":"Настроить видимость подключённых календарей","description":"Сохраняет выбор видимых календарей и календарей для расчёта занятости.","operationId":"select_external_calendars","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}},{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectExternalCalendars"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarConnectionResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"integrations:write"}},"/integrations/calendars/{entity_id}/sync":{"post":{"tags":["integrations"],"summary":"Обновить внешний календарь","description":"Синхронизирует выбранный интервал подключённого календаря.","operationId":"sync_external_calendar","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarSyncRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarSyncResponse"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"integrations:write"}},"/integrations/event-destination":{"put":{"tags":["integrations"],"summary":"Настроить выгрузку событий","description":"Выбирает подключённый календарь для экспорта событий.","operationId":"set_event_destination","security":[{"DeveloperToken":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarExportDestinationCommand"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDestination"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"integrations:write"}},"/analytics":{"get":{"tags":["analytics"],"summary":"Получить аналитику встреч","description":"Возвращает показатели посещаемости, отмен и нагрузки команды за период.","operationId":"get_analytics","security":[{"DeveloperToken":[]}],"parameters":[{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Start"}},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"analytics:read"}},"/notifications":{"get":{"tags":["notifications"],"summary":"Получить уведомления","description":"Возвращает последние уведомления текущего пользователя.","operationId":"list_notifications","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserNotificationCenterResponse"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"notifications:read"}},"/notifications/{entity_id}/read":{"put":{"tags":["notifications"],"summary":"Отметить уведомление прочитанным","description":"Обновляет статус выбранного уведомления.","operationId":"read_notification","security":[{"DeveloperToken":[]}],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entity Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Completed"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"notifications:write"}},"/notifications/read-all":{"put":{"tags":["notifications"],"summary":"Прочитать все уведомления","description":"Отмечает все уведомления текущего пользователя прочитанными.","operationId":"read_all_notifications","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Completed"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"notifications:write"}},"/notifications/settings":{"get":{"tags":["notifications"],"summary":"Получить настройки уведомлений","description":"Показывает личные каналы и напоминания по умолчанию.","operationId":"get_notification_settings","security":[{"DeveloperToken":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationSettingsView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"notifications:read"},"put":{"tags":["notifications"],"summary":"Настроить личные уведомления","description":"Меняет каналы отправки уведомлений для текущего пользователя.","operationId":"update_notification_settings","security":[{"DeveloperToken":[]}],"parameters":[{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonalChoices"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Completed"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"notifications:write"}},"/notifications/default-reminders":{"put":{"tags":["notifications"],"summary":"Настроить напоминания по умолчанию","description":"Сохраняет напоминания для событий с наследуемыми настройками.","operationId":"update_reminder_defaults","security":[{"DeveloperToken":[]}],"parameters":[{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultReminders"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Completed"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"notifications:write"}},"/settings/holidays":{"get":{"tags":["settings"],"summary":"Получить настройки праздников","description":"Показывает страны, праздники которых учитываются при подборе времени.","operationId":"get_holidays","security":[{"DeveloperToken":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HolidaysView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"settings:read"},"put":{"tags":["settings"],"summary":"Настроить учёт праздников","description":"Обновляет правила учёта праздников для рабочего пространства.","operationId":"update_holidays","security":[{"DeveloperToken":[]}],"parameters":[{"name":"If-Match","in":"header","required":true,"schema":{"type":"string","minLength":3,"maxLength":64,"title":"If-Match"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HolidaysWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HolidaysView"}}}},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"402":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Payment Required"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"412":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Precondition Failed"},"422":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unprocessable Content"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"x-required-scope":"settings:write"}},"/settings/preferences":{"get":{"tags":["settings"],"summary":"Получить настройки календаря","description":"Показывает часовой пояс и параметры отображения времени пользователя.","operationId":"get_preferences","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPreferencesResponse"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"settings:read"},"put":{"tags":["settings"],"summary":"Изменить настройки календаря","description":"Сохраняет часовой пояс и параметры отображения времени пользователя.","operationId":"update_preferences","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPreferencesUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPreferencesResponse"}}}},"400":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"402":{"description":"Payment Required","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Precondition Failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Unprocessable Content","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"DeveloperToken":[]}],"x-required-scope":"settings:write"}}},"components":{"schemas":{"AccountPreferencesResponse":{"properties":{"locale":{"type":"string","const":"ru-RU","title":"Locale","default":"ru-RU"},"timezone":{"type":"string","title":"Timezone","default":"Europe/Moscow"},"week_starts_on":{"type":"integer","enum":[1,7],"title":"Week Starts On","default":1},"time_format":{"type":"string","enum":["12h","24h"],"title":"Time Format","default":"24h"},"version":{"type":"integer","title":"Version","default":1}},"type":"object","title":"AccountPreferencesResponse"},"AccountPreferencesUpdate":{"properties":{"locale":{"type":"string","const":"ru-RU","title":"Locale","default":"ru-RU"},"timezone":{"type":"string","title":"Timezone","default":"Europe/Moscow"},"week_starts_on":{"type":"integer","enum":[1,7],"title":"Week Starts On","default":1},"time_format":{"type":"string","enum":["12h","24h"],"title":"Time Format","default":"24h"},"version":{"type":"integer","title":"Version","default":1}},"type":"object","title":"AccountPreferencesUpdate"},"AnalyticsView":{"properties":{"meetings":{"$ref":"#/components/schemas/MeetingAnalytics"},"team":{"items":{"$ref":"#/components/schemas/TeamAnalytics"},"type":"array","title":"Team"}},"type":"object","required":["meetings","team"],"title":"AnalyticsView"},"AttendeeInput":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"email":{"anyOf":[{"type":"string","maxLength":320,"pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"},{"type":"null"}],"title":"Email"},"name":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Name"},"requirement":{"type":"string","enum":["required","optional"],"title":"Requirement","default":"required"}},"additionalProperties":false,"type":"object","title":"AttendeeInput"},"AvailabilityInput":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"participant_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20,"title":"Participant Ids"}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"AvailabilityInput"},"BookingCatalogCommand":{"properties":{"draft":{"$ref":"#/components/schemas/BookingCatalogDraft"}},"additionalProperties":false,"type":"object","required":["draft"],"title":"BookingCatalogCommand"},"BookingCatalogDraft":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"address":{"type":"string","maxLength":96,"minLength":3,"title":"Address"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"sections":{"items":{"$ref":"#/components/schemas/BookingCatalogSection"},"type":"array","maxItems":50,"title":"Sections"}},"additionalProperties":false,"type":"object","required":["name","address","title"],"title":"BookingCatalogDraft"},"BookingCatalogItem":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"formId":{"type":"string","format":"uuid","title":"Formid"},"position":{"type":"integer","minimum":0.0,"title":"Position","default":0},"bookingOptionId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Bookingoptionid"},"employeeGroupId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Employeegroupid"},"employeeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Employeeid"},"branchId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branchid"},"titleOverride":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Titleoverride"},"descriptionOverride":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Descriptionoverride"},"label":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Label"}},"additionalProperties":false,"type":"object","required":["id","formId"],"title":"BookingCatalogItem"},"BookingCatalogPublishBundleCommand":{"properties":{"forms":{"items":{"$ref":"#/components/schemas/VersionedBookingResource"},"type":"array","title":"Forms"},"options":{"items":{"$ref":"#/components/schemas/VersionedBookingResource"},"type":"array","title":"Options"},"groups":{"items":{"$ref":"#/components/schemas/VersionedBookingResource"},"type":"array","title":"Groups"}},"additionalProperties":false,"type":"object","required":["forms","options","groups"],"title":"BookingCatalogPublishBundleCommand"},"BookingCatalogQuickCreateCommand":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"address":{"anyOf":[{"type":"string","maxLength":96,"minLength":3},{"type":"null"}],"title":"Address"},"preset":{"type":"string","enum":["empty","by_services","by_specialists","mixed"],"title":"Preset","default":"empty"}},"additionalProperties":false,"type":"object","required":["title"],"title":"BookingCatalogQuickCreateCommand"},"BookingCatalogSection":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Title","default":""},"items":{"items":{"$ref":"#/components/schemas/BookingCatalogItem"},"type":"array","maxItems":100,"title":"Items"}},"additionalProperties":false,"type":"object","required":["id"],"title":"BookingCatalogSection"},"BookingCatalogView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"status":{"type":"string","enum":["draft","published","changed","unpublished","archived"],"title":"Status"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat"},"draft":{"$ref":"#/components/schemas/BookingCatalogDraft"},"live":{"anyOf":[{"$ref":"#/components/schemas/BookingCatalogDraft"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","version","status","updatedAt","draft"],"title":"BookingCatalogView"},"BookingCondition":{"properties":{"field":{"type":"string","maxLength":128,"minLength":1,"title":"Field"},"operator":{"type":"string","enum":["equals","not_equals","contains","in","gte","lte"],"title":"Operator","default":"equals"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"items":{"type":"string"},"type":"array"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["field","value"],"title":"BookingCondition"},"BookingFormCommand":{"properties":{"draft":{"$ref":"#/components/schemas/BookingFormSaveDraft"}},"additionalProperties":false,"type":"object","required":["draft"],"title":"BookingFormCommand"},"BookingFormCreateCommand":{"properties":{"draft":{"$ref":"#/components/schemas/BookingFormInput"}},"additionalProperties":false,"type":"object","required":["draft"],"title":"BookingFormCreateCommand"},"BookingFormDraft":{"properties":{"aiBriefEnabled":{"type":"boolean","title":"Aibriefenabled","default":false},"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"slotDisplay":{"$ref":"#/components/schemas/BookingSlotDisplay"},"questions":{"items":{"$ref":"#/components/schemas/BookingQuestion"},"type":"array","maxItems":50,"title":"Questions"},"rules":{"items":{"$ref":"#/components/schemas/BookingRouteRule"},"type":"array","maxItems":100,"title":"Rules"},"defaultOutcome":{"$ref":"#/components/schemas/BookingOutcome"},"disabledQuestionsForReview":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Disabledquestionsforreview"},"address":{"type":"string","maxLength":96,"minLength":3,"title":"Address","description":"Server-assigned permanent public address"}},"additionalProperties":false,"type":"object","required":["name","title","defaultOutcome","address"],"title":"BookingFormDraft"},"BookingFormFromTemplateCommand":{"properties":{"templateKey":{"type":"string","maxLength":80,"minLength":1,"title":"Templatekey"}},"additionalProperties":false,"type":"object","required":["templateKey"],"title":"BookingFormFromTemplateCommand"},"BookingFormInput":{"properties":{"aiBriefEnabled":{"type":"boolean","title":"Aibriefenabled","default":false},"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"slotDisplay":{"$ref":"#/components/schemas/BookingSlotDisplay"},"questions":{"items":{"$ref":"#/components/schemas/BookingQuestion"},"type":"array","maxItems":50,"title":"Questions"},"rules":{"items":{"$ref":"#/components/schemas/BookingRouteRule"},"type":"array","maxItems":100,"title":"Rules"},"defaultOutcome":{"$ref":"#/components/schemas/BookingOutcome"},"disabledQuestionsForReview":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Disabledquestionsforreview"}},"additionalProperties":false,"type":"object","required":["name","title","defaultOutcome"],"title":"BookingFormInput"},"BookingFormPathAnswer":{"properties":{"questionId":{"type":"string","maxLength":128,"minLength":1,"title":"Questionid"},"value":{"type":"string","maxLength":10000,"title":"Value","default":""}},"additionalProperties":false,"type":"object","required":["questionId"],"title":"BookingFormPathAnswer"},"BookingFormPathAssignee":{"properties":{"mode":{"type":"string","enum":["fixed","automatic","client_choice","collective"],"title":"Mode"},"employeeCount":{"type":"integer","minimum":0.0,"title":"Employeecount"},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Groupname"}},"additionalProperties":false,"type":"object","required":["mode","employeeCount"],"title":"BookingFormPathAssignee"},"BookingFormPathCheckCommand":{"properties":{"answers":{"items":{"$ref":"#/components/schemas/BookingFormPathAnswer"},"type":"array","maxItems":50,"title":"Answers"}},"additionalProperties":false,"type":"object","title":"BookingFormPathCheckCommand"},"BookingFormPathCheckResponse":{"properties":{"ruleId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ruleid"},"bookingOption":{"$ref":"#/components/schemas/BookingFormPathOption"},"assignee":{"$ref":"#/components/schemas/BookingFormPathAssignee"}},"additionalProperties":false,"type":"object","required":["bookingOption","assignee"],"title":"BookingFormPathCheckResponse"},"BookingFormPathOption":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"durationMinutes":{"type":"integer","title":"Durationminutes"},"conferenceProvider":{"type":"string","title":"Conferenceprovider"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"}},"additionalProperties":false,"type":"object","required":["id","name","durationMinutes","conferenceProvider"],"title":"BookingFormPathOption"},"BookingFormPublishBundleCommand":{"properties":{"options":{"items":{"$ref":"#/components/schemas/VersionedBookingResource"},"type":"array","title":"Options"},"groups":{"items":{"$ref":"#/components/schemas/VersionedBookingResource"},"type":"array","title":"Groups"},"allowNoAvailableSlots":{"type":"boolean","title":"Allownoavailableslots","default":false}},"additionalProperties":false,"type":"object","required":["options","groups"],"title":"BookingFormPublishBundleCommand"},"BookingFormPublishPreflightCommand":{"properties":{"options":{"items":{"$ref":"#/components/schemas/VersionedBookingResource"},"type":"array","title":"Options"},"groups":{"items":{"$ref":"#/components/schemas/VersionedBookingResource"},"type":"array","title":"Groups"}},"additionalProperties":false,"type":"object","required":["options","groups"],"title":"BookingFormPublishPreflightCommand"},"BookingFormPublishPreflightOption":{"properties":{"bookingOptionId":{"type":"string","format":"uuid","title":"Bookingoptionid"},"eligibleEmployeeCount":{"type":"integer","minimum":0.0,"title":"Eligibleemployeecount"},"hasAvailableSlots":{"type":"boolean","title":"Hasavailableslots"}},"additionalProperties":false,"type":"object","required":["bookingOptionId","eligibleEmployeeCount","hasAvailableSlots"],"title":"BookingFormPublishPreflightOption"},"BookingFormPublishPreflightResponse":{"properties":{"bookingFormId":{"type":"string","format":"uuid","title":"Bookingformid"},"bookingFormVersion":{"type":"integer","minimum":1.0,"title":"Bookingformversion"},"availability":{"type":"string","enum":["available","no_available_slots"],"title":"Availability"},"checkedAt":{"type":"string","format":"date-time","title":"Checkedat"},"options":{"items":{"$ref":"#/components/schemas/BookingFormPublishPreflightOption"},"type":"array","title":"Options"}},"additionalProperties":false,"type":"object","required":["bookingFormId","bookingFormVersion","availability","checkedAt","options"],"title":"BookingFormPublishPreflightResponse"},"BookingFormQuickCreateCommand":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"}},"additionalProperties":false,"type":"object","required":["title"],"title":"BookingFormQuickCreateCommand"},"BookingFormSaveDraft":{"properties":{"aiBriefEnabled":{"type":"boolean","title":"Aibriefenabled","default":false},"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"slotDisplay":{"$ref":"#/components/schemas/BookingSlotDisplay"},"questions":{"items":{"$ref":"#/components/schemas/BookingQuestion"},"type":"array","maxItems":50,"title":"Questions"},"rules":{"items":{"$ref":"#/components/schemas/BookingRouteRule"},"type":"array","maxItems":100,"title":"Rules"},"defaultOutcome":{"$ref":"#/components/schemas/BookingOutcome"},"disabledQuestionsForReview":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Disabledquestionsforreview"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"Optional compatibility echo; must equal the server address"}},"additionalProperties":false,"type":"object","required":["name","title","defaultOutcome"],"title":"BookingFormSaveDraft"},"BookingFormView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"status":{"type":"string","enum":["draft","published","changed","unpublished","archived"],"title":"Status"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat"},"draft":{"$ref":"#/components/schemas/BookingFormDraft"},"live":{"anyOf":[{"$ref":"#/components/schemas/BookingFormDraft"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","version","status","updatedAt","draft"],"title":"BookingFormView"},"BookingMeetingTypeView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"BookingMeetingTypeView"},"BookingOptionCommand":{"properties":{"draft":{"$ref":"#/components/schemas/BookingOptionDraft"}},"additionalProperties":false,"type":"object","required":["draft"],"title":"BookingOptionCommand"},"BookingOptionDraft":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"meetingTypeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Meetingtypeid"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"durationMinutes":{"type":"integer","maximum":1440.0,"minimum":5.0,"title":"Durationminutes","default":30},"conferenceProvider":{"type":"string","maxLength":32,"title":"Conferenceprovider","default":"none"},"location":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Location"},"requestPhone":{"type":"boolean","title":"Requestphone","default":false},"availabilityScheduleId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Availabilityscheduleid"},"bookingRules":{"additionalProperties":true,"type":"object","title":"Bookingrules"},"reminderMode":{"type":"string","enum":["inherited","custom"],"title":"Remindermode","default":"inherited"},"reminders":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Reminders"}},"additionalProperties":false,"type":"object","required":["name"],"title":"BookingOptionDraft"},"BookingOptionView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"status":{"type":"string","enum":["draft","published","changed","unpublished","archived"],"title":"Status"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat"},"draft":{"$ref":"#/components/schemas/BookingOptionDraft"},"live":{"anyOf":[{"$ref":"#/components/schemas/BookingOptionDraft"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","version","status","updatedAt","draft"],"title":"BookingOptionView"},"BookingOutcome":{"properties":{"bookingOptionId":{"type":"string","format":"uuid","title":"Bookingoptionid"},"assignee":{"oneOf":[{"$ref":"#/components/schemas/FixedAssignee"},{"$ref":"#/components/schemas/GroupAssignee"}],"title":"Assignee","discriminator":{"propertyName":"mode","mapping":{"automatic":"#/components/schemas/GroupAssignee","client_choice":"#/components/schemas/GroupAssignee","collective":"#/components/schemas/GroupAssignee","fixed":"#/components/schemas/FixedAssignee"}}}},"additionalProperties":false,"type":"object","required":["bookingOptionId","assignee"],"title":"BookingOutcome"},"BookingPage_BookingCatalogView_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BookingCatalogView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"BookingPage[BookingCatalogView]"},"BookingPage_BookingFormView_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BookingFormView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"BookingPage[BookingFormView]"},"BookingPage_BookingMeetingTypeView_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BookingMeetingTypeView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"BookingPage[BookingMeetingTypeView]"},"BookingPage_BookingOptionView_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BookingOptionView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"BookingPage[BookingOptionView]"},"BookingPage_BookingRecordView_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BookingRecordView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"BookingPage[BookingRecordView]"},"BookingPage_EmployeeGroupView_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EmployeeGroupView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"BookingPage[EmployeeGroupView]"},"BookingPage_OneTimeBookingInvitationView_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OneTimeBookingInvitationView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"BookingPage[OneTimeBookingInvitationView]"},"BookingQuestion":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"label":{"type":"string","maxLength":300,"minLength":1,"title":"Label"},"type":{"type":"string","enum":["text","email","phone","textarea","select","voice"],"title":"Type"},"placement":{"type":"string","enum":["before_time","after_booking"],"title":"Placement","default":"after_booking"},"required":{"type":"boolean","title":"Required","default":true},"options":{"items":{"$ref":"#/components/schemas/BookingQuestionOption"},"type":"array","title":"Options"}},"additionalProperties":false,"type":"object","required":["id","label","type"],"title":"BookingQuestion"},"BookingQuestionOption":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"label":{"type":"string","maxLength":300,"minLength":1,"title":"Label"}},"additionalProperties":false,"type":"object","required":["id","label"],"title":"BookingQuestionOption"},"BookingRecordStatus":{"properties":{"status":{"type":"string","enum":["scheduled","confirmed","attended","no_show","cancelled"],"title":"Status"}},"additionalProperties":false,"type":"object","required":["status"],"title":"BookingRecordStatus"},"BookingRecordView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"meeting_type_id":{"type":"string","format":"uuid","title":"Meeting Type Id"},"host_identity_id":{"type":"string","format":"uuid","title":"Host Identity Id"},"event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Event Id"},"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"status":{"type":"string","title":"Status"},"invitee_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invitee Name"},"invitee_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invitee Email"},"invitee_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invitee Phone"}},"type":"object","required":["id","version","meeting_type_id","host_identity_id","start","end","status"],"title":"BookingRecordView"},"BookingRouteRule":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"all":{"items":{"$ref":"#/components/schemas/BookingCondition"},"type":"array","maxItems":20,"minItems":1,"title":"All"},"outcome":{"$ref":"#/components/schemas/BookingOutcome"},"priority":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priority"}},"additionalProperties":false,"type":"object","required":["id","all","outcome"],"title":"BookingRouteRule"},"BookingSlotDayOverride":{"properties":{"fromDay":{"type":"integer","maximum":730.0,"minimum":0.0,"title":"Fromday"},"toDay":{"type":"integer","maximum":730.0,"minimum":0.0,"title":"Today"},"dailyLimit":{"type":"integer","maximum":9007199254740991.0,"minimum":0.0,"title":"Dailylimit","description":"Suggestion count for the inclusive day range. Zero hides all suggestions in that range."}},"additionalProperties":false,"type":"object","required":["fromDay","toDay","dailyLimit"],"title":"BookingSlotDayOverride"},"BookingSlotDisplay":{"properties":{"dailyLimit":{"type":"integer","maximum":9007199254740991.0,"minimum":1.0,"title":"Dailylimit","description":"Daily suggestion count outside explicit T+ day overrides.","default":5},"dayOverrides":{"items":{"$ref":"#/components/schemas/BookingSlotDayOverride"},"type":"array","maxItems":731,"title":"Dayoverrides","description":"Inclusive non-overlapping calendar-day offsets in the schedule timezone. Omission uses T+0=1, T+1=2, T+2=3, T+3=4 capped at the base; empty means use the base every day.","default":[{"fromDay":0,"toDay":0,"dailyLimit":1},{"fromDay":1,"toDay":1,"dailyLimit":2},{"fromDay":2,"toDay":2,"dailyLimit":3},{"fromDay":3,"toDay":3,"dailyLimit":4}]},"mode":{"type":"string","enum":["all","limited"],"title":"Mode","default":"all"}},"additionalProperties":false,"type":"object","title":"BookingSlotDisplay"},"BrowserHandoff":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"BrowserHandoff"},"BusyParticipant":{"properties":{"participant_id":{"type":"string","format":"uuid","title":"Participant Id"},"busy":{"items":{"$ref":"#/components/schemas/Interval"},"type":"array","title":"Busy"}},"type":"object","required":["participant_id","busy"],"title":"BusyParticipant"},"CalendarCapability":{"type":"string","enum":["availability","display","event_export"],"title":"CalendarCapability"},"CalendarConnectionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"owner_identity_id":{"type":"string","format":"uuid","title":"Owner Identity Id"},"provider":{"$ref":"#/components/schemas/CalendarProviderKind"},"status":{"$ref":"#/components/schemas/CalendarConnectionStatus"},"setup_state":{"type":"string","enum":["setup_required","ready"],"title":"Setup State","default":"setup_required"},"requested_capabilities":{"items":{"$ref":"#/components/schemas/CalendarCapability"},"type":"array","title":"Requested Capabilities"},"conference_capability":{"type":"string","enum":["ready","reconnect_required","unsupported","unverified"],"title":"Conference Capability"},"conference_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conference Error"},"last_synced_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Synced At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"conference_enabled":{"type":"boolean","title":"Conference Enabled"},"conference_team_access":{"type":"boolean","title":"Conference Team Access"},"version":{"type":"integer","title":"Version"},"accountLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accountlabel"},"destination":{"anyOf":[{"$ref":"#/components/schemas/CalendarExportDestinationResponse"},{"type":"null"}]},"projection_summary":{"$ref":"#/components/schemas/ExternalEventProjectionSummary"},"calendars":{"items":{"$ref":"#/components/schemas/ExternalCalendarResponse"},"type":"array","title":"Calendars"}},"type":"object","required":["id","owner_identity_id","provider","status","conference_capability","conference_error","last_synced_at","last_error","conference_enabled","conference_team_access","version","calendars"],"title":"CalendarConnectionResponse"},"CalendarConnectionStatus":{"type":"string","enum":["connected","reconnect_required","disconnected"],"title":"CalendarConnectionStatus"},"CalendarExportDestinationCommand":{"properties":{"external_calendar_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"External Calendar Id"},"backfill_future_events":{"type":"boolean","title":"Backfill Future Events","default":true},"migrate_future_events":{"type":"boolean","title":"Migrate Future Events","default":false}},"type":"object","title":"CalendarExportDestinationCommand"},"CalendarExportDestinationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"external_calendar_id":{"type":"string","format":"uuid","title":"External Calendar Id"},"enabled":{"type":"boolean","title":"Enabled"},"backfill_future_events":{"type":"boolean","title":"Backfill Future Events"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["id","external_calendar_id","enabled","backfill_future_events","version"],"title":"CalendarExportDestinationResponse"},"CalendarProviderKind":{"type":"string","enum":["google","yandex"],"title":"CalendarProviderKind"},"CalendarShare":{"properties":{"principalType":{"type":"string","enum":["user","team","department","organization"],"title":"Principaltype"},"principalId":{"type":"string","format":"uuid","title":"Principalid"},"permission":{"type":"string","enum":["owner","editor","scheduler","viewer","free_busy_only","none"],"title":"Permission"}},"additionalProperties":false,"type":"object","required":["principalType","principalId","permission"],"title":"CalendarShare"},"CalendarSyncRequest":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"}},"type":"object","required":["start","end"],"title":"CalendarSyncRequest"},"CalendarSyncResponse":{"properties":{"busy_intervals":{"type":"integer","title":"Busy Intervals"},"synced_at":{"type":"string","format":"date-time","title":"Synced At"}},"type":"object","required":["busy_intervals","synced_at"],"title":"CalendarSyncResponse"},"CalendarView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"is_visible":{"type":"boolean","title":"Is Visible"},"is_archived":{"type":"boolean","title":"Is Archived"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["id","name","kind","owner_id","is_visible","is_archived","version"],"title":"CalendarView"},"CalendarViewPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CalendarView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"CalendarViewPage"},"CalendarWrite":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"owner_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Owner Id"},"kind":{"type":"string","enum":["personal","team","department","project","company","resource"],"title":"Kind","default":"personal"},"color_token":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Color Token"},"is_visible":{"type":"boolean","title":"Is Visible","default":true},"is_public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Public"},"default_permission":{"anyOf":[{"type":"string","enum":["owner","editor","scheduler","viewer","free_busy_only","none"]},{"type":"null"}],"title":"Default Permission"},"shares":{"anyOf":[{"items":{"$ref":"#/components/schemas/CalendarShare"},"type":"array","maxItems":100},{"type":"null"}],"title":"Shares"}},"additionalProperties":false,"type":"object","required":["name"],"title":"CalendarWrite"},"Completed":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true}},"type":"object","title":"Completed"},"ConferenceConnectionView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"provider":{"type":"string","enum":["google_meet","telemost","zoom","custom_url"],"title":"Provider"},"ownerIdentityId":{"type":"string","format":"uuid","title":"Owneridentityid"},"source":{"type":"string","enum":["personal","workspace_owner"],"title":"Source"},"status":{"type":"string","enum":["connecting","ready","reconnect_required","unsupported","error","verification_required","disabled"],"title":"Status"},"teamAccessEnabled":{"type":"boolean","title":"Teamaccessenabled"},"accountLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accountlabel"},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Lastcheckedat"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["id","provider","ownerIdentityId","source","status","teamAccessEnabled","version"],"title":"ConferenceConnectionView"},"CustomVideoMeetingFormat":{"properties":{"type":{"type":"string","const":"custom_video","title":"Type"},"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"}},"additionalProperties":false,"type":"object","required":["type","url"],"title":"CustomVideoMeetingFormat"},"DefaultReminders":{"properties":{"reminders":{"items":{"$ref":"#/components/schemas/MessageReminder"},"type":"array","maxItems":20,"title":"Reminders"}},"additionalProperties":false,"type":"object","required":["reminders"],"title":"DefaultReminders"},"DelegationView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"principal_id":{"type":"string","format":"uuid","title":"Principal Id"},"delegate_id":{"type":"string","format":"uuid","title":"Delegate Id"},"calendar_id":{"type":"string","format":"uuid","title":"Calendar Id"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"active":{"type":"boolean","title":"Active","default":true}},"type":"object","required":["id","version","principal_id","delegate_id","calendar_id","capabilities"],"title":"DelegationView"},"DelegationViewPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DelegationView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"DelegationViewPage"},"DelegationWrite":{"properties":{"principal_id":{"type":"string","format":"uuid","title":"Principal Id"},"delegate_id":{"type":"string","format":"uuid","title":"Delegate Id"},"calendar_id":{"type":"string","format":"uuid","title":"Calendar Id"},"capabilities":{"items":{"type":"string","enum":["events:manage","availability:manage","booking:manage","analytics:view"]},"type":"array","title":"Capabilities"}},"additionalProperties":false,"type":"object","required":["principal_id","delegate_id","calendar_id","capabilities"],"title":"DelegationWrite"},"DeveloperEventCancellation":{"properties":{"scope":{"type":"string","enum":["single","following","series"],"title":"Scope","default":"series"},"recurrence_id":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recurrence Id"}},"additionalProperties":false,"type":"object","title":"DeveloperEventCancellation"},"DomainDeleteResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"deleted":{"type":"boolean","const":true,"title":"Deleted","default":true},"revision":{"type":"integer","minimum":1.0,"title":"Revision"}},"type":"object","required":["id","revision"],"title":"DomainDeleteResponse"},"EmployeeGroupCommand":{"properties":{"draft":{"$ref":"#/components/schemas/EmployeeGroupDraft"}},"additionalProperties":false,"type":"object","required":["draft"],"title":"EmployeeGroupCommand"},"EmployeeGroupDepartmentRule":{"properties":{"type":{"type":"string","const":"department","title":"Type"},"departmentId":{"type":"string","format":"uuid","title":"Departmentid"}},"additionalProperties":false,"type":"object","required":["type","departmentId"],"title":"EmployeeGroupDepartmentRule"},"EmployeeGroupDraft":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"memberIds":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Memberids"},"membershipRule":{"anyOf":[{"$ref":"#/components/schemas/EmployeeGroupDepartmentRule"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["name"],"title":"EmployeeGroupDraft"},"EmployeeGroupView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"status":{"type":"string","enum":["draft","published","changed","unpublished","archived"],"title":"Status"},"updatedAt":{"type":"string","format":"date-time","title":"Updatedat"},"draft":{"$ref":"#/components/schemas/EmployeeGroupDraft"},"live":{"anyOf":[{"$ref":"#/components/schemas/EmployeeGroupDraft"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","version","status","updatedAt","draft"],"title":"EmployeeGroupView"},"EmployeePermissionsEntity":{"properties":{"permissions":{"items":{"type":"string","enum":["events:manage","availability:manage","booking:manage","holidays:manage","analytics:view","people:manage"]},"type":"array","title":"Permissions"}},"type":"object","required":["permissions"],"title":"EmployeePermissionsEntity"},"EventChanges":{"properties":{"calendar_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Calendar Id"},"title":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"Title"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"all_day":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"All Day"},"start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"description":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Description"},"location":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Location"},"visibility":{"anyOf":[{"type":"string","enum":["public","organization","private","confidential"]},{"type":"null"}],"title":"Visibility"},"recurrence":{"anyOf":[{"$ref":"#/components/schemas/Recurrence"},{"type":"null"}]},"attendees":{"items":{"$ref":"#/components/schemas/AttendeeInput"},"type":"array","maxItems":100,"title":"Attendees"},"resource_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"title":"Resource Ids"},"allow_time_conflict":{"type":"boolean","title":"Allow Time Conflict","default":false}},"additionalProperties":false,"type":"object","title":"EventChanges"},"EventDestination":{"properties":{"destination":{"anyOf":[{"$ref":"#/components/schemas/CalendarExportDestinationResponse"},{"type":"null"}]}},"type":"object","required":["destination"],"title":"EventDestination"},"EventRsvp":{"properties":{"response":{"type":"string","enum":["accepted","declined","tentative","no_response"],"title":"Response"}},"additionalProperties":false,"type":"object","required":["response"],"title":"EventRsvp"},"EventRsvpView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"response":{"type":"string","enum":["accepted","declined","tentative","no_response"],"title":"Response"}},"type":"object","required":["id","version","response"],"title":"EventRsvpView"},"EventView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"calendar_id":{"type":"string","format":"uuid","title":"Calendar Id"},"organizer_id":{"type":"string","format":"uuid","title":"Organizer Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"timezone":{"type":"string","title":"Timezone"},"all_day":{"type":"boolean","title":"All Day","default":false},"start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"status":{"type":"string","enum":["confirmed","tentative","cancelled"],"title":"Status","default":"confirmed"},"visibility":{"type":"string","enum":["public","organization","private","confidential"],"title":"Visibility","default":"organization"},"private":{"type":"boolean","title":"Private","default":false},"recurrence_rule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recurrence Rule"},"join_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Join Url"}},"type":"object","required":["id","version","calendar_id","organizer_id","title","timezone"],"title":"EventView"},"EventWrite":{"properties":{"calendar_id":{"type":"string","format":"uuid","title":"Calendar Id"},"title":{"type":"string","maxLength":256,"minLength":1,"title":"Title"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"all_day":{"type":"boolean","title":"All Day","default":false},"start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"description":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Description"},"location":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Location"},"visibility":{"type":"string","enum":["public","organization","private","confidential"],"title":"Visibility","default":"organization"},"recurrence":{"anyOf":[{"$ref":"#/components/schemas/Recurrence"},{"type":"null"}]},"attendees":{"items":{"$ref":"#/components/schemas/AttendeeInput"},"type":"array","maxItems":100,"title":"Attendees"},"resource_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"title":"Resource Ids"},"allow_time_conflict":{"type":"boolean","title":"Allow Time Conflict","default":false}},"additionalProperties":false,"type":"object","required":["calendar_id","title"],"title":"EventWrite"},"EventsPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EventView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"EventsPage"},"ExternalCalendarResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"is_primary":{"type":"boolean","title":"Is Primary"},"selected_for_availability":{"type":"boolean","title":"Selected For Availability"},"visible_in_calendar":{"type":"boolean","title":"Visible In Calendar","default":false},"can_write":{"type":"boolean","title":"Can Write","default":false},"access_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Role"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["id","name","timezone","is_primary","selected_for_availability","version"],"title":"ExternalCalendarResponse"},"ExternalCalendarSettings":{"properties":{"calendar_id":{"type":"string","format":"uuid","title":"Calendar Id"},"selected_for_availability":{"type":"boolean","title":"Selected For Availability","default":false},"visible_in_calendar":{"type":"boolean","title":"Visible In Calendar","default":false},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"type":"object","required":["calendar_id","version"],"title":"ExternalCalendarSettings"},"ExternalEventProjectionSummary":{"properties":{"pending":{"type":"integer","title":"Pending","default":0},"failed":{"type":"integer","title":"Failed","default":0},"conflicts":{"type":"integer","title":"Conflicts","default":0}},"type":"object","title":"ExternalEventProjectionSummary"},"FinalizePoll":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"slot_id":{"type":"string","maxLength":128,"minLength":1,"title":"Slot Id"}},"additionalProperties":false,"type":"object","required":["expected_revision","slot_id"],"title":"FinalizePoll"},"FinalizedPollView":{"properties":{"poll":{"$ref":"#/components/schemas/PollView"},"event":{"$ref":"#/components/schemas/EventView"}},"type":"object","required":["poll","event"],"title":"FinalizedPollView"},"FindTimeInput":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"participant_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20,"title":"Participant Ids"},"duration_minutes":{"type":"integer","maximum":480.0,"minimum":5.0,"title":"Duration Minutes","default":30},"step_minutes":{"type":"integer","maximum":60.0,"minimum":5.0,"title":"Step Minutes","default":30},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":25}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"FindTimeInput"},"FindTimeView":{"properties":{"slots":{"items":{"$ref":"#/components/schemas/Interval"},"type":"array","title":"Slots"}},"type":"object","required":["slots"],"title":"FindTimeView"},"FixedAssignee":{"properties":{"mode":{"type":"string","const":"fixed","title":"Mode"},"employeeId":{"type":"string","format":"uuid","title":"Employeeid"}},"additionalProperties":false,"type":"object","required":["mode","employeeId"],"title":"FixedAssignee"},"FreeBusyView":{"properties":{"participants":{"items":{"$ref":"#/components/schemas/BusyParticipant"},"type":"array","title":"Participants"}},"type":"object","required":["participants"],"title":"FreeBusyView"},"GoogleMeetMeetingFormat":{"properties":{"type":{"type":"string","const":"google_meet","title":"Type"}},"additionalProperties":false,"type":"object","required":["type"],"title":"GoogleMeetMeetingFormat"},"GroupAssignee":{"properties":{"mode":{"type":"string","enum":["automatic","client_choice","collective"],"title":"Mode"},"groupId":{"type":"string","format":"uuid","title":"Groupid"},"allowAnySpecialist":{"type":"boolean","title":"Allowanyspecialist","default":true},"assignment":{"type":"string","enum":["round_robin","least_loaded","weighted","collective"],"title":"Assignment","default":"least_loaded"}},"additionalProperties":false,"type":"object","required":["mode","groupId"],"title":"GroupAssignee"},"HolidaysView":{"properties":{"countries":{"items":{"type":"string"},"type":"array","title":"Countries"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["countries","version"],"title":"HolidaysView"},"HolidaysWrite":{"properties":{"countries":{"items":{"type":"string","enum":["RU","KZ"]},"type":"array","title":"Countries"}},"additionalProperties":false,"type":"object","required":["countries"],"title":"HolidaysWrite"},"InPersonMeetingFormat":{"properties":{"type":{"type":"string","const":"in_person","title":"Type"},"address":{"type":"string","maxLength":500,"minLength":1,"title":"Address"}},"additionalProperties":false,"type":"object","required":["type","address"],"title":"InPersonMeetingFormat"},"IntegrationsView":{"properties":{"calendars":{"items":{"$ref":"#/components/schemas/CalendarConnectionResponse"},"type":"array","title":"Calendars"},"conferences":{"items":{"$ref":"#/components/schemas/ConferenceConnectionView"},"type":"array","title":"Conferences"}},"type":"object","required":["calendars","conferences"],"title":"IntegrationsView"},"Interval":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"}},"type":"object","required":["start","end"],"title":"Interval"},"LocalInterval":{"properties":{"start":{"type":"string","pattern":"^\\d\\d:\\d\\d$","title":"Start"},"end":{"type":"string","pattern":"^\\d\\d:\\d\\d$","title":"End"}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"LocalInterval"},"ManualBookingCreate":{"properties":{"meeting_type_id":{"type":"string","format":"uuid","title":"Meeting Type Id"},"host_identity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Host Identity Id"},"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"invitee_name":{"type":"string","maxLength":160,"minLength":1,"title":"Invitee Name"},"invitee_email":{"anyOf":[{"type":"string","maxLength":320,"pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"},{"type":"null"}],"title":"Invitee Email"}},"additionalProperties":false,"type":"object","required":["meeting_type_id","start","end","invitee_name"],"title":"ManualBookingCreate"},"MeetingAnalytics":{"properties":{"booked":{"type":"integer","title":"Booked"},"attended":{"type":"integer","title":"Attended"},"no_show":{"type":"integer","title":"No Show"},"cancelled":{"type":"integer","title":"Cancelled"},"rescheduled":{"type":"integer","title":"Rescheduled"},"meeting_minutes":{"type":"integer","title":"Meeting Minutes"},"attendance_rate":{"type":"number","title":"Attendance Rate"},"no_show_rate":{"type":"number","title":"No Show Rate"}},"type":"object","required":["booked","attended","no_show","cancelled","rescheduled","meeting_minutes","attendance_rate","no_show_rate"],"title":"MeetingAnalytics"},"MeetingResultCreate":{"properties":{"series_id":{"type":"string","format":"uuid","title":"Series Id"},"recurrence_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Recurrence Id"}},"type":"object","required":["series_id"],"title":"MeetingResultCreate"},"MeetingResultPublishDraft":{"properties":{"template":{"type":"string","enum":["decisions","insights","ideas"],"title":"Template"},"transcript":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Transcript"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"}},"type":"object","required":["template","transcript","items"],"title":"MeetingResultPublishDraft"},"MeetingUploadPartUrl":{"properties":{"url":{"type":"string","title":"Url"},"part_number":{"type":"integer","title":"Part Number"}},"type":"object","required":["url","part_number"],"title":"MeetingUploadPartUrl"},"MeetingUploadSession":{"properties":{"status":{"type":"string","title":"Status"},"upload_id":{"type":"string","title":"Upload Id"},"parts":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Parts"}},"type":"object","required":["status","upload_id"],"title":"MeetingUploadSession"},"MeetingUploadStart":{"properties":{"content_type":{"type":"string","enum":["audio/webm","audio/ogg","audio/mp4","video/webm","video/mp4"],"title":"Content Type"},"size_bytes":{"anyOf":[{"type":"integer","maximum":4000000000.0,"minimum":1.0},{"type":"null"}],"title":"Size Bytes"}},"type":"object","required":["content_type"],"title":"MeetingUploadStart"},"MemberView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"},"role":{"type":"string","title":"Role"},"status":{"type":"string","title":"Status"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["id","permissions","role","status","version"],"title":"MemberView"},"MembersPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MemberView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"MembersPage"},"MessageReminder":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"channel":{"type":"string","enum":["email","push"],"title":"Channel","default":"email"},"minutesBefore":{"type":"integer","maximum":525600.0,"minimum":0.0,"title":"Minutesbefore"},"audience":{"type":"string","enum":["all","organizer","attendees"],"title":"Audience","default":"all"},"body":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Body"}},"additionalProperties":false,"type":"object","required":["id","minutesBefore"],"title":"MessageReminder"},"NotificationSettingsView":{"properties":{"choices":{"$ref":"#/components/schemas/PersonalChoices"},"version":{"type":"integer","title":"Version"},"defaults":{"items":{"$ref":"#/components/schemas/MessageReminder"},"type":"array","title":"Defaults"},"defaults_version":{"type":"integer","title":"Defaults Version"},"can_manage_defaults":{"type":"boolean","title":"Can Manage Defaults"}},"type":"object","required":["choices","version","defaults","defaults_version","can_manage_defaults"],"title":"NotificationSettingsView"},"OneTimeBookingAllowedSlot":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"OneTimeBookingAllowedSlot"},"OneTimeBookingInvitationCreateCommand":{"properties":{"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":5000,"title":"Description","default":""},"durationMinutes":{"type":"integer","enum":[30,45,60,90],"title":"Durationminutes"},"hostIdentityId":{"type":"string","format":"uuid","title":"Hostidentityid"},"calendarId":{"type":"string","format":"uuid","title":"Calendarid"},"expiresOn":{"type":"string","format":"date","title":"Expireson"},"recipientName":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Recipientname"},"recipientEmail":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Recipientemail"},"slotDisplay":{"$ref":"#/components/schemas/BookingSlotDisplay"},"allowedSlots":{"anyOf":[{"items":{"$ref":"#/components/schemas/OneTimeBookingAllowedSlot"},"type":"array","maxItems":672,"minItems":1},{"type":"null"}],"title":"Allowedslots"},"format":{"oneOf":[{"$ref":"#/components/schemas/PhoneMeetingFormat"},{"$ref":"#/components/schemas/TelemostMeetingFormat"},{"$ref":"#/components/schemas/GoogleMeetMeetingFormat"},{"$ref":"#/components/schemas/ZoomMeetingFormat"},{"$ref":"#/components/schemas/PersonalConferenceUrlMeetingFormat"},{"$ref":"#/components/schemas/CustomVideoMeetingFormat"},{"$ref":"#/components/schemas/InPersonMeetingFormat"}],"title":"Format","discriminator":{"propertyName":"type","mapping":{"custom_url":"#/components/schemas/PersonalConferenceUrlMeetingFormat","custom_video":"#/components/schemas/CustomVideoMeetingFormat","google_meet":"#/components/schemas/GoogleMeetMeetingFormat","in_person":"#/components/schemas/InPersonMeetingFormat","phone":"#/components/schemas/PhoneMeetingFormat","telemost":"#/components/schemas/TelemostMeetingFormat","zoom":"#/components/schemas/ZoomMeetingFormat"}}}},"additionalProperties":false,"type":"object","required":["title","durationMinutes","hostIdentityId","calendarId","expiresOn","format"],"title":"OneTimeBookingInvitationCreateCommand"},"OneTimeBookingInvitationView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"durationMinutes":{"type":"integer","enum":[30,45,60,90],"title":"Durationminutes"},"hostIdentityId":{"type":"string","format":"uuid","title":"Hostidentityid"},"hostName":{"type":"string","title":"Hostname"},"calendarId":{"type":"string","format":"uuid","title":"Calendarid"},"expiresAt":{"type":"string","format":"date-time","title":"Expiresat"},"recipientName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipientname"},"recipientEmail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipientemail"},"slotDisplay":{"$ref":"#/components/schemas/BookingSlotDisplay"},"allowedSlots":{"anyOf":[{"items":{"$ref":"#/components/schemas/OneTimeBookingAllowedSlot"},"type":"array"},{"type":"null"}],"title":"Allowedslots"},"format":{"oneOf":[{"$ref":"#/components/schemas/PhoneMeetingFormat"},{"$ref":"#/components/schemas/TelemostMeetingFormat"},{"$ref":"#/components/schemas/GoogleMeetMeetingFormat"},{"$ref":"#/components/schemas/ZoomMeetingFormat"},{"$ref":"#/components/schemas/PersonalConferenceUrlMeetingFormat"},{"$ref":"#/components/schemas/CustomVideoMeetingFormat"},{"$ref":"#/components/schemas/InPersonMeetingFormat"}],"title":"Format","discriminator":{"propertyName":"type","mapping":{"custom_url":"#/components/schemas/PersonalConferenceUrlMeetingFormat","custom_video":"#/components/schemas/CustomVideoMeetingFormat","google_meet":"#/components/schemas/GoogleMeetMeetingFormat","in_person":"#/components/schemas/InPersonMeetingFormat","phone":"#/components/schemas/PhoneMeetingFormat","telemost":"#/components/schemas/TelemostMeetingFormat","zoom":"#/components/schemas/ZoomMeetingFormat"}}},"status":{"type":"string","enum":["active","expired","booked","revoked"],"title":"Status"},"publicUrl":{"type":"string","title":"Publicurl"},"bookingId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Bookingid"},"eventId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Eventid"},"version":{"type":"integer","title":"Version"},"createdAt":{"type":"string","format":"date-time","title":"Createdat"}},"additionalProperties":false,"type":"object","required":["id","title","durationMinutes","hostIdentityId","hostName","calendarId","expiresAt","format","status","publicUrl","version","createdAt"],"title":"OneTimeBookingInvitationView"},"PersonalChannels":{"properties":{"email":{"type":"boolean","title":"Email","default":true},"push":{"type":"boolean","title":"Push","default":true}},"type":"object","title":"PersonalChannels"},"PersonalChoices":{"properties":{"reminders":{"$ref":"#/components/schemas/PersonalChannels"},"invitations":{"$ref":"#/components/schemas/PersonalChannels"},"changes":{"$ref":"#/components/schemas/PersonalChannels"}},"type":"object","title":"PersonalChoices"},"PersonalConferenceUrlMeetingFormat":{"properties":{"type":{"type":"string","const":"custom_url","title":"Type"}},"additionalProperties":false,"type":"object","required":["type"],"title":"PersonalConferenceUrlMeetingFormat"},"PhoneMeetingFormat":{"properties":{"type":{"type":"string","const":"phone","title":"Type"}},"additionalProperties":false,"type":"object","required":["type"],"title":"PhoneMeetingFormat"},"PollEdit":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Description"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":5.0},{"type":"null"}],"title":"Duration Minutes"},"location":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Location"},"slots":{"anyOf":[{"items":{"$ref":"#/components/schemas/PollSlot"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Slots"},"participants":{"anyOf":[{"items":{"$ref":"#/components/schemas/PollParticipant"},"type":"array","maxItems":100,"minItems":1},{"type":"null"}],"title":"Participants"}},"additionalProperties":false,"type":"object","title":"PollEdit"},"PollParticipant":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email"}},"additionalProperties":false,"type":"object","required":["id","name","email"],"title":"PollParticipant"},"PollSlot":{"properties":{"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"}},"type":"object","required":["start","end","id"],"title":"PollSlot"},"PollView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"title":{"type":"string","title":"Title"},"status":{"type":"string","title":"Status","default":"collecting"},"options_revision":{"type":"integer","title":"Options Revision","default":1},"calendar_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Calendar Id"},"slots":{"items":{"$ref":"#/components/schemas/PollSlot"},"type":"array","title":"Slots"},"public_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Url"}},"type":"object","required":["id","version","title"],"title":"PollView"},"PollWrite":{"properties":{"calendar_id":{"type":"string","format":"uuid","title":"Calendar Id"},"title":{"type":"string","maxLength":256,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Description"},"timezone":{"type":"string","maxLength":64,"title":"Timezone","default":"Europe/Moscow"},"duration_minutes":{"type":"integer","maximum":480.0,"minimum":5.0,"title":"Duration Minutes","default":30},"slots":{"items":{"$ref":"#/components/schemas/PollSlot"},"type":"array","maxItems":200,"minItems":1,"title":"Slots"},"participants":{"items":{"$ref":"#/components/schemas/PollParticipant"},"type":"array","maxItems":100,"minItems":1,"title":"Participants"}},"additionalProperties":false,"type":"object","required":["calendar_id","title","slots","participants"],"title":"PollWrite"},"PollsPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PollView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"PollsPage"},"Problem":{"properties":{"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"status":{"type":"integer","title":"Status"},"code":{"type":"string","title":"Code"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"errors":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Errors"}},"type":"object","required":["type","title","status","code"],"title":"Problem"},"Recurrence":{"properties":{"rrule":{"type":"string","maxLength":512,"minLength":1,"title":"Rrule","description":"Значение RRULE по RFC 5545."},"r_dates":{"items":{"type":"string","format":"date-time"},"type":"array","title":"R Dates"},"ex_dates":{"items":{"type":"string","format":"date-time"},"type":"array","title":"Ex Dates"}},"additionalProperties":false,"type":"object","required":["rrule"],"title":"Recurrence"},"ReplacePollSlots":{"properties":{"expected_revision":{"type":"integer","minimum":1.0,"title":"Expected Revision"},"slots":{"items":{"$ref":"#/components/schemas/PollSlot"},"type":"array","maxItems":200,"minItems":1,"title":"Slots"}},"additionalProperties":false,"type":"object","required":["expected_revision","slots"],"title":"ReplacePollSlots"},"ReportItem":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"kind":{"type":"string","title":"Kind"},"segment_ids":{"items":{"type":"string"},"type":"array","title":"Segment Ids"},"included":{"type":"boolean","title":"Included","default":true}},"type":"object","required":["id","text","kind","segment_ids"],"title":"ReportItem"},"ReportSegment":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"start_ms":{"type":"integer","title":"Start Ms"},"end_ms":{"type":"integer","title":"End Ms"},"source_speaker_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Speaker Key"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker"},"hidden":{"type":"boolean","title":"Hidden","default":false}},"type":"object","required":["id","text","start_ms","end_ms"],"title":"ReportSegment"},"ReportSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"event_title":{"type":"string","title":"Event Title"},"status":{"type":"string","title":"Status"}},"type":"object","required":["id","version","event_id","event_title","status"],"title":"ReportSummary"},"ReportView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"event_title":{"type":"string","title":"Event Title"},"status":{"type":"string","title":"Status"},"template":{"type":"string","title":"Template"},"transcript":{"items":{"$ref":"#/components/schemas/ReportSegment"},"type":"array","title":"Transcript"},"items":{"items":{"$ref":"#/components/schemas/ReportItem"},"type":"array","title":"Items"},"public_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Url"}},"type":"object","required":["id","version","event_id","event_title","status","template","transcript","items"],"title":"ReportView"},"ReportsPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReportSummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"ReportsPage"},"ResourceView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type","default":"room"},"capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["id","version","name"],"title":"ResourceView"},"ResourceViewPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ResourceView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"ResourceViewPage"},"ResourceWrite":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"type":{"type":"string","enum":["room","equipment","vehicle","other"],"title":"Type","default":"room"},"capacity":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Capacity"},"location":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Location"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"additionalProperties":false,"type":"object","required":["name"],"title":"ResourceWrite"},"ScheduleException":{"properties":{"date":{"type":"string","title":"Date"},"intervals":{"items":{"$ref":"#/components/schemas/LocalInterval"},"type":"array","title":"Intervals"},"reason":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["date","intervals"],"title":"ScheduleException"},"ScheduleView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"name":{"type":"string","title":"Name"},"timezone":{"type":"string","title":"Timezone"},"owner_type":{"type":"string","title":"Owner Type"},"owner_id":{"type":"string","format":"uuid","title":"Owner Id"},"weekly":{"additionalProperties":{"items":{"$ref":"#/components/schemas/LocalInterval"},"type":"array"},"type":"object","title":"Weekly"},"exceptions":{"items":{"$ref":"#/components/schemas/ScheduleException"},"type":"array","title":"Exceptions"}},"type":"object","required":["id","version","name","timezone","owner_type","owner_id","weekly"],"title":"ScheduleView"},"ScheduleViewPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ScheduleView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"ScheduleViewPage"},"ScheduleWrite":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"timezone":{"type":"string","maxLength":64,"title":"Timezone"},"owner_type":{"type":"string","enum":["user","team","department","company"],"title":"Owner Type","default":"user"},"owner_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Owner Id"},"weekly":{"additionalProperties":{"items":{"$ref":"#/components/schemas/LocalInterval"},"type":"array"},"propertyNames":{"enum":["1","2","3","4","5","6","7"]},"type":"object","title":"Weekly"},"exceptions":{"items":{"$ref":"#/components/schemas/ScheduleException"},"type":"array","title":"Exceptions"},"effective_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effective To"}},"additionalProperties":false,"type":"object","required":["name","timezone"],"title":"ScheduleWrite"},"SelectExternalCalendars":{"properties":{"calendars":{"items":{"$ref":"#/components/schemas/ExternalCalendarSettings"},"type":"array","maxItems":100,"title":"Calendars"}},"additionalProperties":false,"type":"object","required":["calendars"],"title":"SelectExternalCalendars"},"TeamAnalytics":{"properties":{"user_id":{"type":"string","title":"User Id"},"meetings":{"type":"integer","title":"Meetings"},"meeting_minutes":{"type":"integer","title":"Meeting Minutes"}},"type":"object","required":["user_id","meetings","meeting_minutes"],"title":"TeamAnalytics"},"TelemostMeetingFormat":{"properties":{"type":{"type":"string","const":"telemost","title":"Type"}},"additionalProperties":false,"type":"object","required":["type"],"title":"TelemostMeetingFormat"},"TimeOffView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"status":{"type":"string","title":"Status","default":"approved"}},"type":"object","required":["id","version","user_id","start","end"],"title":"TimeOffView"},"TimeOffViewPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TimeOffView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"TimeOffViewPage"},"TimeOffWrite":{"properties":{"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"type":{"type":"string","enum":["vacation","sick_leave","business_trip","day_off"],"title":"Type"},"start":{"type":"string","format":"date-time","title":"Start"},"end":{"type":"string","format":"date-time","title":"End"},"all_day":{"type":"boolean","title":"All Day","default":true}},"additionalProperties":false,"type":"object","required":["type","start","end"],"title":"TimeOffWrite"},"UnitView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"},"member_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Member Ids"}},"type":"object","required":["id","version","name","type"],"title":"UnitView"},"UnitViewPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UnitView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"UnitViewPage"},"UnitWrite":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"type":{"type":"string","enum":["team","department"],"title":"Type"},"parent_id":{"type":"string","format":"uuid","title":"Parent Id"},"member_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Member Ids"}},"additionalProperties":false,"type":"object","required":["name","type","parent_id"],"title":"UnitWrite"},"UploadPartInput":{"properties":{"part_number":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Part Number"}},"additionalProperties":false,"type":"object","required":["part_number"],"title":"UploadPartInput"},"UserNotificationCenterResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserNotificationResponse"},"type":"array","title":"Items"},"unread_count":{"type":"integer","minimum":0.0,"title":"Unread Count","default":0},"server_time":{"type":"string","format":"date-time","title":"Server Time"}},"type":"object","required":["server_time"],"title":"UserNotificationCenterResponse"},"UserNotificationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"source_type":{"type":"string","title":"Source Type"},"source_id":{"type":"string","format":"uuid","title":"Source Id"},"title":{"type":"string","title":"Title"},"text":{"type":"string","title":"Text"},"url":{"type":"string","title":"Url"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"read_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Read At"},"push_deadline_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Push Deadline At"}},"type":"object","required":["id","source_type","source_id","title","text","url","occurred_at"],"title":"UserNotificationResponse"},"VersionedBookingResource":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"additionalProperties":false,"type":"object","required":["id","version"],"title":"VersionedBookingResource"},"WorkflowAction":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"title":"Id"},"type":{"type":"string","enum":["create_conference","send_notification","create_crm_entity","create_task","update_crm_deal"],"title":"Type"},"provider":{"anyOf":[{"type":"string","enum":["telemost","zoom","google_meet","custom_url","custom"]},{"type":"null"}],"title":"Provider"},"channel":{"anyOf":[{"type":"string","enum":["push","email"]},{"type":"null"}],"title":"Channel"},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id"},"entity_type":{"anyOf":[{"type":"string","enum":["crm_contact","crm_company","crm_deal","order","project","task"]},{"type":"null"}],"title":"Entity Type"},"title":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Title"},"stage":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Stage"}},"additionalProperties":false,"type":"object","required":["id","type"],"title":"WorkflowAction"},"WorkflowTrigger":{"properties":{"type":{"type":"string","enum":["meeting_created","meeting_starts_in","meeting_finished","meeting_cancelled"],"title":"Type"},"minutes":{"anyOf":[{"type":"integer","maximum":10080.0,"minimum":0.0},{"type":"null"}],"title":"Minutes"}},"additionalProperties":false,"type":"object","required":["type"],"title":"WorkflowTrigger"},"WorkflowView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"version":{"type":"integer","title":"Version"},"name":{"type":"string","title":"Name"},"is_enabled":{"type":"boolean","title":"Is Enabled","default":false}},"type":"object","required":["id","version","name"],"title":"WorkflowView"},"WorkflowViewPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WorkflowView"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"WorkflowViewPage"},"WorkflowWrite":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"trigger":{"$ref":"#/components/schemas/WorkflowTrigger"},"actions":{"items":{"$ref":"#/components/schemas/WorkflowAction"},"type":"array","maxItems":20,"minItems":1,"title":"Actions"},"is_enabled":{"type":"boolean","title":"Is Enabled","default":false}},"additionalProperties":false,"type":"object","required":["name","trigger","actions"],"title":"WorkflowWrite"},"WorkspaceInvitationCreate":{"properties":{"display_name":{"type":"string","maxLength":160,"minLength":1,"title":"Display Name"},"email":{"type":"string","maxLength":320,"minLength":3,"title":"Email"},"permissions":{"items":{"type":"string","enum":["events:manage","availability:manage","booking:manage","holidays:manage","analytics:view","people:manage"]},"type":"array","title":"Permissions"},"unit_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Unit Id"}},"type":"object","required":["display_name","email"],"title":"WorkspaceInvitationCreate"},"WorkspaceInvitationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"display_name":{"type":"string","title":"Display Name"},"email":{"type":"string","title":"Email"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"},"unit_id":{"type":"string","format":"uuid","title":"Unit Id"},"status":{"type":"string","const":"invited","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["id","display_name","email","permissions","unit_id","status","expires_at","version"],"title":"WorkspaceInvitationResponse"},"WorkspaceInvitationUpdate":{"properties":{"permissions":{"items":{"type":"string","enum":["events:manage","availability:manage","booking:manage","holidays:manage","analytics:view","people:manage"]},"type":"array","title":"Permissions"},"unit_id":{"type":"string","format":"uuid","title":"Unit Id"}},"type":"object","required":["unit_id"],"title":"WorkspaceInvitationUpdate"},"WorkspaceView":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"timezone":{"type":"string","title":"Timezone"},"role":{"type":"string","title":"Role"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"}},"type":"object","required":["id","name","timezone","role","permissions"],"title":"WorkspaceView"},"ZoomMeetingFormat":{"properties":{"type":{"type":"string","const":"zoom","title":"Type"}},"additionalProperties":false,"type":"object","required":["type"],"title":"ZoomMeetingFormat"}},"securitySchemes":{"DeveloperToken":{"type":"http","scheme":"bearer"}}}}