{"components":{"schemas":{"AddTeamMemberRequest":{"additionalProperties":false,"properties":{"priority":{"format":"int32","type":["integer","null"]},"role":{"type":"string"},"user_id":{"format":"uuid","type":"string"}},"required":["user_id","role"],"type":"object"},"ApiKeyCreatedResponse":{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"key_prefix":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","key_prefix","token","created_at"],"type":"object"},"ApiKeyResponse":{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"key_prefix":{"type":"string"},"label":{"type":"string"},"last_used_at":{"format":"date-time","type":["string","null"]},"revoked_at":{"format":"date-time","type":["string","null"]}},"required":["id","label","key_prefix","created_at"],"type":"object"},"AvailabilityRuleInput":{"additionalProperties":false,"properties":{"end_minute":{"format":"int32","type":"integer"},"start_minute":{"format":"int32","type":"integer"},"weekday":{"format":"int32","type":"integer"}},"required":["weekday","start_minute","end_minute"],"type":"object"},"AvailabilityRuleResponse":{"properties":{"end_minute":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"start_minute":{"format":"int32","type":"integer"},"weekday":{"format":"int32","type":"integer"}},"required":["id","weekday","start_minute","end_minute"],"type":"object"},"BillingResponse":{"description":"Odpowiedź `GET /v1/billing` (trasa 47, §3.4). Dwa typy tej sekcji — i tylko one — stoją\nna granicy API, czyli w `components.schemas`; `BillingSessionRequest` jest ładunkiem\nWYCHODZĄCYM do dostawcy i mieszka w `src/payments/mod.rs`, poza tym plikiem.","properties":{"current_period_end":{"format":"date-time","type":["string","null"]},"enforced":{"description":"`= BillingConfig::enforced()` — przy `false` żadna z dziesięciu par nie odmawia.","type":"boolean"},"grade":{"description":"`active | grace | restricted | suspended`.","type":"string"},"grade_changes_at":{"description":"`= grade_changes_at(…)` — moment przejścia na stopień NASTĘPNY, `None` przy `Active`\ni przy `Suspended`.","format":"date-time","type":["string","null"]},"past_due_since":{"format":"date-time","type":["string","null"]},"plan":{"type":["string","null"]},"restricted_operations":{"description":"Pary z `BILLING_GATED_PAIRS`, którym bramka ODMAWIA przy stopniu bieżącym — czyli te,\ndla których `denial` nie jest `GateDenial::EmptyList` **i** `profile.denies_at(grade)`,\nw postaci `\"POST /v1/event-types\"` i w kolejności tablicy. Człon `denial ≠ EmptyList`\nodcina dokładnie jedną pozycję (`GET /v1/slots`, która przy `Suspended` odpowiada\n`200`), więc pole jest obserwowalnym ŚWIADKIEM degradacji, a nie stałą:\n`Active → 0`, `Grace → 0`, `Restricted → 8`, `Suspended → 9`.","items":{"type":"string"},"type":"array"},"state":{"description":"`active | past_due | canceled | absent`. Czwarta wartość NIE pochodzi z\n`SubscriptionState`: jest odwzorowaniem `BillingFactsAnomaly::MissingRow` i jedynym\nmiejscem, w którym anomalia jest widoczna z zewnątrz (§3.4).","type":"string"}},"required":["enforced","state","grade","restricted_operations"],"type":"object"},"BillingSessionResponse":{"description":"Odpowiedź `POST /v1/billing/session` (trasa 48). Jedno pole i ani jednego więcej —\nkształt klucza idempotencji ani chwila wygaśnięcia sesji nie wychodzą tą drogą.","properties":{"payment_url":{"type":"string"}},"required":["payment_url"],"type":"object"},"BookingAttendeeInput":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"},"timezone":{"type":"string"}},"required":["name","email","timezone"],"type":"object"},"BookingAttendeeResponse":{"properties":{"email":{"type":"string"},"id":{"format":"uuid","type":"string"},"is_organizer":{"type":"boolean"},"name":{"type":"string"},"timezone":{"type":"string"}},"required":["id","name","email","timezone","is_organizer"],"type":"object"},"BookingHostResponse":{"properties":{"email":{"type":"string"},"name":{"type":"string"},"user_id":{"format":"uuid","type":"string"}},"required":["user_id","name","email"],"type":"object"},"BookingListQuery":{"properties":{"event_type_id":{"format":"uuid","type":["string","null"]},"from":{"format":"date-time","type":["string","null"]},"limit":{"format":"int64","type":["integer","null"]},"offset":{"format":"int64","type":["integer","null"]},"status":{"type":["string","null"]},"to":{"format":"date-time","type":["string","null"]}},"type":"object"},"BookingListResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/BookingResponse"},"type":"array"},"limit":{"format":"int64","type":"integer"},"offset":{"format":"int64","type":"integer"},"total":{"format":"int64","type":"integer"}},"required":["data","total","limit","offset"],"type":"object"},"BookingResponse":{"properties":{"attendee_timezone":{"type":"string"},"attendees":{"items":{"$ref":"#/components/schemas/BookingAttendeeResponse"},"type":"array"},"cancellation_reason":{"type":["string","null"]},"created_at":{"format":"date-time","type":"string"},"description":{"type":["string","null"]},"ends_at":{"format":"date-time","type":"string"},"event_type_id":{"format":"uuid","type":"string"},"hosts":{"items":{"$ref":"#/components/schemas/BookingHostResponse"},"type":"array"},"id":{"format":"uuid","type":"string"},"location":{"type":["string","null"]},"payment":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/PaymentResponse","description":"`null` dla rezerwacji bezpłatnej (T-05, §3.6 kontraktu T-01)."}]},"reschedule_of":{"format":"uuid","type":["string","null"]},"series_id":{"description":"`null` dla rezerwacji spoza serii (T-03, §3.6 kontraktu).","format":"uuid","type":["string","null"]},"series_occurrence_index":{"description":"`null` dla rezerwacji spoza serii (T-03, §3.6 kontraktu).","format":"int32","type":["integer","null"]},"starts_at":{"format":"date-time","type":"string"},"status":{"type":"string"},"title":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["id","event_type_id","status","starts_at","ends_at","title","attendee_timezone","attendees","hosts","created_at","updated_at"],"type":"object"},"BookingSeriesResponse":{"properties":{"cancelled_at":{"format":"date-time","type":["string","null"]},"created_at":{"format":"date-time","type":"string"},"description":{"type":["string","null"]},"event_type_id":{"format":"uuid","type":"string"},"horizon_end_date":{"format":"date","type":"string"},"id":{"format":"uuid","type":"string"},"location":{"type":["string","null"]},"max_occurrences":{"format":"int32","type":"integer"},"occurrences":{"description":"Rosnąco po `occurrence_index`.","items":{"$ref":"#/components/schemas/SeriesOccurrenceResponse"},"type":"array"},"rrule":{"description":"Postać KANONICZNA, odtworzona z kolumn (ADR T-03-014) — może różnić się od `rrule`\nz żądania.","type":"string"},"starts_local_date":{"format":"date","type":"string"},"starts_minute":{"format":"int32","type":"integer"},"status":{"description":"`materializing` | `active` | `cancelled`.","type":"string"},"summary":{"$ref":"#/components/schemas/BookingSeriesSummary"},"timezone":{"type":"string"},"title":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["id","event_type_id","status","timezone","rrule","starts_local_date","starts_minute","horizon_end_date","max_occurrences","title","summary","occurrences","created_at","updated_at"],"type":"object"},"BookingSeriesSummary":{"properties":{"cancelled":{"format":"int32","type":"integer"},"excluded":{"format":"int32","type":"integer"},"materialized":{"format":"int32","type":"integer"},"moved":{"format":"int32","type":"integer"},"planned":{"format":"int32","type":"integer"},"skipped":{"format":"int32","type":"integer"},"truncated":{"type":"boolean"},"truncation_reason":{"description":"`max_occurrences` | `max_horizon` | `future_limit_days`.","type":["string","null"]}},"required":["planned","materialized","moved","cancelled","excluded","skipped","truncated"],"type":"object"},"CancelBookingRequest":{"additionalProperties":false,"properties":{"reason":{"type":["string","null"]}},"type":"object"},"CancelSeriesRequest":{"additionalProperties":false,"properties":{"from_occurrence_index":{"format":"int32","type":["integer","null"]},"reason":{"type":["string","null"]},"scope":{"description":"`all` | `this_and_following`.","type":"string"}},"required":["scope"],"type":"object"},"CreateApiKeyRequest":{"additionalProperties":false,"properties":{"label":{"type":"string"}},"required":["label"],"type":"object"},"CreateBookingRequest":{"description":"Żądanie utworzenia rezerwacji. **Nie** ma `#[serde(deny_unknown_fields)]` — jedyny\nwyjątek z §3, bo pole `honeypot` musi być przyjmowane, choć nie jest częścią modelu\ndomenowego (§6). Wartość wyzwalająca jest wychwytywana na surowym JSON-ie w\n`ValidatedJson`, zanim dojdzie do tej deserializacji — patrz `src/http/extract.rs`.","properties":{"attendee":{"$ref":"#/components/schemas/BookingAttendeeInput"},"description":{"type":["string","null"]},"event_type_id":{"format":"uuid","type":"string"},"guests":{"items":{"$ref":"#/components/schemas/BookingAttendeeInput"},"type":["array","null"]},"honeypot":{"type":["string","null"]},"idempotency_key":{"type":["string","null"]},"location":{"type":["string","null"]},"starts_at":{"format":"date-time","type":"string"},"title":{"type":["string","null"]}},"required":["event_type_id","starts_at","attendee"],"type":"object"},"CreateBookingSeriesRequest":{"additionalProperties":false,"description":"Żądanie utworzenia serii. `#[serde(deny_unknown_fields)]` stosuje się **bez wyjątku**\n(§3.10 kontraktu T-01) — żadne pole-pułapka, w odróżnieniu od `CreateBookingRequest`.","properties":{"attendee":{"$ref":"#/components/schemas/BookingAttendeeInput"},"description":{"type":["string","null"]},"event_type_id":{"format":"uuid","type":"string"},"exdates":{"items":{"format":"date","type":"string"},"type":["array","null"]},"guests":{"items":{"$ref":"#/components/schemas/BookingAttendeeInput"},"type":["array","null"]},"idempotency_key":{"type":["string","null"]},"location":{"type":["string","null"]},"rrule":{"type":"string"},"starts_local_date":{"format":"date","type":"string"},"starts_minute":{"format":"int32","type":"integer"},"timezone":{"type":"string"},"title":{"type":["string","null"]}},"required":["event_type_id","timezone","starts_local_date","starts_minute","rrule","attendee"],"type":"object"},"CreateDateOverrideRequest":{"additionalProperties":false,"properties":{"end_minute":{"format":"int32","type":["integer","null"]},"is_available":{"type":"boolean"},"override_date":{"format":"date","type":"string"},"start_minute":{"format":"int32","type":["integer","null"]}},"required":["override_date","is_available"],"type":"object"},"CreateEventTypeRequest":{"additionalProperties":false,"properties":{"buffer_after_minutes":{"format":"int32","type":["integer","null"]},"buffer_before_minutes":{"format":"int32","type":["integer","null"]},"description":{"type":["string","null"]},"duration_minutes":{"format":"int32","type":"integer"},"future_limit_days":{"format":"int32","type":["integer","null"]},"kind":{"type":"string"},"max_bookings_per_day":{"format":"int32","type":["integer","null"]},"minimum_notice_minutes":{"format":"int32","type":["integer","null"]},"price_amount_minor":{"description":"Cena typu spotkania w jednostce podrzędnej waluty (T-05, §3.3 kontraktu T-01). Para z\n`price_currency` — oba obecne albo oba nieobecne.","format":"int64","type":["integer","null"]},"price_currency":{"type":["string","null"]},"refund_window_minutes":{"description":"Próg zwrotu liczony wstecz od `starts_at`, w minutach (T-05). Wymaga ceny.","format":"int32","type":["integer","null"]},"requires_confirmation":{"type":["boolean","null"]},"schedule_id":{"format":"uuid","type":["string","null"]},"slot_interval_minutes":{"format":"int32","type":["integer","null"]},"slug":{"type":"string"},"team_id":{"format":"uuid","type":["string","null"]},"title":{"type":"string"}},"required":["slug","title","kind","duration_minutes"],"type":"object"},"CreateScheduleRequest":{"additionalProperties":false,"properties":{"is_default":{"type":["boolean","null"]},"name":{"type":"string"},"rules":{"items":{"$ref":"#/components/schemas/AvailabilityRuleInput"},"type":["array","null"]},"timezone":{"type":"string"}},"required":["name","timezone"],"type":"object"},"CreateTeamRequest":{"additionalProperties":false,"properties":{"name":{"type":"string"},"slug":{"type":"string"},"timezone":{"type":"string"}},"required":["slug","name","timezone"],"type":"object"},"CreateUserRequest":{"additionalProperties":false,"properties":{"email":{"type":"string"},"name":{"type":"string"},"timezone":{"type":"string"}},"required":["email","name","timezone"],"type":"object"},"CreateWebhookRequest":{"additionalProperties":false,"properties":{"events":{"items":{"type":"string"},"type":"array"},"target_url":{"type":"string"},"team_id":{"format":"uuid","type":["string","null"]}},"required":["target_url","events"],"type":"object"},"CreatedUserResponse":{"properties":{"api_key":{"$ref":"#/components/schemas/ApiKeyCreatedResponse"},"user":{"$ref":"#/components/schemas/UserResponse"}},"required":["user","api_key"],"type":"object"},"DateOverrideResponse":{"properties":{"end_minute":{"format":"int32","type":["integer","null"]},"id":{"format":"uuid","type":"string"},"is_available":{"type":"boolean"},"override_date":{"format":"date","type":"string"},"start_minute":{"format":"int32","type":["integer","null"]}},"required":["id","override_date","is_available"],"type":"object"},"ErrorBody":{"description":"Treść pola `error` w odpowiedzi błędu.","properties":{"code":{"type":"string"},"details":{"items":{"$ref":"#/components/schemas/ErrorDetail"},"type":"array"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["code","message","details","request_id"],"type":"object"},"ErrorDetail":{"description":"Jeden element listy `details` w odpowiedzi błędu.","properties":{"code":{"type":"string"},"field":{"type":["string","null"]},"message":{"type":"string"}},"required":["code","message"],"type":"object"},"ErrorResponse":{"description":"Kształt ciała każdej odpowiedzi błędu w API (§5) — jeden dla wszystkich tras.","properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"required":["error"],"type":"object"},"EventTypeResponse":{"properties":{"buffer_after_minutes":{"format":"int32","type":"integer"},"buffer_before_minutes":{"format":"int32","type":"integer"},"created_at":{"format":"date-time","type":"string"},"description":{"type":["string","null"]},"duration_minutes":{"format":"int32","type":"integer"},"future_limit_days":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"},"is_active":{"type":"boolean"},"kind":{"type":"string"},"max_bookings_per_day":{"format":"int32","type":["integer","null"]},"minimum_notice_minutes":{"format":"int32","type":"integer"},"owner_user_id":{"format":"uuid","type":["string","null"]},"price_amount_minor":{"format":"int64","type":["integer","null"]},"price_currency":{"type":["string","null"]},"refund_window_minutes":{"format":"int32","type":["integer","null"]},"requires_confirmation":{"type":"boolean"},"schedule_id":{"format":"uuid","type":["string","null"]},"slot_interval_minutes":{"format":"int32","type":"integer"},"slug":{"type":"string"},"team_id":{"format":"uuid","type":["string","null"]},"title":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"required":["id","slug","title","kind","duration_minutes","buffer_before_minutes","buffer_after_minutes","minimum_notice_minutes","slot_interval_minutes","future_limit_days","requires_confirmation","is_active","created_at","updated_at"],"type":"object"},"HealthResponse":{"description":"Odpowiedź `GET /healthz`.","properties":{"status":{"type":"string"}},"required":["status"],"type":"object"},"OrganizationMemberResponse":{"properties":{"created_at":{"format":"date-time","type":"string"},"email":{"type":"string"},"name":{"type":"string"},"org_role":{"type":"string"},"user_id":{"format":"uuid","type":"string"}},"required":["user_id","email","name","org_role","created_at"],"type":"object"},"OrganizationResponse":{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"updated_at":{"format":"date-time","type":"string"},"viewer_role":{"description":"Rola PYTAJĄCEGO, nie własność organizacji — precedens: `TeamResponse.my_role`. Bez tego\npola `member` nie miałby drogi, żeby poznać własną rolę (§4.14 kontraktu T-01).","type":"string"}},"required":["id","name","viewer_role","created_at","updated_at"],"type":"object"},"PaymentLinkResponse":{"properties":{"expires_at":{"format":"date-time","type":"string"},"payment_url":{"type":"string"}},"required":["payment_url","expires_at"],"type":"object"},"PaymentResponse":{"properties":{"amount_minor":{"format":"int64","type":"integer"},"currency":{"type":"string"},"expires_at":{"format":"date-time","type":["string","null"]},"id":{"format":"uuid","type":"string"},"payment_url":{"description":"Niepuste WYŁĄCZNIE w `POST /v1/bookings` (przy utworzeniu) i w\n`POST /v1/bookings/{booking_id}/payment-link` — nigdzie indziej: w bazie leży wyłącznie\nskrót żetonu i nie ma z czego go odtworzyć (D13, §3.6 kontraktu T-01).","type":["string","null"]},"refund":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RefundResponse"}]},"state":{"description":"`requires_provider` · `requires_payment` · `succeeded` · `failed` · `expired` ·\n`orphaned`.","type":"string"}},"required":["id","state","amount_minor","currency"],"type":"object"},"ReadyResponse":{"description":"Odpowiedź `GET /readyz` — zawsze ten sam kształt, kod i pola różnią się wg tabeli §4.1.","properties":{"database":{"type":"string"},"status":{"type":"string"}},"required":["status","database"],"type":"object"},"RefundResponse":{"properties":{"amount_minor":{"format":"int64","type":"integer"},"created_at":{"format":"date-time","type":"string"},"currency":{"type":"string"},"id":{"format":"uuid","type":"string"},"reason":{"description":"`cancelled_within_window` · `hold_expired_after_capture`.","type":"string"},"state":{"description":"`requested` · `succeeded` · `failed`.","type":"string"}},"required":["id","state","amount_minor","currency","reason","created_at"],"type":"object"},"ReplaceAvailabilityRequest":{"additionalProperties":false,"properties":{"rules":{"items":{"$ref":"#/components/schemas/AvailabilityRuleInput"},"type":"array"}},"required":["rules"],"type":"object"},"RescheduleBookingRequest":{"additionalProperties":false,"properties":{"reason":{"type":["string","null"]},"starts_at":{"format":"date-time","type":"string"}},"required":["starts_at"],"type":"object"},"ScheduleResponse":{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"is_default":{"type":"boolean"},"name":{"type":"string"},"rules":{"items":{"$ref":"#/components/schemas/AvailabilityRuleResponse"},"type":"array"},"timezone":{"type":"string"}},"required":["id","name","timezone","is_default","rules","created_at"],"type":"object"},"SeriesOccurrenceResponse":{"properties":{"booking_id":{"format":"uuid","type":["string","null"]},"booking_status":{"type":["string","null"]},"dst_adjustment":{"description":"`ambiguous_first` | `gap_skipped`.","type":["string","null"]},"ends_at":{"format":"date-time","type":["string","null"]},"local_date":{"format":"date","type":"string"},"local_start_minute":{"format":"int32","type":"integer"},"occurrence_index":{"format":"int32","type":"integer"},"skip_reason":{"description":"`slot_taken` | `unavailable` | `daily_limit` | `dst_gap`.","type":["string","null"]},"starts_at":{"format":"date-time","type":["string","null"]},"state":{"description":"`materialized` | `moved` | `cancelled` | `excluded` | `skipped`.","type":"string"}},"required":["occurrence_index","local_date","local_start_minute","state"],"type":"object"},"SessionResponse":{"description":"Jedyny nowy typ na granicy API wprowadzony przez T-04 — reszta przepływu jest opisana\nprzekierowaniami `303` i ciasteczkami (§3.11 kontraktu T-01).","properties":{"authenticated":{"type":"boolean"},"csrf_token":{"type":["string","null"]},"expires_at":{"format":"date-time","type":["string","null"]},"user":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UserResponse"}]}},"required":["authenticated"],"type":"object"},"SlotResponse":{"properties":{"available_hosts":{"format":"int32","type":"integer"},"end":{"format":"date-time","type":"string"},"local_end":{"type":"string"},"local_start":{"type":"string"},"start":{"format":"date-time","type":"string"}},"required":["start","end","local_start","local_end","available_hosts"],"type":"object"},"SlotsQuery":{"properties":{"event_type_id":{"format":"uuid","type":"string"},"from":{"format":"date","type":"string"},"timezone":{"type":["string","null"]},"to":{"format":"date","type":"string"}},"required":["event_type_id","from","to"],"type":"object"},"SlotsResponse":{"properties":{"duration_minutes":{"format":"int32","type":"integer"},"event_type_id":{"format":"uuid","type":"string"},"slots":{"items":{"$ref":"#/components/schemas/SlotResponse"},"type":"array"},"timezone":{"type":"string"}},"required":["event_type_id","duration_minutes","timezone","slots"],"type":"object"},"TeamMemberResponse":{"properties":{"email":{"type":"string"},"is_active":{"type":"boolean"},"joined_at":{"format":"date-time","type":"string"},"name":{"type":"string"},"priority":{"format":"int32","type":"integer"},"role":{"type":"string"},"user_id":{"format":"uuid","type":"string"}},"required":["user_id","email","name","role","priority","is_active","joined_at"],"type":"object"},"TeamResponse":{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"my_role":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"timezone":{"type":"string"}},"required":["id","slug","name","timezone","my_role","created_at"],"type":"object"},"UpdateEventTypeRequest":{"additionalProperties":false,"properties":{"buffer_after_minutes":{"format":"int32","type":["integer","null"]},"buffer_before_minutes":{"format":"int32","type":["integer","null"]},"description":{"type":["string","null"]},"duration_minutes":{"format":"int32","type":["integer","null"]},"future_limit_days":{"format":"int32","type":["integer","null"]},"is_active":{"type":["boolean","null"]},"max_bookings_per_day":{"format":"int32","type":["integer","null"]},"minimum_notice_minutes":{"format":"int32","type":["integer","null"]},"price_amount_minor":{"format":"int64","type":["integer","null"]},"price_currency":{"type":["string","null"]},"refund_window_minutes":{"format":"int32","type":["integer","null"]},"requires_confirmation":{"type":["boolean","null"]},"schedule_id":{"format":"uuid","type":["string","null"]},"slot_interval_minutes":{"format":"int32","type":["integer","null"]},"title":{"type":["string","null"]}},"type":"object"},"UpdateOrganizationMemberRequest":{"additionalProperties":false,"properties":{"org_role":{"type":["string","null"]}},"type":"object"},"UpdateOrganizationRequest":{"additionalProperties":false,"properties":{"name":{"type":["string","null"]}},"type":"object"},"UpdateScheduleRequest":{"additionalProperties":false,"properties":{"is_default":{"type":["boolean","null"]},"name":{"type":["string","null"]},"timezone":{"type":["string","null"]}},"type":"object"},"UpdateTeamMemberRequest":{"additionalProperties":false,"properties":{"is_active":{"type":["boolean","null"]},"priority":{"format":"int32","type":["integer","null"]},"role":{"type":["string","null"]}},"type":"object"},"UpdateTeamRequest":{"additionalProperties":false,"properties":{"name":{"type":["string","null"]},"timezone":{"type":["string","null"]}},"type":"object"},"UpdateWebhookRequest":{"additionalProperties":false,"properties":{"events":{"items":{"type":"string"},"type":["array","null"]},"is_active":{"type":["boolean","null"]},"target_url":{"type":["string","null"]}},"type":"object"},"UserResponse":{"properties":{"created_at":{"format":"date-time","type":"string"},"email":{"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"timezone":{"type":"string"}},"required":["id","email","name","timezone","created_at"],"type":"object"},"WebhookCreatedResponse":{"properties":{"signing_secret":{"type":"string"},"webhook":{"$ref":"#/components/schemas/WebhookResponse"}},"required":["webhook","signing_secret"],"type":"object"},"WebhookDeliveryResponse":{"properties":{"attempt_count":{"format":"int32","type":"integer"},"created_at":{"format":"date-time","type":"string"},"delivered_at":{"format":"date-time","type":["string","null"]},"event":{"type":"string"},"id":{"format":"uuid","type":"string"},"last_error":{"type":["string","null"]},"last_status_code":{"format":"int32","type":["integer","null"]},"next_attempt_at":{"format":"date-time","type":"string"},"status":{"type":"string"}},"required":["id","event","status","attempt_count","next_attempt_at","created_at"],"type":"object"},"WebhookResponse":{"properties":{"created_at":{"format":"date-time","type":"string"},"events":{"items":{"type":"string"},"type":"array"},"id":{"format":"uuid","type":"string"},"is_active":{"type":"boolean"},"target_url":{"type":"string"},"team_id":{"format":"uuid","type":["string","null"]},"user_id":{"format":"uuid","type":["string","null"]}},"required":["id","target_url","events","is_active","created_at"],"type":"object"}},"securitySchemes":{"bearer_api_key":{"scheme":"bearer","type":"http"},"bootstrap_token":{"in":"header","name":"X-Calendry-Bootstrap","type":"apiKey"},"session_cookie":{"in":"cookie","name":"__Host-calendry_session","type":"apiKey"}}},"info":{"description":"API rezerwacji spotkań, dostępności, zespołów i webhooków.","title":"Calendry API","version":"v1"},"openapi":"3.1.0","paths":{"/auth/logout":{"post":{"operationId":"post_auth_logout","responses":{"204":{"description":"Brak treści."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"session_cookie":[]}],"summary":"POST /auth/logout"}},"/auth/session":{"get":{"operationId":"get_auth_session","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}},"description":"Sukces."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Przekroczony limit ruchu (§4.9). Odpowiedź niesie nagłówek Retry-After."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[],"summary":"GET /auth/session"}},"/healthz":{"get":{"operationId":"get_healthz","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[],"summary":"GET /healthz"}},"/openapi.json":{"get":{"operationId":"get_openapi.json","responses":{"200":{"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[],"summary":"GET /openapi.json"}},"/readyz":{"get":{"operationId":"get_readyz","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadyResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[],"summary":"GET /readyz"}},"/v1/api-keys":{"get":{"operationId":"get_v1_api-keys","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApiKeyResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/api-keys"},"post":{"operationId":"post_v1_api-keys","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreatedResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/api-keys"}},"/v1/api-keys/{api_key_id}":{"delete":{"operationId":"delete_v1_api-keys_api_key_id_","responses":{"204":{"description":"Brak treści."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"DELETE /v1/api-keys/{api_key_id}"}},"/v1/billing":{"get":{"operationId":"get_v1_billing","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/billing"}},"/v1/billing/session":{"post":{"operationId":"post_v1_billing_session","responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSessionResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/billing/session"}},"/v1/booking-series":{"post":{"operationId":"post_v1_booking-series","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBookingSeriesRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingSeriesResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/booking-series"}},"/v1/booking-series/{series_id}":{"get":{"operationId":"get_v1_booking-series_series_id_","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingSeriesResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/booking-series/{series_id}"}},"/v1/booking-series/{series_id}/cancel":{"post":{"operationId":"post_v1_booking-series_series_id_cancel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelSeriesRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingSeriesResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/booking-series/{series_id}/cancel"}},"/v1/bookings":{"get":{"operationId":"get_v1_bookings","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingListResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/bookings"},"post":{"operationId":"post_v1_bookings","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBookingRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingResponse"}}},"description":"Sukces."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Przekroczony limit ruchu (§4.9). Odpowiedź niesie nagłówek Retry-After."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[],"summary":"POST /v1/bookings"}},"/v1/bookings/{booking_id}":{"get":{"operationId":"get_v1_bookings_booking_id_","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/bookings/{booking_id}"}},"/v1/bookings/{booking_id}/cancel":{"post":{"operationId":"post_v1_bookings_booking_id_cancel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelBookingRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/bookings/{booking_id}/cancel"}},"/v1/bookings/{booking_id}/confirm":{"post":{"operationId":"post_v1_bookings_booking_id_confirm","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/bookings/{booking_id}/confirm"}},"/v1/bookings/{booking_id}/payment-link":{"post":{"operationId":"post_v1_bookings_booking_id_payment-link","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/bookings/{booking_id}/payment-link"}},"/v1/bookings/{booking_id}/reschedule":{"post":{"operationId":"post_v1_bookings_booking_id_reschedule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleBookingRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/bookings/{booking_id}/reschedule"}},"/v1/event-types":{"get":{"operationId":"get_v1_event-types","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EventTypeResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/event-types"},"post":{"operationId":"post_v1_event-types","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEventTypeRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypeResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/event-types"}},"/v1/event-types/{event_type_id}":{"delete":{"operationId":"delete_v1_event-types_event_type_id_","responses":{"204":{"description":"Brak treści."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"DELETE /v1/event-types/{event_type_id}"},"get":{"operationId":"get_v1_event-types_event_type_id_","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypeResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/event-types/{event_type_id}"},"patch":{"operationId":"patch_v1_event-types_event_type_id_","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEventTypeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypeResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"PATCH /v1/event-types/{event_type_id}"}},"/v1/me":{"get":{"operationId":"get_v1_me","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]},{"session_cookie":[]}],"summary":"GET /v1/me"}},"/v1/organization":{"get":{"operationId":"get_v1_organization","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/organization"},"patch":{"operationId":"patch_v1_organization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"PATCH /v1/organization"}},"/v1/organization/members":{"get":{"operationId":"get_v1_organization_members","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrganizationMemberResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/organization/members"}},"/v1/organization/members/{user_id}":{"patch":{"operationId":"patch_v1_organization_members_user_id_","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrganizationMemberRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationMemberResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"PATCH /v1/organization/members/{user_id}"}},"/v1/schedules":{"get":{"operationId":"get_v1_schedules","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ScheduleResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/schedules"},"post":{"operationId":"post_v1_schedules","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateScheduleRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/schedules"}},"/v1/schedules/{schedule_id}":{"delete":{"operationId":"delete_v1_schedules_schedule_id_","responses":{"204":{"description":"Brak treści."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"DELETE /v1/schedules/{schedule_id}"},"get":{"operationId":"get_v1_schedules_schedule_id_","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/schedules/{schedule_id}"},"patch":{"operationId":"patch_v1_schedules_schedule_id_","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateScheduleRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"PATCH /v1/schedules/{schedule_id}"}},"/v1/schedules/{schedule_id}/availability":{"put":{"operationId":"put_v1_schedules_schedule_id_availability","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceAvailabilityRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AvailabilityRuleResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"PUT /v1/schedules/{schedule_id}/availability"}},"/v1/schedules/{schedule_id}/overrides":{"get":{"operationId":"get_v1_schedules_schedule_id_overrides","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DateOverrideResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/schedules/{schedule_id}/overrides"},"post":{"operationId":"post_v1_schedules_schedule_id_overrides","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDateOverrideRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DateOverrideResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/schedules/{schedule_id}/overrides"}},"/v1/schedules/{schedule_id}/overrides/{override_id}":{"delete":{"operationId":"delete_v1_schedules_schedule_id_overrides_override_id_","responses":{"204":{"description":"Brak treści."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"DELETE /v1/schedules/{schedule_id}/overrides/{override_id}"}},"/v1/slots":{"get":{"operationId":"get_v1_slots","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotsResponse"}}},"description":"Sukces."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Przekroczony limit ruchu (§4.9). Odpowiedź niesie nagłówek Retry-After."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[],"summary":"GET /v1/slots"}},"/v1/teams":{"get":{"operationId":"get_v1_teams","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TeamResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/teams"},"post":{"operationId":"post_v1_teams","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTeamRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/teams"}},"/v1/teams/{team_id}":{"delete":{"operationId":"delete_v1_teams_team_id_","responses":{"204":{"description":"Brak treści."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"DELETE /v1/teams/{team_id}"},"get":{"operationId":"get_v1_teams_team_id_","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/teams/{team_id}"},"patch":{"operationId":"patch_v1_teams_team_id_","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"PATCH /v1/teams/{team_id}"}},"/v1/teams/{team_id}/members":{"get":{"operationId":"get_v1_teams_team_id_members","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TeamMemberResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/teams/{team_id}/members"},"post":{"operationId":"post_v1_teams_team_id_members","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddTeamMemberRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/teams/{team_id}/members"}},"/v1/teams/{team_id}/members/{user_id}":{"delete":{"operationId":"delete_v1_teams_team_id_members_user_id_","responses":{"204":{"description":"Brak treści."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"DELETE /v1/teams/{team_id}/members/{user_id}"},"patch":{"operationId":"patch_v1_teams_team_id_members_user_id_","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamMemberRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamMemberResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"PATCH /v1/teams/{team_id}/members/{user_id}"}},"/v1/users":{"post":{"operationId":"post_v1_users","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedUserResponse"}}},"description":"Sukces."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Przekroczony limit ruchu (§4.9). Odpowiedź niesie nagłówek Retry-After."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bootstrap_token":[]}],"summary":"POST /v1/users"}},"/v1/webhooks":{"get":{"operationId":"get_v1_webhooks","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WebhookResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/webhooks"},"post":{"operationId":"post_v1_webhooks","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreatedResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"POST /v1/webhooks"}},"/v1/webhooks/{webhook_id}":{"delete":{"operationId":"delete_v1_webhooks_webhook_id_","responses":{"204":{"description":"Brak treści."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"DELETE /v1/webhooks/{webhook_id}"},"get":{"operationId":"get_v1_webhooks_webhook_id_","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/webhooks/{webhook_id}"},"patch":{"operationId":"patch_v1_webhooks_webhook_id_","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResponse"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"PATCH /v1/webhooks/{webhook_id}"}},"/v1/webhooks/{webhook_id}/deliveries":{"get":{"operationId":"get_v1_webhooks_webhook_id_deliveries","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WebhookDeliveryResponse"},"type":"array"}}},"description":"Sukces."},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Błąd — kształt jednolity dla całego API (§5)."}},"security":[{"bearer_api_key":[]}],"summary":"GET /v1/webhooks/{webhook_id}/deliveries"}}}}