{"openapi":"3.1.0","info":{"title":"GetPro API","description":"Beauty-services marketplace backend (Telegram Mini App).","version":"v1"},"servers":[{"url":"http://api.getpro.by","description":"Generated server url"}],"security":[{"telegram":[]}],"paths":{"/api/v1/master/working-hours":{"get":{"tags":["master-schedule-controller"],"operationId":"getWeek","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkingDayResponse"}}}}}}},"put":{"tags":["master-schedule-controller"],"operationId":"replaceWeek","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkingHoursRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ScheduleResponse"}}}}}}},"/api/v1/master/social-links":{"get":{"tags":["master-social-link-controller"],"operationId":"list","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SocialLinkResponse"}}}}}}},"put":{"tags":["master-social-link-controller"],"operationId":"replace","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialLinkRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SocialLinkResponse"}}}}}}}},"/api/v1/master/services/{id}":{"get":{"tags":["master-service-controller"],"operationId":"get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ServiceResponse"}}}}}},"put":{"tags":["master-service-controller"],"operationId":"update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ServiceResponse"}}}}}},"delete":{"tags":["master-service-controller"],"operationId":"delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/master/services/batch":{"put":{"tags":["master-service-controller"],"operationId":"updatePricing","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceBatchPricingRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ServiceResponse"}}}}}}},"post":{"tags":["master-service-controller"],"operationId":"addFromCatalog","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceBatchCreateRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ServiceResponse"}}}}}}}},"/api/v1/master/schedule/shift":{"put":{"tags":["master-schedule-controller"],"operationId":"replaceShift","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShiftScheduleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ScheduleResponse"}}}}}}},"/api/v1/master/schedule/days/{date}":{"get":{"tags":["master-schedule-day-controller"],"operationId":"get_1","parameters":[{"name":"date","in":"path","required":true,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DayScheduleResponse"}}}}}},"put":{"tags":["master-schedule-day-controller"],"operationId":"putOverride","parameters":[{"name":"date","in":"path","required":true,"schema":{"type":"string","format":"date"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DayOverrideRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DayScheduleResponse"}}}}}},"delete":{"tags":["master-schedule-day-controller"],"operationId":"deleteOverride","parameters":[{"name":"date","in":"path","required":true,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DayScheduleResponse"}}}}}}},"/api/v1/master/reviews/{id}/reply":{"put":{"tags":["master-review-controller"],"operationId":"editReply","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewReplyRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ReviewResponse"}}}}}},"post":{"tags":["master-review-controller"],"operationId":"reply","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewReplyRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ReviewResponse"}}}}}},"delete":{"tags":["master-review-controller"],"operationId":"deleteReply","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/master/profile":{"get":{"tags":["master-profile-controller"],"operationId":"get_2","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}},"put":{"tags":["master-profile-controller"],"operationId":"update_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MasterProfileRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}}},"/api/v1/master/profile/audience":{"put":{"tags":["master-profile-controller"],"operationId":"updateAudience","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}}},"/api/v1/master/clients/{id}":{"get":{"tags":["master-client-controller"],"operationId":"get_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}}}},"put":{"tags":["master-client-controller"],"operationId":"update_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientUpdateRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}}}},"delete":{"tags":["master-client-controller"],"operationId":"delete_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/master/clients/{clientId}/notes/{noteId}":{"put":{"tags":["client-note-controller"],"operationId":"update_3","parameters":[{"name":"clientId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"noteId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NoteResponse"}}}}}},"delete":{"tags":["client-note-controller"],"operationId":"delete_2","parameters":[{"name":"clientId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"noteId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/master/booking-pause":{"get":{"tags":["master-booking-pause-controller"],"operationId":"get_4","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BookingPauseResponse"}}}}}},"put":{"tags":["master-booking-pause-controller"],"operationId":"put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPauseRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BookingPauseResponse"}}}}}},"delete":{"tags":["master-booking-pause-controller"],"operationId":"end","responses":{"204":{"description":"No Content"}}}},"/api/v1/master/appointments/{id}":{"get":{"tags":["master-appointment-controller"],"operationId":"get_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterAppointmentResponse"}}}}}},"put":{"tags":["master-appointment-controller"],"operationId":"edit","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentEditRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterAppointmentResponse"}}}}}},"delete":{"tags":["master-appointment-controller"],"operationId":"delete_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}},"patch":{"tags":["master-appointment-controller"],"operationId":"changeStatus","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentStatusRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterAppointmentResponse"}}}}}}},"/api/v1/favourites/{masterId}":{"put":{"tags":["favourite-controller"],"operationId":"add","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}},"delete":{"tags":["favourite-controller"],"operationId":"remove","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/client/profile":{"get":{"tags":["client-profile-controller"],"operationId":"get_6","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientProfileResponse"}}}}}},"put":{"tags":["client-profile-controller"],"operationId":"upsert","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientProfileRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientProfileResponse"}}}}}}},"/api/v1/client/profile/location":{"put":{"tags":["client-profile-controller"],"operationId":"updateLocation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientLocationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientProfileResponse"}}}}}}},"/api/v1/notifications/{id}/read":{"post":{"tags":["notification-controller"],"operationId":"markRead","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NotificationResponse"}}}}}}},"/api/v1/notifications/read-all":{"post":{"tags":["notification-controller"],"operationId":"markAllRead","responses":{"204":{"description":"No Content"}}}},"/api/v1/masters/{masterId}/appointments":{"post":{"tags":["client-booking-controller"],"operationId":"book","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppointmentResponse"}}}}}}},"/api/v1/master/services":{"get":{"tags":["master-service-controller"],"operationId":"list_1","parameters":[{"name":"includeInactive","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ServiceResponse"}}}}}}},"post":{"tags":["master-service-controller"],"operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ServiceResponse"}}}}}}},"/api/v1/master/services/{serviceId}/photos":{"get":{"tags":["master-service-photo-controller"],"operationId":"list_2","parameters":[{"name":"serviceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}},"post":{"tags":["master-service-photo-controller"],"operationId":"upload","parameters":[{"name":"serviceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}},"/api/v1/master/services/{id}/restore":{"post":{"tags":["master-service-controller"],"operationId":"restore","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ServiceResponse"}}}}}}},"/api/v1/master/reviews/{id}/complaint":{"post":{"tags":["master-review-controller"],"operationId":"complain","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewComplaintRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ReviewComplaintResponse"}}}}}}},"/api/v1/master/profile/resume":{"post":{"tags":["master-profile-controller"],"operationId":"resume","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}}},"/api/v1/master/profile/publish":{"post":{"tags":["master-profile-controller"],"operationId":"publish","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}}},"/api/v1/master/profile/phone":{"post":{"tags":["master-profile-controller"],"operationId":"verifyPhone","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneVerificationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}}},"/api/v1/master/profile/pause":{"post":{"tags":["master-profile-controller"],"operationId":"pause","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}}},"/api/v1/master/profile/avatar":{"post":{"tags":["master-profile-controller"],"operationId":"uploadAvatar","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}},"delete":{"tags":["master-profile-controller"],"operationId":"deleteAvatar","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterProfileResponse"}}}}}}},"/api/v1/master/portfolio/photos":{"get":{"tags":["master-portfolio-controller"],"operationId":"list_3","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}},"post":{"tags":["master-portfolio-controller"],"operationId":"upload_1","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}},"/api/v1/master/clients":{"get":{"tags":["master-client-controller"],"operationId":"list_4","parameters":[{"name":"blocked","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"q","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientResponse"}}}}}}},"post":{"tags":["master-client-controller"],"operationId":"create_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientCreateRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}}}}},"/api/v1/master/clients/{id}/unblock":{"post":{"tags":["master-client-controller"],"operationId":"unblock","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}}}}},"/api/v1/master/clients/{id}/invitation":{"post":{"tags":["master-client-controller"],"operationId":"invite","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InvitationResponse"}}}}}}},"/api/v1/master/clients/{id}/block":{"post":{"tags":["master-client-controller"],"operationId":"block","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}}}}},"/api/v1/master/clients/{id}/avatar":{"post":{"tags":["master-client-controller"],"operationId":"uploadAvatar_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}}}},"delete":{"tags":["master-client-controller"],"operationId":"deleteAvatar_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientResponse"}}}}}}},"/api/v1/master/clients/{clientId}/notes":{"get":{"tags":["client-note-controller"],"operationId":"list_5","parameters":[{"name":"clientId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NoteResponse"}}}}}}},"post":{"tags":["client-note-controller"],"operationId":"add_1","parameters":[{"name":"clientId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NoteResponse"}}}}}}},"/api/v1/master/appointments":{"get":{"tags":["master-appointment-controller"],"operationId":"list_6","parameters":[{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagedResponseMasterAppointmentResponse"}}}}}},"post":{"tags":["master-appointment-controller"],"operationId":"create_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MasterBookingRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterAppointmentResponse"}}}}}}},"/api/v1/master/appointments/{id}/reschedule":{"post":{"tags":["master-appointment-controller"],"operationId":"reschedule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterAppointmentResponse"}}}}}}},"/api/v1/master/appointments/{id}/no-show":{"post":{"tags":["master-appointment-controller"],"operationId":"noShow","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterAppointmentResponse"}}}}}}},"/api/v1/master/appointments/{id}/cancel":{"post":{"tags":["master-appointment-controller"],"operationId":"cancel","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelRequest"}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MasterAppointmentResponse"}}}}}}},"/api/v1/master/appointments/{appointmentId}/photos":{"get":{"tags":["master-appointment-photo-controller"],"operationId":"list_7","parameters":[{"name":"appointmentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}},"post":{"tags":["master-appointment-photo-controller"],"operationId":"upload_2","parameters":[{"name":"appointmentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}},"/api/v1/invitations/accept":{"post":{"tags":["invitation-controller"],"operationId":"accept","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationAcceptRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InvitationAcceptedResponse"}}}}}}},"/api/v1/client/style/photos":{"get":{"tags":["client-style-controller"],"operationId":"listOwn","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StylePhotosResponse"}}}}}},"post":{"tags":["client-style-controller"],"operationId":"uploadOwn","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"string","format":"binary"}},"file":{"type":"string","format":"binary"}}}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StylePhotosResponse"}}}}}},"delete":{"tags":["client-style-controller"],"operationId":"deleteOwnBatch","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/client/profile/phone":{"post":{"tags":["client-profile-controller"],"operationId":"verifyPhone_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientPhoneVerificationRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientProfileResponse"}}}}}}},"/api/v1/client/profile/avatar":{"post":{"tags":["client-profile-controller"],"operationId":"uploadAvatar_2","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientProfileResponse"}}}}}},"delete":{"tags":["client-profile-controller"],"operationId":"deleteAvatar_2","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientProfileResponse"}}}}}}},"/api/v1/appointments/{id}/reschedule":{"post":{"tags":["client-booking-controller"],"operationId":"reschedule_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppointmentResponse"}}}}}}},"/api/v1/appointments/{id}/cancel":{"post":{"tags":["client-booking-controller"],"operationId":"cancel_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppointmentResponse"}}}}}}},"/api/v1/appointments/{appointmentId}/review":{"get":{"tags":["client-review-controller"],"operationId":"get_7","parameters":[{"name":"appointmentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ReviewResponse"}}}}}},"post":{"tags":["client-review-controller"],"operationId":"create_3","parameters":[{"name":"appointmentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewRequest"}}},"required":true},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ReviewResponse"}}}}}}},"/api/v1/appointments/{appointmentId}/review/photos":{"post":{"tags":["client-review-photo-controller"],"operationId":"upload_3","parameters":[{"name":"appointmentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}},"/media/{key}":{"get":{"tags":["media-controller"],"operationId":"serve","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}}}}},"/api/v1/service-categories":{"get":{"tags":["service-category-controller"],"operationId":"list_8","parameters":[{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["MALE","FEMALE","UNISEX"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CategoryResponse"}}}}}}}},"/api/v1/service-categories/{categoryId}/service-types":{"get":{"tags":["service-type-controller"],"operationId":"list_9","parameters":[{"name":"categoryId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ServiceTypeResponse"}}}}}}}},"/api/v1/reference/cities":{"get":{"tags":["reference-controller"],"operationId":"cities","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CityResponse"}}}}}}}},"/api/v1/reference/cities/nearest":{"get":{"tags":["reference-controller"],"operationId":"nearestCity","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":true,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NearestCityResponse"}}}}}}},"/api/v1/reference/cities/nearest-with-masters":{"get":{"tags":["reference-controller"],"operationId":"nearestCitiesWithMasters","parameters":[{"name":"cityId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NearbyCityResponse"}}}}}}}},"/api/v1/notifications":{"get":{"tags":["notification-controller"],"operationId":"list_10","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NotificationResponse"}}}}}}}},"/api/v1/notifications/unread-count":{"get":{"tags":["notification-controller"],"operationId":"unreadCount","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UnreadCountResponse"}}}}}}},"/api/v1/masters":{"get":{"tags":["master-search-controller"],"operationId":"search","parameters":[{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["MALE","FEMALE","UNISEX"]}},{"name":"categoryId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"serviceTypeId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"query","in":"query","required":false,"schema":{"type":"string"}},{"name":"minPrice","in":"query","required":false,"schema":{"type":"number"}},{"name":"maxPrice","in":"query","required":false,"schema":{"type":"number"}},{"name":"minRating","in":"query","required":false,"schema":{"type":"number"}},{"name":"cityId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"radiusKm","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"maxDistanceKm","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"date","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"dateTo","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"timeFrom","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"timeTo","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"RATING","enum":["RATING","PRICE","DISTANCE"]}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagedResponseMasterCardResponse"}}}}}}},"/api/v1/masters/{masterId}":{"get":{"tags":["master-discovery-controller"],"operationId":"get_8","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PublicMasterResponse"}}}}}}},"/api/v1/masters/{masterId}/social-links":{"get":{"tags":["social-link-discovery-controller"],"operationId":"list_11","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SocialLinkResponse"}}}}}}}},"/api/v1/masters/{masterId}/services":{"get":{"tags":["catalog-discovery-controller"],"operationId":"services","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["MALE","FEMALE","UNISEX"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ServiceResponse"}}}}}}}},"/api/v1/masters/{masterId}/services/{serviceId}":{"get":{"tags":["catalog-discovery-controller"],"operationId":"service","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"serviceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ServiceResponse"}}}}}}},"/api/v1/masters/{masterId}/services/{serviceId}/photos":{"get":{"tags":["media-discovery-controller"],"operationId":"servicePhotos","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"serviceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}}},"/api/v1/masters/{masterId}/reviews":{"get":{"tags":["review-discovery-controller"],"operationId":"list_12","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"ALL","enum":["ALL","UNANSWERED","WITH_PHOTOS"]}},{"name":"rating","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"NEWEST","enum":["NEWEST","RATING_HIGH","RATING_LOW"]}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagedResponsePublicReviewResponse"}}}}}}},"/api/v1/masters/{masterId}/reviews/summary":{"get":{"tags":["review-discovery-controller"],"operationId":"summary","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ReviewSummaryResponse"}}}}}}},"/api/v1/masters/{masterId}/reviews/photos":{"get":{"tags":["review-discovery-controller"],"operationId":"photos","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagedResponseReviewPhotoItemPublicReviewResponse"}}}}}}},"/api/v1/masters/{masterId}/portfolio":{"get":{"tags":["media-discovery-controller"],"operationId":"portfolio","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}}}}}}}},"/api/v1/masters/{masterId}/availability":{"get":{"tags":["availability-controller"],"operationId":"slots","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"serviceId","in":"query","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"excludeAppointmentId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SlotResponse"}}}}}}}},"/api/v1/masters/{masterId}/availability/days":{"get":{"tags":["availability-controller"],"operationId":"days","parameters":[{"name":"masterId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"serviceId","in":"query","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"excludeAppointmentId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AvailabilityDaysResponse"}}}}}}},"/api/v1/masters/price-stats":{"get":{"tags":["master-search-controller"],"operationId":"priceStats","parameters":[{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["MALE","FEMALE","UNISEX"]}},{"name":"categoryId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"serviceTypeId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"query","in":"query","required":false,"schema":{"type":"string"}},{"name":"city","in":"query","required":false,"schema":{"type":"string"}},{"name":"cityId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PriceStatsResponse"}}}}}}},"/api/v1/masters/map":{"get":{"tags":["master-search-controller"],"operationId":"map","parameters":[{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["MALE","FEMALE","UNISEX"]}},{"name":"categoryId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"serviceTypeId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"query","in":"query","required":false,"schema":{"type":"string"}},{"name":"minPrice","in":"query","required":false,"schema":{"type":"number"}},{"name":"maxPrice","in":"query","required":false,"schema":{"type":"number"}},{"name":"minRating","in":"query","required":false,"schema":{"type":"number"}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"date","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"dateTo","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"timeFrom","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"timeTo","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"minLat","in":"query","required":true,"schema":{"type":"number","format":"double"}},{"name":"maxLat","in":"query","required":true,"schema":{"type":"number","format":"double"}},{"name":"minLng","in":"query","required":true,"schema":{"type":"number","format":"double"}},{"name":"maxLng","in":"query","required":true,"schema":{"type":"number","format":"double"}},{"name":"favouritesOnly","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MasterPinResponse"}}}}}}}},"/api/v1/master/stats/earnings":{"get":{"tags":["master-stats-controller"],"operationId":"earnings","parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"WEEK","enum":["WEEK","MONTH"]}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EarningsStatsResponse"}}}}}}},"/api/v1/master/schedule":{"get":{"tags":["master-schedule-controller"],"operationId":"get_9","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ScheduleResponse"}}}}}}},"/api/v1/master/schedule/days":{"get":{"tags":["master-schedule-day-controller"],"operationId":"calendar","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CalendarDayResponse"}}}}}}}},"/api/v1/master/reviews":{"get":{"tags":["master-review-controller"],"operationId":"list_13","parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"ALL","enum":["ALL","UNANSWERED","WITH_PHOTOS"]}},{"name":"rating","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"NEWEST","enum":["NEWEST","RATING_HIGH","RATING_LOW"]}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagedResponseReviewResponse"}}}}}}},"/api/v1/master/reviews/summary":{"get":{"tags":["master-review-controller"],"operationId":"summary_1","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ReviewSummaryResponse"}}}}}}},"/api/v1/master/reviews/photos":{"get":{"tags":["master-review-controller"],"operationId":"photos_1","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagedResponseReviewPhotoItemReviewResponse"}}}}}}},"/api/v1/master/profile/invite-link":{"get":{"tags":["master-profile-controller"],"operationId":"inviteLink","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InviteLinkResponse"}}}}}}},"/api/v1/master/clients/{id}/history":{"get":{"tags":["master-client-controller"],"operationId":"history","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AppointmentResponse"}}}}}}}},"/api/v1/master/catalog":{"get":{"tags":["catalog-controller"],"operationId":"masterCatalog","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CatalogCategoryNode"}}}}}}}},"/api/v1/master/booking-pause/preview":{"get":{"tags":["master-booking-pause-controller"],"operationId":"preview","parameters":[{"name":"startAt","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"endAt","in":"query","required":true,"schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BookingPausePreviewResponse"}}}}}}},"/api/v1/master/availability":{"get":{"tags":["master-availability-controller"],"operationId":"slots_1","parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"serviceId","in":"query","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"ignoreAppointmentId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SlotResponse"}}}}}}}},"/api/v1/master/availability/nearest":{"get":{"tags":["master-availability-controller"],"operationId":"nearest","parameters":[{"name":"serviceId","in":"query","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":4}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SlotResponse"}}}}}}}},"/api/v1/master/appointments/history":{"get":{"tags":["master-appointment-controller"],"operationId":"history_1","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagedResponseMasterAppointmentResponse"}}}}}}},"/api/v1/favourites":{"get":{"tags":["favourite-controller"],"operationId":"list_14","parameters":[{"name":"lat","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MasterCardResponse"}}}}}}}},"/api/v1/client/style/master-photos":{"get":{"tags":["client-style-controller"],"operationId":"listFromMasters","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StyleMasterPhotoGroupResponse"}}}}}}}},"/api/v1/client/services":{"get":{"tags":["client-history-controller"],"operationId":"services_1","parameters":[{"name":"lat","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientServiceResponse"}}}}}}}},"/api/v1/client/reviews":{"get":{"tags":["client-history-controller"],"operationId":"reviews","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClientReviewsResponse"}}}}}}},"/api/v1/client/masters":{"get":{"tags":["client-history-controller"],"operationId":"masters","parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"ALL","enum":["ALL","FAVOURITES"]}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClientMasterResponse"}}}}}}}},"/api/v1/catalog":{"get":{"tags":["catalog-controller"],"operationId":"catalog","parameters":[{"name":"gender","in":"query","required":false,"schema":{"type":"string","enum":["MALE","FEMALE","UNISEX"]}},{"name":"kids","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"cityId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"radiusKm","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lat","in":"query","required":false,"schema":{"type":"number","format":"double"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number","format":"double"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CatalogCategoryNode"}}}}}}}},"/api/v1/auth/me":{"get":{"tags":["auth-controller"],"operationId":"me","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MeResponse"}}}}}}},"/api/v1/appointments":{"get":{"tags":["client-booking-controller"],"operationId":"list_15","parameters":[{"name":"upcoming","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagedResponseAppointmentResponse"}}}}}}},"/api/v1/appointments/{id}":{"get":{"tags":["client-booking-controller"],"operationId":"get_10","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppointmentResponse"}}}}}}},"/api/v1/master/services/{serviceId}/photos/{photoId}":{"delete":{"tags":["master-service-photo-controller"],"operationId":"delete_4","parameters":[{"name":"serviceId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"photoId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/master/portfolio/photos/{photoId}":{"delete":{"tags":["master-portfolio-controller"],"operationId":"delete_5","parameters":[{"name":"photoId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/master/appointments/{appointmentId}/photos/{photoId}":{"delete":{"tags":["master-appointment-photo-controller"],"operationId":"delete_6","parameters":[{"name":"appointmentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"photoId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/client/style/photos/{photoId}":{"delete":{"tags":["client-style-controller"],"operationId":"deleteOwn","parameters":[{"name":"photoId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/client/style/master-photos/{photoId}":{"delete":{"tags":["client-style-controller"],"operationId":"deleteFromMasters","parameters":[{"name":"photoId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}},"/api/v1/appointments/{appointmentId}/review/photos/{photoId}":{"delete":{"tags":["client-review-photo-controller"],"operationId":"delete_7","parameters":[{"name":"appointmentId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"photoId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"204":{"description":"No Content"}}}}},"components":{"schemas":{"BreakDto":{"type":"object","properties":{"start":{"type":"string","example":"14:30:00"},"end":{"type":"string","example":"14:30:00"}},"required":["end","start"]},"WorkingDayRequest":{"type":"object","properties":{"dayOfWeek":{"type":"integer","format":"int32","maximum":7,"minimum":1},"working":{"type":"boolean"},"start":{"type":"string","example":"14:30:00"},"end":{"type":"string","example":"14:30:00"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/BreakDto"}}},"required":["breaks","dayOfWeek","working"]},"WorkingHoursRequest":{"type":"object","properties":{"days":{"type":"array","items":{"$ref":"#/components/schemas/WorkingDayRequest"}},"break":{"$ref":"#/components/schemas/BreakDto"}},"required":["days"]},"ScheduleConflict":{"type":"object","properties":{"appointmentId":{"type":"integer","format":"int64"},"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"},"clientName":{"type":"string"},"serviceName":{"type":"string"}},"required":["appointmentId","endAt","serviceName","startAt"]},"ScheduleResponse":{"type":"object","properties":{"mode":{"type":"string","enum":["WEEKLY","SHIFT"]},"break":{"$ref":"#/components/schemas/BreakDto"},"week":{"type":"array","items":{"$ref":"#/components/schemas/WorkingDayResponse"}},"shift":{"$ref":"#/components/schemas/ShiftScheduleResponse"},"conflicts":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleConflict"}}},"required":["conflicts","mode","week"]},"ShiftScheduleResponse":{"type":"object","properties":{"workDays":{"type":"integer","format":"int32"},"offDays":{"type":"integer","format":"int32"},"startDate":{"type":"string","format":"date"},"start":{"type":"string","example":"14:30:00"},"end":{"type":"string","example":"14:30:00"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/BreakDto"}}},"required":["breaks","end","offDays","start","startDate","workDays"]},"WorkingDayResponse":{"type":"object","properties":{"dayOfWeek":{"type":"integer","format":"int32"},"working":{"type":"boolean"},"start":{"type":"string","example":"14:30:00"},"end":{"type":"string","example":"14:30:00"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/BreakDto"}}},"required":["breaks","dayOfWeek","working"]},"SocialLinkInput":{"type":"object","properties":{"platform":{"type":"string","enum":["INSTAGRAM","TIKTOK","TELEGRAM","YOUTUBE","FACEBOOK","VK","WEBSITE"]},"url":{"type":"string","maxLength":500,"minLength":0}},"required":["platform","url"]},"SocialLinkRequest":{"type":"object","properties":{"links":{"type":"array","items":{"$ref":"#/components/schemas/SocialLinkInput"}}},"required":["links"]},"SocialLinkResponse":{"type":"object","properties":{"platform":{"type":"string","enum":["INSTAGRAM","TIKTOK","TELEGRAM","YOUTUBE","FACEBOOK","VK","WEBSITE"]},"url":{"type":"string"}},"required":["platform","url"]},"ServiceRequest":{"type":"object","properties":{"serviceTypeId":{"type":"integer","format":"int64"},"price":{"type":"number"},"priceMax":{"type":"number"},"currency":{"type":"string","maxLength":3,"minLength":3},"durationMinutes":{"type":"integer","format":"int32"},"included":{"type":"array","items":{"type":"string"}},"description":{"type":"string","maxLength":300,"minLength":0},"active":{"type":"boolean"}},"required":["serviceTypeId"]},"ServiceResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"masterId":{"type":"integer","format":"int64"},"serviceTypeId":{"type":"integer","format":"int64"},"categoryId":{"type":"integer","format":"int64"},"subcategoryId":{"type":"integer","format":"int64"},"name":{"type":"string"},"gender":{"type":"string","enum":["MALE","FEMALE","UNISEX"]},"kids":{"type":"boolean"},"price":{"type":"number"},"priceMax":{"type":"number"},"currency":{"type":"string"},"durationMinutes":{"type":"integer","format":"int32"},"configured":{"type":"boolean"},"included":{"type":"array","items":{"type":"string"}},"description":{"type":"string"},"active":{"type":"boolean"},"appointmentsCount":{"type":"integer","format":"int32"}},"required":["active","configured","currency","gender","id","included","kids","masterId","name"]},"ServiceBatchPricingRequest":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ServicePricingItem"},"minItems":1}},"required":["items"]},"ServicePricingItem":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"price":{"type":"number"},"priceMax":{"type":"number"},"durationMinutes":{"type":"integer","format":"int32"}},"required":["durationMinutes","id","price"]},"ShiftScheduleRequest":{"type":"object","properties":{"workDays":{"type":"integer","format":"int32","maximum":7,"minimum":1},"offDays":{"type":"integer","format":"int32","maximum":7,"minimum":1},"startDate":{"type":"string","format":"date"},"start":{"type":"string","example":"14:30:00"},"end":{"type":"string","example":"14:30:00"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/BreakDto"}}},"required":["breaks","end","offDays","start","startDate","workDays"]},"DayOverrideRequest":{"type":"object","properties":{"dayOff":{"type":"boolean"},"start":{"type":"string","example":"14:30:00"},"end":{"type":"string","example":"14:30:00"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/BreakDto"}}},"required":["dayOff"]},"DayScheduleResponse":{"type":"object","properties":{"date":{"type":"string","format":"date"},"working":{"type":"boolean"},"start":{"type":"string","example":"14:30:00"},"end":{"type":"string","example":"14:30:00"},"breaks":{"type":"array","items":{"$ref":"#/components/schemas/BreakDto"}},"overridden":{"type":"boolean"},"conflicts":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleConflict"}}},"required":["breaks","conflicts","date","overridden","working"]},"ReviewReplyRequest":{"type":"object","properties":{"text":{"type":"string","maxLength":1000,"minLength":0}},"required":["text"]},"PhotoResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"url":{"type":"string"},"position":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","position","url"]},"ReviewResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"masterId":{"type":"integer","format":"int64"},"appointmentId":{"type":"integer","format":"int64"},"clientUserId":{"type":"integer","format":"int64"},"clientName":{"type":"string"},"serviceName":{"type":"string"},"visitAt":{"type":"string","format":"date-time"},"durationMinutes":{"type":"integer","format":"int32"},"price":{"type":"number"},"currency":{"type":"string"},"rating":{"type":"integer","format":"int32"},"text":{"type":"string"},"photos":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}},"replyText":{"type":"string"},"repliedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}},"required":["appointmentId","clientUserId","id","masterId","photos","rating"]},"MasterProfileRequest":{"type":"object","properties":{"name":{"type":"string","maxLength":120,"minLength":0},"lastName":{"type":"string","maxLength":120,"minLength":0},"bio":{"type":"string","maxLength":1000,"minLength":0},"cityId":{"type":"integer","format":"int64"},"address":{"type":"string","maxLength":255,"minLength":0},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"termsAccepted":{"type":"boolean"}},"required":["name","termsAccepted"]},"MasterProfileResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"lastName":{"type":"string"},"displayName":{"type":"string"},"bio":{"type":"string"},"cityId":{"type":"integer","format":"int64"},"city":{"type":"string"},"address":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"avatarUrl":{"type":"string"},"phone":{"type":"string"},"phoneVerified":{"type":"boolean"},"audience":{"type":"string","enum":["WOMEN","MEN","ALL"]},"kidsServices":{"type":"boolean"},"termsAccepted":{"type":"boolean"},"status":{"type":"string","enum":["DRAFT","PUBLISHED","PAUSED","UNPUBLISHED"]},"moderationNote":{"type":"string"},"publishedAt":{"type":"string","format":"date-time"},"paused":{"type":"boolean"},"pausedAt":{"type":"string","format":"date-time"},"upcomingAppointmentsCount":{"type":"integer","format":"int64"},"blocked":{"type":"boolean"},"ratingAvg":{"type":"number"},"ratingCount":{"type":"integer","format":"int32"},"readiness":{"$ref":"#/components/schemas/ReadinessResponse"},"onboarding":{"$ref":"#/components/schemas/OnboardingResponse"},"shareLink":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["blocked","displayName","id","kidsServices","name","onboarding","paused","phoneVerified","ratingAvg","ratingCount","readiness","status","termsAccepted","upcomingAppointmentsCount"]},"OnboardingResponse":{"type":"object","properties":{"completed":{"type":"boolean"},"nextStep":{"type":"string","enum":["PROFILE","SCHEDULE","AUDIENCE","SERVICES","ACTIVATION"]}},"required":["completed"]},"ReadinessResponse":{"type":"object","properties":{"ready":{"type":"boolean"},"missing":{"type":"array","items":{"type":"string","enum":["NAME","PHONE","CITY","ADDRESS","AUDIENCE","TERMS","ACTIVE_SERVICE","SCHEDULE"]}},"recommended":{"type":"array","items":{"type":"string","enum":["AVATAR","LOCATION","PORTFOLIO","SERVICE_DESCRIPTIONS","SOCIAL_LINKS"]}}},"required":["missing","ready","recommended"]},"AudienceRequest":{"type":"object","properties":{"audience":{"type":"string","enum":["WOMEN","MEN","ALL"]},"kidsServices":{"type":"boolean"}},"required":["audience","kidsServices"]},"ClientUpdateRequest":{"type":"object","properties":{"firstName":{"type":"string","maxLength":120,"minLength":0},"lastName":{"type":"string","maxLength":120,"minLength":0},"phone":{"type":"string","maxLength":32,"minLength":0}},"required":["firstName","phone"]},"ClientResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"userId":{"type":"integer","format":"int64"},"linked":{"type":"boolean"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"username":{"type":"string"},"avatarUrl":{"type":"string"},"blocked":{"type":"boolean"},"blockedAt":{"type":"string","format":"date-time"},"visitsCount":{"type":"integer","format":"int32"},"lastVisitAt":{"type":"string","format":"date-time"},"nextAppointmentAt":{"type":"string","format":"date-time"},"notesCount":{"type":"integer","format":"int32"},"lastNote":{"$ref":"#/components/schemas/NoteResponse"},"invitation":{"$ref":"#/components/schemas/InvitationResponse"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["blocked","firstName","id","linked","notesCount","visitsCount"]},"InvitationResponse":{"type":"object","properties":{"token":{"type":"string"},"link":{"type":"string"},"invitedAt":{"type":"string","format":"date-time"}},"required":["token"]},"NoteResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"text":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","text"]},"NoteRequest":{"type":"object","properties":{"text":{"type":"string","maxLength":300,"minLength":0}},"required":["text"]},"BookingPauseRequest":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"},"message":{"type":"string","maxLength":300,"minLength":0},"replace":{"type":"boolean"}},"required":["endAt","replace"]},"BookingPauseResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"},"message":{"type":"string"},"appointments":{"type":"integer","format":"int32"},"clients":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"}},"required":["appointments","clients","endAt","id","startAt"]},"AppointmentEditRequest":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"serviceId":{"type":"integer","format":"int64"}}},"AppointmentClientDetails":{"type":"object","properties":{"masterClientId":{"type":"integer","format":"int64"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phone":{"type":"string"},"username":{"type":"string"},"registered":{"type":"boolean"},"avatarUrl":{"type":"string"},"note":{"type":"string"}},"required":["registered"]},"CancellationResponse":{"type":"object","properties":{"by":{"type":"string","enum":["MASTER","CLIENT"]},"message":{"type":"string"},"at":{"type":"string","format":"date-time"}},"required":["at","by"]},"MasterAppointmentResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"serviceId":{"type":"integer","format":"int64"},"serviceName":{"type":"string"},"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"},"price":{"type":"number"},"currency":{"type":"string"},"status":{"type":"string","enum":["CONFIRMED","COMPLETED","CANCELLED","NO_SHOW"]},"note":{"type":"string"},"cancellation":{"$ref":"#/components/schemas/CancellationResponse"},"noShowAt":{"type":"string","format":"date-time"},"client":{"$ref":"#/components/schemas/AppointmentClientDetails"}},"required":["currency","endAt","id","price","serviceName","startAt","status"]},"ClientProfileRequest":{"type":"object","properties":{"displayName":{"type":"string","maxLength":120,"minLength":0},"phone":{"type":"string","maxLength":32,"minLength":0},"cityId":{"type":"integer","format":"int64"},"city":{"type":"string","maxLength":120,"minLength":0},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"avatarUrl":{"type":"string"},"termsAccepted":{"type":"boolean"}},"required":["termsAccepted"]},"ClientProfileResponse":{"type":"object","properties":{"displayName":{"type":"string"},"phone":{"type":"string"},"phoneVerified":{"type":"boolean"},"cityId":{"type":"integer","format":"int64"},"city":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"nearestCity":{"$ref":"#/components/schemas/NearestCityResponse"},"avatarUrl":{"type":"string"},"termsAccepted":{"type":"boolean"},"onboardingCompleted":{"type":"boolean"},"pendingReviews":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["onboardingCompleted","pendingReviews","phoneVerified","termsAccepted"]},"NearestCityResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"distanceKm":{"type":"number","format":"double"}},"required":["distanceKm","id","latitude","longitude","name"]},"ClientLocationRequest":{"type":"object","properties":{"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"}},"required":["latitude","longitude"]},"NotificationResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"type":{"type":"string","enum":["APPOINTMENT_CREATED","APPOINTMENT_CONFIRMED","APPOINTMENT_CANCELLED","APPOINTMENT_COMPLETED","APPOINTMENT_RESCHEDULED","APPOINTMENT_REMINDER","BOOKING_PAUSED","REVIEW_RECEIVED","REVIEW_REPLY"]},"appointmentId":{"type":"integer","format":"int64"},"reviewId":{"type":"integer","format":"int64"},"clientName":{"type":"string"},"masterName":{"type":"string"},"serviceName":{"type":"string"},"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"},"previousStartAt":{"type":"string","format":"date-time"},"serviceTypeId":{"type":"integer","format":"int64"},"rating":{"type":"integer","format":"int32"},"message":{"type":"string"},"read":{"type":"boolean"},"readAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","read","type"]},"BookingRequest":{"type":"object","properties":{"serviceId":{"type":"integer","format":"int64"},"startAt":{"type":"string","format":"date-time"},"note":{"type":"string","maxLength":500,"minLength":0}},"required":["serviceId","startAt"]},"AppointmentMasterResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"displayName":{"type":"string"},"avatarUrl":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"phone":{"type":"string"},"telegramUsername":{"type":"string"}},"required":["displayName","id"]},"AppointmentResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"masterId":{"type":"integer","format":"int64"},"clientUserId":{"type":"integer","format":"int64"},"masterClientId":{"type":"integer","format":"int64"},"serviceId":{"type":"integer","format":"int64"},"serviceName":{"type":"string"},"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"},"price":{"type":"number"},"currency":{"type":"string"},"status":{"type":"string","enum":["CONFIRMED","COMPLETED","CANCELLED","NO_SHOW"]},"note":{"type":"string"},"cancellation":{"$ref":"#/components/schemas/CancellationResponse"},"noShowAt":{"type":"string","format":"date-time"},"master":{"$ref":"#/components/schemas/AppointmentMasterResponse"}},"required":["currency","endAt","id","masterId","price","serviceName","startAt","status"]},"ServiceBatchCreateRequest":{"type":"object","properties":{"serviceTypeIds":{"type":"array","items":{"type":"integer","format":"int64"},"minItems":1}},"required":["serviceTypeIds"]},"ReviewComplaintRequest":{"type":"object","properties":{"reason":{"type":"string","enum":["INSULT","SPAM","NOT_A_CLIENT","OTHER"]},"comment":{"type":"string","maxLength":300,"minLength":0}},"required":["reason"]},"ReviewComplaintResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"reviewId":{"type":"integer","format":"int64"},"reason":{"type":"string","enum":["INSULT","SPAM","NOT_A_CLIENT","OTHER"]},"comment":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","reason","reviewId"]},"PhoneVerificationRequest":{"type":"object","properties":{"payload":{"type":"string","minLength":1}},"required":["payload"]},"ClientCreateRequest":{"type":"object","properties":{"firstName":{"type":"string","maxLength":120,"minLength":0},"lastName":{"type":"string","maxLength":120,"minLength":0},"phone":{"type":"string","maxLength":32,"minLength":0},"note":{"type":"string","maxLength":2000,"minLength":0},"invite":{"type":"boolean"}},"required":["firstName","invite","phone"]},"MasterBookingRequest":{"type":"object","properties":{"masterClientId":{"type":"integer","format":"int64"},"client":{"$ref":"#/components/schemas/NewClientRequest"},"serviceId":{"type":"integer","format":"int64"},"startAt":{"type":"string","format":"date-time"},"note":{"type":"string","maxLength":500,"minLength":0}},"required":["serviceId","startAt"]},"NewClientRequest":{"type":"object","properties":{"firstName":{"type":"string","maxLength":120,"minLength":0},"lastName":{"type":"string","maxLength":120,"minLength":0},"phone":{"type":"string","maxLength":32,"minLength":0}},"required":["firstName","phone"]},"RescheduleRequest":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"}},"required":["startAt"]},"CancelRequest":{"type":"object","properties":{"message":{"type":"string","maxLength":300,"minLength":0}}},"InvitationAcceptRequest":{"type":"object","properties":{"token":{"type":"string","maxLength":64,"minLength":0}},"required":["token"]},"InvitationAcceptedResponse":{"type":"object","properties":{"masterId":{"type":"integer","format":"int64"},"masterName":{"type":"string"}},"required":["masterId"]},"StylePhotosResponse":{"type":"object","properties":{"photos":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}},"limit":{"type":"integer","format":"int32"},"remaining":{"type":"integer","format":"int32"}},"required":["limit","photos","remaining"]},"ClientPhoneVerificationRequest":{"type":"object","properties":{"payload":{"type":"string","minLength":1}},"required":["payload"]},"ReviewRequest":{"type":"object","properties":{"rating":{"type":"integer","format":"int32","maximum":5,"minimum":1},"text":{"type":"string","maxLength":1000,"minLength":0}},"required":["rating"]},"AppointmentStatusRequest":{"type":"object","properties":{"status":{"type":"string","enum":["CONFIRMED","COMPLETED","CANCELLED","NO_SHOW"]}},"required":["status"]},"CategoryResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"gender":{"type":"string","enum":["MALE","FEMALE","UNISEX"]},"icon":{"type":"string"},"position":{"type":"integer","format":"int32"}},"required":["gender","id","name","position"]},"ServiceTypeResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"categoryId":{"type":"integer","format":"int64"},"subcategoryId":{"type":"integer","format":"int64"},"name":{"type":"string"},"subtitle":{"type":"string"},"kids":{"type":"boolean"},"position":{"type":"integer","format":"int32"}},"required":["categoryId","id","kids","name","position"]},"CityResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"mastersCount":{"type":"integer","format":"int64"}},"required":["id","mastersCount","name"]},"NearbyCityResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"distanceKm":{"type":"number","format":"double"},"mastersCount":{"type":"integer","format":"int64"}},"required":["distanceKm","id","latitude","longitude","mastersCount","name"]},"UnreadCountResponse":{"type":"object","properties":{"unread":{"type":"integer","format":"int64"}},"required":["unread"]},"MasterCardResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"displayName":{"type":"string"},"avatarUrl":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"ratingAvg":{"type":"number"},"ratingCount":{"type":"integer","format":"int32"},"priceFrom":{"type":"number"},"currency":{"type":"string"},"distanceKm":{"type":"number","format":"double"},"service":{"$ref":"#/components/schemas/MatchedServiceResponse"},"favourite":{"type":"boolean"}},"required":["displayName","favourite","id","ratingAvg","ratingCount"]},"MatchedServiceResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"durationMinutes":{"type":"integer","format":"int32"},"price":{"type":"number"},"priceMax":{"type":"number"},"currency":{"type":"string"}},"required":["currency","durationMinutes","id","name","price"]},"PagedResponseMasterCardResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/MasterCardResponse"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"hasNext":{"type":"boolean"}},"required":["content","hasNext","page","size","totalElements","totalPages"]},"BookingPausePeriod":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["endAt","startAt"]},"PublicMasterResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"displayName":{"type":"string"},"bio":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"avatarUrl":{"type":"string"},"phone":{"type":"string"},"telegramUsername":{"type":"string"},"ratingAvg":{"type":"number"},"ratingCount":{"type":"integer","format":"int32"},"priceFrom":{"type":"number"},"currency":{"type":"string"},"distanceKm":{"type":"number","format":"double"},"favourite":{"type":"boolean"},"servicesCount":{"type":"integer","format":"int32"},"portfolioCount":{"type":"integer","format":"int64"},"today":{"$ref":"#/components/schemas/TodayWindowResponse"},"nextSlotAt":{"type":"string","format":"date-time"},"bookingPause":{"$ref":"#/components/schemas/BookingPausePeriod"}},"required":["displayName","favourite","id","portfolioCount","ratingAvg","ratingCount","servicesCount"]},"TodayWindowResponse":{"type":"object","properties":{"from":{"type":"string","example":"14:30:00"},"to":{"type":"string","example":"14:30:00"}},"required":["from","to"]},"PagedResponsePublicReviewResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/PublicReviewResponse"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"hasNext":{"type":"boolean"}},"required":["content","hasNext","page","size","totalElements","totalPages"]},"PublicReviewResponse":{"type":"object","properties":{"clientName":{"type":"string"},"serviceName":{"type":"string"},"visitAt":{"type":"string","format":"date-time"},"durationMinutes":{"type":"integer","format":"int32"},"price":{"type":"number"},"currency":{"type":"string"},"rating":{"type":"integer","format":"int32"},"text":{"type":"string"},"photos":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}},"replyText":{"type":"string"},"repliedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}},"required":["photos","rating"]},"ReviewSummaryResponse":{"type":"object","properties":{"ratingAvg":{"type":"number"},"ratingCount":{"type":"integer","format":"int32"},"byRating":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"unanswered":{"type":"integer","format":"int64"},"withPhotos":{"type":"integer","format":"int64"},"photosCount":{"type":"integer","format":"int64"}},"required":["byRating","photosCount","ratingAvg","ratingCount","unanswered","withPhotos"]},"PagedResponseReviewPhotoItemPublicReviewResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ReviewPhotoItemPublicReviewResponse"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"hasNext":{"type":"boolean"}},"required":["content","hasNext","page","size","totalElements","totalPages"]},"ReviewPhotoItemPublicReviewResponse":{"type":"object","properties":{"photo":{"$ref":"#/components/schemas/PhotoResponse"},"review":{"$ref":"#/components/schemas/PublicReviewResponse"}},"required":["photo","review"]},"SlotResponse":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["endAt","startAt"]},"AvailabilityDayResponse":{"type":"object","properties":{"date":{"type":"string","format":"date"},"freeSlots":{"type":"integer","format":"int32"}},"required":["date","freeSlots"]},"AvailabilityDaysResponse":{"type":"object","properties":{"days":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilityDayResponse"}},"nextAvailableDate":{"type":"string","format":"date"}},"required":["days"]},"PriceStatsResponse":{"type":"object","properties":{"avgPrice":{"type":"number"},"minPrice":{"type":"number"},"maxPrice":{"type":"number"},"count":{"type":"integer","format":"int64"},"currency":{"type":"string"}},"required":["count"]},"MasterPinResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"displayName":{"type":"string"},"avatarUrl":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"address":{"type":"string"},"ratingAvg":{"type":"number"},"ratingCount":{"type":"integer","format":"int32"},"priceFrom":{"type":"number"},"currency":{"type":"string"},"distanceKm":{"type":"number","format":"double"},"service":{"$ref":"#/components/schemas/MatchedServiceResponse"},"favourite":{"type":"boolean"}},"required":["displayName","favourite","id","latitude","longitude","ratingAvg","ratingCount"]},"DailyEarnings":{"type":"object","properties":{"date":{"type":"string","format":"date"},"amount":{"type":"number"}},"required":["amount","date"]},"EarningsStatsResponse":{"type":"object","properties":{"period":{"type":"string","enum":["WEEK","MONTH"]},"total":{"type":"number"},"previousTotal":{"type":"number"},"changePercent":{"type":"integer","format":"int32"},"currency":{"type":"string"},"daily":{"type":"array","items":{"$ref":"#/components/schemas/DailyEarnings"}}},"required":["currency","daily","period","previousTotal","total"]},"CalendarDayResponse":{"type":"object","properties":{"date":{"type":"string","format":"date"},"working":{"type":"boolean"},"start":{"type":"string","example":"14:30:00"},"end":{"type":"string","example":"14:30:00"},"overridden":{"type":"boolean"},"appointmentCount":{"type":"integer","format":"int32"},"paused":{"type":"boolean"}},"required":["appointmentCount","date","overridden","paused","working"]},"PagedResponseReviewResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ReviewResponse"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"hasNext":{"type":"boolean"}},"required":["content","hasNext","page","size","totalElements","totalPages"]},"PagedResponseReviewPhotoItemReviewResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ReviewPhotoItemReviewResponse"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"hasNext":{"type":"boolean"}},"required":["content","hasNext","page","size","totalElements","totalPages"]},"ReviewPhotoItemReviewResponse":{"type":"object","properties":{"photo":{"$ref":"#/components/schemas/PhotoResponse"},"review":{"$ref":"#/components/schemas/ReviewResponse"}},"required":["photo","review"]},"InviteLinkResponse":{"type":"object","properties":{"link":{"type":"string"}}},"CatalogCategoryNode":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"gender":{"type":"string","enum":["MALE","FEMALE","UNISEX"]},"icon":{"type":"string"},"position":{"type":"integer","format":"int32"},"subcategories":{"type":"array","items":{"$ref":"#/components/schemas/CatalogSubcategoryNode"}},"types":{"type":"array","items":{"$ref":"#/components/schemas/CatalogTypeNode"}}},"required":["gender","id","name","position","subcategories","types"]},"CatalogSubcategoryNode":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"icon":{"type":"string"},"position":{"type":"integer","format":"int32"},"types":{"type":"array","items":{"$ref":"#/components/schemas/CatalogTypeNode"}}},"required":["id","name","position","types"]},"CatalogTypeNode":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"subtitle":{"type":"string"},"kids":{"type":"boolean"},"position":{"type":"integer","format":"int32"},"serviceId":{"type":"integer","format":"int64"},"mastersNearby":{"type":"integer","format":"int64"},"priceFrom":{"type":"number"},"currency":{"type":"string"}},"required":["id","kids","name","position"]},"BookingPausePreviewResponse":{"type":"object","properties":{"appointments":{"type":"integer","format":"int32"},"clients":{"type":"integer","format":"int32"}},"required":["appointments","clients"]},"PagedResponseMasterAppointmentResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/MasterAppointmentResponse"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"hasNext":{"type":"boolean"}},"required":["content","hasNext","page","size","totalElements","totalPages"]},"StyleMasterPhotoGroupResponse":{"type":"object","properties":{"appointmentId":{"type":"integer","format":"int64"},"serviceName":{"type":"string"},"startAt":{"type":"string","format":"date-time"},"masterName":{"type":"string"},"photos":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}}},"required":["appointmentId","photos","serviceName","startAt"]},"ClientServiceResponse":{"type":"object","properties":{"serviceTypeId":{"type":"integer","format":"int64"},"name":{"type":"string"},"categoryId":{"type":"integer","format":"int64"},"categoryName":{"type":"string"},"subcategoryId":{"type":"integer","format":"int64"},"subcategoryName":{"type":"string"},"timesDone":{"type":"integer","format":"int32"},"lastAt":{"type":"string","format":"date-time"},"lastPrice":{"type":"number"},"avgPrice":{"type":"number"},"currency":{"type":"string"},"lastMaster":{"$ref":"#/components/schemas/MasterCardResponse"},"lastServiceId":{"type":"integer","format":"int64"}},"required":["avgPrice","currency","lastAt","lastPrice","name","timesDone"]},"ClientReviewResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"appointmentId":{"type":"integer","format":"int64"},"masterId":{"type":"integer","format":"int64"},"masterName":{"type":"string"},"masterAvatarUrl":{"type":"string"},"serviceName":{"type":"string"},"visitAt":{"type":"string","format":"date-time"},"durationMinutes":{"type":"integer","format":"int32"},"price":{"type":"number"},"currency":{"type":"string"},"rating":{"type":"integer","format":"int32"},"text":{"type":"string"},"photos":{"type":"array","items":{"$ref":"#/components/schemas/PhotoResponse"}},"replyText":{"type":"string"},"repliedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}},"required":["appointmentId","id","masterId","photos","rating"]},"ClientReviewsResponse":{"type":"object","properties":{"pending":{"type":"array","items":{"$ref":"#/components/schemas/PendingReviewResponse"}},"reviews":{"type":"array","items":{"$ref":"#/components/schemas/ClientReviewResponse"}}},"required":["pending","reviews"]},"PendingReviewResponse":{"type":"object","properties":{"appointmentId":{"type":"integer","format":"int64"},"masterId":{"type":"integer","format":"int64"},"masterName":{"type":"string"},"masterAvatarUrl":{"type":"string"},"serviceName":{"type":"string"},"visitAt":{"type":"string","format":"date-time"},"durationMinutes":{"type":"integer","format":"int32"},"price":{"type":"number"},"currency":{"type":"string"}},"required":["appointmentId","currency","durationMinutes","masterId","price","serviceName","visitAt"]},"ClientMasterResponse":{"type":"object","properties":{"master":{"$ref":"#/components/schemas/MasterCardResponse"},"visits":{"type":"integer","format":"int32"},"lastVisit":{"$ref":"#/components/schemas/LastVisitResponse"}},"required":["master","visits"]},"LastVisitResponse":{"type":"object","properties":{"appointmentId":{"type":"integer","format":"int64"},"at":{"type":"string","format":"date-time"},"serviceId":{"type":"integer","format":"int64"},"serviceName":{"type":"string"},"price":{"type":"number"},"currency":{"type":"string"},"durationMinutes":{"type":"integer","format":"int32"}},"required":["appointmentId","at","currency","durationMinutes","price","serviceName"]},"MeResponse":{"type":"object","properties":{"userId":{"type":"integer","format":"int64"},"telegramId":{"type":"integer","format":"int64"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"app":{"type":"string","enum":["MASTER","CLIENT"]},"roles":{"type":"array","items":{"type":"string"}},"onboardingCompleted":{"type":"boolean"},"timeZone":{"type":"string"},"paused":{"type":"boolean"},"pausedAt":{"type":"string","format":"date-time"}},"required":["app","roles","telegramId","timeZone","userId"]},"PagedResponseAppointmentResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/AppointmentResponse"}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"hasNext":{"type":"boolean"}},"required":["content","hasNext","page","size","totalElements","totalPages"]}},"securitySchemes":{"telegram":{"type":"apiKey","description":"Telegram Mini App initData, sent as: `tma <initData>`","name":"Authorization","in":"header"}}}}