{"openapi":"3.0.0","paths":{"/admin/devices/autocomplete":{"get":{"operationId":"DeviceController_autocompleteDeviceSerials","parameters":[{"name":"prefix","required":true,"in":"query","description":"Device serial prefix to match (trimmed).","schema":{"example":"abc","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (default 20, max 50).","schema":{"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutocompleteDeviceSerialsResponseDto"}}}}},"security":[{"api-key":[]}],"summary":"Autocomplete device serial numbers by prefix","tags":["Admin Devices management"]}},"/admin/devices":{"get":{"operationId":"DeviceController_findBySerial","parameters":[{"name":"serialNumber","required":false,"in":"query","schema":{"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Lists devices registered with the requested serial number and userId","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DeviceWithUserIdDetailsDto"}}}}}},"security":[{"api-key":[]}],"tags":["Admin Devices management"]}},"/admin/devices/byMacAddress/{macAddress}":{"get":{"operationId":"DeviceController_findByMacAddress","parameters":[{"name":"macAddress","required":true,"in":"path","schema":{"example":"00:00:00:00:00:00","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Lists hardware devices registered with the requested serial number","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DeviceWithUserIdDetailsDto"}}}}}},"security":[{"api-key":[]}],"tags":["Admin Devices management"]}},"/admin/devices/{serialNumber}/telnet-config":{"post":{"operationId":"DeviceController_createTelnetConfiguration","parameters":[{"name":"serialNumber","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelnetConfigResponseDto"}}}}},"security":[{"api-key":[]}],"summary":"Create telnet configuration for a device (Wireguard peer)","tags":["Admin Devices management"]}},"/hw/configurations":{"get":{"operationId":"CaseConfigurationController_findOneByTokenDta","parameters":[{"name":"serialNumber","required":false,"in":"query","description":"Device serial number (required if no access token provided)","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Returns case configuration. Either use access token or provide serialNumber query param","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}}}}},"tags":["Hardware"]},"patch":{"operationId":"CaseConfigurationController_update","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigUpdateDto"}}}},"responses":{"200":{"description":"Case configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/configurations/reset":{"post":{"operationId":"CaseConfigurationController_reset","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetConfigDto"}}}},"responses":{"200":{"description":"Case configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/configurations/messagePack":{"patch":{"operationId":"CaseConfigurationController_updateMsgPack","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"description":"Events data message","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/Buffer"}}}},"responses":{"200":{"description":"Case configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/mobile/hw/authorizations":{"get":{"operationId":"DeviceController_find","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"List of devices registered for the user","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DeviceDetailsDto"}}}}}},"security":[{"bearer":[]}],"tags":["Devices management"]},"post":{"operationId":"DeviceController_register","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterDeviceDto"}}}},"responses":{"200":{"description":"Set of access and refresh token for accessing protected resources and default configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterDeviceResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Devices management"]}},"/mobile/hw/authorizations/{deviceId}":{"put":{"operationId":"DeviceController_reRegisterCase","parameters":[{"name":"deviceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Set of access and refresh token for accessing protected resources and default configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterDeviceResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Devices management"]},"delete":{"operationId":"DeviceController_revokeCase","parameters":[{"name":"deviceId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Devices management"]}},"/mobile/notificationKeys":{"put":{"operationId":"DeviceController_setNotificationKey","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationKeyDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Devices management"]},"delete":{"operationId":"DeviceController_deleteNotificationKey","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Devices management"]}},"/auth/signUp/guest":{"post":{"operationId":"UserAuthController_guestSignUp","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpDto"}}}},"responses":{"200":{"description":"Set of basic data user, device, access and refresh token for accessing protected resources","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestSignUpResponseDto"}}}}},"tags":["User","Auth"]}},"/auth/refreshTokens":{"post":{"operationId":"UserAuthController_refreshToken","parameters":[{"name":"refreshToken","required":true,"in":"header","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Set of access and refresh token for accessing protected resources","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenDto"}}}}},"tags":["User","Auth"]}},"/users/softDelete":{"patch":{"description":"Mark user status as deleted in database","operationId":"UserController_setUserStatus","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"User marked as deleted"}},"security":[{"bearer":[]}],"summary":"Soft Delete","tags":["User"]}},"/users":{"delete":{"operationId":"UserController_deleteUser","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Remove current user","tags":["User"]},"get":{"operationId":"UserController_getUser","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"User data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"Get current user","tags":["User"]},"put":{"operationId":"UserController_updateUser","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserDto"}}}},"responses":{"200":{"description":"User data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"Update user","tags":["User"]}},"/users/active":{"get":{"description":"Returns user active in last 24h","operationId":"UserController_getActiveUses","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"List of active users"}},"security":[{"api-key":[]}],"summary":"Returns user active in last 24h","tags":["User"]}},"/users/logout":{"post":{"operationId":"UserController_logout","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Logout user","tags":["User"]}},"/otp":{"post":{"operationId":"OtpAuthController_emailVerify","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtpRequestDto"}}}},"responses":{"200":{"description":"OTp request details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtpResponseDto"}}}}},"tags":["User","Auth"]}},"/otp/users/login":{"post":{"operationId":"OtpAuthController_loginOTP","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginOtpDto"}}}},"responses":{"200":{"description":"Set of basic data user, device, access and refresh token for accessing protected resources","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponseDto"}}}}},"tags":["User","Auth"]}},"/otp/users/email":{"put":{"operationId":"OtpAuthController_updateUserEmail","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtpVerification"}}}},"responses":{"200":{"description":"Set of basic data user, device, access and refresh token for accessing protected resources","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"tags":["User","Auth"]}},"/mobile/sleepPlans":{"get":{"operationId":"SleepPlanController_findByUser","parameters":[{"name":"generated","required":false,"in":"query","description":"Filter sleep plans by generated flag","schema":{"example":true,"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"User defined sleep plans","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanDto"}}}}}},"security":[{"bearer":[]}],"tags":["Sleep plans"]},"post":{"operationId":"SleepPlanController_create","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUpdateSleepPlanDto"}}}},"responses":{"201":{"description":"New sleep plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanDto"}}}}},"security":[{"bearer":[]}],"tags":["Sleep plans"]}},"/mobile/sleepPlans/{id}":{"get":{"operationId":"SleepPlanController_findOneByIdUserId","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"User sleep plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanDto"}}}}},"security":[{"bearer":[]}],"tags":["Sleep plans"]},"put":{"operationId":"SleepPlanController_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUpdateSleepPlanDto"}}}},"responses":{"200":{"description":"Updated sleep plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanDto"}}}}},"security":[{"bearer":[]}],"summary":"Accepts full updated sleep plan and updates all the properties of the sleep plan (name, shuffle, loop, tracks....).","tags":["Sleep plans"]},"delete":{"operationId":"SleepPlanController_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Sleep plans"]}},"/mobile/sleepPlanTracks/{sleepPlanId}/phase/{phase}":{"post":{"operationId":"SleepPlanTracksController_addTrack","parameters":[{"name":"sleepPlanId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"phase","required":true,"in":"path","description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"],"schema":{"example":1,"enum":[0,1,2,3],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentifierDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanTrackMapDto"}}}}}},"security":[{"bearer":[]}],"tags":["Sleep plan tracks"]},"delete":{"operationId":"SleepPlanTracksController_removeTrack","parameters":[{"name":"sleepPlanId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"phase","required":true,"in":"path","description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"],"schema":{"example":1,"enum":[0,1,2,3],"type":"number"}},{"name":"id","required":true,"in":"query","schema":{"example":"99416470-a7bb-4f2b-8595-daef57c7ece0","type":"string"}},{"name":"source","required":true,"in":"query","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanTrackMapDto"}}}}}},"security":[{"bearer":[]}],"tags":["Sleep plan tracks"]}},"/mobile/sleepPlanTracks/{sleepPlanId}/replaceMaskingSound":{"put":{"operationId":"SleepPlanTracksController_replacePhase","parameters":[{"name":"sleepPlanId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentifierDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanTrackMapDto"}}}}}},"security":[{"bearer":[]}],"tags":["Sleep plan tracks"]}},"/mobile/sleepPlanTracks":{"get":{"operationId":"SleepPlanTracksController_findTrack","parameters":[{"name":"id","required":true,"in":"query","schema":{"example":"99416470-a7bb-4f2b-8595-daef57c7ece0","type":"string"}},{"name":"source","required":true,"in":"query","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanTrackMapDto"}}}}}},"security":[{"bearer":[]}],"tags":["Sleep plan tracks"]}},"/mobile/alarms/tracks":{"get":{"operationId":"AlarmController_findAlarmTracks","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Alarm sounds","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrackDto"}}}}}},"security":[{"bearer":[]}],"tags":["Alarms"]}},"/mobile/alarms":{"get":{"operationId":"AlarmController_findByUser","parameters":[{"name":"enabled","required":false,"in":"query","schema":{"example":false,"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"User defined alarms","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlarmDto"}}}}}},"security":[{"bearer":[]}],"tags":["Alarms"]},"post":{"operationId":"AlarmController_create","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUpdateAlarmDto"}}}},"responses":{"201":{"description":"New alarm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlarmDto"}}}}},"security":[{"bearer":[]}],"tags":["Alarms"]}},"/mobile/alarms/{id}":{"get":{"operationId":"AlarmController_findOneByIdUserId","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"User alarm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlarmDto"}}}}},"security":[{"bearer":[]}],"tags":["Alarms"]},"put":{"operationId":"AlarmController_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUpdateAlarmDto"}}}},"responses":{"200":{"description":"Updated alarm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlarmDto"}}}}},"security":[{"bearer":[]}],"tags":["Alarms"]},"delete":{"operationId":"AlarmController_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Alarms"]}},"/admin/premadeSleepPlans/search":{"post":{"operationId":"PremadeSleepPlanController_find","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Premade sleep plans with track ids only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremadeSleepPlanDefinitionResponseDto"}}}}},"security":[{"api-key":[]}],"summary":"Search premade sleep plans and return premade sleep plans definitions (with track ids only).","tags":["Admin - premade sleep plans"]}},"/admin/premadeSleepPlans/{id}":{"get":{"operationId":"PremadeSleepPlanController_get","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Premade sleep plan definition (with track ids only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremadeSleepPlanDefinitionDto"}}}}},"security":[{"api-key":[]}],"summary":"Gets premade sleep plan definition (with track ids only).","tags":["Admin - premade sleep plans"]},"put":{"operationId":"PremadeSleepPlanController_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUpdatePremadeSleepPlanDefinitionDto"}}}},"responses":{"200":{"description":"Premade sleep plan definition (with track ids only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremadeSleepPlanDefinitionDto"}}}}},"security":[{"api-key":[]}],"summary":"Updates premade sleep plan definition and returns it (with track ids only).","tags":["Admin - premade sleep plans"]},"delete":{"operationId":"PremadeSleepPlanController_delete","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"summary":"Deletes a premade sleep plan ","tags":["Admin - premade sleep plans"]}},"/admin/premadeSleepPlans":{"post":{"operationId":"PremadeSleepPlanController_create","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUpdatePremadeSleepPlanDefinitionDto"}}}},"responses":{"201":{"description":"Premade sleep plan definition (with track ids only)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremadeSleepPlanDefinitionDto"}}}}},"security":[{"api-key":[]}],"summary":"Creates premade sleep plan definition and returns it (with track ids only).","tags":["Admin - premade sleep plans"]}},"/docs":{"get":{"operationId":"DocController_get","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Gets recent version of the each document type","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocDto"}}}}}},"tags":["Documents"]}},"/docs/{type}":{"get":{"operationId":"DocController_getByType","parameters":[{"name":"type","required":true,"in":"path","description":"privacyPolicy:PrivacyPolicy\n\ntermsOfConditions:TermsOfConditions","x-enum-varnames":["PrivacyPolicy","TermsOfConditions"],"schema":{"example":"termsOfConditions","enum":["privacyPolicy","termsOfConditions"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Gets the recent version of the document with the given type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocDto"}}}}},"tags":["Documents"]}},"/docs/{type}/{id}":{"get":{"operationId":"DocController_getByTypeAndId","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"type","required":true,"in":"path","description":"privacyPolicy:PrivacyPolicy\n\ntermsOfConditions:TermsOfConditions","x-enum-varnames":["PrivacyPolicy","TermsOfConditions"],"schema":{"example":"termsOfConditions","enum":["privacyPolicy","termsOfConditions"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Gets the version of the document with the given type & id, if no id is given, the most recent version is returned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocDto"}}}}},"tags":["Documents"]}},"/admin/firmware/versions":{"post":{"operationId":"FirmwareController_uploadFirmwareFile","parameters":[{"name":"beta","required":true,"in":"query","schema":{"example":false,"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateFirmwareVersionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}}}},"security":[{"api-key":[]}],"tags":["Admin - Hardware firmware"]},"get":{"operationId":"FirmwareController_find","parameters":[{"name":"type","required":false,"in":"query","schema":{"$ref":"#/components/schemas/FirmwareType"}},{"name":"commitHash","required":false,"in":"query","schema":{"example":"13c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"All firmware versions","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}},"application/msgpack":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}}}}},"security":[{"api-key":[]}],"tags":["Admin - Hardware firmware"]}},"/admin/firmware/versions/{versionId}":{"patch":{"operationId":"FirmwareController_updateFirmwareVersion","parameters":[{"name":"versionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFirmwareVersionDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"tags":["Admin - Hardware firmware"]},"delete":{"operationId":"FirmwareController_deleteFirmwareFile","parameters":[{"name":"versionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"tags":["Admin - Hardware firmware"]}},"/admin/firmware/versions/symbols/{commitHash}":{"get":{"operationId":"FirmwareController_getSymbols","parameters":[{"name":"commitHash","required":true,"in":"path","schema":{"example":"13c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirecting to the specified symbols URL"}},"security":[{"api-key":[]}],"tags":["Admin - Hardware firmware"]}},"/hw/firmware/versions":{"get":{"operationId":"FirmwareController_find","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"All firmware versions","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionDto"}}},"application/msgpack":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionDto"}}}}}},"security":[{"bearer":[]}],"tags":["Hardware firmware"]}},"/hw/firmware/versions/{type}/latest":{"get":{"operationId":"FirmwareController_getLatest","parameters":[{"name":"type","required":true,"in":"path","schema":{"$ref":"#/components/schemas/FirmwareType"}},{"name":"beta","required":false,"in":"query","schema":{"example":false,"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Latest firmware version. If the User has a firmware version override, it will return overridden version (not taking into account the beta flag value).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/FirmwareVersionDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware firmware"]}},"/hw/firmware/versions/{versionId}":{"get":{"operationId":"FirmwareController_getByVersionId","parameters":[{"name":"versionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirecting to the specified firmware URL"}},"tags":["Hardware firmware"]}},"/admin/binaryUploads/{uploadId}":{"get":{"operationId":"AdminBinaryUploadController_getBinaryUploadUrlById","parameters":[{"name":"uploadId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirecting to the specified firmware URL"}},"security":[{"api-key":[]}],"tags":["Admin - Hardware firmware"]}},"/admin/binaryUploads":{"get":{"operationId":"AdminBinaryUploadController_getBinaryUploads","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BinaryUploadDto"}}}}}},"security":[{"api-key":[]}],"tags":["Admin - Hardware firmware"]}},"/hw/tools/binaryUpload":{"post":{"operationId":"BinaryUploadController_uploadBinaryFile","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateBinaryUploadDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BinaryUploadDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/BinaryUploadDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware tools"]}},"/assistant/biosignals":{"get":{"operationId":"AssistantController_find","parameters":[{"name":"sessionId","required":true,"in":"query","schema":{"example":"13c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"userId","required":true,"in":"query","schema":{"example":"12c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Latest biosignals","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BiosignalsDto"}}},"application/msgpack":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BiosignalsDto"}}}}}},"security":[{"api-key":[]}],"tags":["Assistant"]}},"/assistant/users/{userId}/sleepPlans":{"post":{"operationId":"AssistantController_createSleepPlan","parameters":[{"name":"userId","required":true,"in":"path","schema":{"example":"12c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUpdateSleepPlanDto"}}}},"responses":{"200":{"description":"Sleep Plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanDto"}}}}},"security":[{"api-key":[]}],"tags":["Assistant"]},"get":{"operationId":"AssistantController_listSleepPlans","parameters":[{"name":"userId","required":true,"in":"path","schema":{"example":"12c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"generated","required":false,"in":"query","description":"Filter sleep plans by generated flag","schema":{"example":true,"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"User defined sleep plans w/o tracks","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanAssistantWithoutTracksDto"}}}}}},"security":[{"api-key":[]}],"tags":["Assistant"]}},"/assistant/users/{userId}/sleepPlans/{sleepPlanId}":{"get":{"operationId":"AssistantController_getSleepPlan","parameters":[{"name":"userId","required":true,"in":"path","schema":{"example":"12c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"sleepPlanId","required":true,"in":"path","schema":{"format":"uuid","example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"User defined sleep plan with tracks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanDto"}}}}},"security":[{"api-key":[]}],"tags":["Assistant"]},"patch":{"operationId":"AssistantController_updateSleepPlan","parameters":[{"name":"userId","required":true,"in":"path","schema":{"example":"12c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"sleepPlanId","required":true,"in":"path","schema":{"format":"uuid","example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAssistantSleepPlanPhasesDto"}}}},"responses":{"200":{"description":"Updated user defined sleep plan with tracks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanDto"}}}}},"security":[{"api-key":[]}],"tags":["Assistant"]}},"/assistant/users/{userId}/onboardings":{"get":{"operationId":"AssistantController_getOnboarding","parameters":[{"name":"userId","required":true,"in":"path","schema":{"example":"12c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Onboarding","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingDto"}}}}},"security":[{"api-key":[]}],"tags":["Assistant"]}},"/mobile/onboardings":{"get":{"operationId":"OnboardingController_findOneByUserId","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"User onboarding","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingDto"}}}}},"security":[{"bearer":[]}],"tags":["Onboardings"]},"post":{"operationId":"OnboardingController_save","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingDto"}}}},"responses":{"201":{"description":"Onboarding","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOnboardingResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Onboardings"]},"delete":{"operationId":"OnboardingController_delete","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Onboardings"]}},"/mobile/premadeSleepPlans/search":{"post":{"operationId":"PremadeSleepPlanController_find","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Premade sleep plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremadeSleepPlanDescResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Premade sleep plans"]}},"/mobile/premadeSleepPlans/{id}":{"get":{"operationId":"PremadeSleepPlanController_get","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Premade sleep plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PremadeSleepPlanDto"}}}}},"security":[{"bearer":[]}],"tags":["Premade sleep plans"]}},"/mobile/premadeSleepPlans/{id}/addToUserSleepPlans":{"post":{"operationId":"PremadeSleepPlanController_createBasedOnPremadeSleepPlan","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBasedOnPremadeSleepPlanDto"}}}},"responses":{"201":{"description":"New sleep plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanDto"}}}}},"security":[{"bearer":[]}],"summary":"Creates a new user sleep based on premade sleep plan","tags":["Premade sleep plans"]}},"/admin/contentDump":{"post":{"operationId":"ContentDumperController_createContentDump","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"201":{"description":""}},"security":[{"api-key":[]}],"tags":["ContentDumper"]}},"/admin/hw/configurations/{deviceId}":{"get":{"operationId":"ConfigurationsController_findOneByUserId","parameters":[{"name":"deviceId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Returns case configuration using the specified deviceId","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}}}}},"security":[{"api-key":[]}],"tags":["Admin Devices management"]},"patch":{"operationId":"ConfigurationsController_update","parameters":[{"name":"deviceId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigUpdateDto"}}}},"responses":{"200":{"description":"Case configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}}}}},"security":[{"api-key":[]}],"tags":["Admin Devices management"]}},"/admin/hw/configurations/bySerialNumbers/{serialNumber}":{"patch":{"operationId":"ConfigurationsController_updateBySerial","parameters":[{"name":"serialNumber","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigUpdateDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"tags":["Admin Devices management"]}},"/admin/hw/configurations/default/bySerialNumbers/{serialNumber}":{"patch":{"operationId":"ConfigurationsController_updateDefaultConfiguration","parameters":[{"name":"serialNumber","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigUpdateDto"}}}},"responses":{"200":{"description":"Case configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/CaseConfigDto"}}}}},"security":[{"api-key":[]}],"tags":["Admin Devices management"]}},"/admin/notifications/users/{userId}":{"post":{"operationId":"AdminNotificationsController_sendByUserId","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"tags":["Admin Notifications"]}},"/admin/notifications/users/{userId}/freeForm":{"post":{"description":"Use the following confirmationText prop value to send a free form notification: 'send free form notification to user {userId}'.","operationId":"AdminNotificationsController_sendFreeFormByUserId","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreeFormNotificationDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"summary":"Sends free form notification","tags":["Admin Notifications"]}},"/admin/notifications/users/{userId}/browser":{"post":{"description":"Use this endpoint to send a notification that opens a URL in the browser.","operationId":"AdminNotificationsController_sendBrowserByUserId","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserNotificationDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"summary":"Sends browser notification","tags":["Admin Notifications"]}},"/admin/notifications/users/{userId}/sleepPlansUpdated":{"post":{"description":"Use this endpoint to notify a user about updates to their sleep plan. Provide the necessary details in the request body using the SleepPlanUpdatedNotificationDto.","operationId":"AdminNotificationsController_sendSleepPlanUpdatedByUserId","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanUpdatedNotificationDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"summary":"Sends sleep plan updated notification","tags":["Admin Notifications"]}},"/admin/tools/cache":{"delete":{"operationId":"AdminToolsController_clearCacheByPatter","parameters":[{"name":"pattern","required":true,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Cache cleared details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CacheDeleteResponseDto"}}}}},"security":[{"api-key":[]}],"tags":["Admin - tools"]}},"/admin/sleepPlans/{sleepPlanId}/phase/{phase}/users/{userId}":{"put":{"description":"Replaces all tracks within a specific phase for a user sleep plan.","operationId":"AdminSleepPlanController_replacePhaseTracks","parameters":[{"name":"sleepPlanId","required":true,"in":"path","schema":{"format":"uuid","example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"phase","required":true,"in":"path","description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"],"schema":{"example":1,"enum":[0,1,2,3],"type":"number"}},{"name":"userId","required":true,"in":"path","schema":{"format":"uuid","example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplacePhaseTracksBodyDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPhaseNoMetadataDto"}}}}}},"security":[{"api-key":[]}],"summary":"Replace tracks in a sleep plan phase","tags":["Admin Sleep Plans"]}},"/admin/sleepPlans/users/{userId}":{"get":{"description":"Returns the list of sleep plans for the specified user.","operationId":"AdminSleepPlanController_getUserSleepPlans","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"generated","required":false,"in":"query","description":"Filter sleep plans by generated flag","schema":{"example":true,"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanDto"}}}}}},"security":[{"api-key":[]}],"summary":"Get a user's sleep plans","tags":["Admin Sleep Plans"]},"post":{"description":"Creates a new sleep plan for the specified user using assistant recommendations and an optional masking track. Defaults: shuffle=false, loop=true.","operationId":"AdminSleepPlanController_createGeneratedSleepPlan","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/CreateAdminSleepPlanDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanDto"}}}}},"security":[{"api-key":[]}],"summary":"Create a new generated sleep plan","tags":["Admin Sleep Plans"]}},"/admin/sleepPlans/users/{userId}/recommendations":{"get":{"description":"Returns the recommended tracks for the specified user (admin access).","operationId":"AdminSleepPlanController_getUserRecommendations","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"pageSize","required":true,"in":"query","description":"Number of requested recommended tracks","schema":{"type":"number"}},{"name":"exclude","required":false,"in":"query","description":"Array of track IDs to exclude from recommendations","schema":{"type":"array","items":{"type":"string"}}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponseTracksDto"}}}}},"security":[{"api-key":[]}],"summary":"Get a user's recommended tracks","tags":["Admin Sleep Plans"]}},"/admin/sleepPlans/{sleepPlanId}/users/{userId}":{"delete":{"operationId":"AdminSleepPlanController_deleteUserSleepPlan","parameters":[{"name":"userId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"sleepPlanId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Sleep plan deleted"}},"security":[{"api-key":[]}],"summary":"Delete a user's sleep plan","tags":["Admin Sleep Plans"]}},"/mobile/search":{"post":{"operationId":"SearchController_search","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequestDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Search"]}},"/mobile/content/likes/tracks":{"get":{"operationId":"ContentLikesController_findByUser","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Returns an array of tracks liked by the user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTracksResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Content"]}},"/mobile/content/likes/ids":{"get":{"operationId":"ContentLikesController_findIdsByUser","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Returns an array of tracks ids liked by the user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTrackIdsResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Content"]}},"/mobile/content/likes/{source}/{id}":{"post":{"operationId":"ContentLikesController_like","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"77","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Content"]},"delete":{"operationId":"ContentLikesController_unlike","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"77","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Content"]}},"/mobile/content/likes/report":{"get":{"operationId":"ReportLikesController_findByUser","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Returns totalLikes for each track","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportLikesResponseDto"}}}}},"security":[{"api-key":[]}],"tags":["Reports"]}},"/admin/users/autocomplete":{"get":{"operationId":"AdminUsersController_autocompleteUserIds","parameters":[{"name":"prefix","required":true,"in":"query","description":"User id prefix (UUID string prefix).","schema":{"example":"9322c384","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of results to return (default 20, max 50).","schema":{"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutocompleteUserIdsResponseDto"}}}}},"security":[{"api-key":[]}],"summary":"Autocomplete user ids by prefix","tags":["Admin Users"]}},"/admin/users":{"get":{"operationId":"AdminUsersController_listAllUsers","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAdminUsersResponseDto"}}}}},"security":[{"api-key":[]}],"summary":"List all users","tags":["Admin Users"]}},"/admin/users/byDeviceSerial/{serialNumber}":{"get":{"operationId":"AdminUsersController_listActiveUsersByDeviceSerial","parameters":[{"name":"serialNumber","required":true,"in":"path","description":"Device serial number","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActiveUsersByDeviceSerialResponseDto"}}}}},"security":[{"api-key":[]}],"summary":"List active users by device serial number","tags":["Admin Users"]}},"/admin/users/{userId}":{"get":{"operationId":"AdminUsersController_getUserById","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDto"}}}}},"security":[{"api-key":[]}],"summary":"Get user by id","tags":["Admin Users"]}},"/admin/users/{userId}/conversations":{"get":{"operationId":"AdminUsersController_getUserConversationHistory","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","schema":{"minimum":1,"maximum":1000,"example":100,"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"example":"string","type":"string"}},{"name":"assistant","required":false,"in":"query","description":"Optional assistant context filter to pass upstream. If provided as \"null\" (string) it will be treated as unset.","schema":{"nullable":true,"enum":["sleep_story","meditation","guided_breathing","recommendations","sleep_plan","catalog_search","sleep_coach","dream","night_summary","podcasts","media_player","supported_commands","biosignals","general_chat","internal_router","error"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserConversationHistoryDto"}}}}},"security":[{"api-key":[]}],"summary":"Get a user's assistant conversation text history (paginated)","tags":["Admin Users"]}},"/admin/users/{userId}/accessToken":{"get":{"operationId":"AdminUsersController_mintUserAccessToken","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserAccessTokenResponseDto"}}}}},"security":[{"api-key":[]}],"summary":"Mint a valid access token for a user's latest device","tags":["Admin Users"]}},"/admin/userPrompts":{"get":{"operationId":"AdminUserContentController_listUserPrompts","parameters":[{"name":"userId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"api-key":[]}],"tags":["Admin User Content"]}},"/admin/userPrompts/{id}":{"get":{"operationId":"AdminUserContentController_getUserPrompt","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"api-key":[]}],"tags":["Admin User Content"]},"delete":{"operationId":"AdminUserContentController_deleteUserPrompt","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"api-key":[]}],"tags":["Admin User Content"]}},"/admin/userPrompts/{id}/media":{"get":{"operationId":"AdminUserContentController_getUserPromptMedia","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirect to prompt media URL"}},"security":[{"api-key":[]}],"tags":["Admin User Content"]}},"/admin/dreamEngineering/sessions":{"get":{"operationId":"AdminUserContentController_listSessions","parameters":[{"name":"userId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"api-key":[]}],"tags":["Admin User Content"]}},"/admin/dreamEngineering/sessions/{id}":{"get":{"operationId":"AdminUserContentController_getSession","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"api-key":[]}],"tags":["Admin User Content"]}},"/admin/dreamCaptures":{"get":{"operationId":"AdminUserContentController_listDreamCaptures","parameters":[{"name":"userId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sessionId","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"api-key":[]}],"tags":["Admin User Content"]}},"/admin/dreamCaptures/{id}":{"get":{"operationId":"AdminUserContentController_getDreamCapture","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"api-key":[]}],"tags":["Admin User Content"]}},"/admin/dreamCaptures/{id}/media":{"get":{"operationId":"AdminUserContentController_getDreamCaptureMedia","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirect to dream capture media URL"}},"security":[{"api-key":[]}],"tags":["Admin User Content"]}},"/mobile/prompts/upload":{"post":{"operationId":"UserPromptsController_uploadPrompt","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/UploadUserPromptDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}},"application/msgpack":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]}},"/mobile/prompts":{"get":{"operationId":"UserPromptsController_listPrompts","parameters":[{"name":"promptType","required":false,"in":"query","schema":{"enum":["incubation","wake_up"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]}},"/mobile/prompts/{id}/media":{"get":{"operationId":"UserPromptsController_getPromptMedia","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"302":{"description":"Redirecting to the specified media URL"}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]}},"/mobile/prompts/{id}":{"delete":{"operationId":"UserPromptsController_deletePrompt","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]}},"/mobile/dreamEngineering/sessions":{"post":{"operationId":"DreamEngineeringSessionsController_create","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDreamEngineeringSessionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}},"application/msgpack":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]},"get":{"operationId":"DreamEngineeringSessionsController_list","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}},"application/msgpack":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]}},"/mobile/dreamEngineering/sessions/{id}":{"get":{"operationId":"DreamEngineeringSessionsController_getOne","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}},"application/msgpack":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]},"patch":{"operationId":"DreamEngineeringSessionsController_update","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDreamEngineeringSessionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}},"application/msgpack":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]}},"/mobile/dreamCaptures":{"get":{"operationId":"DreamCapturesController_list","parameters":[{"name":"sessionId","required":false,"in":"query","schema":{"type":"string"}},{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}},"application/msgpack":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]}},"/mobile/dreamCaptures/{id}/media":{"get":{"operationId":"DreamCapturesController_getMediaUrl","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"302":{"description":"Redirecting to the specified media URL"}},"security":[{"bearer":[]}],"tags":["Dream Engineering"]}},"/hw/embeddedContent":{"get":{"operationId":"EmbeddedContentController_get","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Returns list of embedded content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbeddedContentResponseDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/EmbeddedContentResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware - embedded content"]}},"/hw/embeddedContent/{source}/{id}/media":{"get":{"operationId":"EmbeddedContentController_getMediaUrl","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"99416470-a7bb-4f2b-8595-daef57c7ece0","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirecting to the specified media URL"}},"security":[{"bearer":[]}],"tags":["Hardware - embedded content"]}},"/hw/embeddedContent/{source}/{id}/metadata":{"get":{"operationId":"EmbeddedContentController_getMetadataUrl","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"99416470-a7bb-4f2b-8595-daef57c7ece0","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirecting to the specified media URL"}},"security":[{"bearer":[]}],"tags":["Hardware - embedded content"]}},"/hw/sensorData/messagePack":{"post":{"operationId":"HhRestController_storeSensorData","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"description":"Sensor data message","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/Buffer"}}}},"responses":{"200":{"description":"Stored raw sensor data in db"}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/biosignals":{"post":{"operationId":"HhRestController_saveBiosignalsData","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"description":"Bio signals data message","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/Buffer"}}}},"responses":{"200":{"description":"Stored bio signals"}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/sleepPlans":{"get":{"operationId":"HhRestController_findByUser","parameters":[{"name":"generated","required":false,"in":"query","description":"Filter sleep plans by generated flag","schema":{"example":true,"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"User defined sleep plans w/o tracks","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanHwWithoutTracksDto"}}},"application/msgpack":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanHwWithoutTracksDto"}}}}}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/sleepPlans/{id}":{"get":{"operationId":"HhRestController_findOneByIdUserId","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"User sleep plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanHwDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/SleepPlanHwDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/search":{"post":{"operationId":"HhRestController_search","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequestDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponseHwDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/SearchResponseHwDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/tools/downloadTestFiles":{"get":{"operationId":"TestFilesController_getDownloadSpeedTestFiles","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"List of test files to download","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestFiles"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/TestFiles"}}}}},"tags":["Hardware tools"]}},"/hw/tools/echo":{"post":{"operationId":"TestFilesController_storeSensorData","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"description":"Data to echo","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/Buffer"}}}},"responses":{"200":{"description":"Echo the data received from the request"}},"tags":["Hardware tools"]}},"/hw/testApp/firmware/versions":{"get":{"operationId":"TestAppController_find","parameters":[{"name":"type","required":false,"in":"query","schema":{"$ref":"#/components/schemas/FirmwareType"}},{"name":"commitHash","required":false,"in":"query","schema":{"example":"13c988d4f15e06bcdd0b0af290086a3079cdadb0","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"All firmware versions","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}},"application/msgpack":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}}}}},"security":[{"api-key":[]}],"tags":["Hardware tools"]}},"/hw/testApp/firmware/versions/{versionId}":{"get":{"operationId":"TestAppController_getById","parameters":[{"name":"versionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirecting to the specified firmware URL"}},"security":[{"api-key":[]}],"tags":["Hardware tools"]}},"/hw/testApp/firmware/symbols/{versionId}":{"get":{"operationId":"TestAppController_getSymbolsById","parameters":[{"name":"versionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"302":{"description":"Redirecting to the specified firmware URL"}},"security":[{"api-key":[]}],"tags":["Hardware tools"]}},"/hw/content/tracks/getRecommended":{"post":{"operationId":"HhContentController_getRecommendedTracks","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetRecommendedTracksRequestDto"}}}},"responses":{"200":{"description":"Recommended tracks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracksHwDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/TracksHwDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware content"]}},"/hw/content/tracks/getRecommended/messagePack":{"post":{"operationId":"HhContentController_getRecommendedTracksMsgPack","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"description":"Recommended tracks request message","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/Buffer"}}}},"responses":{"200":{"description":"Recommended tracks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracksHwDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/TracksHwDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware content"]}},"/hw/content/broken/episodes":{"post":{"operationId":"HhContentController_reportBrokenEpisode","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentifierDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponseHwDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/SearchResponseHwDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware content"]}},"/hw/content/tracks/{source}/{id}":{"get":{"operationId":"HhContentController_getTrackById","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"99416470-a7bb-4f2b-8595-daef57c7ece0","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Track metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackHwDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/TrackHwDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware content"]}},"/hw/content/tracks/get":{"post":{"operationId":"HhContentController_getTracksByIds","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTracksRequestHwDto"}}}},"responses":{"200":{"description":"Tracks metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TracksHwDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/TracksHwDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware content"]}},"/mobile/sleepClassification/{sessionId}":{"get":{"operationId":"SleepClassificationController_findOneByUserId","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Sleep classification","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepClassificationDto"}}}}},"security":[{"bearer":[]}],"tags":["Sleep classification"]}},"/mobile/content/broken/episodes":{"post":{"operationId":"ContentBrokenController_reportEpisode","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentifierDto"}}}},"responses":{"200":{"description":"Confirm receive report"}},"security":[{"bearer":[]}],"tags":["Content"]}},"/hw/sleepSessions/{sessionId}/classify":{"get":{"operationId":"SleepSessionController_classify","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"activationThreshold","required":true,"in":"query","description":"Model activation threshold (minutes)","schema":{"minimum":1,"type":"number"}},{"name":"userInteraction","required":true,"in":"query","description":"User interaction in last epoch (0 or 1)","schema":{"minimum":0,"maximum":1,"type":"number"}},{"name":"mode","required":false,"in":"query","schema":{"$ref":"#/components/schemas/ClassifyMode"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Sleep classification","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepClassificationDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/SleepClassificationDto"}}}}},"security":[{"bearer":[]}],"tags":["Sleep session"]}},"/hw/sleepSessions/{sessionId}/end":{"post":{"operationId":"SleepSessionController_endSession","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndSessionDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Sleep session"]}},"/hw/sleepSessions/current":{"get":{"operationId":"SleepSessionController_getCurrentSessionId","parameters":[{"name":"ianaTimezone","required":true,"in":"query","description":"IANA timezone","schema":{"$ref":"#/components/schemas/TimezoneIanaEnum"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Active session id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSleepSessionResponseDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/GetSleepSessionResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Sleep session"]}},"/hw/analytics/events":{"post":{"operationId":"AnalyticEventController_newEvent","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AnalyticEventDto"}}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/analytics/events/messagePack":{"post":{"operationId":"AnalyticEventController_newEventMsgPack","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"description":"Events data message","content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/Buffer"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/premadeSleepPlans/search":{"post":{"operationId":"PremadeSleepPlanController_find","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Premade sleep plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HwPremadeSleepPlanDescResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/hw/premadeSleepPlans/{id}":{"get":{"operationId":"PremadeSleepPlanController_get","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Premade sleep plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepPlanHwDto"}}}}},"security":[{"bearer":[]}],"tags":["Hardware"]}},"/mobile/analytics/events":{"post":{"operationId":"AnalyticEventController_newEvent","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AnalyticEventDto"}}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Analytics"]}},"/mobile/firmware/versions":{"get":{"operationId":"FirmwareController_find","parameters":[{"name":"type","required":false,"in":"query","schema":{"$ref":"#/components/schemas/FirmwareType"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"All firmware versions","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}},"application/msgpack":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}}}}},"security":[{"bearer":[]}],"tags":["Mobile - Hardware firmware"]}},"/mobile/firmware/versions/{type}/latest":{"get":{"operationId":"FirmwareController_getLatest","parameters":[{"name":"type","required":true,"in":"path","schema":{"$ref":"#/components/schemas/FirmwareType"}},{"name":"beta","required":false,"in":"query","schema":{"example":false,"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Latest firmware version. If the User has a firmware version override, it will return overridden version (not taking into account the beta flag value).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}},"application/msgpack":{"schema":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}}}},"security":[{"bearer":[]}],"tags":["Mobile - Hardware firmware"]}},"/mobile/firmware/versions/{versionId}":{"get":{"operationId":"FirmwareController_getByVersionId","parameters":[{"name":"versionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"302":{"description":"Redirecting to the specified firmware URL"}},"security":[{"bearer":[]}],"tags":["Mobile - Hardware firmware"]}},"/mobile/content/collection/{source}/{id}":{"get":{"operationId":"CollectionController_getCollection","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"99416470-a7bb-4f2b-8595-daef57c7ece0","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCollectionResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Content"]}},"/mobile/content/collection/{source}/{id}/tracks":{"get":{"operationId":"CollectionController_getTracks","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"99416470-a7bb-4f2b-8595-daef57c7ece0","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"pageSize","required":false,"in":"query","schema":{"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sort","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Sort"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCollectionTracksResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Content"]}},"/mobile/content/follow/{contentType}/{source}/{id}":{"get":{"operationId":"ContentFollowController_get","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"77","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"contentType","required":true,"in":"path","description":"collection:collection","x-enum-varnames":["collection"],"schema":{"example":"collection","enum":["collection"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Whether or not the content is followed","content":{"application/json":{"schema":{"type":"boolean"}}}}},"security":[{"bearer":[]}],"tags":["Content"]},"post":{"operationId":"ContentFollowController_follow","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"77","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"contentType","required":true,"in":"path","description":"collection:collection","x-enum-varnames":["collection"],"schema":{"example":"collection","enum":["collection"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Content"]},"delete":{"operationId":"ContentFollowController_unfollow","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":"77","type":"string"}},{"name":"source","required":true,"in":"path","description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"],"schema":{"example":2,"enum":[1,2,3,4],"type":"number"}},{"name":"contentType","required":true,"in":"path","description":"collection:collection","x-enum-varnames":["collection"],"schema":{"example":"collection","enum":["collection"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Content"]}},"/mobile/lifeLogs":{"get":{"operationId":"LifeLogController_find","parameters":[{"name":"pageSize","required":false,"in":"query","schema":{"example":20,"type":"number"}},{"name":"pageToken","required":false,"in":"query","schema":{"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Life log entries","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LifeLogsResponse"}}}}},"security":[{"bearer":[]}],"tags":["Life Logs"]}},"/mobile/sleepData/longTerm":{"get":{"description":"Returns sleep data for a requested period in requested resolution","operationId":"SleepDataController_getLongTermSleepData","parameters":[{"name":"startDate","required":true,"in":"query","description":"Beginning of the time range for the data","schema":{"format":"date-time","type":"string"}},{"name":"endDate","required":true,"in":"query","description":"Ending of the time range for the data","schema":{"format":"date-time","type":"string"}},{"name":"resolution","required":true,"in":"query","description":"Resolution of the data in seconds","schema":{"enum":["day","week","month","quarter","year"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Sleep Data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LongTermSleepDataDto"}}}}},"security":[{"bearer":[]}],"summary":"Get long term sleep data","tags":["Sleep data"]}},"/mobile/sleepData/daily":{"get":{"description":"Returns sleep data for a requested period in requested resolution","operationId":"SleepDataDailyController_getNightlySleepData","parameters":[{"name":"date","required":true,"in":"query","description":"User midnight of the desired date when sleep session ended (UTC). Eg. To see data for 14th of March 2022 when the User is in \"+1\" timezone - app should send 2022-03-13T23:00:00.000Z","schema":{"format":"date-time","type":"string"}},{"name":"resolution","required":true,"in":"query","description":"Resolution of the data in seconds","schema":{"type":"number"}},{"name":"useTwoStage","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Sleep Data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepDataDto"}}}}},"security":[{"bearer":[]}],"summary":"Get sleep data","tags":["Daily sleep data"]}},"/mobile/sleepData/daily/hypnogram/{sessionId}":{"get":{"description":"Returns hypnogram data for a requested day","operationId":"SleepDataDailyController_getHypnogram","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"date","required":true,"in":"query","description":"User midnight of the desired date when sleep session ended (UTC). Eg. To see data for 14th of March 2022 when the User is in \"+1\" timezone - app should send 2022-03-13T23:00:00.000Z","schema":{"format":"date-time","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Hypnogram Data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HypnogramResponseDto"}}}}},"security":[{"bearer":[]}],"summary":"Get hypnogram data","tags":["Daily sleep data"]}},"/mobile/sleepData/daily/sleepSummary":{"get":{"description":"Returns sleep summary data for a requested day","operationId":"SleepDataDailyController_getSleepSummary","parameters":[{"name":"dateFrom","required":true,"in":"query","description":"User midnight of the desired from date when sleep session ended (UTC). Eg. To see data for 14th of March 2022 when the User is in \"+1\" timezone - app should send 2022-03-13T23:00:00.000Z","schema":{"format":"date-time","type":"string"}},{"name":"dateTo","required":true,"in":"query","description":"User midnight of the desired to date when sleep session ended (UTC). Eg. To see data for 14th of March 2022 when the User is in \"+1\" timezone - app should send 2022-03-13T23:00:00.000Z","schema":{"format":"date-time","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Sleep Summary Data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SleepSummaryListResponseDto"}}}}},"security":[{"bearer":[]}],"summary":"Get sleep summary data","tags":["Daily sleep data"]}},"/mobile/sleepData/daily/biosignals/{biosignalsType}/{sessionId}":{"get":{"description":"Returns biosignals from night data for a requested day","operationId":"SleepDataDailyController_getBiosignals","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"biosignalsType","required":true,"in":"path","description":"Biosignal type, allowed values:  \"hr\", \"rr\", \"hrv\"","schema":{"enum":["hr","rr","hrv"],"type":"string"}},{"name":"date","required":true,"in":"query","description":"User midnight of the desired date when sleep session ended (UTC). Eg. To see data for 14th of March 2022 when the User is in \"+1\" timezone - app should send 2022-03-13T23:00:00.000Z","schema":{"format":"date-time","type":"string"}},{"name":"resolution","required":true,"in":"query","description":"Resolution of the data in seconds","schema":{"type":"number"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Biosignals Data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BiosignalsResponseDto"}}}}},"security":[{"bearer":[]}],"summary":"Get biosignals from night data","tags":["Daily sleep data"]}},"/mobile/sleepData/external/{source}":{"post":{"description":"Stores external sleep data in the Sleep Api","operationId":"ExternalSleepDataController_saveSleepData","parameters":[{"name":"source","required":true,"in":"path","description":"apple:apple","x-enum-varnames":["apple"],"schema":{"example":"apple","enum":["apple"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExternalSleepDataPayload"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Stores external sleep data in the system","tags":["External Sleep Data"]}},"/mobile/playlists/{type}":{"get":{"operationId":"PlaylistController_search","parameters":[{"name":"type","required":true,"in":"path","schema":{"enum":["whatsNew","recommended","mightAlsoLike","recentlyPlayed"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPlaylistResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Playlists"]}},"/recommendations":{"post":{"operationId":"RecommendationsController_newRecommendations","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewRecommendationsDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"tags":["Recommendations"]}},"/mobile/assistant/biosignals":{"get":{"operationId":"AssistantController_find","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Latest biosignals","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}},"application/msgpack":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FirmwareVersionWithReleaseNotesDto"}}}}}},"security":[{"bearer":[]}],"tags":["Mobile Assistant"]}},"/mobile/tools/timezone/posix":{"get":{"operationId":"ToolsController_getPosixTz","parameters":[{"name":"ianaTz","required":true,"in":"query","description":"Africa/Abidjan:Africa/Abidjan\n\nAfrica/Accra:Africa/Accra\n\nAfrica/Addis_Ababa:Africa/Addis_Ababa\n\nAfrica/Algiers:Africa/Algiers\n\nAfrica/Asmera:Africa/Asmera\n\nAfrica/Bamako:Africa/Bamako\n\nAfrica/Bangui:Africa/Bangui\n\nAfrica/Banjul:Africa/Banjul\n\nAfrica/Bissau:Africa/Bissau\n\nAfrica/Blantyre:Africa/Blantyre\n\nAfrica/Brazzaville:Africa/Brazzaville\n\nAfrica/Bujumbura:Africa/Bujumbura\n\nAfrica/Cairo:Africa/Cairo\n\nAfrica/Casablanca:Africa/Casablanca\n\nAfrica/Ceuta:Africa/Ceuta\n\nAfrica/Conakry:Africa/Conakry\n\nAfrica/Dakar:Africa/Dakar\n\nAfrica/Dar_es_Salaam:Africa/Dar_es_Salaam\n\nAfrica/Djibouti:Africa/Djibouti\n\nAfrica/Douala:Africa/Douala\n\nAfrica/El_Aaiun:Africa/El_Aaiun\n\nAfrica/Freetown:Africa/Freetown\n\nAfrica/Gaborone:Africa/Gaborone\n\nAfrica/Harare:Africa/Harare\n\nAfrica/Johannesburg:Africa/Johannesburg\n\nAfrica/Juba:Africa/Juba\n\nAfrica/Kampala:Africa/Kampala\n\nAfrica/Khartoum:Africa/Khartoum\n\nAfrica/Kigali:Africa/Kigali\n\nAfrica/Kinshasa:Africa/Kinshasa\n\nAfrica/Lagos:Africa/Lagos\n\nAfrica/Libreville:Africa/Libreville\n\nAfrica/Lome:Africa/Lome\n\nAfrica/Luanda:Africa/Luanda\n\nAfrica/Lubumbashi:Africa/Lubumbashi\n\nAfrica/Lusaka:Africa/Lusaka\n\nAfrica/Malabo:Africa/Malabo\n\nAfrica/Maputo:Africa/Maputo\n\nAfrica/Maseru:Africa/Maseru\n\nAfrica/Mbabane:Africa/Mbabane\n\nAfrica/Mogadishu:Africa/Mogadishu\n\nAfrica/Monrovia:Africa/Monrovia\n\nAfrica/Nairobi:Africa/Nairobi\n\nAfrica/Ndjamena:Africa/Ndjamena\n\nAfrica/Niamey:Africa/Niamey\n\nAfrica/Nouakchott:Africa/Nouakchott\n\nAfrica/Ouagadougou:Africa/Ouagadougou\n\nAfrica/Porto-Novo:Africa/Porto-Novo\n\nAfrica/Sao_Tome:Africa/Sao_Tome\n\nAfrica/Tripoli:Africa/Tripoli\n\nAfrica/Tunis:Africa/Tunis\n\nAfrica/Windhoek:Africa/Windhoek\n\nAmerica/Anchorage:America/Anchorage\n\nAmerica/Anguilla:America/Anguilla\n\nAmerica/Antigua:America/Antigua\n\nAmerica/Araguaina:America/Araguaina\n\nAmerica/Argentina/La_Rioja:America/Argentina/La_Rioja\n\nAmerica/Argentina/Rio_Gallegos:America/Argentina/Rio_Gallegos\n\nAmerica/Argentina/Salta:America/Argentina/Salta\n\nAmerica/Argentina/San_Juan:America/Argentina/San_Juan\n\nAmerica/Argentina/San_Luis:America/Argentina/San_Luis\n\nAmerica/Argentina/Tucuman:America/Argentina/Tucuman\n\nAmerica/Argentina/Ushuaia:America/Argentina/Ushuaia\n\nAmerica/Aruba:America/Aruba\n\nAmerica/Asuncion:America/Asuncion\n\nAmerica/Bahia:America/Bahia\n\nAmerica/Bahia_Banderas:America/Bahia_Banderas\n\nAmerica/Barbados:America/Barbados\n\nAmerica/Belem:America/Belem\n\nAmerica/Belize:America/Belize\n\nAmerica/Blanc-Sablon:America/Blanc-Sablon\n\nAmerica/Boa_Vista:America/Boa_Vista\n\nAmerica/Bogota:America/Bogota\n\nAmerica/Boise:America/Boise\n\nAmerica/Buenos_Aires:America/Buenos_Aires\n\nAmerica/Cambridge_Bay:America/Cambridge_Bay\n\nAmerica/Campo_Grande:America/Campo_Grande\n\nAmerica/Cancun:America/Cancun\n\nAmerica/Caracas:America/Caracas\n\nAmerica/Catamarca:America/Catamarca\n\nAmerica/Cayenne:America/Cayenne\n\nAmerica/Cayman:America/Cayman\n\nAmerica/Chicago:America/Chicago\n\nAmerica/Chihuahua:America/Chihuahua\n\nAmerica/Coral_Harbour:America/Coral_Harbour\n\nAmerica/Cordoba:America/Cordoba\n\nAmerica/Costa_Rica:America/Costa_Rica\n\nAmerica/Creston:America/Creston\n\nAmerica/Cuiaba:America/Cuiaba\n\nAmerica/Curacao:America/Curacao\n\nAmerica/Danmarkshavn:America/Danmarkshavn\n\nAmerica/Dawson:America/Dawson\n\nAmerica/Dawson_Creek:America/Dawson_Creek\n\nAmerica/Denver:America/Denver\n\nAmerica/Detroit:America/Detroit\n\nAmerica/Dominica:America/Dominica\n\nAmerica/Edmonton:America/Edmonton\n\nAmerica/Eirunepe:America/Eirunepe\n\nAmerica/El_Salvador:America/El_Salvador\n\nAmerica/Fortaleza:America/Fortaleza\n\nAmerica/Glace_Bay:America/Glace_Bay\n\nAmerica/Godthab:America/Godthab\n\nAmerica/Goose_Bay:America/Goose_Bay\n\nAmerica/Grand_Turk:America/Grand_Turk\n\nAmerica/Grenada:America/Grenada\n\nAmerica/Guadeloupe:America/Guadeloupe\n\nAmerica/Guatemala:America/Guatemala\n\nAmerica/Guayaquil:America/Guayaquil\n\nAmerica/Guyana:America/Guyana\n\nAmerica/Halifax:America/Halifax\n\nAmerica/Havana:America/Havana\n\nAmerica/Hermosillo:America/Hermosillo\n\nAmerica/Indiana/Knox:America/Indiana/Knox\n\nAmerica/Indiana/Marengo:America/Indiana/Marengo\n\nAmerica/Indiana/Petersburg:America/Indiana/Petersburg\n\nAmerica/Indiana/Tell_City:America/Indiana/Tell_City\n\nAmerica/Indiana/Vevay:America/Indiana/Vevay\n\nAmerica/Indiana/Vincennes:America/Indiana/Vincennes\n\nAmerica/Indiana/Winamac:America/Indiana/Winamac\n\nAmerica/Indianapolis:America/Indianapolis\n\nAmerica/Inuvik:America/Inuvik\n\nAmerica/Iqaluit:America/Iqaluit\n\nAmerica/Jamaica:America/Jamaica\n\nAmerica/Jujuy:America/Jujuy\n\nAmerica/Juneau:America/Juneau\n\nAmerica/Kentucky/Monticello:America/Kentucky/Monticello\n\nAmerica/Kralendijk:America/Kralendijk\n\nAmerica/La_Paz:America/La_Paz\n\nAmerica/Lima:America/Lima\n\nAmerica/Los_Angeles:America/Los_Angeles\n\nAmerica/Louisville:America/Louisville\n\nAmerica/Lower_Princes:America/Lower_Princes\n\nAmerica/Maceio:America/Maceio\n\nAmerica/Managua:America/Managua\n\nAmerica/Manaus:America/Manaus\n\nAmerica/Marigot:America/Marigot\n\nAmerica/Martinique:America/Martinique\n\nAmerica/Matamoros:America/Matamoros\n\nAmerica/Mazatlan:America/Mazatlan\n\nAmerica/Mendoza:America/Mendoza\n\nAmerica/Menominee:America/Menominee\n\nAmerica/Merida:America/Merida\n\nAmerica/Mexico_City:America/Mexico_City\n\nAmerica/Moncton:America/Moncton\n\nAmerica/Monterrey:America/Monterrey\n\nAmerica/Montevideo:America/Montevideo\n\nAmerica/Montreal:America/Montreal\n\nAmerica/Montserrat:America/Montserrat\n\nAmerica/Nassau:America/Nassau\n\nAmerica/New_York:America/New_York\n\nAmerica/Nipigon:America/Nipigon\n\nAmerica/Nome:America/Nome\n\nAmerica/Noronha:America/Noronha\n\nAmerica/North_Dakota/Beulah:America/North_Dakota/Beulah\n\nAmerica/North_Dakota/Center:America/North_Dakota/Center\n\nAmerica/North_Dakota/New_Salem:America/North_Dakota/New_Salem\n\nAmerica/Ojinaga:America/Ojinaga\n\nAmerica/Panama:America/Panama\n\nAmerica/Pangnirtung:America/Pangnirtung\n\nAmerica/Paramaribo:America/Paramaribo\n\nAmerica/Phoenix:America/Phoenix\n\nAmerica/Port-au-Prince:America/Port-au-Prince\n\nAmerica/Port_of_Spain:America/Port_of_Spain\n\nAmerica/Porto_Velho:America/Porto_Velho\n\nAmerica/Puerto_Rico:America/Puerto_Rico\n\nAmerica/Rainy_River:America/Rainy_River\n\nAmerica/Rankin_Inlet:America/Rankin_Inlet\n\nAmerica/Recife:America/Recife\n\nAmerica/Regina:America/Regina\n\nAmerica/Resolute:America/Resolute\n\nAmerica/Rio_Branco:America/Rio_Branco\n\nAmerica/Santarem:America/Santarem\n\nAmerica/Santiago:America/Santiago\n\nAmerica/Santo_Domingo:America/Santo_Domingo\n\nAmerica/Sao_Paulo:America/Sao_Paulo\n\nAmerica/Scoresbysund:America/Scoresbysund\n\nAmerica/Sitka:America/Sitka\n\nAmerica/St_Barthelemy:America/St_Barthelemy\n\nAmerica/St_Johns:America/St_Johns\n\nAmerica/St_Kitts:America/St_Kitts\n\nAmerica/St_Lucia:America/St_Lucia\n\nAmerica/St_Thomas:America/St_Thomas\n\nAmerica/St_Vincent:America/St_Vincent\n\nAmerica/Swift_Current:America/Swift_Current\n\nAmerica/Tegucigalpa:America/Tegucigalpa\n\nAmerica/Thule:America/Thule\n\nAmerica/Thunder_Bay:America/Thunder_Bay\n\nAmerica/Tijuana:America/Tijuana\n\nAmerica/Toronto:America/Toronto\n\nAmerica/Tortola:America/Tortola\n\nAmerica/Vancouver:America/Vancouver\n\nAmerica/Whitehorse:America/Whitehorse\n\nAmerica/Winnipeg:America/Winnipeg\n\nAmerica/Yakutat:America/Yakutat\n\nAmerica/Yellowknife:America/Yellowknife\n\nAntarctica/Casey:Antarctica/Casey\n\nAntarctica/Davis:Antarctica/Davis\n\nAntarctica/DumontDUrville:Antarctica/DumontDUrville\n\nAntarctica/Macquarie:Antarctica/Macquarie\n\nAntarctica/Mawson:Antarctica/Mawson\n\nAntarctica/McMurdo:Antarctica/McMurdo\n\nAntarctica/Palmer:Antarctica/Palmer\n\nAntarctica/Rothera:Antarctica/Rothera\n\nAntarctica/Syowa:Antarctica/Syowa\n\nAntarctica/Vostok:Antarctica/Vostok\n\nArctic/Longyearbyen:Arctic/Longyearbyen\n\nAsia/Aden:Asia/Aden\n\nAsia/Almaty:Asia/Almaty\n\nAsia/Amman:Asia/Amman\n\nAsia/Anadyr:Asia/Anadyr\n\nAsia/Aqtau:Asia/Aqtau\n\nAsia/Aqtobe:Asia/Aqtobe\n\nAsia/Ashgabat:Asia/Ashgabat\n\nAsia/Baghdad:Asia/Baghdad\n\nAsia/Bahrain:Asia/Bahrain\n\nAsia/Baku:Asia/Baku\n\nAsia/Bangkok:Asia/Bangkok\n\nAsia/Beirut:Asia/Beirut\n\nAsia/Bishkek:Asia/Bishkek\n\nAsia/Brunei:Asia/Brunei\n\nAsia/Calcutta:Asia/Calcutta\n\nAsia/Chita:Asia/Chita\n\nAsia/Choibalsan:Asia/Choibalsan\n\nAsia/Colombo:Asia/Colombo\n\nAsia/Damascus:Asia/Damascus\n\nAsia/Dhaka:Asia/Dhaka\n\nAsia/Dili:Asia/Dili\n\nAsia/Dubai:Asia/Dubai\n\nAsia/Dushanbe:Asia/Dushanbe\n\nAsia/Hong_Kong:Asia/Hong_Kong\n\nAsia/Hovd:Asia/Hovd\n\nAsia/Irkutsk:Asia/Irkutsk\n\nAsia/Jakarta:Asia/Jakarta\n\nAsia/Jayapura:Asia/Jayapura\n\nAsia/Jerusalem:Asia/Jerusalem\n\nAsia/Kabul:Asia/Kabul\n\nAsia/Kamchatka:Asia/Kamchatka\n\nAsia/Karachi:Asia/Karachi\n\nAsia/Kathmandu:Asia/Kathmandu\n\nAsia/Khandyga:Asia/Khandyga\n\nAsia/Kolkata:Asia/Kolkata\n\nAsia/Krasnoyarsk:Asia/Krasnoyarsk\n\nAsia/Kuala_Lumpur:Asia/Kuala_Lumpur\n\nAsia/Kuching:Asia/Kuching\n\nAsia/Kuwait:Asia/Kuwait\n\nAsia/Macau:Asia/Macau\n\nAsia/Magadan:Asia/Magadan\n\nAsia/Makassar:Asia/Makassar\n\nAsia/Manila:Asia/Manila\n\nAsia/Muscat:Asia/Muscat\n\nAsia/Nicosia:Asia/Nicosia\n\nAsia/Novokuznetsk:Asia/Novokuznetsk\n\nAsia/Novosibirsk:Asia/Novosibirsk\n\nAsia/Omsk:Asia/Omsk\n\nAsia/Oral:Asia/Oral\n\nAsia/Phnom_Penh:Asia/Phnom_Penh\n\nAsia/Pontianak:Asia/Pontianak\n\nAsia/Pyongyang:Asia/Pyongyang\n\nAsia/Qatar:Asia/Qatar\n\nAsia/Qyzylorda:Asia/Qyzylorda\n\nAsia/Rangoon:Asia/Rangoon\n\nAsia/Riyadh:Asia/Riyadh\n\nAsia/Saigon:Asia/Saigon\n\nAsia/Sakhalin:Asia/Sakhalin\n\nAsia/Samarkand:Asia/Samarkand\n\nAsia/Seoul:Asia/Seoul\n\nAsia/Shanghai:Asia/Shanghai\n\nAsia/Singapore:Asia/Singapore\n\nAsia/Srednekolymsk:Asia/Srednekolymsk\n\nAsia/Taipei:Asia/Taipei\n\nAsia/Tashkent:Asia/Tashkent\n\nAsia/Tbilisi:Asia/Tbilisi\n\nAsia/Tehran:Asia/Tehran\n\nAsia/Thimphu:Asia/Thimphu\n\nAsia/Tokyo:Asia/Tokyo\n\nAsia/Ulaanbaatar:Asia/Ulaanbaatar\n\nAsia/Urumqi:Asia/Urumqi\n\nAsia/Ust-Nera:Asia/Ust-Nera\n\nAsia/Vientiane:Asia/Vientiane\n\nAsia/Vladivostok:Asia/Vladivostok\n\nAsia/Yakutsk:Asia/Yakutsk\n\nAsia/Yekaterinburg:Asia/Yekaterinburg\n\nAsia/Yerevan:Asia/Yerevan\n\nAtlantic/Azores:Atlantic/Azores\n\nAtlantic/Bermuda:Atlantic/Bermuda\n\nAtlantic/Canary:Atlantic/Canary\n\nAtlantic/Cape_Verde:Atlantic/Cape_Verde\n\nAtlantic/Faeroe:Atlantic/Faeroe\n\nAtlantic/Madeira:Atlantic/Madeira\n\nAtlantic/Reykjavik:Atlantic/Reykjavik\n\nAtlantic/South_Georgia:Atlantic/South_Georgia\n\nAtlantic/St_Helena:Atlantic/St_Helena\n\nAtlantic/Stanley:Atlantic/Stanley\n\nAustralia/Adelaide:Australia/Adelaide\n\nAustralia/Brisbane:Australia/Brisbane\n\nAustralia/Broken_Hill:Australia/Broken_Hill\n\nAustralia/Currie:Australia/Currie\n\nAustralia/Darwin:Australia/Darwin\n\nAustralia/Hobart:Australia/Hobart\n\nAustralia/Lindeman:Australia/Lindeman\n\nAustralia/Melbourne:Australia/Melbourne\n\nAustralia/Perth:Australia/Perth\n\nAustralia/Sydney:Australia/Sydney\n\nCST6CDT:CST6CDT\n\nEST5EDT:EST5EDT\n\nEtc/GMT:Etc/GMT\n\nEtc/GMT+1:Etc/GMT+1\n\nEtc/GMT+10:Etc/GMT+10\n\nEtc/GMT+11:Etc/GMT+11\n\nEtc/GMT+12:Etc/GMT+12\n\nEtc/GMT+2:Etc/GMT+2\n\nEtc/GMT+3:Etc/GMT+3\n\nEtc/GMT+4:Etc/GMT+4\n\nEtc/GMT+5:Etc/GMT+5\n\nEtc/GMT+6:Etc/GMT+6\n\nEtc/GMT+7:Etc/GMT+7\n\nEtc/GMT-1:Etc/GMT-1\n\nEtc/GMT-10:Etc/GMT-10\n\nEtc/GMT-11:Etc/GMT-11\n\nEtc/GMT-12:Etc/GMT-12\n\nEtc/GMT-13:Etc/GMT-13\n\nEtc/GMT-2:Etc/GMT-2\n\nEtc/GMT-3:Etc/GMT-3\n\nEtc/GMT-4:Etc/GMT-4\n\nEtc/GMT-5:Etc/GMT-5\n\nEtc/GMT-6:Etc/GMT-6\n\nEtc/GMT-7:Etc/GMT-7\n\nEtc/GMT-8:Etc/GMT-8\n\nEtc/GMT-9:Etc/GMT-9\n\nEurope/Amsterdam:Europe/Amsterdam\n\nEurope/Andorra:Europe/Andorra\n\nEurope/Astrakhan:Europe/Astrakhan\n\nEurope/Athens:Europe/Athens\n\nEurope/Belgrade:Europe/Belgrade\n\nEurope/Berlin:Europe/Berlin\n\nEurope/Bratislava:Europe/Bratislava\n\nEurope/Brussels:Europe/Brussels\n\nEurope/Bucharest:Europe/Bucharest\n\nEurope/Budapest:Europe/Budapest\n\nEurope/Busingen:Europe/Busingen\n\nEurope/Chisinau:Europe/Chisinau\n\nEurope/Copenhagen:Europe/Copenhagen\n\nEurope/Dublin:Europe/Dublin\n\nEurope/Gibraltar:Europe/Gibraltar\n\nEurope/Guernsey:Europe/Guernsey\n\nEurope/Helsinki:Europe/Helsinki\n\nEurope/Isle_of_Man:Europe/Isle_of_Man\n\nEurope/Istanbul:Europe/Istanbul\n\nEurope/Jersey:Europe/Jersey\n\nEurope/Kaliningrad:Europe/Kaliningrad\n\nEurope/Kiev:Europe/Kiev\n\nEurope/Kyiv:Europe/Kyiv\n\nEurope/Kirov:Europe/Kirov\n\nEurope/Lisbon:Europe/Lisbon\n\nEurope/Ljubljana:Europe/Ljubljana\n\nEurope/London:Europe/London\n\nEurope/Luxembourg:Europe/Luxembourg\n\nEurope/Madrid:Europe/Madrid\n\nEurope/Malta:Europe/Malta\n\nEurope/Mariehamn:Europe/Mariehamn\n\nEurope/Minsk:Europe/Minsk\n\nEurope/Monaco:Europe/Monaco\n\nEurope/Moscow:Europe/Moscow\n\nEurope/Nicosia:Europe/Nicosia\n\nEurope/Oslo:Europe/Oslo\n\nEurope/Paris:Europe/Paris\n\nEurope/Podgorica:Europe/Podgorica\n\nEurope/Prague:Europe/Prague\n\nEurope/Riga:Europe/Riga\n\nEurope/Rome:Europe/Rome\n\nEurope/Samara:Europe/Samara\n\nEurope/San_Marino:Europe/San_Marino\n\nEurope/Sarajevo:Europe/Sarajevo\n\nEurope/Simferopol:Europe/Simferopol\n\nEurope/Skopje:Europe/Skopje\n\nEurope/Sofia:Europe/Sofia\n\nEurope/Stockholm:Europe/Stockholm\n\nEurope/Tallinn:Europe/Tallinn\n\nEurope/Tirane:Europe/Tirane\n\nEurope/Ulyanovsk:Europe/Ulyanovsk\n\nEurope/Uzhgorod:Europe/Uzhgorod\n\nEurope/Vaduz:Europe/Vaduz\n\nEurope/Vatican:Europe/Vatican\n\nEurope/Vienna:Europe/Vienna\n\nEurope/Vilnius:Europe/Vilnius\n\nEurope/Volgograd:Europe/Volgograd\n\nEurope/Warsaw:Europe/Warsaw\n\nEurope/Zagreb:Europe/Zagreb\n\nEurope/Zaporozhye:Europe/Zaporozhye\n\nEurope/Zurich:Europe/Zurich\n\nIndian/Antananarivo:Indian/Antananarivo\n\nIndian/Chagos:Indian/Chagos\n\nIndian/Christmas:Indian/Christmas\n\nIndian/Cocos:Indian/Cocos\n\nIndian/Comoro:Indian/Comoro\n\nIndian/Kerguelen:Indian/Kerguelen\n\nIndian/Mahe:Indian/Mahe\n\nIndian/Maldives:Indian/Maldives\n\nIndian/Mauritius:Indian/Mauritius\n\nIndian/Mayotte:Indian/Mayotte\n\nIndian/Reunion:Indian/Reunion\n\nMST7MDT:MST7MDT\n\nPST8PDT:PST8PDT\n\nPacific/Apia:Pacific/Apia\n\nPacific/Auckland:Pacific/Auckland\n\nPacific/Efate:Pacific/Efate\n\nPacific/Enderbury:Pacific/Enderbury\n\nPacific/Fakaofo:Pacific/Fakaofo\n\nPacific/Fiji:Pacific/Fiji\n\nPacific/Funafuti:Pacific/Funafuti\n\nPacific/Galapagos:Pacific/Galapagos\n\nPacific/Guadalcanal:Pacific/Guadalcanal\n\nPacific/Guam:Pacific/Guam\n\nPacific/Honolulu:Pacific/Honolulu\n\nPacific/Johnston:Pacific/Johnston\n\nPacific/Kosrae:Pacific/Kosrae\n\nPacific/Kwajalein:Pacific/Kwajalein\n\nPacific/Majuro:Pacific/Majuro\n\nPacific/Midway:Pacific/Midway\n\nPacific/Nauru:Pacific/Nauru\n\nPacific/Niue:Pacific/Niue\n\nPacific/Noumea:Pacific/Noumea\n\nPacific/Pago_Pago:Pacific/Pago_Pago\n\nPacific/Palau:Pacific/Palau\n\nPacific/Ponape:Pacific/Ponape\n\nPacific/Port_Moresby:Pacific/Port_Moresby\n\nPacific/Rarotonga:Pacific/Rarotonga\n\nPacific/Saipan:Pacific/Saipan\n\nPacific/Tahiti:Pacific/Tahiti\n\nPacific/Tarawa:Pacific/Tarawa\n\nPacific/Tongatapu:Pacific/Tongatapu\n\nPacific/Truk:Pacific/Truk\n\nPacific/Wake:Pacific/Wake\n\nPacific/Wallis:Pacific/Wallis\n\nUS/Alaska:US/Alaska\n\nUS/Aleutian:US/Aleutian\n\nUS/Arizona:US/Arizona\n\nUS/Central:US/Central\n\nUS/Eastern:US/Eastern\n\nUS/East=Indiana:US/East-Indiana\n\nUS/Hawaii:US/Hawaii\n\nUS/Indiana-Starke:US/Indiana-Starke\n\nUS/Michigan:US/Michigan\n\nUS/Mountain:US/Mountain\n\nUS/Pacific:US/Pacific\n\nUS/Samoa:US/Samoa","x-enum-varnames":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/La_Rioja","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Mexico_City","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Hobart","Australia/Lindeman","Australia/Melbourne","Australia/Perth","Australia/Sydney","CST6CDT","EST5EDT","Etc/GMT","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kyiv","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","MST7MDT","PST8PDT","Pacific/Apia","Pacific/Auckland","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/Eastern","US/East-Indiana","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Samoa"],"schema":{"example":"Africa/Accra","enum":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/La_Rioja","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Mexico_City","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Hobart","Australia/Lindeman","Australia/Melbourne","Australia/Perth","Australia/Sydney","CST6CDT","EST5EDT","Etc/GMT","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kyiv","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","MST7MDT","PST8PDT","Pacific/Apia","Pacific/Auckland","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/Eastern","US/East=Indiana","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Samoa"],"type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}},{"name":"sond-staging-key","in":"header","required":false,"schema":{"type":"string"},"description":"Staging key - used to allow access unpublished content"}],"responses":{"200":{"description":"Posix timezone details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosixTzDto"}}}}},"security":[{"bearer":[]}],"tags":["Mobile Tools"]}},"/healthz/up":{"get":{"operationId":"HealthzController_up","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Public endpoint to check the health of the Core API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpDto"}}}}},"tags":["Healthz"]}},"/healthz/admin/up":{"get":{"operationId":"HealthzController_upDetailed","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Private endpoint to check the health of the Core API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpDto"}}}}},"security":[{"bearer":[]}],"tags":["Healthz"]}},"/healthz/services":{"get":{"operationId":"HealthzController_servicesStatus","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Public endpoint to check the health of the Core API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpDto"}}}}},"tags":["Healthz"]}},"/newsletter":{"post":{"operationId":"NewsletterController_subscribe","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsletterSubscriptionDto"}}}},"responses":{"201":{"description":""}},"summary":"Subscribe to newsletter","tags":["Newsletter"]}},"/newsletter/users":{"post":{"operationId":"NewsletterController_subscribeUser","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsletterUserSubscriptionDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Subscribe to newsletter","tags":["Newsletter"]}},"/sleep/ssl/events/sleeprecord-created":{"post":{"operationId":"SleepScoreLabsController_newSleepRecord","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventRecordCreated"}}}},"responses":{"200":{"description":"Stores summary for the night"}},"tags":["SleepScoreLabs"]}},"/sleep/ssl/events/nugget-delivered":{"post":{"operationId":"SleepScoreLabsController_newAdviceNugget","parameters":[{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventNuggetDelivered"}}}},"responses":{"200":{"description":"Stores advice nuggets for the user"}},"tags":["SleepScoreLabs"]}},"/sleep/sleepSessions/users/{userId}/sessions/{sessionId}/end":{"post":{"operationId":"SleepSessionController_endSession","parameters":[{"name":"userId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sessionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndSessionDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"tags":["Sleep"]}},"/sleep/sleepSessions/users/{userId}/end":{"post":{"operationId":"SleepSessionController_endUserSessions","parameters":[{"name":"userId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndUserSessionsDto"}}}},"responses":{"201":{"description":""}},"security":[{"api-key":[]}],"tags":["Sleep"]}},"/sleep/sleepSessions/users/{userId}/sessions/{sessionId}/calculateScore":{"post":{"operationId":"SleepSessionController_calculateScore","parameters":[{"name":"userId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sessionId","required":true,"in":"path","schema":{"example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8","type":"string"}},{"name":"sond-session-id","in":"header","required":false,"schema":{"type":"string"}},{"name":"no-cache","in":"header","required":false,"schema":{"type":"boolean"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndSessionDto"}}}},"responses":{"200":{"description":""}},"security":[{"api-key":[]}],"tags":["Sleep"]}}},"info":{"title":"Sond core API","description":"Sond core API used to access service data","version":"1.0","contact":{}},"tags":[{"name":"Sond","description":""}],"servers":[{"url":"https://api.sond.com/core"},{"url":"https://core-api.sond.com"}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"},"api-key":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"AutocompleteDeviceSerialsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"type":"string"}}},"required":["data"]},"DeviceWithUserIdDetailsDto":{"type":"object","properties":{"id":{"type":"string"},"deviceSerial":{"type":"string"},"macAddress":{"type":"string"},"deviceName":{"type":"string"},"mobile":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"notificationKey":{"type":"string"},"userId":{"type":"string"}},"required":["id","deviceSerial","deviceName","mobile","createdAt","userId"]},"LogzConfigDto":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Is Logz enabled"},"url":{"type":"string","description":"Logz url"},"encryptedToken":{"type":"string","description":"Encrypted token"},"token":{"type":"string","description":"Token"}},"required":["enabled","url","encryptedToken","token"]},"EspInsightsConfigDto":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Is ESP Insights enabled"},"encryptedToken":{"type":"string","description":"Encrypted key"},"token":{"type":"string","description":"Key"}},"required":["enabled","encryptedToken","token"]},"VpnServerConfigDto":{"type":"object","properties":{"host":{"type":"string","example":"hwvpn.sond.com","description":"VPN server url"},"port":{"type":"number","example":51820,"description":"VPN server port"},"publicKey":{"type":"string","description":"Server PublicKey"},"subnetMask":{"type":"string","example":"255.255.255.0","description":"VPN subnet mask"},"keepAlive":{"type":"number","example":10,"description":"Keep connection alive time"}},"required":["host","port","publicKey","subnetMask","keepAlive"]},"SocketNamespacesConfigDto":{"type":"object","properties":{"assistant":{"type":"string","example":"/","description":"Assistant socket namespace"},"proxyREST":{"type":"string","example":"/proxyREST","description":"Proxy REST calls socket namespace"}},"required":["assistant","proxyREST"]},"SocketConfigDto":{"type":"object","properties":{"baseUrl":{"type":"string","example":"https://core-api-dev.sond.com","description":"Base url for socket connection"},"namespaces":{"description":"Socket namespace","allOf":[{"$ref":"#/components/schemas/SocketNamespacesConfigDto"}]}},"required":["baseUrl","namespaces"]},"ApiConfigDto":{"type":"object","properties":{"logz":{"$ref":"#/components/schemas/LogzConfigDto"},"espInsights":{"$ref":"#/components/schemas/EspInsightsConfigDto"},"vpnServer":{"$ref":"#/components/schemas/VpnServerConfigDto"},"socket":{"$ref":"#/components/schemas/SocketConfigDto"}},"required":["logz","espInsights","vpnServer","socket"]},"LcdConfigDto":{"type":"object","properties":{"showIconsWithText":{"type":"boolean","example":false},"newIcons":{"type":"boolean","example":false},"idleClockEnabled":{"type":"boolean","example":true},"oledBrightness":{"type":"number","example":100},"equalizerMode":{"type":"number","example":3},"typewriterEndMode":{"type":"number","example":1},"largeFonts":{"type":"boolean","example":false}},"required":["showIconsWithText","newIcons","idleClockEnabled","oledBrightness","equalizerMode","typewriterEndMode","largeFonts"]},"LedConfigDto":{"type":"object","properties":{"enabled":{"type":"boolean","example":true},"brightness":{"type":"number"}},"required":["enabled","brightness"]},"AlarmConfigDto":{"type":"object","properties":{"smartAlarmDreamRemThreshold":{"type":"number","example":0,"description":"Number of consecutive REM stage response to consider user be in the REM"},"smartAlarmDreamNonRemThreshold":{"type":"number","example":0,"description":"Number of consecutive non REM stage response to consider user be out of REM"},"smartAlarmGroggyLightThreshold":{"type":"number","example":0,"description":"Number of consecutive light stage response to consider user be in light sleep"}},"required":["smartAlarmDreamRemThreshold","smartAlarmDreamNonRemThreshold","smartAlarmGroggyLightThreshold"]},"AudioConfigDto":{"type":"object","properties":{"sfxEnabled":{"type":"boolean"}},"required":["sfxEnabled"]},"FeaturesConfigDto":{"type":"object","properties":{"a2dpEnabled":{"type":"boolean","example":false},"tapsEnabled":{"type":"boolean","example":false},"advancedMenuEnabled":{"type":"boolean","example":false},"twsA2dpEnabled":{"type":"boolean","example":false},"doubleTapMode":{"type":"number","example":0,"description":"Double tap mode: 0 = assistant, 1 = a2dp_toggle"}},"required":["a2dpEnabled","tapsEnabled","advancedMenuEnabled","twsA2dpEnabled","doubleTapMode"]},"SleepConfigDto":{"type":"object","properties":{"whileAsleepStageTransition":{"type":"boolean","example":false},"pauseAudioBatteryPercentage":{"type":"number","example":40},"radioOffDelayDebounce":{"type":"number","example":10,"description":"Number of cycles to disable radio"},"asleepTransitionDebounce":{"type":"number","example":10,"description":"Number of following asleep stage needed to transition to masking sound"},"awakeTransitionDebounce":{"type":"number","example":10,"description":"Number of following awake stage needed to transition to falling asleep sound"},"sensorStreamingMode":{"type":"string","enum":["none","leftBud","rightBud","both","switching"],"description":"Sensor streaming mode","example":"switching"},"biosignalsSendPeriodInSec":{"type":"number","example":0,"description":"Time in seconds for sending biosignals to the server "},"sensorStreamingCycleInSec":{"type":"number","example":1800,"description":"Time in seconds for sending sensor data from one bud before switching to second bud"},"sensorStreamingOverlapInSec":{"type":"number","example":0,"description":"Overlap time in seconds for sensor data when switching between buds"}},"required":["whileAsleepStageTransition","pauseAudioBatteryPercentage","radioOffDelayDebounce","asleepTransitionDebounce","awakeTransitionDebounce","sensorStreamingMode","biosignalsSendPeriodInSec","sensorStreamingCycleInSec","sensorStreamingOverlapInSec"]},"HardwareFixesConfigDto":{"type":"object","properties":{"lidPolarityReversed":{"type":"boolean","example":false},"extendedWifiSpeedTest":{"type":"boolean","example":false},"frequentlyReportDownloadSpeed":{"type":"boolean","example":false},"rfGain":{"type":"number","example":8},"lidThreshold":{"type":"number","example":0},"btn1Threshold":{"type":"number","example":0},"btn2Threshold":{"type":"number","example":0},"btn3Threshold":{"type":"number","example":0},"btn4Threshold":{"type":"number","example":0},"preloadContent":{"type":"boolean","example":false}},"required":["lidPolarityReversed","extendedWifiSpeedTest","frequentlyReportDownloadSpeed","rfGain","lidThreshold","btn1Threshold","btn2Threshold","btn3Threshold","btn4Threshold","preloadContent"]},"WifiAssistantConfigDto":{"type":"object","properties":{"thresholdPercent":{"type":"number","example":70,"description":"Threshold percent, 0 turns off the mechanism"},"thresholdTicks":{"type":"number","example":15,"description":"Thicks threshold"},"preloadTicks":{"type":"number","example":100,"description":"Preload ticks"},"lowRSSI":{"type":"number","example":-85,"description":"Low RSSI"},"underrunRSSI":{"type":"number","example":-68,"description":"Underrun RSSI"},"dnsOverride":{"type":"string","example":"8.8.8.8","description":"DNS override"}},"required":["thresholdPercent","thresholdTicks","preloadTicks","lowRSSI","underrunRSSI"]},"VpnClientConfigDto":{"type":"object","properties":{"clientIp":{"type":"string","example":"10.0.0.2"},"outboundPort":{"type":"number","example":51820,"description":"Outgoing port"},"privateKey":{"type":"string","description":"Client private key"},"enabled":{"type":"boolean","example":false,"description":"Client enabled"}},"required":["clientIp","outboundPort","privateKey","enabled"]},"PowerConfigDto":{"type":"object","properties":{"deepSleepCountdownMin":{"type":"number","example":10,"description":"Number of min before case deep sleep"}},"required":["deepSleepCountdownMin"]},"CaseConfigDto":{"type":"object","properties":{"api":{"$ref":"#/components/schemas/ApiConfigDto"},"timezone":{"type":"string","description":"IANA time zone as string","example":"Etc/GMT"},"lcd":{"$ref":"#/components/schemas/LcdConfigDto"},"led":{"$ref":"#/components/schemas/LedConfigDto"},"alarm":{"$ref":"#/components/schemas/AlarmConfigDto"},"audio":{"$ref":"#/components/schemas/AudioConfigDto"},"features":{"$ref":"#/components/schemas/FeaturesConfigDto"},"sleep":{"$ref":"#/components/schemas/SleepConfigDto"},"hardwareFixes":{"$ref":"#/components/schemas/HardwareFixesConfigDto"},"wifiAssistant":{"$ref":"#/components/schemas/WifiAssistantConfigDto"},"vpnClient":{"$ref":"#/components/schemas/VpnClientConfigDto"},"power":{"$ref":"#/components/schemas/PowerConfigDto"}},"required":["api","timezone","lcd","led","alarm","audio","features","sleep","hardwareFixes","wifiAssistant","power"]},"NonMobileDeviceConfigurationDto":{"type":"object","properties":{"deviceId":{"type":"string","description":"Core API device id (uuid)"},"configuration":{"$ref":"#/components/schemas/CaseConfigDto"}},"required":["deviceId","configuration"]},"TelnetConfigResponseDto":{"type":"object","properties":{"config":{"type":"string","description":"Telnet / Wireguard peer configuration returned by the server"},"deviceConfigurations":{"description":"Non-mobile (hardware) case configurations associated with this device serial","type":"array","items":{"$ref":"#/components/schemas/NonMobileDeviceConfigurationDto"}}},"required":["config","deviceConfigurations"]},"AlarmConfigUpdateDto":{"type":"object","properties":{"smartAlarmDreamRemThreshold":{"type":"number","example":0,"description":"Number of consecutive REM stage response to consider user be in the REM"},"smartAlarmDreamNonRemThreshold":{"type":"number","example":0,"description":"Number of consecutive non REM stage response to consider user be out of REM"},"smartAlarmGroggyLightThreshold":{"type":"number","example":0,"description":"Number of consecutive light stage response to consider user be in light sleep"}}},"AudioConfigUpdateDto":{"type":"object","properties":{"sfxEnabled":{"type":"boolean"}}},"FeaturesConfigUpdateDto":{"type":"object","properties":{"a2dpEnabled":{"type":"boolean","example":false},"tapsEnabled":{"type":"boolean","example":false},"advancedMenuEnabled":{"type":"boolean","example":false},"twsA2dpEnabled":{"type":"boolean","example":false},"doubleTapMode":{"type":"number","example":0,"description":"Double tap mode: 0 = assistant, 1 = a2dp_toggle"}}},"LcdConfigUpdateDto":{"type":"object","properties":{"showIconsWithText":{"type":"boolean","example":false},"newIcons":{"type":"boolean","example":false},"idleClockEnabled":{"type":"boolean","example":true},"oledBrightness":{"type":"number","example":100},"equalizerMode":{"type":"number","example":3},"typewriterEndMode":{"type":"number","example":1},"largeFonts":{"type":"boolean","example":false}}},"LedConfigUpdateDto":{"type":"object","properties":{"enabled":{"type":"boolean","example":true},"brightness":{"type":"number"}}},"SleepConfigUpdateDto":{"type":"object","properties":{"whileAsleepStageTransition":{"type":"boolean","example":false},"pauseAudioBatteryPercentage":{"type":"number","example":40},"radioOffDelayDebounce":{"type":"number","example":10,"description":"Number of cycles to disable radio"},"asleepTransitionDebounce":{"type":"number","example":10,"description":"Number of following asleep stage needed to transition to masking sound"},"awakeTransitionDebounce":{"type":"number","example":10,"description":"Number of following awake stage needed to transition to falling asleep sound"},"sensorStreamingMode":{"type":"string","enum":["none","leftBud","rightBud","both","switching"],"description":"Sensor streaming mode","example":"switching"},"biosignalsSendPeriodInSec":{"type":"number","example":0,"description":"Time in seconds for sending biosignals to the server "},"sensorStreamingCycleInSec":{"type":"number","example":1800,"description":"Time in seconds for sending sensor data from one bud before switching to second bud"},"sensorStreamingOverlapInSec":{"type":"number","example":0,"description":"Overlap time in seconds for sensor data when switching between buds"}}},"HardwareFixesConfigUpdateDto":{"type":"object","properties":{"lidPolarityReversed":{"type":"boolean","example":false},"extendedWifiSpeedTest":{"type":"boolean","example":false},"frequentlyReportDownloadSpeed":{"type":"boolean","example":false},"rfGain":{"type":"number","example":8},"lidThreshold":{"type":"number","example":0},"btn1Threshold":{"type":"number","example":0},"btn2Threshold":{"type":"number","example":0},"btn3Threshold":{"type":"number","example":0},"btn4Threshold":{"type":"number","example":0},"preloadContent":{"type":"boolean","example":false}}},"WifiAssistantConfigUpdateDto":{"type":"object","properties":{"thresholdPercent":{"type":"number","example":70,"description":"Threshold percent, 0 turns off the mechanism"},"thresholdTicks":{"type":"number","example":15,"description":"Thicks threshold"},"preloadTicks":{"type":"number","example":100,"description":"Preload ticks"},"lowRSSI":{"type":"number","example":-85,"description":"Low RSSI"},"underrunRSSI":{"type":"number","example":-68,"description":"Underrun RSSI"},"dnsOverride":{"type":"string","example":"8.8.8.8","description":"DNS override"}}},"VpnClientUpdateDto":{"type":"object","properties":{"clientIp":{"type":"string","example":"10.0.0.2"},"outboundPort":{"type":"number","example":51820,"description":"Outgoing port"},"privateKey":{"type":"string","description":"Client private key"},"enabled":{"type":"boolean","example":false,"description":"Client enabled"}}},"PowerConfigUpdateDto":{"type":"object","properties":{"deepSleepCountdownMin":{"type":"number","example":10,"description":"Number of min before case deep sleep"}}},"CaseConfigUpdateDto":{"type":"object","properties":{"timezone":{"type":"string","description":"IANA time zone as string","example":"Etc/GMT"},"alarm":{"$ref":"#/components/schemas/AlarmConfigUpdateDto"},"audio":{"$ref":"#/components/schemas/AudioConfigUpdateDto"},"features":{"$ref":"#/components/schemas/FeaturesConfigUpdateDto"},"lcd":{"$ref":"#/components/schemas/LcdConfigUpdateDto"},"led":{"$ref":"#/components/schemas/LedConfigUpdateDto"},"sleep":{"$ref":"#/components/schemas/SleepConfigUpdateDto"},"hardwareFixes":{"$ref":"#/components/schemas/HardwareFixesConfigUpdateDto"},"wifiAssistant":{"$ref":"#/components/schemas/WifiAssistantConfigUpdateDto"},"vpnClient":{"$ref":"#/components/schemas/VpnClientUpdateDto"},"power":{"$ref":"#/components/schemas/PowerConfigUpdateDto"}}},"ResetConfigDto":{"type":"object","properties":{"deviceSerial":{"type":"string","description":"Device serial number used for determining the configuration override"}}},"Buffer":{"type":"object","properties":{}},"DeviceDetailsDto":{"type":"object","properties":{"id":{"type":"string"},"deviceSerial":{"type":"string"},"macAddress":{"type":"string"},"deviceName":{"type":"string"},"mobile":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"pairingKey":{"type":"string"},"notificationKey":{"type":"string"}},"required":["id","deviceSerial","deviceName","mobile","createdAt"]},"RegisterDeviceDto":{"type":"object","properties":{"deviceSerial":{"type":"string"},"macAddress":{"type":"string","example":"00:00:00:00:00:00"},"deviceName":{"type":"string"}},"required":["deviceSerial"]},"TokenDto":{"type":"object","properties":{"accessToken":{"type":"string","description":"Token used for accessing all protected resources, it should have `mobile` or `hardware` and `stream` scopes assigned."},"refreshToken":{"type":"string","description":"Refresh token used for refreshing the current token that has expired. Used to authorize on `/auth/refreshTokens` endpoint."},"streamToken":{"type":"string","description":"Token used for accessing protected resources only related with streaming data."}},"required":["accessToken","refreshToken","streamToken"]},"RegisterDeviceResponseDto":{"type":"object","properties":{"device":{"$ref":"#/components/schemas/DeviceDetailsDto"},"tokens":{"$ref":"#/components/schemas/TokenDto"}},"required":["device","tokens"]},"NotificationKeyDto":{"type":"object","properties":{"key":{"type":"string"}},"required":["key"]},"SignUpDto":{"type":"object","properties":{"timezone":{"type":"string","description":"IANA time zone as string","example":"Etc/GMT"},"deviceName":{"type":"string"},"deviceSerial":{"type":"string"}},"required":["deviceSerial"]},"GuestSignUpUserDto":{"type":"object","properties":{"id":{"type":"string"},"previouslyPairedCase":{"type":"boolean"},"timezone":{"type":"string","description":"IANA time zone as string","example":"Etc/GMT"}},"required":["id","previouslyPairedCase","timezone"]},"DeviceDto":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},"GuestSignUpResponseDto":{"type":"object","properties":{"user":{"description":"Basic user information","allOf":[{"$ref":"#/components/schemas/GuestSignUpUserDto"}]},"device":{"description":"Basic device information","allOf":[{"$ref":"#/components/schemas/DeviceDto"}]},"tokens":{"description":"Set of access and refresh tokens","allOf":[{"$ref":"#/components/schemas/TokenDto"}]}},"required":["user","device","tokens"]},"UserDto":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"timezone":{"type":"string","description":"IANA time zone as string","example":"Etc/GMT"},"previouslyPairedCase":{"type":"boolean"},"newsletterSubscribed":{"type":"boolean"}},"required":["id","timezone","previouslyPairedCase","newsletterSubscribed"]},"UpdateUserDto":{"type":"object","properties":{"timezone":{"type":"string","description":"IANA time zone as string","example":"Etc/GMT"}},"required":["timezone"]},"OtpRequestDto":{"type":"object","properties":{"email":{"type":"string","description":"Email to send verification"}},"required":["email"]},"OtpResponseDto":{"type":"object","properties":{"otpRequestId":{"type":"string","description":"OTP request id to be used during verification"},"otpTtlInMin":{"type":"number","description":"Time-to-live in minutes for the OTP code"},"otpRetryDelayInMin":{"type":"number","description":"Required delay to re-trigger verification email"}},"required":["otpRequestId","otpTtlInMin","otpRetryDelayInMin"]},"LoginOtpDto":{"type":"object","properties":{"timezone":{"type":"string","description":"IANA time zone as string","example":"Etc/GMT"},"deviceName":{"type":"string"},"deviceSerial":{"type":"string"},"otpRequestId":{"type":"string","description":"OTP unique requestId received after requesting a login"},"otp":{"type":"string","description":"OTP received after requesting a login"}},"required":["deviceSerial","otpRequestId","otp"]},"LoginResponseDto":{"type":"object","properties":{"user":{"description":"Basic user information","allOf":[{"$ref":"#/components/schemas/UserDto"}]},"device":{"description":"Basic device information","allOf":[{"$ref":"#/components/schemas/DeviceDto"}]},"tokens":{"description":"Set of access and refresh tokens","allOf":[{"$ref":"#/components/schemas/TokenDto"}]}},"required":["user","device","tokens"]},"OtpVerification":{"type":"object","properties":{"otpRequestId":{"type":"string","description":"OTP unique requestId received after requesting a login"},"otp":{"type":"string","description":"OTP received after requesting a login"}},"required":["otpRequestId","otp"]},"IdentifierDto":{"type":"object","properties":{"id":{"type":"string","example":"99416470-a7bb-4f2b-8595-daef57c7ece0"},"source":{"type":"number","enum":[1,2,3,4],"description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","example":2,"x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"]}},"required":["id","source"]},"ContentCreatorDto":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/IdentifierDto"},"firstName":{"type":"string"},"lastName":{"type":"string"},"alias":{"type":"string"},"imageUri":{"type":"string"}}},"ContentCollectionDto":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/IdentifierDto"},"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string","enum":["alarm","asmr","audiobook","collection","lofi","noise","masking","meditation","music","podcast","soundscape","story"],"description":"alarm:ALARM\n\nasmr:ASMR\n\naudiobook:AUDIOBOOK\n\ncollection:COLLECTION\n\nlofi:LOFI\n\nnoise:NOISE\n\nmasking:MASKING\n\nmeditation:MEDITATION\n\nmusic:MUSIC\n\npodcast:PODCAST\n\nsoundscape:SOUNDSCAPE\n\nstory:STORY","example":"asmr","x-enum-varnames":["ALARM","ASMR","AUDIOBOOK","COLLECTION","LOFI","NOISE","MASKING","MEDITATION","MUSIC","PODCAST","SOUNDSCAPE","STORY"]},"creator":{"$ref":"#/components/schemas/ContentCreatorDto"},"uri":{"type":"string"},"imageUri":{"type":"string"},"publishTime":{"format":"date-time","type":"string"}},"required":["id","name","category"]},"TrackMetricsDto":{"type":"object","properties":{"plays":{"type":"integer"},"likes":{"type":"integer"},"fallAsleep":{"type":"integer"}}},"MinMaxMsDto":{"type":"object","properties":{"min":{"type":"number","description":"Minimum value of the property.","example":100},"max":{"type":"number","description":"Maximum value of the property.","example":300}},"required":["min","max"]},"CoefficientsV1DetailsDto":{"type":"object","properties":{"source":{"type":"number","description":"Noise source number","example":1},"order":{"type":"number","description":"Play order","example":1},"coefficients":{"description":"Coefficients","example":[1,0.5,0.2],"type":"array","items":{"type":"number"}},"name":{"type":"string","description":"Source name","example":1},"gain":{"type":"number","description":"Gain for the given coefficients","example":1},"afterSource":{"type":"number","description":"Information after which source this source should be played.","example":1},"fadeInMs":{"type":"number","description":"Fade in duration in milliseconds.","example":100},"fadeOutMs":{"type":"number","description":"Fade out duration in milliseconds.","example":0},"filterType":{"type":"string","example":"fir","enum":["iir","fir"],"description":"Filter type for the given coefficients"},"durationMs":{"type":"number","description":"Duration of the source in milliseconds. If not given, the source will be played indefinitely.","example":1},"startDelayMs":{"type":"number","description":"Start delay in milliseconds. If not given, the source will start immediately.","example":1},"nextIterationDelayMs":{"type":"number","description":"Delay of next iteration when looping (defaults to no delay) in milliseconds","example":1},"randomStartDelayMs":{"description":"Random start delay values in milliseconds.","allOf":[{"$ref":"#/components/schemas/MinMaxMsDto"}]},"randomNextIterationDelayMs":{"description":"Next iteration delay when looping, used for random delay value between iterations Can't be used when nextIterationDelayMs is used.","allOf":[{"$ref":"#/components/schemas/MinMaxMsDto"}]},"fadeMinGain":{"type":"number","description":"Minimum gain when it fades (defaults to fade to black)","example":0.5},"loop":{"type":"boolean","description":"Loop the source. Relevant only if duration is given (defaults to true)","example":true}},"required":["source","coefficients","name","gain","filterType"]},"CoefficientsDto":{"type":"object","properties":{"v1":{"type":"array","items":{"$ref":"#/components/schemas/CoefficientsV1DetailsDto"}}},"required":["v1"]},"TrackDto":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/IdentifierDto"},"type":{"type":"number","enum":[0,1,2,3,4],"description":"0:TRACK_TYPE_UNSPECIFIED\n\n1:TRACK\n\n2:PODCAST\n\n3:AUDIOBOOK\n\n4:ALARM","example":1,"x-enum-varnames":["TRACK_TYPE_UNSPECIFIED","TRACK","PODCAST","AUDIOBOOK","ALARM"]},"title":{"type":"string"},"streamUri":{"type":"string"},"mediaUri":{"type":"string"},"imageUri":{"type":"string"},"durationSec":{"type":"number"},"category":{"type":"string"},"genre":{"type":"string"},"creator":{"$ref":"#/components/schemas/ContentCreatorDto"},"collection":{"$ref":"#/components/schemas/ContentCollectionDto"},"masking":{"type":"boolean"},"resumable":{"type":"boolean"},"metrics":{"$ref":"#/components/schemas/TrackMetricsDto"},"episodeNumber":{"type":"integer"},"seasonNumber":{"type":"integer"},"versionCreateTime":{"format":"date-time","type":"string","description":"Date when current track version was created."},"coefficients":{"description":"Coefficients used for masking sound generation.","allOf":[{"$ref":"#/components/schemas/CoefficientsDto"}]}},"required":["id","type","title","creator","resumable"]},"SleepPlanTrackDto":{"type":"object","properties":{"recommended":{"type":"boolean"},"track":{"$ref":"#/components/schemas/TrackDto"}},"required":["recommended","track"]},"SleepPhaseDto":{"type":"object","properties":{"type":{"type":"number","enum":[0,1,2,3],"description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","example":1,"x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"]},"tracks":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanTrackDto"}}},"required":["type","tracks"]},"SleepPlanDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"imageUri":{"type":"string"},"name":{"type":"string"},"sleepPhases":{"type":"array","items":{"$ref":"#/components/schemas/SleepPhaseDto"}},"shuffle":{"type":"boolean"},"loop":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"generated":{"type":"boolean"}},"required":["id","imageUri","name","sleepPhases","shuffle","loop","createdAt"]},"CreateUpdateSleepPhaseDto":{"type":"object","properties":{"type":{"type":"number","enum":[0,1,2,3],"description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","example":1,"x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"]},"trackIds":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}}},"required":["type","trackIds"]},"CreateUpdateSleepPlanDto":{"type":"object","properties":{"name":{"type":"string"},"imageUri":{"type":"string","description":"This property will become required in the upcoming versions"},"sleepPhases":{"type":"array","items":{"$ref":"#/components/schemas/CreateUpdateSleepPhaseDto"}},"shuffle":{"type":"boolean"},"loop":{"type":"boolean"}},"required":["name"]},"SleepPlanTrackMapDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"sleepPhases":{"type":"array","description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","example":[1],"x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"],"items":{"type":"number","enum":[0,1,2,3]}}},"required":["id","name","sleepPhases"]},"TimeOfDayDto":{"type":"object","properties":{"hour":{"type":"integer","format":"int32"},"minute":{"type":"integer","format":"int32"}},"required":["hour","minute"]},"AlarmDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"track":{"$ref":"#/components/schemas/TrackDto"},"enabled":{"type":"boolean"},"bedtime":{"$ref":"#/components/schemas/TimeOfDayDto"},"wakeUpTime":{"$ref":"#/components/schemas/TimeOfDayDto"},"timerInSeconds":{"type":"integer","format":"int32"},"snooze":{"type":"boolean"},"bedtimeLight":{"type":"boolean"},"bedtimeChime":{"type":"boolean"},"sleepPlanId":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"},"daysOfWeek":{"type":"array","items":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]}},"smartMode":{"type":"string","enum":["lessGroggy","rememberDream"],"description":"lessGroggy:lessGroggy\n\nrememberDream:rememberDream","example":"rememberDream","x-enum-varnames":["lessGroggy","rememberDream"]},"smartThresholdInMin":{"type":"integer","format":"int32"},"playlistTrackIds":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}}},"required":["id","track","enabled","snooze","bedtimeLight","bedtimeChime","updatedAt","daysOfWeek"]},"CreateUpdateAlarmDto":{"type":"object","properties":{"trackId":{"$ref":"#/components/schemas/IdentifierDto"},"enabled":{"type":"boolean"},"bedtime":{"$ref":"#/components/schemas/TimeOfDayDto"},"wakeUpTime":{"$ref":"#/components/schemas/TimeOfDayDto"},"sleepPlanId":{"type":"string"},"timerInSeconds":{"type":"integer","format":"int32"},"snooze":{"type":"boolean"},"bedtimeLight":{"type":"boolean"},"bedtimeChime":{"type":"boolean"},"daysOfWeek":{"type":"array","items":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]}},"smartMode":{"type":"string","enum":["lessGroggy","rememberDream"],"description":"lessGroggy:lessGroggy\n\nrememberDream:rememberDream","example":"rememberDream","x-enum-varnames":["lessGroggy","rememberDream"]},"smartThresholdInMin":{"type":"integer","description":"Time threshold to predict smart alarm","format":"int32"},"playlistTrackIds":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}}},"required":["trackId","enabled","daysOfWeek"]},"PremadeSleepPlanDefinitionWithoutTracksDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"imageUri":{"type":"string"}},"required":["id","name","key","imageUri"]},"PremadeSleepPlanDefinitionWithoutTracksResultDto":{"type":"object","properties":{"sleepPlan":{"$ref":"#/components/schemas/PremadeSleepPlanDefinitionWithoutTracksDto"}}},"PremadeSleepPlanDefinitionResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PremadeSleepPlanDefinitionWithoutTracksResultDto"}},"nextPageToken":{"type":"string"}},"required":["data"]},"PremadeSleepPhaseDefinitionDto":{"type":"object","properties":{"type":{"type":"number","enum":[0,1,2,3],"description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","example":1,"x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"]},"trackIds":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}}},"required":["type","trackIds"]},"PremadeSleepPlanDefinitionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"imageUri":{"type":"string"},"sleepPhases":{"type":"array","items":{"$ref":"#/components/schemas/PremadeSleepPhaseDefinitionDto"}}},"required":["id","name","imageUri","sleepPhases"]},"CreateUpdatePremadeSleepPhaseDefinitionDto":{"type":"object","properties":{"type":{"type":"number","enum":[0,1,2,3],"description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","example":1,"x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"]},"trackIds":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}}},"required":["type","trackIds"]},"CreateUpdatePremadeSleepPlanDefinitionDto":{"type":"object","properties":{"name":{"type":"string"},"key":{"type":"string"},"description":{"type":"string"},"imageUri":{"type":"string"},"sleepPhases":{"type":"array","items":{"$ref":"#/components/schemas/CreateUpdatePremadeSleepPhaseDefinitionDto"}}},"required":["name","key","imageUri","sleepPhases"]},"DocDto":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"type":{"type":"string","enum":["privacyPolicy","termsOfConditions"],"description":"privacyPolicy:PrivacyPolicy\n\ntermsOfConditions:TermsOfConditions","example":"termsOfConditions","x-enum-varnames":["PrivacyPolicy","TermsOfConditions"]},"text":{"type":"string"},"validFrom":{"format":"date-time","type":"string"},"validTo":{"format":"date-time","type":"string"}},"required":["id","type","validFrom","validTo"]},"FirmwareType":{"type":"string","enum":["bundle","nordic","qcc","esp"]},"CreateFirmwareVersionDto":{"type":"object","properties":{"releaseNotes":{"type":"string","example":"Release note for version"},"version":{"type":"string","example":"1.0.0"},"type":{"allOf":[{"$ref":"#/components/schemas/FirmwareType"}]},"commitHash":{"type":"string","example":"13c988d4f15e06bcdd0b0af290086a3079cdadb0"},"md5":{"type":"string","description":"MD5 to verify uploaded firmware binary upload"},"file":{"type":"string","format":"binary"},"symbolsMd5":{"type":"string","description":"MD5 to verify uploaded symbols binary upload"},"symbolsFile":{"type":"string","format":"binary"}},"required":["version","type","file"]},"FirmwareVersionWithReleaseNotesDto":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string"},"beta":{"type":"boolean"},"url":{"type":"string"},"type":{"type":"string","enum":["bundle","nordic","qcc","esp"],"description":"bundle:bundle\n\nnordic:nordic\n\nqcc:qcc\n\nesp:esp","example":"nordic","x-enum-varnames":["bundle","nordic","qcc","esp"]},"filename":{"type":"string"},"symbolsFilename":{"type":"string"},"commitHash":{"type":"string"},"md5":{"type":"string"},"releaseDate":{"format":"date-time","type":"string"},"releaseNotes":{"type":"string","example":"Release note for version"}},"required":["id","version","beta","url","type","filename","md5","releaseDate"]},"UpdateFirmwareVersionDto":{"type":"object","properties":{"releaseNotes":{"type":"string","example":"Release note for version"},"beta":{"type":"boolean","example":true}}},"FirmwareVersionDto":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string"},"beta":{"type":"boolean"},"url":{"type":"string"},"type":{"type":"string","enum":["bundle","nordic","qcc","esp"],"description":"bundle:bundle\n\nnordic:nordic\n\nqcc:qcc\n\nesp:esp","example":"nordic","x-enum-varnames":["bundle","nordic","qcc","esp"]},"filename":{"type":"string"},"symbolsFilename":{"type":"string"},"commitHash":{"type":"string"},"md5":{"type":"string"},"releaseDate":{"format":"date-time","type":"string"}},"required":["id","version","beta","url","type","filename","md5","releaseDate"]},"HwUploadType":{"type":"string","enum":["nordicCoreDump","espCoreDump","qccCoreDump"]},"BinaryUploadDto":{"type":"object","properties":{"id":{"type":"string"},"type":{"allOf":[{"$ref":"#/components/schemas/HwUploadType"}]},"userId":{"type":"string","description":"User Id"},"deviceId":{"type":"string","description":"Device Id"},"userDate":{"format":"date-time","type":"string","description":"User (client) time related to the upload (eg. time when the crash has happened)"},"version":{"type":"string","description":"Firmware version"},"commitHash":{"type":"string","description":"Hash of the firmware build commit"},"data":{"type":"object","description":"Additional upload data"},"uploadDate":{"format":"date-time","type":"string","description":"Server time of the upload"},"filename":{"type":"string","description":"Filename of the uploaded file"}},"required":["id","type","userId","deviceId","userDate","version","commitHash","uploadDate","filename"]},"CreateBinaryUploadDto":{"type":"object","properties":{"type":{"allOf":[{"$ref":"#/components/schemas/HwUploadType"}]},"userDate":{"type":"number","example":1622547802000,"description":"User (client) epoch time related to the upload (eg. time when the crash has happened)"},"version":{"type":"string","description":"Firmware version"},"commitHash":{"type":"string","description":"Hash of the firmware build commit"},"data":{"type":"object","description":"Additional upload data"},"file":{"type":"string","format":"binary"}},"required":["type","userDate","version","commitHash","file"]},"BiosignalsDto":{"type":"object","properties":{"sessionId":{"type":"string"},"time":{"format":"date-time","type":"string"},"respirationRate":{"type":"number"},"heartRate":{"type":"number"},"temperaturePerson":{"type":"number"},"createdAt":{"format":"date-time","type":"string"}},"required":["sessionId","time","createdAt"]},"UpdateAssistantSleepPlanPhasesDto":{"type":"object","properties":{"sleepPhases":{"type":"array","items":{"$ref":"#/components/schemas/CreateUpdateSleepPhaseDto"}}},"required":["sleepPhases"]},"SleepPlanAssistantWithoutTracksDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"tracksCount":{"type":"number"},"generated":{"type":"boolean"}},"required":["id","name","createdAt","updatedAt","tracksCount"]},"OnboardingAnswerDto":{"type":"object","properties":{"questionId":{"type":"string"},"questionText":{"type":"string"},"answers":{"type":"array","items":{"type":"string"}}},"required":["questionId","questionText","answers"]},"OnboardingDto":{"type":"object","properties":{"timestamp":{"format":"date-time","type":"string"},"answers":{"type":"array","items":{"$ref":"#/components/schemas/OnboardingAnswerDto"}}},"required":["timestamp","answers"]},"CreateOnboardingResponseDto":{"type":"object","properties":{"timestamp":{"format":"date-time","type":"string"},"answers":{"type":"array","items":{"$ref":"#/components/schemas/OnboardingAnswerDto"}},"sleepPlan":{"$ref":"#/components/schemas/SleepPlanDto"}},"required":["timestamp","answers","sleepPlan"]},"PremadeSleepPlanDescDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"imageUri":{"type":"string"}},"required":["id","name","imageUri"]},"PremadeSleepPlanDescResultDto":{"type":"object","properties":{"sleepPlan":{"$ref":"#/components/schemas/PremadeSleepPlanDescDto"}}},"PremadeSleepPlanDescResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PremadeSleepPlanDescResultDto"}},"nextPageToken":{"type":"string"}},"required":["data"]},"PremadeSleepPhaseDto":{"type":"object","properties":{"type":{"type":"number","enum":[0,1,2,3],"description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","example":1,"x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"]},"tracks":{"type":"array","items":{"$ref":"#/components/schemas/TrackDto"}}},"required":["type","tracks"]},"PremadeSleepPlanDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"description":{"type":"string"},"imageUri":{"type":"string"},"sleepPhases":{"type":"array","items":{"$ref":"#/components/schemas/PremadeSleepPhaseDto"}}},"required":["id","name","imageUri","sleepPhases"]},"CreateBasedOnPremadeSleepPlanDto":{"type":"object","properties":{"newPlanName":{"type":"string"}}},"BasicNotificationEnum":{"type":"string","enum":["comfortIssues","budsBadRssi","budsNotCharging","caseNotCharging"]},"NotificationDto":{"type":"object","properties":{"type":{"allOf":[{"$ref":"#/components/schemas/BasicNotificationEnum"}]}},"required":["type"]},"FreeFormNotificationDto":{"type":"object","properties":{"title":{"type":"string"},"body":{"type":"string"},"confirmationText":{"type":"string","description":"Confirmation text to trigger the free form notification: \"send free form notification to user {userId}\""}},"required":["title","body","confirmationText"]},"BrowserNotificationDto":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"}},"required":["url","title","body"]},"SleepPlanUpdatedNotificationDto":{"type":"object","properties":{"sleepPlanId":{"type":"string","description":"Id of the updated sleep plan. This is used to identify which sleep plan was updated."}},"required":["sleepPlanId"]},"CacheDeleteResponseDto":{"type":"object","properties":{"pattern":{"type":"string"},"deletedCount":{"type":"number"}},"required":["pattern","deletedCount"]},"ReplacePhaseTracksBodyDto":{"type":"object","properties":{"trackIds":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}},"includeSummaryTrack":{"type":"boolean","description":"When true, prepends the summary track generated by the Assistant to the provided list."}},"required":["trackIds"]},"TrackIdentifierWithRecommendationDto":{"type":"object","properties":{"id":{"type":"string","example":"99416470-a7bb-4f2b-8595-daef57c7ece0"},"source":{"type":"number","enum":[1,2,3,4],"description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","example":2,"x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"]},"recommended":{"type":"boolean"}},"required":["id","source","recommended"]},"SleepPhaseNoMetadataDto":{"type":"object","properties":{"type":{"type":"number","enum":[0,1,2,3],"description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","example":1,"x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"]},"trackIds":{"type":"array","items":{"$ref":"#/components/schemas/TrackIdentifierWithRecommendationDto"}}},"required":["type","trackIds"]},"SearchResponseTracksDto":{"type":"object","properties":{"tracks":{"type":"array","items":{"$ref":"#/components/schemas/TrackDto"}}},"required":["tracks"]},"CreateAdminSleepPlanDto":{"type":"object","properties":{"exclude":{"description":"Array of track IDs to exclude from recommendations","type":"array","items":{"type":"string"}},"fallingAsleepTracks":{"type":"number","description":"Number of tracks to request for the falling asleep phase (assistant recommendations)."},"wakingUpTracks":{"type":"number","description":"Number of tracks to request for the waking up phase (assistant recommendations)."},"maskingTrack":{"type":"boolean","description":"When true, adds a single masking track to the while-asleep (sleeping) phase."},"title":{"type":"string","description":"Sleep plan title (name)."},"image":{"type":"string","description":"Optional image file to upload. If omitted, a random image from the predefined pool is used.","format":"binary"}},"required":["fallingAsleepTracks","wakingUpTracks","title"]},"CategoryEnum":{"type":"string","enum":["asmr","meditation","soundscape","music","masking","story","podcast","audiobook","alarm","lofi","noise"]},"SearchRequestFilterDto":{"type":"object","properties":{"category":{"type":"array","items":{"$ref":"#/components/schemas/CategoryEnum"}},"creatorId":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}},"trackId":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}},"filtersAttributeId":{"type":"array","items":{"type":"string"}}}},"SearchRequestDto":{"type":"object","properties":{"pageSize":{"type":"number"},"term":{"type":"string"},"skip":{"type":"number"},"pageToken":{"type":"string"},"useOnlyCurated":{"type":"boolean"},"retrieveMetrics":{"type":"boolean"},"filters":{"$ref":"#/components/schemas/SearchRequestFilterDto"}},"required":["pageSize"]},"SearchResultDto":{"type":"object","properties":{"track":{"$ref":"#/components/schemas/TrackDto"},"creator":{"$ref":"#/components/schemas/ContentCreatorDto"},"collection":{"$ref":"#/components/schemas/ContentCollectionDto"},"liked":{"type":"boolean"}}},"SearchResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SearchResultDto"}},"nextPageToken":{"type":"string"}},"required":["data"]},"ListTracksResponseDto":{"type":"object","properties":{"tracks":{"type":"array","items":{"$ref":"#/components/schemas/TrackDto"}},"nextPageToken":{"type":"string"}},"required":["tracks"]},"ListTrackIdsResponseDto":{"type":"object","properties":{"ids":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}}},"required":["ids"]},"TotalLikesDto":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/IdentifierDto"},"count":{"type":"number"}},"required":["id","count"]},"ReportLikesResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TotalLikesDto"}},"nextPageToken":{"type":"string"}},"required":["data"]},"AutocompleteUserDto":{"type":"object","properties":{"id":{"type":"string","description":"User id (uuid)"},"email":{"type":"string","description":"User email (may be null/absent)"},"createdAt":{"type":"string","description":"User creation date (derived from account creation timestamps). ISO string."}},"required":["id"]},"AutocompleteUserIdsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AutocompleteUserDto"}}},"required":["data"]},"AdminUserDto":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"timezone":{"type":"string","description":"IANA time zone as string","example":"Etc/GMT"},"email":{"type":"string"},"previouslyPairedCase":{"type":"boolean"},"newsletterSubscribed":{"type":"boolean"},"sslUserId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","status","timezone","previouslyPairedCase","newsletterSubscribed"]},"ListAdminUsersResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminUserDto"}},"nextPageToken":{"type":"string"}},"required":["data"]},"ActiveUsersByDeviceSerialResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminUserDto"}}},"required":["data"]},"AdminUserConversationRowDto":{"type":"object","properties":{"rowId":{"type":"number","example":0},"conversationId":{"type":"string","example":"a3d1d6b0-7a0d-4b2b-b7c4-18d4e7c0b2aa"},"userId":{"type":"string","example":"12c988d4f15e06bcdd0b0af290086a3079cdadb0"},"text":{"type":"string","example":"Hello, can you help me sleep?"},"role":{"type":"string","example":"user"},"createTime":{"type":"string","example":"2025-12-15T23:06:44.528Z"}},"required":["rowId","conversationId","userId","text","role","createTime"]},"AdminUserConversationHistoryDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminUserConversationRowDto"}},"pagination":{"type":"object","example":{"paginationToken":"string","hasNext":true}}},"required":["data"]},"AdminUserAccessTokenResponseDto":{"type":"object","properties":{"accessToken":{"type":"string","description":"A valid user access token (Bearer JWT) with mobile + stream scopes."}},"required":["accessToken"]},"UploadUserPromptDto":{"type":"object","properties":{"promptType":{"type":"string","enum":["incubation","wake_up"]},"durationSec":{"type":"number","description":"Prompt duration in seconds"}},"required":["promptType"]},"CreateDreamEngineeringSessionDto":{"type":"object","properties":{"incubationPromptId":{"type":"string"},"wakeUpPromptId":{"type":"string"},"fallingAsleepTrackId":{"type":"string"},"fallingAsleepTrackSource":{"type":"number"},"captureCount":{"type":"number"},"wakeUpDelayMinutes":{"type":"number"}},"required":["incubationPromptId","wakeUpPromptId","fallingAsleepTrackId","fallingAsleepTrackSource","captureCount","wakeUpDelayMinutes"]},"UpdateDreamEngineeringSessionDto":{"type":"object","properties":{"exitReason":{"type":"string","enum":["cycles_completed","buds_docked","error"]},"cyclesCompleted":{"type":"number"},"endedAt":{"type":"string"}}},"EmbeddedContentDto":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/IdentifierDto"},"size":{"type":"number"},"url":{"type":"string"},"metaUrl":{"type":"object"},"ext":{"type":"string"},"versionTs":{"type":"number"}},"required":["id","size","url","metaUrl","ext","versionTs"]},"EmbeddedContentListDto":{"type":"object","properties":{"tracks":{"type":"array","items":{"$ref":"#/components/schemas/EmbeddedContentDto"}}},"required":["tracks"]},"EmbeddedContentResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EmbeddedContentListDto"},"total":{"type":"number"},"nextPageToken":{"type":"string"}},"required":["data","total"]},"SleepPlanHwWithoutTracksDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"shuffle":{"type":"boolean"},"loop":{"type":"boolean"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"tracksCount":{"type":"number"},"generated":{"type":"boolean"}},"required":["id","name","shuffle","loop","createdAt","updatedAt","tracksCount"]},"TrackHwDto":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/IdentifierDto"},"title":{"type":"string"},"streamUri":{"type":"string"},"mediaUri":{"type":"string"},"durationSec":{"type":"number"},"resumable":{"type":"boolean"},"coefficients":{"description":"Coefficients used for masking sound generation.","allOf":[{"$ref":"#/components/schemas/CoefficientsDto"}]},"creatorName":{"type":"string"},"versionCreateTime":{"type":"number","description":"Date when current track version was created (epoch time)."}},"required":["id","title","resumable","creatorName"]},"SleepPlanTrackHwDto":{"type":"object","properties":{"recommended":{"type":"boolean"},"track":{"$ref":"#/components/schemas/TrackHwDto"}},"required":["recommended","track"]},"SleepPhaseHwDto":{"type":"object","properties":{"type":{"type":"number","enum":[0,1,2,3],"description":"0:TYPE_UNSPECIFIED\n\n1:FALLING_ASLEEP\n\n2:SLEEPING\n\n3:WAKING_UP","example":1,"x-enum-varnames":["TYPE_UNSPECIFIED","FALLING_ASLEEP","SLEEPING","WAKING_UP"]},"tracks":{"type":"array","items":{"$ref":"#/components/schemas/SleepPlanTrackHwDto"}}},"required":["type","tracks"]},"SleepPlanHwDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"sleepPhases":{"type":"array","items":{"$ref":"#/components/schemas/SleepPhaseHwDto"}},"shuffle":{"type":"boolean"},"loop":{"type":"boolean"},"createdAt":{"type":"number"},"updatedAt":{"type":"number"},"generated":{"type":"boolean"}},"required":["id","name","sleepPhases","shuffle","loop","createdAt","updatedAt"]},"SearchResultHwDto":{"type":"object","properties":{"track":{"$ref":"#/components/schemas/TrackDto"}}},"SearchResponseHwDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SearchResultHwDto"}},"nextPageToken":{"type":"string"}},"required":["data"]},"TestFiles":{"type":"object","properties":{"filesOrderBySize":{"type":"array","items":{"type":"string"}}},"required":["filesOrderBySize"]},"GetRecommendedTracksRequestDto":{"type":"object","properties":{"pageSize":{"type":"number","description":"Number of requested recommended tracks"},"exclude":{"description":"Array of track IDs to exclude from recommendations","type":"array","items":{"type":"string"}}},"required":["pageSize"]},"TracksHwDto":{"type":"object","properties":{"tracks":{"type":"array","items":{"$ref":"#/components/schemas/TrackHwDto"}}},"required":["tracks"]},"GetTracksRequestHwDto":{"type":"object","properties":{"ids":{"$ref":"#/components/schemas/IdentifierDto"}},"required":["ids"]},"SleepClassificationDto":{"type":"object","properties":{"prediction":{"type":"number","enum":[0,1,2,3],"description":"0:UNKNOWN\n\n1:ASLEEP\n\n2:AWAKE\n\n3:OUT_OF_EARS","example":1,"x-enum-varnames":["UNKNOWN","ASLEEP","AWAKE","OUT_OF_EARS"]},"stage":{"type":"string","enum":["awake","light","rem","deep"],"description":"awake:awake\n\nlight:light\n\nrem:rem\n\ndeep:deep","example":"light","x-enum-varnames":["awake","light","rem","deep"]}},"required":["prediction"]},"ClassifyMode":{"type":"string","enum":["fallAsleep","asleep","rememberDream","lessGroggy"]},"TimezoneIanaEnum":{"type":"string","enum":["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/La_Rioja","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Buenos_Aires","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Catamarca","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Coral_Harbour","America/Cordoba","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Inuvik","America/Iqaluit","America/Jamaica","America/Jujuy","America/Juneau","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Louisville","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Mendoza","America/Menominee","America/Merida","America/Mexico_City","America/Moncton","America/Monterrey","America/Montevideo","America/Montreal","America/Montserrat","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Calcutta","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qyzylorda","Asia/Rangoon","Asia/Riyadh","Asia/Saigon","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faeroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Hobart","Australia/Lindeman","Australia/Melbourne","Australia/Perth","Australia/Sydney","CST6CDT","EST5EDT","Etc/GMT","Etc/GMT+1","Etc/GMT+10","Etc/GMT+11","Etc/GMT+12","Etc/GMT+2","Etc/GMT+3","Etc/GMT+4","Etc/GMT+5","Etc/GMT+6","Etc/GMT+7","Etc/GMT-1","Etc/GMT-10","Etc/GMT-11","Etc/GMT-12","Etc/GMT-13","Etc/GMT-2","Etc/GMT-3","Etc/GMT-4","Etc/GMT-5","Etc/GMT-6","Etc/GMT-7","Etc/GMT-8","Etc/GMT-9","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kiev","Europe/Kyiv","Europe/Kirov","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Nicosia","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zaporozhye","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","MST7MDT","PST8PDT","Pacific/Apia","Pacific/Auckland","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Johnston","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Ponape","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Truk","Pacific/Wake","Pacific/Wallis","US/Alaska","US/Aleutian","US/Arizona","US/Central","US/Eastern","US/East=Indiana","US/Hawaii","US/Indiana-Starke","US/Michigan","US/Mountain","US/Pacific","US/Samoa"]},"EndSessionDto":{"type":"object","properties":{"time":{"format":"date-time","type":"string"},"ianaTimezone":{"description":"IANA timezone","allOf":[{"$ref":"#/components/schemas/TimezoneIanaEnum"}]}},"required":["time"]},"GetSleepSessionResponseDto":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"AnalyticEventTargetDto":{"type":"object","properties":{"type":{"type":"string","enum":["user","track","page","collection","playlist","sleepPlan","module"],"description":"user:user\n\ntrack:track\n\npage:page\n\ncollection:collection\n\nplaylist:playlist\n\nsleepPlan:sleepPlan\n\nmodule:module","example":"track","x-enum-varnames":["user","track","page","collection","playlist","sleepPlan","module"]},"id":{"type":"string"},"source":{"type":"number","enum":[1,2,3,4],"description":"1:SOND\n\n2:TADDY\n\n3:ASSISTANT\n\n4:USER_RECORDED","example":2,"x-enum-varnames":["SOND","TADDY","ASSISTANT","USER_RECORDED"]}},"required":["type","id"]},"AnalyticEventDto":{"type":"object","properties":{"actionType":{"type":"string","enum":["hide","view","skip","skipBefore5sPlayed","skipBefore1mPlayed","upload","pause","play","stop","budDockingChanged","budConnectionChanged","budBatteryLevel","casePower","caseDownloadSpeed","caseAvgDownloadSpeed","wifiRssi","wifiConnectionChanged","memory","powerOn","firmwareVersion","sessionStart","sessionStop","error","audioDrop","create","clone","stateChanged"],"description":"hide:hide\n\nview:view\n\nskip:skip\n\nskipBefore5sPlayed:skipBefore5sPlayed\n\nskipBefore1mPlayed:skipBefore1mPlayed\n\nupload:upload\n\npause:pause\n\nplay:play\n\nstop:stop\n\nbudDockingChanged:budDockingChanged\n\nbudConnectionChanged:budConnectionChanged\n\nbudBatteryLevel:budBatteryLevel\n\ncasePower:casePower\n\ncaseDownloadSpeed:caseDownloadSpeed\n\ncaseAvgDownloadSpeed:caseAvgDownloadSpeed\n\nwifiRssi:wifiRssi\n\nwifiConnectionChanged:wifiConnectionChanged\n\nmemory:memory\n\npowerOn:powerOn\n\nfirmwareVersion:firmwareVersion\n\nsessionStart:sessionStart\n\nsessionStop:sessionStop\n\nerror:error\n\naudioDrop:audioDrop\n\ncreate:create\n\nclone:clone\n\nstateChanged:stateChanged","example":"view","x-enum-varnames":["hide","view","skip","skipBefore5sPlayed","skipBefore1mPlayed","upload","pause","play","stop","budDockingChanged","budConnectionChanged","budBatteryLevel","casePower","caseDownloadSpeed","caseAvgDownloadSpeed","wifiRssi","wifiConnectionChanged","memory","powerOn","firmwareVersion","sessionStart","sessionStop","error","audioDrop","create","clone","stateChanged"]},"target":{"$ref":"#/components/schemas/AnalyticEventTargetDto"},"date":{"format":"date-time","type":"string"},"data":{"type":"object","description":"Additional event data"}},"required":["actionType"]},"HwPremadeSleepPlanDescDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"HwPremadeSleepPlanDescResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/HwPremadeSleepPlanDescDto"}},"nextPageToken":{"type":"string"}},"required":["data"]},"GetCollectionResponseDto":{"type":"object","properties":{"collection":{"$ref":"#/components/schemas/ContentCollectionDto"},"followed":{"type":"boolean"}},"required":["collection","followed"]},"Sort":{"type":"string","enum":["publishTimeAsc","publishTimeDesc"]},"TrackResultDto":{"type":"object","properties":{"track":{"$ref":"#/components/schemas/TrackDto"},"liked":{"type":"boolean"}},"required":["track"]},"GetCollectionTracksResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TrackResultDto"}},"nextPageToken":{"type":"string"}},"required":["data"]},"LifeLogType":{"type":"string","enum":["dream","generic"]},"LifeLog":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"text":{"type":"string"},"type":{"allOf":[{"$ref":"#/components/schemas/LifeLogType"}]}},"required":["id","createdAt","text","type"]},"LifeLogsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LifeLog"}},"nextPageToken":{"type":"string"}},"required":["data"]},"MinMaxMeanDto":{"type":"object","properties":{"min":{"type":"number","description":"From value"},"mean":{"type":"number","description":"Mean value"},"stdDev":{"type":"number","description":"Standard de value"},"max":{"type":"number","description":"To value"}},"required":["min","mean","stdDev","max"]},"TimesInStagesDto":{"type":"object","properties":{"awake":{"type":"number","description":"Time in awake stage (wakefulness after sleep onset)"},"light":{"type":"number","description":"Time in light stage"},"deep":{"type":"number","description":"Time in deep stage"},"rem":{"type":"number","description":"Time in REM stage"}},"required":["awake","light","deep","rem"]},"LongTermSleepSummaryDto":{"type":"object","properties":{"durationInSec":{"type":"number","description":"Session duration (time in bed)"},"wakeUps":{"type":"number","description":"Number of wake ups"},"timeInBedBeforeSleep":{"type":"number","description":"Time in bed before falling asleep (sleep onset latency)"},"timeInBedAfterWakeUp":{"type":"number","description":"Time in bed after wake up (time to get up)"},"sleepScore":{"type":"number","description":"Sleep score"},"hrvScore":{"type":"number","description":"Heart rate variability score"},"hrv":{"type":"number","description":"Heart rate variability"},"hr":{"description":"Heart rate","allOf":[{"$ref":"#/components/schemas/MinMaxMeanDto"}]},"rr":{"description":"Respiration rate","allOf":[{"$ref":"#/components/schemas/MinMaxMeanDto"}]},"timeInStages":{"description":"Time spend in each sleep stage","allOf":[{"$ref":"#/components/schemas/TimesInStagesDto"}]},"sleepEfficiency":{"type":"number","description":"Sleep efficiency"},"sleepDetected":{"type":"boolean","description":"Was sleep detected during the session"},"heartRateScore":{"type":"number","description":"Heart rate score"},"respirationScore":{"type":"number","description":"Respiration score"},"sleepDurationScore":{"type":"number","description":"Sleep duration score"},"timeZone":{"description":"Time zone of the sleep session","allOf":[{"$ref":"#/components/schemas/TimezoneIanaEnum"}]},"startTime":{"format":"date-time","type":"string","description":"Start time"},"endTime":{"format":"date-time","type":"string","description":"End time"}},"required":["durationInSec","wakeUps","timeInStages","sleepEfficiency","sleepDetected","timeZone"]},"AggregatedSleepSummaryDto":{"type":"object","properties":{"stats":{"description":"Aggregated data","allOf":[{"$ref":"#/components/schemas/LongTermSleepSummaryDto"}]},"timeAggregated":{"format":"date-time","type":"string","description":"Time for aggregated stats"}},"required":["stats","timeAggregated"]},"LongTermSleepDataDto":{"type":"object","properties":{"summaries":{"description":"List of sleep summaries aggregates with aggregate times","type":"array","items":{"$ref":"#/components/schemas/AggregatedSleepSummaryDto"}}}},"SleepDataPointDto":{"type":"object","properties":{"time":{"format":"date-time","type":"string","description":"Data point time stamp UTC"},"hr":{"type":"number","description":"Heart rate"},"hrv":{"type":"number","description":"Heart rate variability"},"rr":{"type":"number","description":"Respiration rate"},"sleepStage":{"type":"string","enum":["awake","light","deep","rem","asleep"],"description":"Sleep stage"}},"required":["time","sleepStage"]},"FindingDto":{"type":"object","properties":{"icon":{"type":"string","description":"Finding icon identifier"},"finding":{"type":"string","description":"Short finding headline"},"detail":{"type":"string","description":"Finding detail text"},"category":{"type":"string","description":"Stable finding category for grouping/tracking"},"severity":{"type":"string","description":"Finding severity","example":"low"}},"required":["icon","finding","detail","category","severity"]},"InterventionOutcomeDto":{"type":"object","properties":{"label":{"type":"string","description":"Outcome label"},"detail":{"type":"string","description":"Outcome detail"}},"required":["label","detail"]},"InterventionDto":{"type":"object","properties":{"timestamp":{"format":"date-time","type":"string","description":"UTC intervention timestamp (ISO 8601)"},"type":{"type":"string","description":"Intervention type"},"trigger":{"type":"string","description":"Intervention trigger"},"detail":{"type":"string","description":"Intervention detail"},"epochIndex":{"type":"number","description":"Epoch index aligned to the hypnogram"},"outcome":{"description":"Intervention outcome","allOf":[{"$ref":"#/components/schemas/InterventionOutcomeDto"}]}},"required":["timestamp","type","trigger","detail"]},"PerformanceMetricDto":{"type":"object","properties":{"label":{"type":"string","description":"Metric label"},"before":{"type":"string","description":"Baseline value (formatted)"},"after":{"type":"string","description":"Current value (formatted)"},"direction":{"type":"string","description":"Comparison direction","example":"improved"},"deltaPct":{"type":"number","description":"Percentage change"}},"required":["label","before","after","direction","deltaPct"]},"PerformanceDto":{"type":"object","properties":{"summary":{"type":"string","description":"Performance summary text"},"comparisonSessionId":{"type":"string","description":"Session ID of the baseline used for comparison"},"metrics":{"description":"List of comparison metrics","type":"array","items":{"$ref":"#/components/schemas/PerformanceMetricDto"}}},"required":["summary","comparisonSessionId","metrics"]},"TrackIdDto":{"type":"object","properties":{"id":{"type":"string","description":"Track identifier"},"source":{"type":"number","description":"Track source"}},"required":["id","source"]},"TrackPreviewDto":{"type":"object","properties":{"title":{"type":"string","description":"Track title"},"duration":{"type":"string","description":"Track duration (formatted)"},"id":{"description":"Track identifier","allOf":[{"$ref":"#/components/schemas/TrackIdDto"}]}},"required":["title","id"]},"TonightPlanPreviewDto":{"type":"object","properties":{"planId":{"type":"string","description":"Sleep plan identifier"},"title":{"type":"string","description":"Plan title"},"summary":{"type":"string","description":"Why this plan is relevant tonight"},"trackPreviews":{"description":"Ordered list of track previews","type":"array","items":{"$ref":"#/components/schemas/TrackPreviewDto"}}},"required":["planId","title","summary","trackPreviews"]},"SleepSummaryDto":{"type":"object","properties":{"startTime":{"format":"date-time","type":"string","description":"Start time"},"endTime":{"format":"date-time","type":"string","description":"End time"},"durationInSec":{"type":"number","description":"Session duration (time in bed)"},"wakeUps":{"type":"number","description":"Number of wake ups"},"timeInBedBeforeSleep":{"type":"number","description":"Time in bed before falling asleep (sleep onset latency)"},"timeInBedAfterWakeUp":{"type":"number","description":"Time in bed after wake up (time to get up)"},"sleepScore":{"type":"number","description":"Sleep score"},"hrvScore":{"type":"number","description":"Heart rate variability score"},"hrv":{"type":"number","description":"Heart rate variability"},"hr":{"description":"Heart rate","allOf":[{"$ref":"#/components/schemas/MinMaxMeanDto"}]},"rr":{"description":"Respiration rate","allOf":[{"$ref":"#/components/schemas/MinMaxMeanDto"}]},"timeInStages":{"description":"Time spend in each sleep stage","allOf":[{"$ref":"#/components/schemas/TimesInStagesDto"}]},"sleepEfficiency":{"type":"number","description":"Sleep efficiency"},"sleepDetected":{"type":"boolean","description":"Was sleep detected during the session"},"recoveryScore":{"type":"number","description":"Recovery score, representing the body's readiness to perform. Ranges from 0 to 100, where higher values indicate better recovery. Calculated based on heart rate variability, sleep quality, and other physiological metrics."},"heartRateScore":{"type":"number","description":"Heart rate score"},"respirationScore":{"type":"number","description":"Respiration score"},"sleepDurationScore":{"type":"number","description":"Sleep duration score"},"timeZone":{"description":"Time zone of the sleep session","allOf":[{"$ref":"#/components/schemas/TimezoneIanaEnum"}]},"summaryTitle":{"type":"string","description":"AI-generated title for the sleep session summary"},"summaryBody":{"type":"string","description":"AI-generated text summary of the sleep session"},"summaryTrackId":{"description":"Track ID associated with the sleep summary","allOf":[{"$ref":"#/components/schemas/IdentifierDto"}]},"findings":{"description":"Inline findings for the night","type":"array","items":{"$ref":"#/components/schemas/FindingDto"}},"interventions":{"description":"Overnight interventions that occurred during the session","type":"array","items":{"$ref":"#/components/schemas/InterventionDto"}},"performance":{"description":"Comparison to a recent baseline session","allOf":[{"$ref":"#/components/schemas/PerformanceDto"}]},"tonightPlanPreview":{"description":"Inline preview of tonight's recommended sleep plan","allOf":[{"$ref":"#/components/schemas/TonightPlanPreviewDto"}]}},"required":["durationInSec","wakeUps","timeInStages","sleepEfficiency","sleepDetected","timeZone"]},"PlayedTrackDto":{"type":"object","properties":{"startTime":{"format":"date-time","type":"string","description":"Start time"},"endTime":{"format":"date-time","type":"string","description":"End time"},"durationInSec":{"type":"number","description":"Track playtime"},"track":{"description":"Track","allOf":[{"$ref":"#/components/schemas/TrackDto"}]}},"required":["startTime","endTime","durationInSec","track"]},"SleepDataDto":{"type":"object","properties":{"biosignals":{"description":"List of sleep data point","type":"array","items":{"$ref":"#/components/schemas/SleepDataPointDto"}},"summary":{"description":"Summary for the night","allOf":[{"$ref":"#/components/schemas/SleepSummaryDto"}]},"playedTracks":{"description":"Summary for the night","type":"array","items":{"$ref":"#/components/schemas/PlayedTrackDto"}}},"required":["biosignals"]},"HypnogramDataDto":{"type":"object","properties":{"stage":{"type":"string","enum":["awake","light","deep","rem","asleep"],"description":"Sleep stage"},"startTime":{"format":"date-time","type":"string","description":"Start of stage"},"endTime":{"format":"date-time","type":"string","description":"End of stage"}},"required":["stage","startTime","endTime"]},"HypnogramResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/HypnogramDataDto"}}},"required":["data"]},"SleepSummaryResponseDto":{"type":"object","properties":{"startTime":{"format":"date-time","type":"string","description":"Start time"},"endTime":{"format":"date-time","type":"string","description":"End time"},"durationInSec":{"type":"number","description":"Session duration (time in bed)"},"wakeUps":{"type":"number","description":"Number of wake ups"},"timeInBedBeforeSleep":{"type":"number","description":"Time in bed before falling asleep (sleep onset latency)"},"timeInBedAfterWakeUp":{"type":"number","description":"Time in bed after wake up (time to get up)"},"sleepScore":{"type":"number","description":"Sleep score"},"hrvScore":{"type":"number","description":"Heart rate variability score"},"hrv":{"type":"number","description":"Heart rate variability"},"hr":{"description":"Heart rate","allOf":[{"$ref":"#/components/schemas/MinMaxMeanDto"}]},"rr":{"description":"Respiration rate","allOf":[{"$ref":"#/components/schemas/MinMaxMeanDto"}]},"timeInStages":{"description":"Time spend in each sleep stage","allOf":[{"$ref":"#/components/schemas/TimesInStagesDto"}]},"sleepEfficiency":{"type":"number","description":"Sleep efficiency"},"sleepDetected":{"type":"boolean","description":"Was sleep detected during the session"},"recoveryScore":{"type":"number","description":"Recovery score, representing the body's readiness to perform. Ranges from 0 to 100, where higher values indicate better recovery. Calculated based on heart rate variability, sleep quality, and other physiological metrics."},"heartRateScore":{"type":"number","description":"Heart rate score"},"respirationScore":{"type":"number","description":"Respiration score"},"sleepDurationScore":{"type":"number","description":"Sleep duration score"},"timeZone":{"description":"Time zone of the sleep session","allOf":[{"$ref":"#/components/schemas/TimezoneIanaEnum"}]},"summaryTitle":{"type":"string","description":"AI-generated title for the sleep session summary"},"summaryBody":{"type":"string","description":"AI-generated text summary of the sleep session"},"summaryTrackId":{"description":"Track ID associated with the sleep summary","allOf":[{"$ref":"#/components/schemas/IdentifierDto"}]},"findings":{"description":"Inline findings for the night","type":"array","items":{"$ref":"#/components/schemas/FindingDto"}},"interventions":{"description":"Overnight interventions that occurred during the session","type":"array","items":{"$ref":"#/components/schemas/InterventionDto"}},"performance":{"description":"Comparison to a recent baseline session","allOf":[{"$ref":"#/components/schemas/PerformanceDto"}]},"tonightPlanPreview":{"description":"Inline preview of tonight's recommended sleep plan","allOf":[{"$ref":"#/components/schemas/TonightPlanPreviewDto"}]},"sessionId":{"type":"string","description":"Session id"}},"required":["durationInSec","wakeUps","timeInStages","sleepEfficiency","sleepDetected","timeZone","sessionId"]},"SleepSummaryListResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SleepSummaryResponseDto"}}},"required":["data"]},"BiosignalsDataDto":{"type":"object","properties":{"time":{"format":"date-time","type":"string","description":"Time of biosignal value"},"value":{"type":"number","description":"Mean value of biosignal"},"min":{"type":"number","description":"Min value of biosignal"},"max":{"type":"number","description":"Max value of biosignal"}},"required":["time","value","min","max"]},"BiosignalsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BiosignalsDataDto"}}},"required":["data"]},"ExternalSleepDataDto":{"type":"object","properties":{"value":{"type":"string","description":"Value of sleep data sample"},"endDate":{"format":"date-time","type":"string","description":"End of sample time","example":"2026-04-08T08:22:35.762Z"},"startDate":{"format":"date-time","type":"string","description":"Start of sample time","example":"2026-04-08T08:22:35.762Z"},"sourceName":{"type":"string","description":"Name of source from which the data is coming from"},"type":{"type":"string","enum":["HKQuantityTypeIdentifierOxygenSaturation","HKQuantityTypeIdentifierRestingHeartRate","HKQuantityTypeIdentifierHeartRate","HKCategoryTypeIdentifierSleepAnalysis","HKQuantityTypeIdentifierRespiratoryRate"],"description":"HKQuantityTypeIdentifierOxygenSaturation:oxygenSaturation\n\nHKQuantityTypeIdentifierRestingHeartRate:restingHeartRate\n\nHKQuantityTypeIdentifierHeartRate:heartRate\n\nHKCategoryTypeIdentifierSleepAnalysis:sleepAnalysis\n\nHKQuantityTypeIdentifierRespiratoryRate:respiratoryRate","example":"HKQuantityTypeIdentifierRestingHeartRate","x-enum-varnames":["oxygenSaturation","restingHeartRate","heartRate","sleepAnalysis","respiratoryRate"]}},"required":["value","sourceName","type"]},"ExternalSleepDataPayload":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ExternalSleepDataDto"}}},"required":["data"]},"GetPlaylistResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SearchResultDto"}}},"required":["data"]},"NewUserRecommendationsDto":{"type":"object","properties":{"userId":{"type":"string","example":"9322c384-fd8e-4a13-80cd-1cbd1ef95ba8"},"trackIds":{"type":"array","items":{"$ref":"#/components/schemas/IdentifierDto"}}},"required":["userId","trackIds"]},"NewRecommendationsDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/NewUserRecommendationsDto"}}},"required":["data"]},"PosixTzDto":{"type":"object","properties":{"posixTz":{"type":"string","description":"Posix timezone string"}},"required":["posixTz"]},"UpDto":{"type":"object","properties":{"status":{"type":"string","enum":["healthy","down"]},"message":{"type":"string"}},"required":["status"]},"NewsletterSubscriptionDto":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"string"},"ref":{"type":"string"}},"required":["email"]},"NewsletterUserSubscriptionDto":{"type":"object","properties":{"email":{"type":"string"},"previouslyUsedSimilarProducts":{"type":"boolean"}},"required":["email"]},"EventRecordCreatedProperties":{"type":"object","properties":{"recordId":{"type":"number"},"sessionId":{"type":"string","example":"test-session"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"perceivedNight":{"format":"date-time","type":"string"},"sleepScore":{"type":"number"},"bodyScore":{"type":"number"},"mindScore":{"type":"number"},"averageRespirationRate":{"type":"number"},"interruptions":{"type":"number"},"timeInBed":{"type":"string"},"totalSleepTime":{"type":"string"},"totalRecords":{"type":"number"}},"required":["recordId","sessionId","startDate","endDate","perceivedNight","sleepScore","bodyScore","mindScore","averageRespirationRate","interruptions","timeInBed","totalSleepTime","totalRecords"]},"EventRecordCreated":{"type":"object","properties":{"userId":{"type":"string","example":"d290f1ee-6c54-4b01-90e6-d701748f0851"},"eventType":{"type":"string","enum":["SleepScore.Events.SleepRecord.Created","SleepScore.Events.Nugget.Delivered"],"example":"SleepScore.Events.SleepRecord.Created"},"timestamp":{"format":"date-time","type":"string","example":"2026-04-08T08:22:35.862Z"},"properties":{"$ref":"#/components/schemas/EventRecordCreatedProperties"}},"required":["userId","eventType","timestamp","properties"]},"EventNuggetDeliveredProperties":{"type":"object","properties":{"nuggetId":{"type":"number"},"recordId":{"type":"number"},"nuggetType":{"type":"string","enum":["General","Insight","Educational","Advice","WeeklyAdvice","MonthlyAdvice","Seasonal","DoctorReport","News","Prompt","Recommendation","Goal","SocialInsight"],"example":"Advice"},"nuggetStyle":{"type":"string","enum":["TextNugget","IconNugget","ZoomedHypnogramNugget","FullHypnogramNugget","ScoreNugget"],"example":"TextNugget"},"title":{"type":"string"},"body":{"type":"string"},"imageUrl":{"type":"string"},"infoUrl":{"type":"string"},"dateGenerated":{"format":"date-time","type":"string","example":"2026-04-08T08:22:35.865Z"},"dateScheduled":{"format":"date-time","type":"string","example":"2026-04-08T08:22:35.865Z"}},"required":["nuggetId","recordId","nuggetType","nuggetStyle","title","body","imageUrl","infoUrl","dateGenerated","dateScheduled"]},"EventNuggetDelivered":{"type":"object","properties":{"userId":{"type":"string","example":"d290f1ee-6c54-4b01-90e6-d701748f0851"},"eventType":{"type":"string","enum":["SleepScore.Events.SleepRecord.Created","SleepScore.Events.Nugget.Delivered"],"example":"SleepScore.Events.SleepRecord.Created"},"timestamp":{"format":"date-time","type":"string","example":"2026-04-08T08:22:35.865Z"},"properties":{"$ref":"#/components/schemas/EventNuggetDeliveredProperties"}},"required":["userId","eventType","timestamp","properties"]},"EndUserSessionDto":{"type":"object","properties":{"endTime":{"format":"date-time","type":"string"},"sessionId":{"type":"string"}},"required":["endTime","sessionId"]},"EndUserSessionsDto":{"type":"object","properties":{"sessions":{"description":"Array of end-user session objects","type":"array","items":{"$ref":"#/components/schemas/EndUserSessionDto"}},"ianaTimezone":{"description":"IANA timezone","allOf":[{"$ref":"#/components/schemas/TimezoneIanaEnum"}]}},"required":["sessions"]}}}}