{"openapi":"3.0.1","info":{"title":"API Gateway","description":"Gateway for Keanu Services, containing 'public' facing API endpoints","version":"1.0"},"servers":[{"url":"/"}],"paths":{"/user/v1/users/{id}":{"get":{"tags":["user-controller"],"operationId":"getById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}},"put":{"tags":["user-controller"],"operationId":"update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}},"delete":{"tags":["user-controller"],"operationId":"delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"hardDelete","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/user/v1/users/notes/{noteId}":{"get":{"tags":["user-controller"],"operationId":"getUserNoteById","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"includeDeleted","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NoteDto"}}}}}},"put":{"tags":["user-controller"],"operationId":"updateUserNote","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NoteDto"}}}}}},"delete":{"tags":["user-controller"],"operationId":"deleteUserNote","parameters":[{"name":"noteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/trainer/v1/trainers/{trainerId}/certifications/{id}":{"put":{"tags":["certification-controller"],"operationId":"update_1","parameters":[{"name":"trainerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificationUpdateRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CertificationDto"}}}}}}},"/trainer/v1/trainers/{id}":{"get":{"tags":["trainer-controller"],"operationId":"findById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"includeDeleted","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TrainerDto"}}}}}},"put":{"tags":["trainer-controller"],"operationId":"update_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainerUpdateRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TrainerDto"}}}}}},"delete":{"tags":["trainer-controller"],"operationId":"delete_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/trainer/v1/trainers/{id}/bios":{"put":{"tags":["trainer-controller"],"operationId":"updateBio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainerBioCreationRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TrainerDto"}}}}}}},"/trainer/v1/teams/{id}":{"get":{"tags":["team-controller"],"operationId":"getById_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}},"put":{"tags":["team-controller"],"operationId":"updateTeam","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}},"delete":{"tags":["team-controller"],"operationId":"deleteTeam","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/trainer/v1/regions/{id}":{"get":{"tags":["region-controller"],"operationId":"getById_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}},"put":{"tags":["region-controller"],"operationId":"updateRegion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}},"delete":{"tags":["region-controller"],"operationId":"deleteRegion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/trainer/v1/region-groups/{id}":{"get":{"tags":["region-group-controller"],"operationId":"getById_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}},"put":{"tags":["region-group-controller"],"operationId":"updateRegionGroup","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionGroupRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}},"delete":{"tags":["region-group-controller"],"operationId":"deleteRegion_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/library/v1/workouts/{id}":{"get":{"tags":["workout-controller"],"operationId":"getWorkoutById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WorkoutDto"}}}}}},"put":{"tags":["workout-controller"],"operationId":"updateWorkout","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkoutRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WorkoutDto"}}}}}},"delete":{"tags":["workout-controller"],"operationId":"deleteWorkout","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/library/v1/workouts/{id}/active-address/toggle":{"put":{"tags":["workout-controller"],"operationId":"toggleActiveAddress","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WorkoutDto"}}}}}}},"/library/v1/tags/{id}":{"get":{"tags":["tag-controller"],"operationId":"findTagById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TagDto"}}}}}},"put":{"tags":["tag-controller"],"operationId":"updateTag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TagDto"}}}}}},"delete":{"tags":["tag-controller"],"operationId":"deleteTag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/library/v1/promotions/{id}":{"get":{"tags":["promotion-controller"],"operationId":"findPromotionById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PromotionDto"}}}}}},"put":{"tags":["promotion-controller"],"operationId":"updatePromotion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PromotionDto"}}}}}},"delete":{"tags":["promotion-controller"],"operationId":"deletePromotion","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/library/v1/programs/{id}":{"get":{"tags":["program-controller"],"operationId":"findById_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramDto"}}}}}},"put":{"tags":["program-controller"],"operationId":"updateProgram","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramDto"}}}}}}},"/library/v1/program-schedules/{id}":{"get":{"tags":["program-schedule-controller"],"operationId":"findById_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramScheduleDto"}}}}}},"put":{"tags":["program-schedule-controller"],"operationId":"updateProgramSchedules","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramScheduleRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramScheduleDto"}}}}}},"delete":{"tags":["program-schedule-controller"],"operationId":"deleteById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/library/v1/program-schedules/changes/{id}":{"put":{"tags":["program-schedule-change-controller"],"operationId":"updateProgramSchedules_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramScheduleChangeRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramScheduleChangeDto"}}}}}},"delete":{"tags":["program-schedule-change-controller"],"operationId":"deleteById_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/library/v1/products/{id}":{"put":{"tags":["product-controller"],"operationId":"updateProduct","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"updateStripe","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}}}}},"/library/v1/product-details/{id}":{"put":{"tags":["product-detail-controller"],"operationId":"updateProductDetail","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDetailRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProductDetailDto"}}}}}}},"/library/v1/prices/{id}":{"put":{"tags":["price-controller"],"operationId":"updatePrice","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"updateStripe","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PriceDto"}}}}}}},"/library/v1/perks/{id}":{"get":{"tags":["perk-controller"],"operationId":"findPerkById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PerkDto"}}}}}},"put":{"tags":["perk-controller"],"operationId":"updatePerk","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerkRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PerkDto"}}}}}},"delete":{"tags":["perk-controller"],"operationId":"deletePromotion_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/library/v1/coupons/{id}":{"get":{"tags":["coupon-controller"],"operationId":"findById_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CouponDto"}}}}}},"put":{"tags":["coupon-controller"],"operationId":"updateCoupon","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"updateStripe","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponUpdateRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CouponDto"}}}}}},"delete":{"tags":["coupon-controller"],"operationId":"deleteCoupon","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"deleteFromStripe","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/library/v1/addresses/{id}":{"get":{"tags":["address-controller"],"operationId":"findById_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AddressDto"}}}}}},"put":{"tags":["address-controller"],"operationId":"updateAddress","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AddressDto"}}}}}}},"/engagement/v1/ratings/{id}":{"put":{"tags":["rating-controller"],"operationId":"updateRating","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RatingUpdateRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RatingDto"}}}}}}},"/engagement/v1/challenges/{id}":{"get":{"tags":["challenge-controller"],"operationId":"getChallengeById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}}},"put":{"tags":["challenge-controller"],"operationId":"updateCheckin","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}}},"delete":{"tags":["challenge-controller"],"operationId":"deleteChallenge","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/communication/v1/conversations/{conversationId}/contact/{contactId}":{"put":{"tags":["conversation-controller"],"operationId":"resetUnreadMessagesCountByConversationAndContact","parameters":[{"name":"conversationId","in":"path","required":true,"schema":{"type":"string"}},{"name":"contactId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/communication/v1/contact/{contactId}/trainer-sms-enabled":{"put":{"tags":["contact-controller"],"operationId":"optOutTrainerSms","parameters":[{"name":"contactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"trainerSmsEnabled","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ContactDto"}}}}}}},"/communication/v1/contact/{contactId}/system-sms-enabled":{"put":{"tags":["contact-controller"],"operationId":"optOutSystemSms","parameters":[{"name":"contactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"systemSmsEnabled","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ContactDto"}}}}}}},"/communication/v1/contact/{contactId}/sms-enabled":{"put":{"tags":["contact-controller"],"operationId":"optOutSms","parameters":[{"name":"contactId","in":"path","required":true,"schema":{"type":"string"}},{"name":"smsEnabled","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ContactDto"}}}}}}},"/communication/v1/contact/trainer/{trainerServiceId}/auth-to-send/{contactIdToRemove}":{"put":{"tags":["contact-controller"],"operationId":"removeFromAuthToSend","parameters":[{"name":"trainerServiceId","in":"path","required":true,"schema":{"type":"string"}},{"name":"contactIdToRemove","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/communication/v1/contact/add-to-auth-to-send":{"put":{"tags":["contact-controller"],"operationId":"resetUnreadMessagesCountByConversationAndContact_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkAddToAuthToSendDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BulkAddToAuthToSendResponseDto"}}}}}}},"/billing/v1/transactions/{id}/refund":{"put":{"tags":["transaction-controller"],"summary":"Refund transaction by id, this refunds either completely or partially a transaction.","operationId":"refundTransaction","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"amount","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/billing/v1/transactions/invoices/{id}/pay":{"put":{"tags":["transaction-controller"],"operationId":"payInvoice","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/billing/v1/subscriptions/{id}":{"put":{"tags":["subscription-controller"],"operationId":"updateSubscription","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionUpdateRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubscriptionDto"}}}}}},"delete":{"tags":["subscription-controller"],"operationId":"delete_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"reason","in":"query","required":false,"schema":{"type":"string","enum":["MEDICAL","TRAINER_LEFT","WORKOUT_SCHEDULE_CHANGES","COST","PROGRAM_NOT_A_GOOD_FIT","MEMBERSHIP_MANAGEMENT","ENVIRONMENTAL_FACTORS","TAKING_BREAK"]}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/billing/v1/subscriptions/{id}/upgrade":{"put":{"tags":["subscription-controller"],"operationId":"upgradeSubscription","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionUpgradeRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubscriptionDto"}}}}}}},"/billing/v1/subscriptions/{id}/payments":{"put":{"tags":["subscription-controller"],"summary":"Update a subscription by id, with corresponding paymentId.","operationId":"updateSubscriptionPaymentMethod","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPaymentUpdateDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/billing/v1/subscriptions/{id}/cancel":{"put":{"tags":["subscription-controller"],"summary":"DELETE subscription by id, this cancels a subscription at the specified date.","operationId":"cancel","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cancelAt","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"reason","in":"query","required":false,"schema":{"type":"string","enum":["MEDICAL","TRAINER_LEFT","WORKOUT_SCHEDULE_CHANGES","COST","PROGRAM_NOT_A_GOOD_FIT","MEMBERSHIP_MANAGEMENT","ENVIRONMENTAL_FACTORS","TAKING_BREAK"]}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/billing/v1/subscriptions/{id}/accept-terms-and-conditions":{"put":{"tags":["subscription-controller"],"operationId":"acceptTermsAndConditions","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubscriptionDto"}}}}}}},"/billing/v1/subscriptions/programs/{programId}":{"put":{"tags":["subscription-controller"],"summary":"DELETE subscriptions by programId, this cancels all active subscriptions tied to a program at the specified date.","operationId":"cancelSubscriptionsByProgramId","parameters":[{"name":"programId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cancelAt","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"reason","in":"query","required":false,"schema":{"type":"string","enum":["MEDICAL","TRAINER_LEFT","WORKOUT_SCHEDULE_CHANGES","COST","PROGRAM_NOT_A_GOOD_FIT","MEMBERSHIP_MANAGEMENT","ENVIRONMENTAL_FACTORS","TAKING_BREAK"]}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubscriptionCanceledResponseDto"}}}}}}},"/billing/v1/subscriptions/program-schedules/{programScheduleId}":{"put":{"tags":["subscription-controller"],"summary":"DELETE subscriptions by programScheduleId, this cancels all active subscriptions tied to a program schedule at the specified date.","operationId":"cancelSubscriptionsByProgramScheduleId","parameters":[{"name":"programScheduleId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"cancelAt","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"reason","in":"query","required":false,"schema":{"type":"string","enum":["MEDICAL","TRAINER_LEFT","WORKOUT_SCHEDULE_CHANGES","COST","PROGRAM_NOT_A_GOOD_FIT","MEMBERSHIP_MANAGEMENT","ENVIRONMENTAL_FACTORS","TAKING_BREAK"]}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubscriptionCanceledResponseDto"}}}}}}},"/billing/v1/subscription-reassigns/apply":{"put":{"tags":["subscription-reassign-controller"],"operationId":"applySchedulesSubscriptionReassignsForToday","responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubscriptionReassignsResponseDto"}}}}}}},"/billing/v1/products/{id}":{"get":{"tags":["billing-products-controller"],"operationId":"getProductById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}}}},"put":{"tags":["billing-products-controller"],"operationId":"updateProduct_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}}}},"delete":{"tags":["billing-products-controller"],"operationId":"deleteProduct","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/billing/v1/prices/{id}":{"put":{"tags":["billing-prices-controller"],"summary":"Currently this archives the existing price in Stripe(as stripe prices cannot be deleted if active subscriptions are tied to them) and creates a new Price, Prices are not stored internally in billing service only referenced by stripe id.","operationId":"updateStripePrice","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PriceDto"}}}}}}},"/billing/v1/payment-methods/{id}":{"put":{"tags":["payment-method-controller"],"summary":"Update an user payment method. Currently only allows to set a payment method as default","operationId":"updatePaymentMethod","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePaymentMethodDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaymentMethodDto"}}}}}}},"/billing/v1/organizations/{orgId}":{"get":{"tags":["organization-controller"],"operationId":"get_1","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}}}}},"put":{"tags":["organization-controller"],"operationId":"update_3","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}}}}},"delete":{"tags":["organization-controller"],"operationId":"delete_4","parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/billing/v1/finders-launchers/child/{id}":{"put":{"tags":["finder-launcher-controller"],"operationId":"update_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FinderLauncherDto"}}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FinderLauncherDto"}}}}}}}},"/auth/v1/users":{"put":{"tags":["auth-user-controller"],"operationId":"updateUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthenticatedUserDto"}}}}}},"post":{"tags":["auth-user-controller"],"operationId":"register","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterUserRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthenticatedUserDto"}}}}}}},"/auth/v1/passwords":{"put":{"tags":["password-controller"],"operationId":"updatePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePasswordRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/auth/v1/passwords/resets/{token}":{"put":{"tags":["password-controller"],"operationId":"requestPasswordRequest","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetApplyDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/user/v1/users":{"get":{"tags":["user-controller"],"summary":"GET User(s) by a variety of Request Parameters, this GET is an overloaded method which swagger does not handle well so the request params listed as required are incorrect. Only a single param to filter by is needed. By Default all users are returned.","operationId":"getByPhoneNumber_1_1_1_1_1_1","parameters":[{"name":"phoneNumber","in":"query","description":"users phone number, this requires country code to be included ex: 18887776666, this is an overload only phoneNumber is required if using this query param.","required":true,"schema":{"type":"string"}},{"name":"phoneContains","in":"query","description":"user's phone with partial matches, this is an overload only phoneContains is required if using this query param.","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":40}},{"name":"nationUserId","in":"query","description":"users nation id, this is an overload only nationUserId is required if using this query param.","required":true,"schema":{"type":"string"}},{"name":"includeDeleted","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"name","in":"query","description":"user's name (will match partial for the full name, e.g. 'Tester' will match 'William McTester' and 'Testerson Williams'), this is an overload only name is required if using this query param.","required":true,"schema":{"type":"string"}},{"name":"emailContains","in":"query","description":"user's email with partial matches, this is an overload only emailContains is required if using this query param.","required":true,"schema":{"type":"string"}},{"name":"email","in":"query","description":"users email this includes the suffix @whatever.com, this is an overload only email is required if using this query param.","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/UserDto"}},{"$ref":"#/components/schemas/UserDto"}]}}}}}},"post":{"tags":["user-controller"],"operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreationRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}}},"/user/v1/users/{id}/notes":{"get":{"tags":["user-controller"],"operationId":"getAllUserNotes","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"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}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["ASC","DESC"],"default":"ASC"}},{"name":"includeDeleted","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageNoteDto"}}}}}},"post":{"tags":["user-controller"],"operationId":"createUserNote","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NoteDto"}}}}}}},"/user/v1/users/{id}/images":{"post":{"tags":["user-controller"],"operationId":"uploadUserImage","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["image"],"type":"object","properties":{"image":{"type":"string","format":"binary"}}}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}}},"/user/v1/users/nearby":{"post":{"tags":["user-controller"],"operationId":"getNearbyUsersAssociatedToTrainers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NearbyUsersFilterDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"}}}}}}}},"/user/onboarding":{"get":{"tags":["user-controller"],"operationId":"getOnboardingDataByUserId","parameters":[{"name":"authenticatedUserId","in":"header","required":true,"schema":{"type":"string"}},{"name":"authenticatedUserRole","in":"header","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/OnboardingResponse"}}}}}},"post":{"tags":["user-controller"],"operationId":"submit","parameters":[{"name":"authenticatedUserId","in":"header","required":true,"schema":{"type":"string"}},{"name":"authenticatedUserRole","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/OnboardingResponse"}}}}}}},"/trainer/v1/trainers":{"get":{"tags":["trainer-controller"],"summary":"GET Trainer(s) by a variety of Request Parameters, this GET is an overloaded method which swagger does not handle well so the request params listed as required are incorrect. Only a single param to filter by is needed.","operationId":"findAll_1_1_1_1_1_1","parameters":[{"name":"includeDeleted","in":"query","description":"include archived/deleted trainers, by default false","required":false,"schema":{"type":"boolean","default":false}},{"name":"userId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"nationTrainerId","in":"query","required":true,"schema":{"type":"string"}},{"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":40}},{"name":"name","in":"query","description":"trainer's name can be partial or full","required":true,"schema":{"type":"string"}},{"name":"localeId","in":"query","description":"keanu division id, trainers are directly linked to their associated division","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"emailPrefix","in":"query","description":"email, this can contain the @suffix.com as the suffix is trimmed at the service","required":true,"schema":{"type":"string"}},{"name":"approvedProgram","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TrainerDto"},{"type":"array","items":{"$ref":"#/components/schemas/TrainerDto"}},{"$ref":"#/components/schemas/PageTrainerDto"}]}}}}}},"post":{"tags":["trainer-controller"],"operationId":"create_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainerCreationRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TrainerDto"}}}}}}},"/trainer/v1/trainers/{trainerId}/certifications":{"get":{"tags":["certification-controller"],"operationId":"getAllCertificationsByTrainerId","parameters":[{"name":"trainerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CertificationDto"}}}}}}},"post":{"tags":["certification-controller"],"operationId":"create_2","parameters":[{"name":"trainerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificationCreationRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CertificationDto"}}}}}}},"/trainer/v1/trainers/filters":{"post":{"tags":["trainer-controller"],"operationId":"findByFilters","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrainerFilterDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrainerDto"}}}}}}}},"/trainer/v1/teams":{"get":{"tags":["team-controller"],"operationId":"findAll","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":40}},{"name":"includeInactive","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageLocaleDto"}}}}}},"post":{"tags":["team-controller"],"operationId":"createTeam","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}}},"/trainer/v1/regions":{"get":{"tags":["region-controller"],"operationId":"findAll_1_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":40}},{"name":"includeInactive","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"nationId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"oneOf":[{"$ref":"#/components/schemas/LocaleDto"},{"$ref":"#/components/schemas/PageLocaleDto"}]}}}}}},"post":{"tags":["region-controller"],"operationId":"createRegion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}}},"/trainer/v1/region-groups":{"get":{"tags":["region-group-controller"],"operationId":"findAll_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":40}},{"name":"includeInactive","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageLocaleDto"}}}}}},"post":{"tags":["region-group-controller"],"operationId":"createRegionGroup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionGroupRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LocaleDto"}}}}}}},"/nutrition/v1/recipes":{"get":{"tags":["nutrition-controller"],"operationId":"getRecipes","parameters":[{"name":"filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/FilterRecipeRequestDto"}},{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageRecipeDto"}}}}}},"post":{"tags":["nutrition-controller"],"operationId":"createRecipe","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateRecipeRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RecipeDto"}}}}}}},"/nutrition/v1/meal-plans":{"get":{"tags":["nutrition-controller"],"operationId":"getMealPlans","parameters":[{"name":"week","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"startDate","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageMealPlanDto"}}}}}},"post":{"tags":["nutrition-controller"],"operationId":"generateMealPlan","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateMealPlanRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MealPlanDto"}}}}}}},"/nutrition/v1/meal-plans/recipes/substitute":{"post":{"tags":["nutrition-controller"],"operationId":"substituteMealPlanRecipeIngredient","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubstituteMealPlanRecipeRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MealPlanDto"}}}}}}},"/library/v1/workouts":{"get":{"tags":["workout-controller"],"operationId":"get","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":40}},{"name":"filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/WorkoutFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageWorkoutDto"}}}}}},"post":{"tags":["workout-controller"],"operationId":"createWorkout","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkoutRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WorkoutDto"}}}}}}},"/library/v1/workouts/programs":{"post":{"tags":["workout-controller"],"operationId":"programConfig","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WorkoutProgramResponseDto"}}}}}}},"/library/v1/webhooks":{"post":{"tags":["webhook-controller"],"operationId":"receive","parameters":[{"name":"Stripe-Signature","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/library/v1/tags":{"get":{"tags":["tag-controller"],"operationId":"findAllTags","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":40}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTagDto"}}}}}},"post":{"tags":["tag-controller"],"operationId":"createTag","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TagDto"}}}}}}},"/library/v1/promotions":{"get":{"tags":["promotion-controller"],"operationId":"findPromotionsByFilter","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":40}},{"name":"productType","in":"query","required":false,"schema":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]}},{"name":"productSubType","in":"query","required":false,"schema":{"type":"string","enum":["ONLINE","IN_PERSON"]}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagePromotionDto"}}}}}},"post":{"tags":["promotion-controller"],"operationId":"createPromotion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PromotionDto"}}}}}}},"/library/v1/promotion-sources":{"get":{"tags":["promotion-source-controller"],"operationId":"findPromotionSources","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":40}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagePromotionSourceDto"}}}}}},"post":{"tags":["promotion-source-controller"],"operationId":"createPromotionSource","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionSourceRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PromotionSourceDto"}}}}}}},"/library/v1/programs":{"get":{"tags":["program-controller"],"operationId":"findAllPrograms","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":40}},{"name":"productType","in":"query","required":false,"schema":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageProgramDto"}}}}}},"post":{"tags":["program-controller"],"operationId":"createProgram","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramDto"}}}}}}},"/library/v1/program-schedules":{"get":{"tags":["program-schedule-controller"],"operationId":"findAllProgramSchedules","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":100}},{"name":"programId","in":"query","required":false,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageProgramScheduleDto"}}}}}},"post":{"tags":["program-schedule-controller"],"operationId":"createProgramSchedule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramScheduleRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramScheduleDto"}}}}}}},"/library/v1/program-schedules/changes":{"get":{"tags":["program-schedule-change-controller"],"operationId":"findAllProgramScheduleChanges","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":40}},{"name":"programScheduleId","in":"query","required":false,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageProgramScheduleChangeDto"}}}}}},"post":{"tags":["program-schedule-change-controller"],"operationId":"createProgramScheduleChange","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramScheduleChangeRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramScheduleChangeDto"}}}}}}},"/library/v1/products":{"get":{"tags":["product-controller"],"operationId":"findAllProducts","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":40}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageProductDto"}}}}}},"post":{"tags":["product-controller"],"operationId":"createProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}}}}},"/library/v1/product-details":{"get":{"tags":["product-detail-controller"],"operationId":"findAllProductDetails","parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]}},{"name":"subType","in":"query","required":false,"schema":{"type":"string","enum":["ONLINE","IN_PERSON"]}},{"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":40}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageProductDetailDto"}}}}}},"post":{"tags":["product-detail-controller"],"operationId":"createProductDetail","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDetailRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProductDetailDto"}}}}}}},"/library/v1/prices":{"get":{"tags":["price-controller"],"operationId":"findAllPrices","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":40}},{"name":"productId","in":"query","required":false,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagePriceDto"}}}}}},"post":{"tags":["price-controller"],"operationId":"createPrice","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PriceDto"}}}}}}},"/library/v1/perks":{"get":{"tags":["perk-controller"],"operationId":"findPerksByFilter","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":40}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["PRODUCT","CHALLENGE","OTHER"]}},{"name":"includeDeleted","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagePerkDto"}}}}}},"post":{"tags":["perk-controller"],"operationId":"createPerk","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerkRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PerkDto"}}}}}}},"/library/v1/coupons":{"get":{"tags":["coupon-controller"],"operationId":"findAllCoupons","parameters":[{"name":"findCouponFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/FindCouponFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageCouponDto"}}}}}},"post":{"tags":["coupon-controller"],"operationId":"createCoupon","parameters":[{"name":"updateStripe","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CouponDto"}}}}}}},"/library/v1/addresses":{"get":{"tags":["address-controller"],"operationId":"findAllAddresses_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":40}},{"name":"name","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/AddressDto"}},{"$ref":"#/components/schemas/PageAddressDto"}]}}}}}},"post":{"tags":["address-controller"],"operationId":"createAddress","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AddressDto"}}}}}}},"/engagement/v1/ratings":{"get":{"tags":["rating-controller"],"operationId":"getRatingsByFilter","parameters":[{"name":"filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/RatingFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageRatingDto"}}}}}},"post":{"tags":["rating-controller"],"operationId":"createRating","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RatingRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RatingDto"}}}}}}},"/engagement/v1/favorites":{"post":{"tags":["favorite-controller"],"operationId":"createFavorite","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FavoriteCreationRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/FavoriteDto"}}}}}},"delete":{"tags":["favorite-controller"],"operationId":"deleteFavorite","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FavoriteDeleteRequestDto"}}}},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/engagement/v1/checkins":{"get":{"tags":["checkin-controller"],"operationId":"getAll_1","parameters":[{"name":"filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CheckinFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageCheckinWithUserDetailsDto"}}}}}},"post":{"tags":["checkin-controller"],"operationId":"createCheckin","parameters":[{"name":"includeLegacyCheckins","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckinCreationRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CheckinDto"}}}}}}},"/engagement/v1/checkins/eligibility":{"post":{"tags":["checkin-controller"],"operationId":"isEligibleForCheckin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckinCreationRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CheckinEligibilityResponseDto"}}}}}}},"/engagement/v1/challenges":{"get":{"tags":["challenge-controller"],"operationId":"getChallengesByFilter","parameters":[{"name":"filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChallengeFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageChallengeDto"}}}}}},"post":{"tags":["challenge-controller"],"operationId":"createCheckin_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}}}},"/engagement/v1/challenges/{id}/user/{userId}":{"post":{"tags":["challenge-controller"],"operationId":"registerUserIntoChallenge","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengeRegisteredDto"}}}}}}},"/engagement/v1/challenges/progress":{"post":{"tags":["challenge-controller"],"operationId":"getChallengesProgressByUsers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeProgressFilterDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserChallengeProgressDto"}}}}}}}},"/engagement/v1/cgfits":{"post":{"tags":["cg-fit-controller"],"operationId":"createCgFit","parameters":[{"name":"authenticatedUserId","in":"header","required":true,"schema":{"type":"string"}},{"name":"authenticatedUserRole","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CgFitRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CGFitMetricResponse"}}}}}}}},"/communication/v1/twilio":{"post":{"tags":["sms-webhook-handler-controller"],"operationId":"handleSmsResponse","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SmsInboundRequestDto"}}}},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/communication/v1/twilio/{conversationId}/message-status":{"post":{"tags":["sms-status-webhook-handler-controller"],"operationId":"handleSmsResponse_1","parameters":[{"name":"conversationId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/TwilioStatusUpdateDto"}}}},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/communication/v1/notifications/tokens":{"post":{"tags":["push-notification-controller"],"operationId":"upsertFirebaseNotificationToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirebaseNotificationTokenCreationRequest"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created"}}}},"/communication/v1/messages":{"post":{"tags":["message-controller"],"operationId":"sendMessage","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"messageSendRequestDto":{"$ref":"#/components/schemas/MessageSendRequestDto"},"attachment":{"type":"string","format":"binary"}}}},"application/json":{"schema":{"type":"object","properties":{"messageSendRequestDto":{"$ref":"#/components/schemas/MessageSendRequestDto"},"attachment":{"type":"string","format":"binary"}}}}}},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/communication/api/twilio/system":{"post":{"tags":["system-sms-webhook-handler-controller"],"operationId":"handleSmsResponse_2","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SmsInboundRequestDto"}}}},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/billing/v1/webhooks":{"post":{"tags":["webhook-controller"],"operationId":"customerCreated","parameters":[{"name":"Stripe-Signature","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/billing/v1/transactions":{"get":{"tags":["transaction-controller"],"summary":"GET Transactions(s) by Request Params, this GET is an overloaded method which swagger does not handle well so the request params listed as required are incorrect. Only a single param to filter by is needed.","operationId":"getByStripeInvoiceIdId_1_1","parameters":[{"name":"invoiceId","in":"query","required":true,"schema":{"type":"string"}},{"name":"customerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"description","in":"query","required":true,"schema":{"type":"string"}},{"name":"successOnly","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/TransactionDto"}},{"$ref":"#/components/schemas/TransactionDto"}]}}}}}},"post":{"tags":["transaction-controller"],"summary":"Create a transaction, this creates a charge in stripe for the given customer.","operationId":"createTransaction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created"}}}},"/billing/v1/subscriptions":{"get":{"tags":["subscription-controller"],"operationId":"findAll_2","parameters":[{"name":"findSubscriptionsRequestDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/QuerySubscriptionsRequestDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageSubscriptionDto"}}}}}},"post":{"tags":["subscription-controller"],"operationId":"create_3_1","parameters":[{"name":"perk","in":"query","required":false,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionCreationRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionWithPerkDto"},{"$ref":"#/components/schemas/SubscriptionDto"}]}}}}}}},"/billing/v1/subscriptions/search":{"post":{"tags":["subscription-controller"],"operationId":"advancedSearch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedSearchSubscriptionsRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageSubscriptionWithUserDetailsDto"}}}}}}},"/billing/v1/subscription-reassigns/nutrition":{"post":{"tags":["subscription-reassign-controller"],"operationId":"createNutritionSubscriptionReassign","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NutritionSubscriptionReassignRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubscriptionReassignDto"}}}}}}},"/billing/v1/subscription-reassigns/bootcamp":{"post":{"tags":["subscription-reassign-controller"],"operationId":"createBootcampSubscriptionReassign","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BootcampSubscriptionReassignRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SubscriptionReassignDto"}}}}}}},"/billing/v1/products":{"get":{"tags":["billing-products-controller"],"operationId":"getProductByStripeId_1","parameters":[{"name":"stripeProductId","in":"query","required":true,"schema":{"type":"string"}},{"name":"productType","in":"query","required":true,"schema":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]}},{"name":"productSubType","in":"query","required":false,"schema":{"type":"string","enum":["ONLINE","IN_PERSON"]}},{"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":40}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PageProductDto"},{"$ref":"#/components/schemas/ProductDto"}]}}}}}},"post":{"tags":["billing-products-controller"],"operationId":"createProduct_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProductDto"}}}}}}},"/billing/v1/prices":{"post":{"tags":["billing-prices-controller"],"summary":"Creates a Price in Stripe, Prices are not stored internally in billing service only referenced by stripe id.","operationId":"createStripePrice","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PriceDto"}}}}}}},"/billing/v1/payments/tips":{"post":{"tags":["payment-controller"],"description":"NOTE: Stripe stores the amount using integer numbers using the last two digits as decimals.\nWhen sending the `amount` please take into account that USD1 = 100, USD25 = 2500, USD100.50 = 10050.\nPlease normalize the expected value before calling to the endpoint.\n","operationId":"createTip","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TipRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaymentDto"}}}}}}},"/billing/v1/payments/freezes":{"post":{"tags":["payment-controller"],"description":"NOTE: Stripe stores the amount using integer numbers using the last two digits as decimals.\nWhen sending the `amount` please take into account that USD1 = 100, USD25 = 2500, USD100.50 = 10050.\nPlease normalize the expected value before calling to the endpoint.\n","operationId":"createFreeze","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreezeRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaymentDto"}}}}}}},"/billing/v1/payment-methods/setup-intents":{"post":{"tags":["payment-method-controller"],"summary":"Create a setup intent and return its id along with the client secret. Used to collect payment information from the user in the UI","description":"The userId is only used when the customerId is null and we need to create a Stripe customer before to add the payment method. If customerId is provided then userId will be ignored","operationId":"createSetupIntent","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSetupIntentRequestDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SetupIntentResponseDto"}}}}}}},"/billing/v1/organizations":{"get":{"tags":["organization-controller"],"summary":"GET Organizations(s), this GET is an overloaded method which swagger does not handle well so the request params listed as required are incorrect. Only a single param to filter by is needed. By Default all orgs are returned.","operationId":"getAll_2_1_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":40}},{"name":"type","in":"query","required":true,"schema":{"type":"string","enum":["GLOBAL","NATIONAL","REGIONAL","LOCAL"]}},{"name":"name","in":"query","description":"organization's name can be partial or full","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/OrganizationDto"}},{"$ref":"#/components/schemas/PageOrganizationDto"}]}}}}}},"post":{"tags":["organization-controller"],"operationId":"create_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/OrganizationDto"}}}}}}},"/billing/v1/finders-launchers":{"post":{"tags":["finder-launcher-controller"],"operationId":"create_4","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FinderLauncherDto"}}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"201":{"description":"Created","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FinderLauncherDto"}}}}}}}},"/billing/v1/customers":{"post":{"tags":["customer-controller"],"operationId":"create_5","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CustomerDto"}}}}}}},"/auth/v1/passwords/resets":{"post":{"tags":["password-controller"],"description":"The user can reset the password using an email or a phone","operationId":"requestPasswordRequest_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetByPhoneOrEmailDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/auth/v1/logout":{"post":{"tags":["authentication-controller"],"operationId":"logout","responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK"}}}},"/auth/v1/authorizations":{"post":{"tags":["authentication-controller"],"operationId":"validateAccess","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthenticatedUserDto"}}}}}}},"/auth/v1/authentications":{"post":{"tags":["authentication-controller"],"description":"The user can generate a token using an email or a phone and a password","operationId":"generateToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticationByPhoneOrEmailDto"}}},"required":true},"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TokenResponseDto"}}}}}}},"/user/v1/users/{id}/revisions":{"get":{"tags":["user-controller"],"operationId":"getRevisions","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fetchChanges","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/user/v1/users/{id}/referrals":{"get":{"tags":["user-controller"],"operationId":"getReferrals","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"userReferralsFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserReferralsFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserReferralsDto"}}}}}}},"/user/v1/users/summaries":{"get":{"tags":["user-controller"],"summary":"GET User(s) summary(es) by filter.\nIf 'fieldsLike' parameter is specified, then it will search if the given value is like email or like name or like phone.\nIf you have to filter by specific field you can send any of the following parameters: 'emailLike', 'phoneLike' or 'nameLike'.\n","operationId":"getByFilter","parameters":[{"name":"filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/UserFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageUserSummaryDto"}}}}}}},"/trainer/v1/trainers/{id}/schedule":{"get":{"tags":["trainer-workout-controller"],"summary":"GET training sessions by trainer id","operationId":"getTrainerWorkoutSchedule","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WorkoutScheduleDto"}}}}}}},"/trainer/v1/trainers/{id}/revisions":{"get":{"tags":["trainer-controller"],"operationId":"getRevisions_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fetchChanges","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/trainer/v1/trainers/recommended":{"get":{"tags":["trainer-controller"],"operationId":"getRecommendedTrainer","parameters":[{"name":"trainerRecommendedFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TrainerRecommendedFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TrainerDto"}}}}}}},"/trainer/v1/trainers/nutrition-information":{"get":{"tags":["trainer-controller"],"summary":"GET list of nutrition approved Trainers","operationId":"getWithNutritionApprovals","responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrainerNutritionInformationDto"}}}}}}}},"/trainer/v1/regions/{id}/teams":{"get":{"tags":["region-controller"],"summary":"GET page of teams by their parent(region) id","operationId":"findAllTeams","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":40}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageLocaleDto"}}}}}}},"/trainer/v1/region-groups/{id}/regions":{"get":{"tags":["region-group-controller"],"summary":"GET page of regions by their parent(region-group) id","operationId":"findAllRegions","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":40}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageLocaleDto"}}}}}}},"/reporting/v1/subscriptions/sales.csv":{"get":{"tags":["reporting-subscription-controller"],"operationId":"getSubscriptionsBySellingTrainerCSVReport","parameters":[{"name":"salesRepId","in":"query","required":false,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"text/csv":{"schema":{"type":"array","items":{"type":"string","format":"byte"}}}}}}}},"/nutrition/v1/recipes/{id}":{"get":{"tags":["nutrition-controller"],"operationId":"getRecipeById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RecipeDto"}}}}}},"delete":{"tags":["nutrition-controller"],"operationId":"deleteRecipe","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/nutrition/v1/meal-plans/{id}":{"get":{"tags":["nutrition-controller"],"operationId":"getMealPlanById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MealPlanDto"}}}}}},"delete":{"tags":["nutrition-controller"],"operationId":"deleteMealPlan","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/nutrition/v1/meal-plans/users/{id}":{"get":{"tags":["nutrition-controller"],"operationId":"getUsersMealPlansById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"pageable","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Pageable"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageMealPlanDto"}}}}}}},"/library/v1/workouts/upcoming/nearby":{"get":{"tags":["workout-controller"],"operationId":"findUpcomingNearbyWorkouts","parameters":[{"name":"filterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/WorkoutNearbyFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkoutWithCheckinEligibilityDto"}}}}}}}},"/library/v1/workouts/trainers/{trainerId}":{"get":{"tags":["workout-controller"],"operationId":"getWorkoutSummaryByTrainerId","parameters":[{"name":"trainerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkoutSummaryDto"}}}}}}}},"/library/v1/workouts/summaries":{"get":{"tags":["workout-controller"],"operationId":"getWorkoutSummariesByFilter","parameters":[{"name":"filterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/WorkoutDetailedSummaryFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageWorkoutDetailedSummaryDto"}}}}}}},"/library/v1/workouts/eligibility":{"get":{"tags":["workout-controller"],"operationId":"findEligibleWorkoutsByUserAndTrainer","parameters":[{"name":"workoutsEligibleFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/WorkoutsEligibleFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkoutExtractDto"}}}}}}}},"/library/v1/tags/default":{"get":{"tags":["tag-controller"],"operationId":"findAllTagsIncludingDefault","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":40}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTagDto"}}}}}}},"/library/v1/promotions/actives":{"get":{"tags":["promotion-controller"],"operationId":"findActivePromotions","parameters":[{"name":"productType","in":"query","required":false,"schema":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]}},{"name":"productSubType","in":"query","required":false,"schema":{"type":"string","enum":["ONLINE","IN_PERSON"]}},{"name":"sourceName","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PromotionDto"}}}}}}}},"/library/v1/programs/{id}/summary":{"get":{"tags":["program-controller"],"operationId":"findProgramSummaryById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramSummaryDto"}}}}}}},"/library/v1/programs/{id}/revisions":{"get":{"tags":["program-controller"],"operationId":"getRevisions_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fetchChanges","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/library/v1/programs/summaries":{"get":{"tags":["program-controller"],"operationId":"findProgramSummariesByTrainerName","parameters":[{"name":"trainerName","in":"query","required":true,"schema":{"type":"string"}},{"name":"includeDeleted","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProgramSummaryDto"}}}}}}}},"/library/v1/programs/full":{"get":{"tags":["program-controller"],"operationId":"findFullProgramsFiltered","parameters":[{"name":"programFullFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProgramFullFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProgramFullDto"}}}}}}},"/library/v1/program-schedules/{id}/revisions":{"get":{"tags":["program-schedule-controller"],"operationId":"getRevisions_3","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fetchChanges","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/library/v1/program-schedules/filtered":{"get":{"tags":["program-schedule-controller"],"operationId":"filterProgramSchedules","parameters":[{"name":"programScheduleFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ProgramScheduleFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageProgramScheduleWithTrainerDto"}}}}}}},"/library/v1/product-details/summaries":{"get":{"tags":["product-detail-controller"],"operationId":"findFilteredSummaries","parameters":[{"name":"trainerId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"productType","in":"query","required":false,"schema":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProductDetailSummaryDto"}}}}}}}},"/library/v1/addresses/trainers/{trainerId}":{"get":{"tags":["address-controller"],"operationId":"findAddressesUsedByTrainerIdWithName","parameters":[{"name":"trainerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"addressName","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AddressDto"}}}}}}}},"/library/v1/addresses/nearby":{"get":{"tags":["address-controller"],"summary":"Returns the nearby addresses with active schedules for the given latitude and longitude coordinates.","description":"<b>radius</b> is expressed in kilometers. Default value 25000 (25Km) <br><br> <b>timeFrom</b>, <b>timeTo</b> format is \"HH:mm\"","operationId":"findNearbyAddresses","parameters":[{"name":"addressNearbyFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AddressNearbyFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AddressWithSchedulesDto"}}}}}}}},"/engagement/v1/externals/bookings":{"get":{"tags":["external-booking-controller"],"operationId":"getAll","parameters":[{"name":"filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ExternalBookingFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageExternalBookingDto"}}}}}}},"/engagement/v1/externals/booking/workouts/{workoutId}/bookings":{"get":{"tags":["external-booking-controller"],"operationId":"getBookingsByWorkout","parameters":[{"name":"workoutId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExternalBookingWithUserDto"}}}}}}}},"/engagement/v1/checkins/{id}":{"get":{"tags":["checkin-controller"],"operationId":"getCheckinById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"includeLegacyCheckins","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CheckinDto"}}}}}},"delete":{"tags":["checkin-controller"],"operationId":"deleteCheckin","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/engagement/v1/checkins/{id}/summary":{"get":{"tags":["checkin-controller"],"operationId":"getCheckinSummaryById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CheckinSummaryDto"}}}}}}},"/engagement/v1/checkins/{id}/revisions":{"get":{"tags":["checkin-controller"],"operationId":"getRevisions_4","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fetchChanges","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/engagement/v1/checkins/workouts/{workoutId}":{"get":{"tags":["checkin-controller"],"operationId":"getUsersThatCheckedIntoTheWorkout","parameters":[{"name":"workoutId","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":{"maximum":40,"type":"integer","format":"int32","default":20}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageCheckedInUsersDto"}}}}}}},"/engagement/v1/checkins/workouts/{workoutId}/totals":{"get":{"tags":["checkin-controller"],"operationId":"getCheckinByWorkoutIdTotals","parameters":[{"name":"workoutId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CheckinWorkoutTotalsDto"}}}}}}},"/engagement/v1/checkins/users/{id}/count":{"get":{"tags":["checkin-controller"],"operationId":"getCheckinsCountByUserId","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"includeLegacyCheckins","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TotalCheckinsDto"}}}}}}},"/engagement/v1/challenges/{id}/revisions":{"get":{"tags":["challenge-controller"],"operationId":"getRevisions_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fetchChanges","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/engagement/v1/challenges/{id}/progress":{"get":{"tags":["challenge-controller"],"operationId":"getChallengeProgress","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengeProgressDto"}}}}}}},"/engagement/v1/challenges/challenge-registrants":{"get":{"tags":["challenge-controller"],"operationId":"getChallengeRegistrants","parameters":[{"name":"filter","in":"query","required":true,"schema":{"$ref":"#/components/schemas/ChallengeRegistrantsFilter"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageChallengeRegistrantsResponseDto"}}}}}}},"/engagement/v1/challenges/challenge-registrants/summary":{"get":{"tags":["challenge-controller"],"operationId":"getChallengeRegistrantsSummaryByServicingTrainer","parameters":[{"name":"servicingTrainerId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengeRegistrantsSummaryResponseDto"}}}}}}},"/engagement/v1/challenges/challenge-registrants/not-subscribed":{"get":{"tags":["challenge-controller"],"operationId":"getMyCampersNotParticipatingInChallenges","parameters":[{"name":"servicingTrainerId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CamperSubscriptionData"}}}}}}}},"/communication/v1/conversations":{"get":{"tags":["conversation-controller"],"operationId":"listConversations","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["ALL","READ","UNREAD"],"default":"ALL"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ConversationPageDto"}}}}}}},"/communication/v1/contact/users/{userId}/contact-preferences":{"get":{"tags":["contact-controller"],"operationId":"getContactPreferences","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ContactDto"}}}}}}},"/billing":{"get":{"tags":["finder-launcher-controller"],"operationId":"getByParent_1","parameters":[{"name":"parentId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"childId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FinderLauncherDto"}}}}}}}},"/billing/v1/users/{userId}/subscriptions":{"get":{"tags":["subscription-controller"],"operationId":"findAllByUserId","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"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":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageSubscriptionDto"}}}}}}},"/billing/v1/users/{userId}/subscriptions/summaries":{"get":{"tags":["subscription-controller"],"operationId":"findUserSubscriptionsSummary","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"subscriptionSummaryFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SubscriptionSummaryFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionSummaryDto"}}}}}}}},"/billing/v1/subscriptions/{subscriptionId}/line-items":{"get":{"tags":["line-item-controller"],"summary":"GET line-item(s) by subscription id, this can also take a valid start and end date time to further filter results.","operationId":"findAllBySubscriptionId","parameters":[{"name":"subscriptionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"queryLineItemsRequestDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/QueryLineItemsRequestDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageLineItemDto"}}}}}}},"/billing/v1/subscriptions/{id}/revisions":{"get":{"tags":["subscription-controller"],"operationId":"getRevisions_6","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fetchChanges","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/billing/v1/subscriptions/{id}/payment-methods":{"get":{"tags":["subscription-controller"],"operationId":"findSubscriptionPaymentMethod","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaymentMethodDto"}}}}}}},"/billing/v1/subscriptions/trainers/{trainerId}/upcomingEndingContracts":{"get":{"tags":["subscription-controller"],"operationId":"getSubscriptionsWithUpcomingEndingContract","parameters":[{"name":"trainerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"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":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageSubscriptionWithUserDetailsDto"}}}}}}},"/billing/v1/subscriptions/trainers/{trainerId}/summary":{"get":{"tags":["subscription-controller"],"operationId":"getTrainerSubscriptionSummary","parameters":[{"name":"trainerId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TrainerSubscriptionSummaryDto"}}}}}}},"/billing/v1/subscriptions/cancellation-reasons":{"get":{"tags":["subscription-controller"],"operationId":"getCancellationReasons","responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}}}}},"/billing/v1/subscription-reassigns":{"get":{"tags":["subscription-reassign-controller"],"operationId":"findAllSubscriptionReassigns","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":40}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageSubscriptionReassignDto"}}}}}}},"/billing/v1/products/{productId}/subscriptions":{"get":{"tags":["subscription-controller"],"operationId":"findAllByProductId","parameters":[{"name":"productId","in":"path","required":true,"schema":{"type":"string"}},{"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":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageSubscriptionDto"}}}}}}},"/billing/v1/prices/olds":{"get":{"tags":["billing-prices-controller"],"operationId":"getBootcampOldPrices","responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PriceDto"}}}}}}}},"/billing/v1/payments":{"get":{"tags":["payment-controller"],"description":"NOTE: Stripe stores the amount using integer numbers using the last two digits as decimals.\nWhen displaying the `amount` please take into account that USD1 = 100, USD25 = 2500, USD100.50 = 10050.\nPlease normalize the expected value before displaying the value.\n","operationId":"getPaymentsByFilter","parameters":[{"name":"paymentFilterDto","in":"query","required":true,"schema":{"$ref":"#/components/schemas/PaymentFilterDto"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagePaymentDto"}}}}}}},"/billing/v1/payment-methods":{"get":{"tags":["payment-method-controller"],"summary":"GET User cards(s), this GET receives a stripe customer id which will be used to retrieve the user's payment methods from stripe.","operationId":"findAll_3","parameters":[{"name":"stripeCustomerId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethodDto"}}}}}}}},"/billing/v1/line-items":{"get":{"tags":["line-item-controller"],"summary":"GET line-item(s) by stripe customer id, this can also take a valid start and end date time to further filter results.","operationId":"findAllByStripeCustomerId","parameters":[{"name":"stripeCustomerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"startDate","in":"query","required":false,"schema":{"type":"string","format":"date"}},{"name":"endDate","in":"query","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LineItemDto"}}}}}}}},"/auth/v1/refresh-tokens/{id}":{"get":{"tags":["authentication-controller"],"operationId":"refreshToken","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TokenResponseDto"}}}}}}},"/trainer/v1/trainers/certifications/{id}":{"delete":{"tags":["certification-controller"],"operationId":"delete_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/trainer/v1/teams/{id}/assignments/{assignmentId}":{"delete":{"tags":["team-controller"],"operationId":"deleteTeamAssignment","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"assignmentId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/trainer/v1/regions/{id}/assignments/{assignmentId}":{"delete":{"tags":["region-controller"],"operationId":"deleteRegionAssignments","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"assignmentId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/trainer/v1/region-groups/{id}/assignments/{assignmentId}":{"delete":{"tags":["region-group-controller"],"operationId":"deleteRegionAssignments_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"assignmentId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/engagement/v1/favorites/{id}":{"delete":{"tags":["favorite-controller"],"operationId":"deleteFavoriteById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/communication/v1/notifications/tokens/{token}":{"delete":{"tags":["push-notification-controller"],"operationId":"deleteFirebaseNotificationToken","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}},"/billing/v1/finders-launchers/{id}":{"delete":{"tags":["finder-launcher-controller"],"operationId":"delete_5","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"422":{"description":"Unprocessable Entity","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorDTO"}}}},"204":{"description":"No Content"}}}}},"components":{"schemas":{"ErrorDTO":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"status":{"type":"integer","format":"int32"},"error":{"type":"string"},"message":{"type":"string"},"path":{"type":"string"}}},"UserUpdateRequestDto":{"required":["email","phone"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"nationUserId":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"dateOfBirth":{"type":"string","format":"date-time"},"firstName":{"type":"string"},"lastName":{"type":"string"},"emergencyContactName":{"type":"string"},"emergencyContactPhone":{"type":"string"},"shirtSize":{"type":"string","enum":["XSMALL","SMALL","MEDIUM","LARGE","XLARGE","XXLARGE","XXXLARGE"]},"imageURL":{"type":"string"},"workoutTimePreference":{"type":"string","enum":["EARLYMORNING","LATEMORNING","MIDDAY","EVENING"]},"workoutTypePreference":{"type":"string","enum":["ONLINE","IN_PERSON"]},"workoutDaysPreference":{"type":"string"},"timezone":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"zipCode":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"secondaryPhone":{"type":"string"},"referralType":{"type":"string","enum":["TRAINER","SPOUSE","USER"]},"referralId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"contractDate":{"type":"string","format":"date-time"},"primaryTrainerId":{"type":"string","format":"uuid"},"role":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]},"stripeCustomerId":{"type":"string"},"archived":{"type":"string","format":"date-time"},"password":{"type":"string"}}},"UserDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"nationUserId":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"dateOfBirth":{"type":"string","format":"date-time"},"firstName":{"type":"string"},"lastName":{"type":"string"},"emergencyContactPhone":{"type":"string"},"emergencyContactName":{"type":"string"},"shirtSize":{"type":"string","enum":["XSMALL","SMALL","MEDIUM","LARGE","XLARGE","XXLARGE","XXXLARGE"]},"imageURL":{"type":"string"},"workoutTimePreference":{"type":"string","enum":["EARLYMORNING","LATEMORNING","MIDDAY","EVENING"]},"workoutDaysPreference":{"type":"string"},"workoutTypePreference":{"type":"string","enum":["ONLINE","IN_PERSON"]},"timezone":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"zipCode":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"secondaryPhone":{"type":"string"},"referralType":{"type":"string","enum":["TRAINER","SPOUSE","USER"]},"referralId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"contractDate":{"type":"string","format":"date-time"},"primaryTrainerId":{"type":"string","format":"uuid"},"role":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]},"stripeCustomerId":{"type":"string"},"deleted":{"type":"boolean"}}},"NoteRequestDto":{"required":["note"],"type":"object","properties":{"note":{"type":"string"}}},"NoteDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"note":{"type":"string"},"createdBy":{"$ref":"#/components/schemas/UserSummaryDto"},"lastUpdatedBy":{"$ref":"#/components/schemas/UserSummaryDto"},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"}}},"UserSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string"},"phone":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"dateOfBirth":{"type":"string","format":"date-time"},"role":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]},"stripeCustomerId":{"type":"string"},"imageURL":{"type":"string"},"deleted":{"type":"boolean"}}},"CertificationUpdateRequestDto":{"required":["certificationType","provider"],"type":"object","properties":{"trainerId":{"type":"string","format":"uuid"},"certificationType":{"type":"string","enum":["CPT","CPR","CNC","CNS","PNC","RD"]},"issuedDate":{"type":"string","format":"date-time"},"expirationDate":{"type":"string","format":"date-time"},"provider":{"type":"string"},"imageUrl":{"type":"string"}}},"CertificationDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"trainer_id":{"type":"string","format":"uuid"},"certification_type":{"type":"string","enum":["CPT","CPR","CNC","CNS","PNC","RD"]},"issued_date":{"type":"string","format":"date-time"},"expiration_date":{"type":"string","format":"date-time"},"provider":{"type":"string"},"image_url":{"type":"string"},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"},"archived":{"type":"string","format":"date-time"}}},"ApprovedProgramsDto":{"type":"object","properties":{"outdoorApproved":{"type":"boolean"},"onlineApproved":{"type":"boolean"},"nutritionApproved":{"type":"boolean"},"strengthApproved":{"type":"boolean"}}},"TrainerBioCreationRequestDto":{"type":"object","properties":{"headerPhoto":{"type":"string"},"aboutMe":{"maxLength":350,"minLength":0,"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"fitnessBackgrounds":{"maxItems":3,"minItems":0,"type":"array","items":{"type":"string"}},"trainerAttributes":{"maxItems":3,"minItems":0,"type":"array","items":{"type":"string"}},"socialMedias":{"type":"array","items":{"$ref":"#/components/schemas/TrainerSocialMediaDto"}}}},"TrainerSocialMediaDto":{"type":"object","properties":{"type":{"type":"string","enum":["FACEBOOK","INSTAGRAM","TWITTER","YOUTUBE"]},"link":{"type":"string"}}},"TrainerUpdateRequestDto":{"required":["email","firstName","lastName","photo","startDate"],"type":"object","properties":{"nationTrainerId":{"type":"string"},"userId":{"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"photo":{"type":"string"},"startDate":{"type":"string","format":"date-time"},"contactNumber":{"pattern":"^((\\+\\d{1,2}\\s)?\\(?\\d{3}\\)?[\\s.-]?\\d{3}[\\s.-]?\\d{4})|(^$)$","type":"string"},"email":{"type":"string"},"payrollId":{"type":"string"},"approvedPrograms":{"$ref":"#/components/schemas/ApprovedProgramsDto"},"archived":{"type":"string","format":"date-time"},"trainerBio":{"$ref":"#/components/schemas/TrainerBioCreationRequestDto"},"localeId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["SERVICING","TEAM_LEAD","FIELD_GROWTH_DIRECTOR","REGION_VICE_PRESIDENT"]},"planType":{"type":"string","enum":["BASIC","PRO","APPLICANT","AFFILIATE_MARKETER"]}}},"LocaleSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"regionName":{"type":"string"},"regionGroupName":{"type":"string"}}},"TrainerBioDto":{"type":"object","properties":{"headerPhoto":{"type":"string"},"aboutMe":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"fitnessBackgrounds":{"type":"array","items":{"type":"string"}},"trainerAttributes":{"type":"array","items":{"type":"string"}},"socialMedias":{"type":"array","items":{"$ref":"#/components/schemas/TrainerSocialMediaDto"}}}},"TrainerDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"nationTrainerId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"photo":{"type":"string"},"startDate":{"type":"string","format":"date-time"},"contactNumber":{"type":"string"},"localeId":{"type":"string","format":"uuid"},"email":{"type":"string"},"payrollId":{"type":"string"},"approvedPrograms":{"$ref":"#/components/schemas/ApprovedProgramsDto"},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"},"archived":{"type":"string","format":"date-time"},"trainerBio":{"$ref":"#/components/schemas/TrainerBioDto"},"localeSummary":{"$ref":"#/components/schemas/LocaleSummaryDto"},"type":{"type":"string","enum":["SERVICING","TEAM_LEAD","FIELD_GROWTH_DIRECTOR","REGION_VICE_PRESIDENT"]},"planType":{"type":"string","enum":["BASIC","PRO","APPLICANT","AFFILIATE_MARKETER"]}}},"LocaleAssignmentDto":{"required":["trainerId"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"trainerName":{"type":"string"},"commissionPercentage":{"maximum":100,"minimum":1,"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"TeamRequestDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"active":{"type":"boolean"},"parentId":{"type":"string","format":"uuid"},"description":{"type":"string"},"nationId":{"type":"string"},"type":{"type":"string","enum":["REGION","TEAM","REGION_GROUP"]},"assignments":{"type":"array","items":{"$ref":"#/components/schemas/LocaleAssignmentDto"}},"descriptionAndParentIdComboValid":{"type":"boolean"}}},"LocaleDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["REGION","TEAM","REGION_GROUP"]},"active":{"type":"boolean"},"deleted":{"type":"boolean"},"parentId":{"type":"string","format":"uuid"},"nationId":{"type":"string"},"assignments":{"type":"array","items":{"$ref":"#/components/schemas/LocaleAssignmentDto"}}}},"RegionRequestDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"active":{"type":"boolean"},"parentId":{"type":"string","format":"uuid"},"description":{"type":"string"},"nationId":{"type":"string"},"type":{"type":"string","enum":["REGION","TEAM","REGION_GROUP"]},"assignments":{"type":"array","items":{"$ref":"#/components/schemas/LocaleAssignmentDto"}},"descriptionAndParentIdComboValid":{"type":"boolean"}}},"RegionGroupRequestDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"active":{"type":"boolean"},"parentId":{"type":"string","format":"uuid"},"description":{"type":"string"},"nationId":{"type":"string"},"type":{"type":"string","enum":["REGION","TEAM","REGION_GROUP"]},"assignments":{"type":"array","items":{"$ref":"#/components/schemas/LocaleAssignmentDto"}},"descriptionAndParentIdComboValid":{"type":"boolean"}}},"TagDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"title":{"type":"string"},"tagType":{"type":"string"},"descriptions":{"type":"array","items":{"type":"string"}},"iconUrl":{"type":"string"},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"}}},"WorkoutRequestDto":{"required":["type"],"type":"object","properties":{"link":{"type":"string"},"photo":{"type":"string"},"programId":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"trainerPhoto":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"featured":{"type":"boolean"},"rating":{"type":"number","format":"float"},"duration":{"type":"integer","format":"int32"},"addressId":{"type":"string","format":"uuid"},"alternativeAddressId":{"type":"string","format":"uuid"},"useSecondaryAddress":{"type":"boolean"},"archived":{"type":"string","format":"date-time"},"startTime":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagDto"}},"capacity":{"type":"integer","format":"int32"}}},"AddressDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"address1":{"type":"string"},"address2":{"type":"string"},"state":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"type":{"type":"string","enum":["TRAINER_HOME","CLIENT_HOME","TRAINING_FACILITY","OUTDOOR","FLEX","UNKNOWN"]},"name":{"type":"string"},"directions":{"type":"string"},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"},"distance":{"type":"number","format":"double"}}},"TrainerSummaryDto":{"type":"object","properties":{"localeSummary":{"$ref":"#/components/schemas/LocaleSummaryDto"},"userId":{"type":"string","format":"uuid"},"nationTrainerId":{"type":"string"},"id":{"type":"string","format":"uuid"},"firstName":{"type":"string"},"photo":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"}}},"WorkoutDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"link":{"type":"string"},"photo":{"type":"string"},"programId":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"featured":{"type":"boolean"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagDto"}},"rating":{"type":"number","format":"float"},"duration":{"type":"integer","format":"int32"},"addressId":{"type":"string","format":"uuid"},"alternativeAddressId":{"type":"string","format":"uuid"},"activeAddress":{"$ref":"#/components/schemas/AddressDto"},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"archived":{"type":"string","format":"date-time"},"startTime":{"type":"string","format":"date-time"},"trainer":{"$ref":"#/components/schemas/TrainerSummaryDto"},"checkedIn":{"type":"boolean"},"capacity":{"type":"integer","format":"int32"},"timezone":{"type":"string"},"address":{"$ref":"#/components/schemas/AddressDto"},"favorite":{"type":"boolean"}}},"TagRequestDto":{"required":["tagType","title"],"type":"object","properties":{"title":{"type":"string"},"tagType":{"type":"string"},"descriptions":{"type":"array","items":{"type":"string"}},"iconUrl":{"type":"string"}}},"PromotionProductPerkRequestDto":{"required":["perkId"],"type":"object","properties":{"perkId":{"type":"string","format":"uuid"}}},"PromotionProductRequestDto":{"required":["productId"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"couponId":{"type":"string","format":"uuid"},"trialPeriodDays":{"type":"integer","format":"int64"},"applicablePerks":{"type":"array","items":{"$ref":"#/components/schemas/PromotionProductPerkRequestDto"}}}},"PromotionRequestDto":{"required":["applicableProducts","bannerImage","bannerLabel","description","productSubType","productType","sellingPoints","type"],"type":"object","properties":{"type":{"type":"string","enum":["EVERGREEN","SEASONAL"]},"sourceId":{"type":"string","format":"uuid"},"description":{"type":"string"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"bannerImage":{"type":"string"},"bannerLabel":{"type":"string"},"sellingPoints":{"type":"array","items":{"type":"string"}},"applicableProducts":{"type":"array","items":{"$ref":"#/components/schemas/PromotionProductRequestDto"}},"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"}}},"ChallengeDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"disclaimer":{"type":"string"},"thumbnailUrl":{"type":"string"},"badgeUrl":{"type":"string"},"badgeCompletedUrl":{"type":"string"},"createdBy":{"type":"string","format":"uuid"},"signupStartDate":{"type":"string","format":"date-time"},"signupEndDate":{"type":"string","format":"date-time"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"prizeDescription":{"type":"string"},"prizeUrl":{"type":"string"},"goal":{"type":"integer","format":"int32"},"cost":{"type":"integer","format":"int64"},"leadTrainer":{"$ref":"#/components/schemas/LeadTrainerDto"},"type":{"type":"string","enum":["CG_FIT","STANDARD"]}}},"CouponSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"stripeCouponId":{"type":"string"},"stripeCouponName":{"type":"string"},"type":{"type":"string","enum":["FIXED","PERCENTAGE"]},"percentageDiscount":{"type":"number","format":"double"},"amountOff":{"type":"integer","format":"int32"},"duration":{"type":"string","enum":["FOREVER","ONCE","REPEATING"]},"durationLength":{"type":"integer","format":"int32"},"redeemBy":{"type":"string","format":"date-time"}}},"LeadTrainerDto":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"photo":{"type":"string"},"contactId":{"type":"string"}}},"PerkDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string"},"imageUrl":{"type":"string"},"type":{"type":"string","enum":["PRODUCT","CHALLENGE","OTHER"]},"resource":{"$ref":"#/components/schemas/ResourceDto"},"coupon":{"$ref":"#/components/schemas/CouponSummaryDto"},"trialPeriodDays":{"type":"integer","format":"int64"}}},"PriceDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"productId":{"type":"string","format":"uuid"},"stripeProductId":{"type":"string"},"stripePriceId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"amount":{"type":"integer","format":"int32"},"currency":{"type":"string"},"type":{"type":"string"},"termLength":{"type":"integer","format":"int32"},"term":{"type":"string"},"active":{"type":"boolean"},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"},"default":{"type":"boolean"}}},"ProductDetailBasicDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"subType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"title":{"type":"string"}}},"ProductDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"stripeProductId":{"type":"string"},"stripeProductName":{"type":"string"},"stripeProductDescription":{"type":"string"},"active":{"type":"boolean"},"termLength":{"type":"integer","format":"int32"},"prices":{"type":"array","items":{"$ref":"#/components/schemas/PriceDto"}},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"}}},"PromotionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["EVERGREEN","SEASONAL"]},"source":{"$ref":"#/components/schemas/PromotionSourceDto"},"description":{"type":"string"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"productDetail":{"$ref":"#/components/schemas/ProductDetailBasicDto"},"bannerImage":{"type":"string"},"bannerLabel":{"type":"string"},"sellingPoints":{"type":"array","items":{"type":"string"}},"applicableProducts":{"type":"array","items":{"$ref":"#/components/schemas/PromotionProductDto"}}}},"PromotionProductDto":{"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"coupon":{"$ref":"#/components/schemas/CouponSummaryDto"},"trialPeriodDays":{"type":"integer","format":"int64"},"applicablePerks":{"type":"array","items":{"$ref":"#/components/schemas/PromotionProductPerkDto"}}}},"PromotionProductPerkDto":{"type":"object","properties":{"perk":{"$ref":"#/components/schemas/PerkDto"}}},"PromotionSourceDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"}}},"ResourceDto":{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductDto"},"challenge":{"$ref":"#/components/schemas/ChallengeDto"}}},"ProgramRequestDto":{"required":["productDetailsId","startDate","trainerId"],"type":"object","properties":{"trainerId":{"type":"string","format":"uuid"},"productDetailsId":{"type":"string","format":"uuid"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"media":{"type":"string"},"timezone":{"type":"object","properties":{"displayName":{"type":"string"},"id":{"type":"string"},"dstsavings":{"type":"integer","format":"int32"},"rawOffset":{"type":"integer","format":"int32"}}},"productId":{"type":"string","format":"uuid"}}},"ProgramDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"productDetailsId":{"type":"string","format":"uuid"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"media":{"type":"string"},"timezone":{"type":"object","properties":{"displayName":{"type":"string"},"id":{"type":"string"},"dstsavings":{"type":"integer","format":"int32"},"rawOffset":{"type":"integer","format":"int32"}}},"product":{"$ref":"#/components/schemas/ProductDto"},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"}}},"LocalTime":{"type":"object","properties":{"hour":{"type":"integer","format":"int32"},"minute":{"type":"integer","format":"int32"},"second":{"type":"integer","format":"int32"},"nano":{"type":"integer","format":"int32"}}},"ProgramSchedulePriceRequestDto":{"required":["amount"],"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"amount":{"type":"integer","format":"int32"}}},"ProgramScheduleRequestDto":{"required":["daysOfTheWeek","durationInMinutes","programId","startDate","startTime","type"],"type":"object","properties":{"programId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"tagId":{"type":"integer","format":"int64"},"nationLocationId":{"type":"string"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"daysOfTheWeek":{"type":"string"},"startTime":{"$ref":"#/components/schemas/LocalTime"},"durationInMinutes":{"maximum":720,"minimum":1,"type":"integer","format":"int32"},"capacity":{"minimum":1,"type":"integer","format":"int32"},"addressId":{"type":"string","format":"uuid"},"alternativeAddressId":{"type":"string","format":"uuid"},"link":{"type":"string"},"photo":{"type":"string"},"description":{"type":"string"},"categories":{"type":"array","items":{"type":"string"}},"priceIds":{"uniqueItems":true,"type":"array","items":{"type":"string","format":"uuid"}},"newPrice":{"$ref":"#/components/schemas/ProgramSchedulePriceRequestDto"}}},"ProgramScheduleDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"nationLocationId":{"type":"string"},"programId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"tag":{"$ref":"#/components/schemas/TagDto"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"daysOfTheWeek":{"type":"string"},"startTime":{"$ref":"#/components/schemas/LocalTime"},"durationInMinutes":{"type":"integer","format":"int32"},"capacity":{"type":"integer","format":"int32"},"address":{"$ref":"#/components/schemas/AddressDto"},"alternativeAddress":{"$ref":"#/components/schemas/AddressDto"},"link":{"type":"string"},"photo":{"type":"string"},"description":{"type":"string"},"categories":{"type":"array","items":{"type":"string"}},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"activeSubscriptions":{"type":"integer","format":"int32"},"onlyActiveSubscriptions":{"type":"integer","format":"int32"},"onlyFutureSubscriptions":{"type":"integer","format":"int32"},"deleted":{"type":"boolean"},"prices":{"type":"array","items":{"$ref":"#/components/schemas/PriceDto"}}}},"ProgramScheduleChangeRequestDto":{"type":"object","properties":{"programScheduleId":{"type":"string","format":"uuid"},"applyChangeOn":{"type":"string","format":"date"},"daysOfTheWeek":{"type":"string"},"startTime":{"$ref":"#/components/schemas/LocalTime"},"durationInMinutes":{"maximum":720,"minimum":1,"type":"integer","format":"int32"},"description":{"type":"string"},"addressId":{"type":"string","format":"uuid"},"alternativeAddressId":{"type":"string","format":"uuid"}}},"ProgramScheduleChangeDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"applyChangeOn":{"type":"string","format":"date"},"daysOfTheWeek":{"type":"string"},"startTime":{"$ref":"#/components/schemas/LocalTime"},"durationInMinutes":{"type":"integer","format":"int32"},"description":{"type":"string"},"address":{"$ref":"#/components/schemas/AddressDto"},"alternativeAddress":{"$ref":"#/components/schemas/AddressDto"},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"changeAppliedAt":{"type":"string","format":"date-time"},"errorApplyingChange":{"type":"string"},"deleted":{"type":"boolean"}}},"ProductRequestDto":{"required":["stripeProductName"],"type":"object","properties":{"stripeProductId":{"type":"string"},"stripeProductName":{"type":"string"},"stripeProductDescription":{"type":"string"},"termLength":{"minimum":0,"type":"integer","format":"int32"},"unitLabel":{"maxLength":12,"minLength":0,"type":"string"},"statementDescription":{"maxLength":22,"minLength":0,"type":"string"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"billingType":{"type":"string","enum":["RECURRING","ONE_TIME"]},"active":{"type":"boolean"}}},"ProductDetailRequestDto":{"required":["approvalRequired","overview","sellingPoints","subType","title","type"],"type":"object","properties":{"type":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"subType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"title":{"type":"string"},"sellingPoints":{"type":"array","items":{"type":"string"}},"overview":{"type":"string"},"image":{"type":"string"},"miniatureImage":{"type":"string"},"approvalRequired":{"type":"string","enum":["NUTRITION","OUTDOOR","ONLINE","STRENGTH"]},"productIds":{"type":"array","items":{"type":"string","format":"uuid"}}}},"ProductDetailDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"subType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"title":{"type":"string"},"sellingPoints":{"type":"array","items":{"type":"string"}},"overview":{"type":"string"},"image":{"type":"string"},"miniatureImage":{"type":"string"},"approvalRequired":{"type":"string","enum":["NUTRITION","OUTDOOR","ONLINE","STRENGTH"]},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"},"products":{"type":"array","items":{"$ref":"#/components/schemas/ProductDto"}}}},"PriceRequestDto":{"required":["amount","currency","name","productId","stripePriceId","term","termLength"],"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"stripePriceId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"amount":{"type":"integer","format":"int32"},"currency":{"type":"string"},"termLength":{"type":"integer","format":"int32"},"term":{"type":"string"},"type":{"type":"string"},"active":{"type":"boolean"}}},"PerkRequestDto":{"required":["title","type"],"type":"object","properties":{"type":{"type":"string","enum":["PRODUCT","CHALLENGE","OTHER"]},"title":{"type":"string"},"description":{"type":"string"},"imageUrl":{"type":"string"},"resourceId":{"type":"string","format":"uuid"},"couponId":{"type":"string","format":"uuid"},"trialPeriodDays":{"type":"integer","format":"int64"}}},"CouponUpdateRequestDto":{"required":["stripeCouponName"],"type":"object","properties":{"stripeCouponName":{"type":"string"},"adminOnly":{"type":"boolean"}}},"CouponDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"stripeCouponId":{"type":"string"},"stripeCouponName":{"type":"string"},"type":{"type":"string","enum":["FIXED","PERCENTAGE"]},"percentageDiscount":{"type":"number","format":"double"},"amountOff":{"type":"integer","format":"int32"},"duration":{"type":"string","enum":["FOREVER","ONCE","REPEATING"]},"durationLength":{"type":"integer","format":"int32"},"redeemBy":{"type":"string","format":"date-time"},"valid":{"type":"boolean"},"adminOnly":{"type":"boolean"},"applicableProductIds":{"type":"array","items":{"type":"string","format":"uuid"}},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"archived":{"type":"string","format":"date-time"}}},"AddressRequestDto":{"required":["address1","city","name","state","type","zip"],"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"state":{"type":"string"},"city":{"type":"string"},"zip":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"name":{"type":"string"},"type":{"type":"string","enum":["TRAINER_HOME","CLIENT_HOME","TRAINING_FACILITY","OUTDOOR","FLEX","UNKNOWN"]},"directions":{"type":"string"}}},"RatingUpdateRequestDto":{"required":["rating"],"type":"object","properties":{"rating":{"maximum":5,"minimum":1,"type":"integer","format":"int32"},"comments":{"type":"string"}}},"RatingDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"checkinId":{"type":"string","format":"uuid"},"rating":{"type":"integer","format":"int32"},"comments":{"type":"string"},"created":{"type":"string","format":"date-time"},"workout":{"$ref":"#/components/schemas/WorkoutSummaryDto"},"trainer":{"$ref":"#/components/schemas/TrainerSummaryDto"},"user":{"$ref":"#/components/schemas/UserSummaryDto"}}},"WorkoutSummaryDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"link":{"type":"string"},"photo":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"checked_in":{"type":"boolean"},"favorite":{"type":"boolean"}}},"ChallengeRequestDto":{"required":["cost","createdBy","endDate","goal","name","signupEndDate","signupStartDate","startDate","type"],"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"disclaimer":{"type":"string"},"thumbnailUrl":{"type":"string"},"badgeUrl":{"type":"string"},"badgeCompletedUrl":{"type":"string"},"type":{"type":"string","enum":["CG_FIT","STANDARD"]},"createdBy":{"type":"string","format":"uuid"},"signupStartDate":{"type":"string","format":"date-time"},"signupEndDate":{"type":"string","format":"date-time"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"prizeDescription":{"type":"string"},"prizeUrl":{"type":"string"},"goal":{"type":"integer","format":"int32"},"cost":{"type":"integer","format":"int64"}}},"ContactDto":{"type":"object","properties":{"id":{"type":"string"},"userServiceId":{"type":"string"},"trainerServiceId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"photo":{"type":"string"},"systemPhoneNumber":{"type":"string"},"email":{"type":"string"},"smsEnabled":{"type":"boolean"},"systemSmsEnabled":{"type":"boolean"},"trainerSmsEnabled":{"type":"boolean"}}},"BulkAddToAuthToSendDto":{"required":["contactIdsToAdd","contactToUpdateId"],"type":"object","properties":{"contactToUpdateId":{"type":"string"},"contactIdsToAdd":{"type":"array","items":{"type":"string"}}}},"BulkAddToAuthToSendResponseDto":{"type":"object","properties":{"succeeded":{"type":"array","items":{"type":"string"}},"failed":{"type":"object","additionalProperties":{"type":"string"}}}},"SubscriptionUpdateRequestDto":{"required":["stripeSubscriptionId"],"type":"object","properties":{"stripeSubscriptionId":{"type":"string"},"status":{"type":"string","enum":["PENDING","ACTIVE","CANCELED","TRIAL","FROZEN","SUSPENDED","INCOMPLETE","INACTIVE"]},"salesRep":{"type":"string","format":"uuid"},"servicingTrainer":{"type":"string","format":"uuid"},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"billingDate":{"type":"string","format":"date"},"resumesAt":{"type":"string","format":"date-time"},"priceId":{"type":"string"},"couponCode":{"type":"string"}}},"ContractStatisticDto":{"type":"object","properties":{"paymentCount":{"type":"integer","format":"int32"},"inContract":{"type":"boolean"},"paymentsRemaining":{"type":"integer","format":"int32"},"priceSelection":{"type":"string","enum":["NEW_PRICE","OLD_PRICE","RECOMMIT_PRICE","ONE_TIME_PRICE"]}}},"SubscriptionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"stripeCustomerId":{"type":"string"},"stripeSubscriptionId":{"type":"string"},"periodEndDate":{"type":"string","format":"date-time"},"purchaseDate":{"type":"string","format":"date-time"},"productId":{"type":"string"},"productName":{"type":"string"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"billingType":{"type":"string","enum":["RECURRING","ONE_TIME"]},"termLength":{"type":"integer","format":"int32"},"purchasePrice":{"type":"integer","format":"int32"},"productPrice":{"type":"integer","format":"int32"},"salesRep":{"type":"string","format":"uuid"},"servicingTrainer":{"type":"string","format":"uuid"},"couponCode":{"type":"string"},"promoCode":{"type":"string"},"status":{"type":"string","enum":["PENDING","ACTIVE","CANCELED","TRIAL","FROZEN","SUSPENDED","INCOMPLETE","INACTIVE"]},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"periodStartDate":{"type":"string","format":"date-time"},"billingDate":{"type":"string","format":"date-time"},"resumesAt":{"type":"string","format":"date-time"},"archivedAt":{"type":"string","format":"date-time"},"trialPeriodDays":{"type":"integer","format":"int64"},"remainingTrialDays":{"type":"integer","format":"int64"},"paymentProcessorProvider":{"type":"string","enum":["APPLE","GOOGLE","STRIPE"]},"upgradedFrom":{"type":"string","format":"uuid"},"contractStatistics":{"$ref":"#/components/schemas/ContractStatisticDto"},"createdBy":{"type":"string","format":"uuid"},"lastUpdatedBy":{"type":"string","format":"uuid"},"acceptedTermsAndConditions":{"type":"string","format":"date-time"},"cancellationReason":{"type":"string","enum":["MEDICAL","TRAINER_LEFT","WORKOUT_SCHEDULE_CHANGES","COST","PROGRAM_NOT_A_GOOD_FIT","MEMBERSHIP_MANAGEMENT","ENVIRONMENTAL_FACTORS","TAKING_BREAK"]},"recommit":{"type":"boolean"}}},"SubscriptionUpgradeRequestDto":{"required":["productId","productPrice"],"type":"object","properties":{"productId":{"type":"string"},"productPrice":{"type":"string"},"servicingTrainer":{"type":"string","format":"uuid"},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"couponCode":{"type":"string"},"recommit":{"type":"boolean"}}},"SubscriptionPaymentUpdateDto":{"required":["stripePaymentId","stripeSubscriptionId"],"type":"object","properties":{"stripeSubscriptionId":{"type":"string"},"stripePaymentId":{"type":"string"}}},"SubscriptionCanceledResponseDto":{"type":"object","properties":{"cancelAt":{"type":"string","format":"date-time"},"canceledSubscriptions":{"type":"integer","format":"int32"},"failedCancellations":{"type":"array","items":{"$ref":"#/components/schemas/ErrorDTO"}}}},"SubscriptionReassignsResponseDto":{"type":"object","properties":{"succeeded":{"uniqueItems":true,"type":"array","items":{"type":"string","format":"uuid"}},"failed":{"type":"object","additionalProperties":{"type":"string"}}}},"UpdatePaymentMethodDto":{"type":"object","properties":{"expYear":{"type":"integer","format":"int64"},"expMonth":{"type":"integer","format":"int64"},"name":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zipCode":{"type":"string"},"address1":{"type":"string"},"default":{"type":"boolean"}}},"PaymentMethodDto":{"type":"object","properties":{"id":{"type":"string"},"brand":{"type":"string"},"country":{"type":"string"},"name":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zipCode":{"type":"string"},"address1":{"type":"string"},"expMonth":{"type":"integer","format":"int32"},"expYear":{"type":"integer","format":"int32"},"last4":{"type":"string"},"default":{"type":"boolean"}}},"OrgTrainerSplitDto":{"required":["trainerId"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"trainerName":{"type":"string"},"percentage":{"maximum":100,"minimum":1,"type":"number","format":"float"},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"OrganizationDto":{"required":["name","partnershipType","startDate"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"},"primaryContactName":{"type":"string"},"primaryContactTitle":{"type":"string"},"address":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"state":{"maxLength":5,"minLength":0,"type":"string"},"zipCode":{"maxLength":10,"minLength":0,"type":"string"},"partnershipType":{"type":"string","enum":["GLOBAL","NATIONAL","REGIONAL","LOCAL"]},"domains":{"type":"array","items":{"type":"string"}},"website":{"type":"string"},"startDate":{"type":"string","format":"date"},"discountPercentage":{"maximum":100,"minimum":1,"type":"number","format":"float"},"splits":{"type":"array","items":{"$ref":"#/components/schemas/OrgTrainerSplitDto"}},"couponCode":{"type":"string"}}},"FinderLauncherDto":{"required":["childId","parentId","percent","type"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["FINDER","LAUNCHER"]},"parentId":{"type":"string","format":"uuid"},"childId":{"type":"string","format":"uuid"},"percent":{"type":"number","format":"float"}}},"UpdateUserRequestDto":{"required":["userId"],"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"email":{"type":"string"},"phone":{"type":"string"},"role":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]}}},"AuthenticatedUserDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string"},"role":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]}}},"UpdatePasswordRequestDto":{"required":["newPassword","userId"],"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"currentPassword":{"type":"string"},"newPassword":{"type":"string"}}},"PasswordResetApplyDto":{"required":["newPassword"],"type":"object","properties":{"newPassword":{"type":"string"}}},"UserCreationRequestDto":{"required":["email","firstName","lastName","phone"],"type":"object","properties":{"nationUserId":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"dateOfBirth":{"type":"string","format":"date-time"},"firstName":{"type":"string"},"lastName":{"type":"string"},"emergencyContactName":{"type":"string"},"emergencyContactPhone":{"type":"string"},"shirtSize":{"type":"string","enum":["XSMALL","SMALL","MEDIUM","LARGE","XLARGE","XXLARGE","XXXLARGE"]},"imageURL":{"type":"string"},"workoutTimePreference":{"type":"string","enum":["EARLYMORNING","LATEMORNING","MIDDAY","EVENING"]},"workoutTypePreference":{"type":"string","enum":["ONLINE","IN_PERSON"]},"workoutDaysPreference":{"type":"string"},"timezone":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"zipCode":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"secondaryPhone":{"type":"string"},"referralType":{"type":"string","enum":["TRAINER","SPOUSE","USER"]},"referralId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","format":"uuid"},"contractDate":{"type":"string","format":"date-time"},"primaryTrainerId":{"type":"string","format":"uuid"},"role":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]},"stripeCustomerId":{"type":"string"},"password":{"type":"string"}}},"NearbyUsersFilterDto":{"required":["latitude","longitude"],"type":"object","properties":{"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"radius":{"type":"integer","format":"int32"},"limit":{"type":"integer","format":"int32"},"role":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]},"userIds":{"type":"array","items":{"type":"string","format":"uuid"}}}},"OnboardingRequestDto":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"dateOfBirth":{"type":"string","format":"date-time"},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"heightCentimeters":{"type":"integer","format":"int32"},"weightKilograms":{"type":"number","format":"double"},"activityLevel":{"type":"string","enum":["SEDENTARY","LIGHTLY_ACTIVE","MODERATELY_ACTIVE","VERY_ACTIVE","EXTRA_ACTIVE"]},"goal":{"type":"string","enum":["LOSE_WEIGHT","BUILD_MUSCLE","MAINTAIN_WEIGHT"]},"allergens":{"type":"array","items":{"type":"string","enum":["DAIRY_FREE","EGG_FREE","PEANUT_FREE","TREE_NUT_FREE","GLUTEN_FREE","SHELLFISH_FREE"]}},"dietPreferences":{"type":"array","items":{"type":"string","enum":["HIGH_PROTEIN","LOW_CARB","PALEO","PESCATARIAN","VEGETARIAN"]}},"isTermsAccepted":{"type":"string","format":"date-time"}}},"OnboardingResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"age":{"type":"integer","format":"int32"},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"heightCentimeters":{"type":"integer","format":"int32"},"weightKilograms":{"type":"number","format":"double"},"activityLevel":{"type":"string","enum":["SEDENTARY","LIGHTLY_ACTIVE","MODERATELY_ACTIVE","VERY_ACTIVE","EXTRA_ACTIVE"]},"goal":{"type":"string","enum":["LOSE_WEIGHT","BUILD_MUSCLE","MAINTAIN_WEIGHT"]},"protein":{"type":"integer","format":"int32"},"carbs":{"type":"integer","format":"int32"},"fat":{"type":"integer","format":"int32"},"totalCalories":{"type":"number","format":"double"},"basalMetabolicRate":{"type":"number","format":"double"},"activeMetabolicRate":{"type":"number","format":"double"},"allergens":{"type":"array","items":{"type":"string"}},"dietPreferences":{"type":"array","items":{"type":"string"}},"isTermsAccepted":{"type":"string","format":"date-time"}}},"TrainerCreationRequestDto":{"required":["email","firstName","lastName","photo","startDate"],"type":"object","properties":{"nationTrainerId":{"type":"string"},"userId":{"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"photo":{"type":"string"},"startDate":{"type":"string","format":"date-time"},"contactNumber":{"pattern":"^((\\+\\d{1,2}\\s)?\\(?\\d{3}\\)?[\\s.-]?\\d{3}[\\s.-]?\\d{4})|(^$)$","type":"string"},"email":{"type":"string"},"payrollId":{"type":"string"},"approvedPrograms":{"$ref":"#/components/schemas/ApprovedProgramsDto"},"trainerBio":{"$ref":"#/components/schemas/TrainerBioCreationRequestDto"},"localeId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["SERVICING","TEAM_LEAD","FIELD_GROWTH_DIRECTOR","REGION_VICE_PRESIDENT"]},"planType":{"type":"string","enum":["BASIC","PRO","APPLICANT","AFFILIATE_MARKETER"]}}},"CertificationCreationRequestDto":{"required":["certificationType","issuedDate","provider","trainerId"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"certificationType":{"type":"string","enum":["CPT","CPR","CNC","CNS","PNC","RD"]},"issuedDate":{"type":"string","format":"date-time"},"expirationDate":{"type":"string","format":"date-time"},"provider":{"type":"string"},"imageUrl":{"type":"string"}}},"TrainerFilterDto":{"required":["ids"],"type":"object","properties":{"ids":{"uniqueItems":true,"type":"array","items":{"type":"string","format":"uuid"}}}},"GenerateRecipeRequestDto":{"required":["gender","goal","recipeType","totalCalories"],"type":"object","properties":{"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"recipeType":{"type":"string","enum":["SNACK","BREAKFAST","LUNCH","DINNER"]},"goal":{"type":"string","enum":["FAT_LOSS","MAINTENANCE","MUSCLE_GAIN"]},"totalCalories":{"type":"integer","format":"int32"},"allergens":{"type":"array","items":{"type":"string"}},"dietPreferences":{"type":"array","items":{"type":"string"}}}},"IngredientDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"amount":{"type":"string"},"required":{"type":"boolean"}}},"RecipeDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"instructions":{"type":"string"},"prepTimeMinutes":{"type":"integer","format":"int32"},"cookTimeMinutes":{"type":"integer","format":"int32"},"calories":{"type":"integer","format":"int32"},"protein":{"type":"integer","format":"int32"},"carbs":{"type":"integer","format":"int32"},"fat":{"type":"integer","format":"int32"},"type":{"type":"string","enum":["SNACK","BREAKFAST","LUNCH","DINNER"]},"goal":{"type":"string","enum":["FAT_LOSS","MAINTENANCE","MUSCLE_GAIN"]},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"imageUrl":{"type":"string"},"ingredients":{"type":"array","items":{"$ref":"#/components/schemas/IngredientDto"}},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"GenerateMealPlanRequestDto":{"required":["numberOfDays","startDate","userId"],"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"numberOfDays":{"maximum":31,"minimum":1,"type":"integer","format":"int32"},"startDate":{"type":"string","format":"date-time"}}},"MealPlanDayDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"dayIndex":{"type":"integer","format":"int32"},"mealTypes":{"type":"array","items":{"$ref":"#/components/schemas/MealPlanMealTypeDto"}}}},"MealPlanDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"goal":{"type":"string","enum":["FAT_LOSS","MAINTENANCE","MUSCLE_GAIN"]},"totalCaloriesPerDay":{"type":"integer","format":"int32"},"numberOfDays":{"type":"integer","format":"int32"},"week":{"type":"integer","format":"int32"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"days":{"type":"array","items":{"$ref":"#/components/schemas/MealPlanDayDto"}},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}},"MealPlanMealTypeDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"mealType":{"type":"string","enum":["SNACK","BREAKFAST","LUNCH","DINNER"]},"recipe":{"$ref":"#/components/schemas/RecipeDto"}}},"SubstituteMealPlanRecipeRequestDto":{"required":["ingredientToSubstitute","ingredientToSubstituteWith","mealPlanId","recipeId"],"type":"object","properties":{"mealPlanId":{"type":"string","format":"uuid"},"recipeId":{"type":"string","format":"uuid"},"ingredientToSubstitute":{"type":"string"},"ingredientToSubstituteWith":{"type":"string"}}},"WorkoutProgramResponseDto":{"type":"object","properties":{"programId":{"type":"string","format":"uuid"},"workoutCount":{"type":"integer","format":"int64"}}},"PromotionSourceRequestDto":{"required":["description","name"],"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"}}},"CouponRequestDto":{"required":["applicableProductIds","stripeCouponId","stripeCouponName"],"type":"object","properties":{"stripeCouponId":{"type":"string"},"stripeCouponName":{"type":"string"},"percentageDiscount":{"maximum":100,"exclusiveMaximum":false,"type":"number","format":"double"},"amountOff":{"type":"integer","format":"int32"},"duration":{"type":"string","enum":["FOREVER","ONCE","REPEATING"]},"durationLength":{"type":"integer","format":"int32"},"redeemBy":{"type":"string","format":"date-time"},"applicableProductIds":{"type":"array","items":{"type":"string","format":"uuid"}},"adminOnly":{"type":"boolean"}}},"RatingRequestDto":{"required":["checkinId","rating"],"type":"object","properties":{"checkinId":{"type":"string","format":"uuid"},"rating":{"maximum":5,"minimum":1,"type":"integer","format":"int32"},"comments":{"type":"string"}}},"FavoriteCreationRequestDto":{"required":["favoriteType","resourceId"],"type":"object","properties":{"resourceId":{"type":"string"},"favoriteType":{"type":"string","enum":["WORKOUT","SCHEDULE"]}}},"FavoriteDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"resourceId":{"type":"string"},"favoriteType":{"type":"string","enum":["WORKOUT","SCHEDULE"]},"userId":{"type":"string","format":"uuid"},"created":{"type":"string","format":"date-time"}}},"CheckinCreationRequestDto":{"required":["type","userId","workoutId"],"type":"object","properties":{"workoutId":{"type":"integer","format":"int64"},"userId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]}}},"CheckinDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"workoutId":{"type":"integer","format":"int64"},"programScheduleId":{"type":"string","format":"uuid"},"programId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"userSummaryDto":{"$ref":"#/components/schemas/UserSummaryDto"},"checkinsWithTrainerCount":{"type":"integer","format":"int64"},"checkinsCount":{"type":"integer","format":"int64"},"workoutStartTime":{"type":"string","format":"date-time"},"created":{"type":"string","format":"date-time"}}},"CheckinEligibilityResponseDto":{"type":"object","properties":{"errorMessage":{"type":"string"},"eligible":{"type":"boolean"}}},"ChallengeRegisteredDto":{"type":"object","properties":{"challenge":{"$ref":"#/components/schemas/ChallengeDto"},"userSummary":{"$ref":"#/components/schemas/UserSummaryDto"},"created":{"type":"string","format":"date-time"}}},"ChallengeProgressFilterDto":{"required":["userIds"],"type":"object","properties":{"userIds":{"uniqueItems":true,"type":"array","items":{"type":"string","format":"uuid"}}}},"CGFitDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"challengeId":{"type":"string","format":"uuid"},"mileTime":{"type":"integer","format":"int32"},"pushUps":{"type":"integer","format":"int32"},"squats":{"type":"integer","format":"int32"},"sitUps":{"type":"integer","format":"int32"},"bodyWeight":{"type":"number","format":"double"},"muscleMass":{"type":"number","format":"double"},"bodyFat":{"type":"number","format":"double"},"metricDate":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string"},"updatedAt":{"type":"string"}}},"ChallengeCheckinDto":{"type":"object","properties":{"checkin":{"$ref":"#/components/schemas/CheckinDto"}}},"ChallengeSummaryProgressDto":{"type":"object","properties":{"challengeId":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"goal":{"type":"integer","format":"int64"},"checkins":{"type":"integer","format":"int64"},"challengeCheckins":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeCheckinDto"}},"cost":{"type":"integer","format":"int64"},"prizeDescription":{"type":"string"},"badgeUrl":{"type":"string"},"badgeCompletedUrl":{"type":"string"},"thumbnailUrl":{"type":"string"},"createdBy":{"type":"string","format":"uuid"},"leadTrainer":{"$ref":"#/components/schemas/LeadTrainerDto"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"registrationDate":{"type":"string","format":"date-time"},"signupStartDate":{"type":"string","format":"date-time"},"signupEndDate":{"type":"string","format":"date-time"},"cgFitMetricsList":{"type":"array","items":{"$ref":"#/components/schemas/CGFitDto"}},"type":{"type":"string","enum":["CG_FIT","STANDARD"]},"completed":{"type":"boolean"}}},"UserChallengeProgressDto":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"challengeSummaryProgressDtos":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeSummaryProgressDto"}}}},"CgFitRequestDto":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"challengeId":{"type":"string","format":"uuid"},"date":{"type":"string","format":"date-time"},"userSubmittedStats":{"$ref":"#/components/schemas/UserSubmittedStats"}}},"UserSubmittedStats":{"type":"object","properties":{"mileTime":{"type":"integer","format":"int32"},"pushUps":{"type":"integer","format":"int32"},"squats":{"type":"integer","format":"int32"},"sitUps":{"type":"integer","format":"int32"},"bodyWeight":{"type":"number","format":"double"},"muscleMass":{"type":"number","format":"double"},"bodyFat":{"type":"number","format":"double"}}},"CGFitMetricResponse":{"type":"object","properties":{"metricName":{"type":"string"},"status":{"type":"string"},"message":{"type":"string"}}},"SmsInboundRequestDto":{"required":["from","messageSid","to"],"type":"object","properties":{"messageSid":{"type":"string"},"to":{"type":"string"},"from":{"type":"string"},"body":{"type":"string"},"mediaUrl0":{"type":"string"},"mediaContentType0":{"type":"string"}}},"TwilioStatusUpdateDto":{"type":"object","properties":{"to":{"type":"string"},"accountSid":{"type":"string"},"apiVersion":{"type":"string"},"messageStatus":{"type":"string"},"smsSid":{"type":"string"},"body":{"type":"string"},"from":{"type":"string"},"messageSid":{"type":"string"},"smsStatus":{"type":"string"},"errorCode":{"type":"string"}}},"FirebaseNotificationTokenCreationRequest":{"required":["deviceType","token"],"type":"object","properties":{"token":{"type":"string"},"deviceType":{"type":"string","enum":["IOS","ANDROID","WEB"]}}},"MessageSendRequestDto":{"required":["contentType","fromContactId","toContactIds","transmissionType"],"type":"object","properties":{"fromContactId":{"type":"string"},"toContactIds":{"type":"array","items":{"type":"string"}},"content":{"type":"string"},"transmissionType":{"type":"string"},"contentType":{"type":"string"},"sendAt":{"type":"string"}}},"TransactionRequestDto":{"required":["amount","customerId","description","paymentMethod"],"type":"object","properties":{"amount":{"type":"integer","format":"int64"},"customerId":{"type":"string"},"currency":{"type":"string","enum":["USD"]},"description":{"type":"string"},"paymentMethod":{"type":"string"}}},"SubscriptionCreationRequestDto":{"required":["periodStartDate","productId","productPrice","stripeCustomerId","userId"],"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"stripeCustomerId":{"type":"string"},"productId":{"type":"string"},"productPrice":{"type":"string"},"salesRep":{"type":"string","format":"uuid"},"servicingTrainer":{"type":"string","format":"uuid"},"couponCode":{"type":"string"},"promoCode":{"type":"string"},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"periodStartDate":{"type":"string","format":"date"},"billingDate":{"type":"string","format":"date"},"paymentMethodId":{"type":"string"},"trialPeriodDays":{"type":"integer","format":"int64"},"paymentProcessorProvider":{"type":"string","enum":["APPLE","GOOGLE","STRIPE"]}}},"SubscriptionWithPerkDto":{"type":"object","properties":{"subscription":{"$ref":"#/components/schemas/SubscriptionDto"},"perkSubscription":{"$ref":"#/components/schemas/SubscriptionDto"},"perkChallenge":{"$ref":"#/components/schemas/ChallengeRegisteredDto"}}},"AdvancedSearchSubscriptionsRequestDto":{"type":"object","properties":{"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"},"userIds":{"uniqueItems":true,"type":"array","items":{"type":"string","format":"uuid"}},"productId":{"type":"string"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"salesRep":{"type":"string","format":"uuid"},"servicingTrainer":{"type":"string","format":"uuid"},"status":{"type":"array","items":{"type":"string","enum":["PENDING","ACTIVE","CANCELED","TRIAL","FROZEN","SUSPENDED","INCOMPLETE","INACTIVE"]}},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"trialPeriodDaysGreaterThan":{"type":"integer","format":"int64"},"trialPeriodDaysEqualsTo":{"type":"integer","format":"int64"},"inContract":{"type":"boolean"},"includeMTM":{"type":"boolean"},"upgradedFrom":{"type":"boolean"},"coupon":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"isAnniversaryCouponApplied":{"type":"boolean"},"isArchived":{"type":"boolean"},"includeCanceled":{"type":"boolean"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"orderBy":{"type":"string"},"sort":{"type":"string","enum":["ASC","DESC"]}}},"CheckinSummaryDto":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"checkinsCount":{"type":"integer","format":"int64"},"lastCheckinDate":{"type":"string","format":"date-time"}}},"PageSubscriptionWithUserDetailsDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionWithUserDetailsDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageableObject":{"type":"object","properties":{"pageNumber":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"paged":{"type":"boolean"},"unpaged":{"type":"boolean"},"offset":{"type":"integer","format":"int64"},"sort":{"$ref":"#/components/schemas/SortObject"}}},"SortObject":{"type":"object","properties":{"sorted":{"type":"boolean"},"unsorted":{"type":"boolean"},"empty":{"type":"boolean"}}},"SubscriptionWithUserDetailsDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"stripeCustomerId":{"type":"string"},"stripeSubscriptionId":{"type":"string"},"periodEndDate":{"type":"string","format":"date-time"},"purchaseDate":{"type":"string","format":"date-time"},"productId":{"type":"string"},"productName":{"type":"string"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"billingType":{"type":"string","enum":["RECURRING","ONE_TIME"]},"termLength":{"type":"integer","format":"int32"},"purchasePrice":{"type":"integer","format":"int32"},"productPrice":{"type":"integer","format":"int32"},"salesRep":{"type":"string","format":"uuid"},"servicingTrainer":{"type":"string","format":"uuid"},"couponCode":{"type":"string"},"promoCode":{"type":"string"},"status":{"type":"string","enum":["PENDING","ACTIVE","CANCELED","TRIAL","FROZEN","SUSPENDED","INCOMPLETE","INACTIVE"]},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"periodStartDate":{"type":"string","format":"date-time"},"billingDate":{"type":"string","format":"date-time"},"resumesAt":{"type":"string","format":"date-time"},"archivedAt":{"type":"string","format":"date-time"},"trialPeriodDays":{"type":"integer","format":"int64"},"remainingTrialDays":{"type":"integer","format":"int64"},"paymentProcessorProvider":{"type":"string","enum":["APPLE","GOOGLE","STRIPE"]},"upgradedFrom":{"type":"string","format":"uuid"},"contractStatistics":{"$ref":"#/components/schemas/ContractStatisticDto"},"createdBy":{"type":"string","format":"uuid"},"lastUpdatedBy":{"type":"string","format":"uuid"},"acceptedTermsAndConditions":{"type":"string","format":"date-time"},"cancellationReason":{"type":"string","enum":["MEDICAL","TRAINER_LEFT","WORKOUT_SCHEDULE_CHANGES","COST","PROGRAM_NOT_A_GOOD_FIT","MEMBERSHIP_MANAGEMENT","ENVIRONMENTAL_FACTORS","TAKING_BREAK"]},"user":{"$ref":"#/components/schemas/UserSummaryDto"},"checkinSummary":{"$ref":"#/components/schemas/CheckinSummaryDto"},"recommit":{"type":"boolean"}}},"NutritionSubscriptionReassignRequestDto":{"required":["currentServicingTrainerId","newServicingTrainerId"],"type":"object","properties":{"applyChangeOn":{"type":"string","format":"date"},"currentServicingTrainerId":{"type":"string","format":"uuid"},"newServicingTrainerId":{"type":"string","format":"uuid"}}},"SubscriptionReassignDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"currentProgramId":{"type":"string","format":"uuid"},"currentScheduleId":{"type":"string","format":"uuid"},"currentServicingTrainerId":{"type":"string","format":"uuid"},"newProgramId":{"type":"string","format":"uuid"},"newScheduleId":{"type":"string","format":"uuid"},"newServicingTrainerId":{"type":"string","format":"uuid"},"applyChangeOn":{"type":"string","format":"date"},"changeAppliedAt":{"type":"string","format":"date-time"},"errorApplyingChange":{"type":"string"}}},"BootcampSubscriptionReassignRequestDto":{"required":["currentProgramId","newServicingTrainerId"],"type":"object","properties":{"applyChangeOn":{"type":"string","format":"date"},"currentProgramId":{"type":"string","format":"uuid"},"currentScheduleId":{"type":"string","format":"uuid"},"newProgramId":{"type":"string","format":"uuid"},"newScheduleId":{"type":"string","format":"uuid"},"newServicingTrainerId":{"type":"string","format":"uuid"}}},"TipRequestDto":{"required":["amount","trainerId"],"type":"object","properties":{"workoutId":{"type":"integer","format":"int64"},"trainerId":{"type":"string","format":"uuid"},"amount":{"minimum":100,"type":"integer","format":"int64"},"reason":{"type":"string"},"userId":{"type":"string","format":"uuid"},"stripePaymentMethodId":{"type":"string"}}},"PaymentDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["TIP","CHALLENGE","FREEZE"]},"userId":{"type":"string","format":"uuid"},"stripeCustomerId":{"type":"string"},"stripeInvoiceId":{"type":"string"},"stripePaymentMethodId":{"type":"string"},"amount":{"type":"integer","format":"int64"},"reason":{"type":"string"},"description":{"type":"string"},"workoutId":{"type":"integer","format":"int64"},"trainerId":{"type":"string","format":"uuid"},"created":{"type":"string","format":"date-time"}}},"FreezeRequestDto":{"required":["amount","userId"],"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"amount":{"type":"integer","format":"int64"},"description":{"type":"string"},"reason":{"type":"string"},"stripePaymentMethodId":{"type":"string"}}},"CreateSetupIntentRequestDto":{"type":"object","properties":{"customerId":{"type":"string"},"userId":{"type":"string","format":"uuid"}}},"SetupIntentResponseDto":{"type":"object","properties":{"id":{"type":"string"},"clientSecret":{"type":"string"}}},"CustomerDto":{"required":["email","firstName","lastName"],"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"stripeCustomerId":{"type":"string"}}},"RegisterUserRequestDto":{"required":["email","phone","role","userId"],"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"email":{"type":"string"},"phone":{"type":"string"},"password":{"type":"string"},"role":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]}}},"PasswordResetByPhoneOrEmailDto":{"type":"object","properties":{"phone":{"type":"string"},"email":{"type":"string"}}},"AuthorizationDto":{"required":["claims","token"],"type":"object","properties":{"token":{"type":"string"},"claims":{"type":"array","items":{"type":"string","enum":["HQ","ADMIN","TRAINER","CAMPER","ALL"]}}}},"AuthenticationByPhoneOrEmailDto":{"required":["password"],"type":"object","properties":{"phone":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"}}},"TokenResponseDto":{"type":"object","properties":{"token":{"type":"string"},"type":{"type":"string"},"refreshToken":{"type":"string","format":"uuid"},"phone":{"type":"string"}}},"UserReferralsFilterDto":{"type":"object","properties":{"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"}}},"UserReferralDto":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"UserReferralsDto":{"type":"object","properties":{"referrals":{"type":"array","items":{"$ref":"#/components/schemas/UserReferralDto"}},"count":{"type":"integer","format":"int32"}}},"PageNoteDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/NoteDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"UserFilterDto":{"type":"object","properties":{"fieldsLike":{"type":"string"},"nameLike":{"type":"string"},"phoneLike":{"type":"string"},"emailLike":{"type":"string"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"}}},"PageUserSummaryDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/UserSummaryDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageTrainerDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/TrainerDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"OnDemandScheduleDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"link":{"type":"string"},"photo":{"type":"string"},"title":{"type":"string"},"checked_in":{"type":"boolean"},"favorite":{"type":"boolean"}}},"ProgramWithSchedulesDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"productDetailsId":{"type":"string","format":"uuid"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"media":{"type":"string"},"timezone":{"type":"object","properties":{"displayName":{"type":"string"},"id":{"type":"string"},"dstsavings":{"type":"integer","format":"int32"},"rawOffset":{"type":"integer","format":"int32"}}},"product":{"$ref":"#/components/schemas/ProductDto"},"programSchedules":{"type":"array","items":{"$ref":"#/components/schemas/ProgramScheduleDto"}},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"}}},"WorkoutScheduleDto":{"type":"object","properties":{"on_demand_schedule":{"type":"array","items":{"$ref":"#/components/schemas/OnDemandScheduleDto"}},"outdoor_programs":{"type":"array","items":{"$ref":"#/components/schemas/ProgramWithSchedulesDto"}},"online_programs":{"type":"array","items":{"$ref":"#/components/schemas/ProgramWithSchedulesDto"}}}},"TrainerRecommendedFilterDto":{"required":["latitude","longitude","productSubType","productType"],"type":"object","properties":{"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"radius":{"type":"integer","format":"int32"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"salesRep":{"type":"string","format":"uuid"}}},"TrainerNutritionInformationDto":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"nutritionApproved":{"type":"boolean"}}},"PageLocaleDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/LocaleDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"FilterRecipeRequestDto":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["SNACK","BREAKFAST","LUNCH","DINNER"]},"goal":{"type":"string","enum":["FAT_LOSS","MAINTENANCE","MUSCLE_GAIN"]},"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"caloriesMin":{"type":"integer","format":"int32"},"caloriesMax":{"type":"integer","format":"int32"},"proteinMin":{"type":"integer","format":"int32"},"proteinMax":{"type":"integer","format":"int32"},"carbsMin":{"type":"integer","format":"int32"},"carbsMax":{"type":"integer","format":"int32"},"fatMin":{"type":"integer","format":"int32"},"fatMax":{"type":"integer","format":"int32"}}},"Pageable":{"type":"object","properties":{"page":{"minimum":0,"type":"integer","format":"int32"},"size":{"minimum":1,"type":"integer","format":"int32"},"sort":{"type":"array","items":{"type":"string"}}}},"PageRecipeDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/RecipeDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageMealPlanDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/MealPlanDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"WorkoutFilterDto":{"type":"object","properties":{"trainerId":{"type":"string","format":"uuid"},"featured":{"type":"boolean"},"type":{"type":"array","items":{"type":"string"}},"rating":{"type":"number","format":"float"},"startTime":{"type":"string","format":"date-time"},"startTimeOffset":{"type":"integer","format":"int32"},"endTime":{"type":"string","format":"date-time"},"tags":{"type":"array","items":{"type":"integer","format":"int64"}},"includeDeleted":{"type":"boolean"},"checkedIn":{"type":"boolean"},"favorite":{"type":"boolean"},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"daysOfTheWeek":{"type":"array","items":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"]}},"timezone":{"type":"string"},"addressIds":{"uniqueItems":true,"type":"array","items":{"type":"string","format":"uuid"}},"empty":{"type":"boolean"}}},"PageWorkoutDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/WorkoutDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"WorkoutNearbyFilterDto":{"required":["latitude","longitude"],"type":"object","properties":{"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"radius":{"type":"integer","format":"int32"},"startTime":{"type":"string","format":"date-time"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"limit":{"type":"integer","format":"int32"},"minutesBeforeStart":{"type":"integer","format":"int32"},"minutesAfterEnd":{"type":"integer","format":"int32"}}},"WorkoutWithCheckinEligibilityDto":{"type":"object","properties":{"workout":{"$ref":"#/components/schemas/WorkoutDto"},"checkinEligible":{"type":"boolean"},"checkinErrorMessage":{"type":"string"}}},"WorkoutDetailedSummaryFilterDto":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"timezone":{"type":"string"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"tagIds":{"type":"array","items":{"type":"integer","format":"int64"}},"duration":{"type":"integer","format":"int32"},"timeFrom":{"$ref":"#/components/schemas/LocalTime"},"timeTo":{"$ref":"#/components/schemas/LocalTime"},"page":{"type":"integer","format":"int32"},"size":{"maximum":1000,"minimum":1,"type":"integer","format":"int32"}}},"PageWorkoutDetailedSummaryDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/WorkoutDetailedSummaryDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"WorkoutDetailedSummaryDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"programId":{"type":"string","format":"uuid"},"scheduleId":{"type":"string","format":"uuid"},"link":{"type":"string"},"photo":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TagDto"}},"startTime":{"type":"string","format":"date-time"},"duration":{"type":"integer","format":"int64"},"activeAddress":{"$ref":"#/components/schemas/AddressDto"},"trainerSummaryDto":{"$ref":"#/components/schemas/TrainerSummaryDto"},"isDeleted":{"type":"boolean"}}},"WorkoutsEligibleFilterDto":{"required":["endTime","startTime","type","userId"],"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"}}},"WorkoutExtractDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"description":{"type":"string"},"type":{"type":"string"},"startTime":{"type":"string","format":"date-time"}}},"PageTagDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/TagDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PagePromotionDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/PromotionDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PagePromotionSourceDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/PromotionSourceDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageProgramDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ProgramDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ProductDetailSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"subType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"title":{"type":"string"},"sellingPoints":{"type":"array","items":{"type":"string"}},"overview":{"type":"string"},"image":{"type":"string"},"miniatureImage":{"type":"string"},"approvalRequired":{"type":"string","enum":["NUTRITION","OUTDOOR","ONLINE","STRENGTH"]},"lowestPrice":{"type":"integer","format":"int32"},"termLength":{"type":"integer","format":"int32"},"programIds":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"servicedByTrainer":{"type":"boolean"}}},"ProgramSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"productDetailsId":{"type":"string","format":"uuid"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"media":{"type":"string"},"timezone":{"type":"object","properties":{"displayName":{"type":"string"},"id":{"type":"string"},"dstsavings":{"type":"integer","format":"int32"},"rawOffset":{"type":"integer","format":"int32"}}},"product":{"$ref":"#/components/schemas/ProductDto"},"deleted":{"type":"boolean"},"trainerSummary":{"$ref":"#/components/schemas/TrainerSummaryDto"},"productDetailSummary":{"$ref":"#/components/schemas/ProductDetailSummaryDto"},"programSchedules":{"type":"array","items":{"$ref":"#/components/schemas/ProgramScheduleDto"}}}},"ProgramFullFilterDto":{"type":"object","properties":{"productDetailId":{"type":"string","format":"uuid"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"trainerId":{"type":"string","format":"uuid"},"trainerEmailPrefix":{"type":"string"},"programScheduleId":{"type":"string","format":"uuid"},"includeDeletedTrainers":{"type":"boolean"},"calculateActiveSubscriptions":{"type":"boolean"}}},"ProgramFullDto":{"type":"object","properties":{"trainer":{"$ref":"#/components/schemas/TrainerSummaryDto"},"productDetails":{"$ref":"#/components/schemas/ProductDetailDto"},"programs":{"type":"array","items":{"$ref":"#/components/schemas/ProgramWithSchedulesDto"}}}},"PageProgramScheduleDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ProgramScheduleDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ProgramScheduleFilterDto":{"type":"object","properties":{"trainerId":{"type":"string","format":"uuid"},"daysOfTheWeek":{"uniqueItems":true,"type":"array","items":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"]}},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"timeFrom":{"$ref":"#/components/schemas/LocalTime"},"timeTo":{"$ref":"#/components/schemas/LocalTime"},"tagId":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"}}},"PageProgramScheduleWithTrainerDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ProgramScheduleWithTrainerDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ProgramScheduleWithTrainerDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"tag":{"$ref":"#/components/schemas/TagDto"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"daysOfTheWeek":{"type":"string"},"startTime":{"$ref":"#/components/schemas/LocalTime"},"durationInMinutes":{"type":"integer","format":"int32"},"capacity":{"type":"integer","format":"int32"},"link":{"type":"string"},"photo":{"type":"string"},"description":{"type":"string"},"categories":{"type":"array","items":{"type":"string"}},"programId":{"type":"string","format":"uuid"},"timeZone":{"type":"object","properties":{"displayName":{"type":"string"},"id":{"type":"string"},"dstsavings":{"type":"integer","format":"int32"},"rawOffset":{"type":"integer","format":"int32"}}},"productDetailsId":{"type":"string","format":"uuid"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"trainer":{"$ref":"#/components/schemas/TrainerSummaryDto"}}},"PageProgramScheduleChangeDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ProgramScheduleChangeDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageProductDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ProductDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageProductDetailDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ProductDetailDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PagePriceDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/PriceDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PagePerkDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/PerkDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"FindCouponFilterDto":{"type":"object","properties":{"includeAdminOnly":{"type":"boolean"},"includeExpired":{"type":"boolean"},"couponName":{"type":"string"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"}}},"PageCouponDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/CouponDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageAddressDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/AddressDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"AddressNearbyFilterDto":{"required":["latitude","longitude"],"type":"object","properties":{"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"radius":{"type":"integer","format":"int32"},"daysOfTheWeek":{"uniqueItems":true,"type":"array","items":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"]}},"timeFrom":{"$ref":"#/components/schemas/LocalTime"},"timeTo":{"$ref":"#/components/schemas/LocalTime"},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"limit":{"type":"integer","format":"int32"},"trainerId":{"type":"string","format":"uuid"}}},"AddressWithSchedulesDto":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/AddressDto"},"schedules":{"type":"array","items":{"$ref":"#/components/schemas/ProgramScheduleWithTrainerDto"}}}},"RatingFilterDto":{"type":"object","properties":{"trainerId":{"type":"string","format":"uuid"},"workoutId":{"type":"integer","format":"int64"},"userId":{"type":"string","format":"uuid"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"sort":{"type":"string","enum":["ASC","DESC"]}}},"PageRatingDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/RatingDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ExternalBookingFilterDto":{"required":["externalApp"],"type":"object","properties":{"externalApp":{"type":"string","enum":["GYMPASS"]},"workoutId":{"type":"integer","format":"int64"},"trainerId":{"type":"string","format":"uuid"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"}}},"ExternalBookingDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"workoutId":{"type":"integer","format":"int64"},"uniqueToken":{"type":"string"},"application":{"type":"string","enum":["GYMPASS"]},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"},"trainerId":{"type":"string","format":"uuid"},"startTime":{"type":"string","format":"date-time"}}},"PageExternalBookingDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ExternalBookingDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ExternalBookingWithUserDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"workoutId":{"type":"integer","format":"int64"},"uniqueToken":{"type":"string"},"application":{"type":"string","enum":["GYMPASS"]},"created":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"deleted":{"type":"boolean"},"trainerId":{"type":"string","format":"uuid"},"startTime":{"type":"string","format":"date-time"},"checkedInAt":{"type":"string","format":"date-time"},"externalUserDto":{"$ref":"#/components/schemas/ExternalUserDto"}}},"ExternalUserDto":{"required":["email","first_name","last_name","unique_token"],"type":"object","properties":{"email":{"type":"string"},"unique_token":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"phone_number":{"type":"string"}}},"CheckinFilterDto":{"type":"object","properties":{"workoutId":{"type":"integer","format":"int64"},"userId":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"sort":{"type":"string","enum":["ASC","DESC"]},"includeLegacyCheckins":{"type":"boolean"}}},"CheckinWithUserDetailsDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"workoutId":{"type":"integer","format":"int64"},"programScheduleId":{"type":"string","format":"uuid"},"programId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"},"trainerId":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["ONDEMAND","ONLINE","OUTDOOR"]},"userSummaryDto":{"$ref":"#/components/schemas/UserSummaryDto"},"checkinsWithTrainerCount":{"type":"integer","format":"int64"},"checkinsCount":{"type":"integer","format":"int64"},"workoutStartTime":{"type":"string","format":"date-time"},"created":{"type":"string","format":"date-time"},"trainerSummaryDto":{"$ref":"#/components/schemas/UserSummaryDto"},"programScheduleSummaryDto":{"$ref":"#/components/schemas/ProgramScheduleSummaryDto"},"workoutSummaryDto":{"$ref":"#/components/schemas/WorkoutSummaryDto"},"completedBirthdayCheckin":{"type":"boolean"}}},"PageCheckinWithUserDetailsDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/CheckinWithUserDetailsDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ProgramScheduleSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"tag":{"$ref":"#/components/schemas/TagDto"},"daysOfTheWeek":{"type":"string"},"startTime":{"$ref":"#/components/schemas/LocalTime"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"durationInMinutes":{"type":"integer","format":"int32"},"description":{"type":"string"},"timeZone":{"type":"object","properties":{"displayName":{"type":"string"},"id":{"type":"string"},"dstsavings":{"type":"integer","format":"int32"},"rawOffset":{"type":"integer","format":"int32"}}}}},"CheckedInUsersDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"dateOfBirth":{"type":"string","format":"date-time"},"imageURL":{"type":"string"},"servicingTrainerId":{"type":"string","format":"uuid"},"servicingTrainerFirstName":{"type":"string"},"servicingTrainerLastName":{"type":"string"},"subscriptionStatus":{"type":"string","enum":["PENDING","ACTIVE","CANCELED","TRIAL","FROZEN","SUSPENDED","INCOMPLETE","INACTIVE"]},"contractStatistics":{"$ref":"#/components/schemas/ContractStatisticDto"},"totalCheckins":{"type":"integer","format":"int64"}}},"PageCheckedInUsersDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/CheckedInUsersDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"CheckinWorkoutTotalsDto":{"type":"object","properties":{"trialUsersCount":{"type":"integer","format":"int64"},"outOfContractUsersCount":{"type":"integer","format":"int64"}}},"TotalCheckinsDto":{"type":"object","properties":{"totalCheckins":{"type":"integer","format":"int64"}}},"ChallengeFilterDto":{"type":"object","properties":{"createdBy":{"type":"string","format":"uuid"},"goal":{"type":"integer","format":"int32"},"signupStartDateTime":{"type":"string","format":"date-time"},"signupEndDateTime":{"type":"string","format":"date-time"},"isFree":{"type":"boolean"},"type":{"type":"string","enum":["CG_FIT","STANDARD"]},"page":{"type":"integer","format":"int32"},"size":{"maximum":40,"type":"integer","format":"int32"},"sort":{"type":"string","enum":["ASC","DESC"]},"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"}}},"PageChallengeDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ChallengeProgressDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"badgeUrl":{"type":"string"},"badgeCompletedUrl":{"type":"string"},"createdBy":{"type":"string","format":"uuid"},"leadTrainer":{"$ref":"#/components/schemas/LeadTrainerDto"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"goal":{"type":"integer","format":"int32"},"usersProgress":{"type":"array","items":{"$ref":"#/components/schemas/UsersChallengeProgressDto"}}}},"UsersChallengeProgressDto":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"checkins":{"type":"integer","format":"int64"},"challengeCheckins":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeCheckinDto"}},"registrationDate":{"type":"string","format":"date-time"},"cgFitMetricsList":{"type":"array","items":{"$ref":"#/components/schemas/CGFitDto"}},"completed":{"type":"boolean"}}},"ChallengeRegistrantsFilter":{"type":"object","properties":{"servicingTrainerId":{"type":"string","format":"uuid"},"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"},"includePast":{"type":"boolean"},"includePresent":{"type":"boolean"},"includeFuture":{"type":"boolean"},"challengeId":{"type":"string","format":"uuid"},"createdBy":{"type":"string","format":"uuid"},"notCreatedBy":{"type":"string","format":"uuid"},"showOnlyMyCampers":{"type":"boolean"},"type":{"type":"string","enum":["CG_FIT","STANDARD"]},"page":{"type":"integer","format":"int32"},"size":{"maximum":40,"type":"integer","format":"int32"},"sort":{"type":"string","enum":["ASC","DESC"]}}},"ChallengeRegistrantsResponseDto":{"type":"object","properties":{"challenge":{"$ref":"#/components/schemas/ChallengeDto"},"notEnrolledUsers":{"$ref":"#/components/schemas/ChallengeUserCountDto"},"notStartedUsers":{"$ref":"#/components/schemas/ChallengeUserCountDto"},"inProgressUsers":{"$ref":"#/components/schemas/ChallengeUserCountDto"},"completedUsers":{"$ref":"#/components/schemas/ChallengeUserCountDto"}}},"ChallengeUserCountDto":{"type":"object","properties":{"userIds":{"type":"array","items":{"type":"string","format":"uuid"}},"count":{"type":"integer","format":"int32"}}},"PageChallengeRegistrantsResponseDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeRegistrantsResponseDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ChallengeRegistrantsSummaryResponseDto":{"type":"object","properties":{"myCampersRegisteredToChallenges":{"type":"integer","format":"int64"},"myCampersNotRegisteredToChallenges":{"type":"integer","format":"int64"}}},"CamperSubscriptionData":{"type":"object","properties":{"userId":{"type":"string","format":"uuid"},"userName":{"type":"string"},"subscription":{"type":"string"},"purchaseDate":{"type":"string","format":"date-time"}}},"ConversationLastMessageDto":{"type":"object","properties":{"authorId":{"type":"string"},"body":{"type":"string"},"contentType":{"type":"string","enum":["TEXT","PHOTO","VIDEO","FILE"]},"transmissionStatus":{"type":"string","enum":["QUEUED","UNDELIVERED","FAILED","SENT","DELIVERED","READ"]},"sentDatetimeUtc":{"type":"string"}}},"ConversationPageDto":{"type":"object","properties":{"conversations":{"type":"array","items":{"$ref":"#/components/schemas/ConversationSummaryDto"}},"nextCursor":{"type":"string"}}},"ConversationRecipientDto":{"type":"object","properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"imageUrl":{"type":"string"},"personalPhoneNumber":{"type":"string"},"systemPhoneNumber":{"type":"string"}}},"ConversationSummaryDto":{"type":"object","properties":{"id":{"type":"string"},"recipient":{"$ref":"#/components/schemas/ConversationRecipientDto"},"lastMessage":{"$ref":"#/components/schemas/ConversationLastMessageDto"},"unreadMessages":{"type":"integer","format":"int32"}}},"PageSubscriptionDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"SubscriptionSummaryFilterDto":{"type":"object","properties":{"status":{"type":"string","enum":["PENDING","ACTIVE","CANCELED","TRIAL","FROZEN","SUSPENDED","INCOMPLETE","INACTIVE"]},"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"date":{"type":"string","format":"date-time"}}},"SubscriptionSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"stripeProductId":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"subType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"billingType":{"type":"string","enum":["RECURRING","ONE_TIME"]},"status":{"type":"string","enum":["PENDING","ACTIVE","CANCELED","TRIAL","FROZEN","SUSPENDED","INCOMPLETE","INACTIVE"]},"periodStartDate":{"type":"string","format":"date-time"},"periodEndDate":{"type":"string","format":"date-time"},"purchaseDate":{"type":"string","format":"date-time"},"cancelDate":{"type":"string","format":"date-time"},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"contractStatistics":{"$ref":"#/components/schemas/ContractStatisticDto"},"acceptedTermsAndConditions":{"type":"string","format":"date-time"},"servicingTrainerId":{"type":"string","format":"uuid"},"userId":{"type":"string","format":"uuid"}}},"TransactionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"chargeId":{"type":"string"},"amount":{"type":"integer","format":"int64"},"amountRefunded":{"type":"integer","format":"int64"},"refundReason":{"type":"string"},"customerId":{"type":"string"},"disputed":{"type":"boolean"},"description":{"type":"string"},"invoiceId":{"type":"string"},"outcome":{"type":"string","enum":["APPROVED_BY_NETWORK","DECLINED_BY_NETWORK","NOT_SENT_TO_NETWORK","REVERSED_AFTER_APPROVAL"]},"refunded":{"type":"boolean"},"status":{"type":"string","enum":["SUCCEEDED","PENDING","FAILED"]},"lineItemDescription":{"type":"string"},"created":{"type":"string","format":"date-time"}}},"QuerySubscriptionsRequestDto":{"type":"object","properties":{"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"},"productId":{"type":"string"},"salesRep":{"type":"string","format":"uuid"},"servicingTrainer":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["PENDING","ACTIVE","CANCELED","TRIAL","FROZEN","SUSPENDED","INCOMPLETE","INACTIVE"]},"programId":{"type":"string","format":"uuid"},"programScheduleId":{"type":"string","format":"uuid"},"includeCanceled":{"type":"boolean"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"}}},"QueryLineItemsRequestDto":{"type":"object","properties":{"startDateTime":{"type":"string","format":"date-time"},"endDateTime":{"type":"string","format":"date-time"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"}}},"LineItemDto":{"required":["periodEnd","periodStart","status","stripeCustomerId","stripeInvoiceId","stripeInvoiceLineItemId","stripePriceId","subscriptionId"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"stripeInvoiceLineItemId":{"type":"string"},"stripeInvoiceId":{"type":"string"},"amount":{"minimum":0,"type":"integer","format":"int32"},"description":{"type":"string"},"stripeDiscountId":{"type":"string"},"discountAmount":{"type":"integer","format":"int32"},"periodStart":{"type":"string","format":"date-time"},"periodEnd":{"type":"string","format":"date-time"},"stripePriceId":{"type":"string"},"quantity":{"type":"integer","format":"int32"},"subscriptionId":{"type":"string","format":"uuid"},"stripeCustomerId":{"type":"string"},"status":{"type":"string","enum":["DRAFT","OPEN","PAID","UNCOLLECTIBLE","VOID"]},"created":{"type":"string","format":"date-time"}}},"PageLineItemDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/LineItemDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ActiveProductDto":{"type":"object","properties":{"productType":{"type":"string","enum":["BOOTCAMP","NUTRITION","STRENGTH"]},"productSubType":{"type":"string","enum":["ONLINE","IN_PERSON"]},"billingType":{"type":"string","enum":["RECURRING","ONE_TIME"]},"count":{"type":"integer","format":"int64"}}},"TrainerSubscriptionSummaryDto":{"type":"object","properties":{"trialsDto":{"type":"array","items":{"$ref":"#/components/schemas/TrialDto"}},"activeProductsDto":{"type":"array","items":{"$ref":"#/components/schemas/ActiveProductDto"}},"futureCanceledCount":{"type":"integer","format":"int64"},"activeCount":{"type":"integer","format":"int64"},"canceledCount":{"type":"integer","format":"int64"},"suspendedCount":{"type":"integer","format":"int64"},"frozenCount":{"type":"integer","format":"int64"},"outOfContractCount":{"type":"integer","format":"int64"},"lastMonthPurchasesCount":{"type":"integer","format":"int64"},"lastMonthUpdatesCount":{"type":"integer","format":"int64"},"anniversaryPurchasesCount":{"type":"integer","format":"int64"},"upgradedCount":{"type":"integer","format":"int64"},"upcomingEndingContractsCount":{"type":"integer","format":"int64"}}},"TrialDto":{"type":"object","properties":{"trialPeriodDays":{"type":"integer","format":"int64"},"count":{"type":"integer","format":"int64"}}},"PageSubscriptionReassignDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionReassignDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PaymentFilterDto":{"type":"object","properties":{"type":{"type":"string","enum":["TIP","CHALLENGE","FREEZE"]},"userId":{"type":"string","format":"uuid"},"workoutId":{"type":"integer","format":"int64"},"trainerId":{"type":"string","format":"uuid"},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"sort":{"type":"string","enum":["ASC","DESC"]}}},"PagePaymentDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/PaymentDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageOrganizationDto":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"numberOfElements":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationDto"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"FavoriteDeleteRequestDto":{"required":["favoriteType","resourceId"],"type":"object","properties":{"resourceId":{"type":"string"},"favoriteType":{"type":"string","enum":["WORKOUT","SCHEDULE"]}}}}}}