clients
_id
objectId
NN
masterId
objectId
NN
telegramUserId
any
name
string
NN
phone
string
NN
createdAt
date
NN
updatedAt
date
NN
__v
double
NN
deletedAt
any
notes
string
NN
_id_
masters
_id
objectId
NN
userId
objectId
NN
businessName
string
NN
category
string
NN
description
string
NN
address
string
NN
slotDuration
double
NN
planningHorizon
double
NN
contacts{}
object
NN
welcomeText
string
NN
webhookSecret
string
NN
timeZone
string
NN
workingSchedule{}
object
NN
knowledge[{}]
object
NN
botLink
string
NN
createdAt
date
NN
updatedAt
date
NN
__v
double
NN
gptTokensUsed{}
object
NN
masterName
string
NN
fbUserAccessToken
string
NN
fbUserAccessTokenExpiresAt
date
NN
fbUserId
string
NN
igUserId
string
NN
pageAccessToken
string
NN
pageId
string
NN
pageTokenObtainedAt
date
NN
calendarToken
string
NN
tgBotToken
string
NN
google{}
object
NN
smartSlotsEnabled
bool
NN
webhookSecretToken
string
NN
_id_
webhookSecret_1
calendarToken_1
users
_id
objectId
NN
tgId
string
NN
username
string
NN
firstName
string
NN
lastName
string
NN
langCode
string
NN
isPremium
bool
NN
status
string
NN
avatar
string
NN
createdAt
date
NN
updatedAt
date
NN
__v
double
NN
name
string
NN
phone
string
NN
_id_
tgId_1
igUserId_1
masterdayoverrides
_id
objectId
NN
date
string
NN
masterId
objectId
NN
__v
double
NN
blocks[{}]
object
NN
createdAt
date
NN
opens[{}]
object
NN
source
string
NN
updatedAt
date
NN
_id_
masterId_1
date_1
masterId_1_date_1
Trial version
services
_id
objectId
NN
master
objectId
NN
name
string
NN
description
string
NN
price{}
object
NN
duration{}
object
NN
format
string
NN
interactionType
string
NN
maxParticipants
double
NN
tags
object
NN
images
object
NN
isActive
bool
NN
createdAt
date
NN
updatedAt
date
NN
__v
double
NN
_id_
gptusagelogs
_id
objectId
NN
masterId
objectId
NN
model
string
NN
layer
string
NN
inputTokens
double
NN
outputTokens
double
NN
totalCostUSD
double
NN
isFunctionCall
bool
NN
wasError
bool
NN
createdAt
date
NN
updatedAt
date
NN
__v
double
NN
_id_
appointments
_id
objectId
NN
masterId
objectId
NN
clientId
objectId
NN
startTime
date
NN
endTime
date
NN
services[{}]
object
NN
internalStatus
string
NN
googleEventId
string
NN
icsToken
string
NN
createdAt
date
NN
updatedAt
date
NN
totalDuration{}
object
NN
totalPrice{}
object
NN
__v
double
NN
notes
string
NN
_id_
icsToken_1
messages
_id
objectId
NN
user
objectId
NN
master
objectId
NN
userTgId
string
NN
role
string
NN
content
string
NN
function_call
null
name
null
tokensUsed{}
object
NN
timestamp
date
NN
__v
double
NN
_id_
chatId_1
timestamp_1
chatId_1_timestamp_-1
contacts { } NN
phone
string
NN
telegram
string
NN
instagram
string
NN
website
string
NN
workingHours { } NN
from
string
NN
to
string
NN
Trial version
breaks [{ }] NN
from
string
NN
to
string
NN
workingHours { } NN
from
string
NN
to
string
NN
breaks [{ }] NN
from
string
NN
to
string
NN
workingHours { } NN
from
string
NN
to
string
NN
breaks [{ }] NN
from
string
NN
to
string
NN
workingHours { } NN
from
string
NN
to
string
NN
breaks [{ }] NN
from
string
NN
to
string
NN
workingHours { } NN
from
string
NN
to
string
NN
Trial version
breaks [{ }] NN
from
string
NN
to
string
NN
workingHours { } NN
from
string
NN
to
string
NN
breaks [{ }] NN
from
string
NN
to
string
NN
Trial version
knowledge [{ }] NN
type
string
NN
content
string
NN
gptTokensUsed { } NN
inputTokens
double
NN
outputTokens
double
NN
totalCostUSD
double
NN
Trial version
google { } NN
isConnected
bool
NN
calendarId
string
NN
refreshToken
string
NN
monday { } NN
isWorkingDay
bool
NN
workingHours{}
object
NN
breaks[{}]
object
NN
tuesday { } NN
isWorkingDay
bool
NN
workingHours{}
object
NN
breaks[{}]
object
NN
wednesday { } NN
isWorkingDay
bool
NN
workingHours{}
object
NN
breaks[{}]
object
NN
thursday { } NN
isWorkingDay
bool
NN
workingHours{}
object
NN
breaks[{}]
object
NN
Trial version
friday { } NN
isWorkingDay
bool
NN
workingHours{}
object
NN
breaks[{}]
object
NN
saturday { } NN
isWorkingDay
bool
NN
workingHours{}
object
NN
breaks[{}]
object
NN
workingSchedule { } NN
monday{}
object
NN
tuesday{}
object
NN
wednesday{}
object
NN
thursday{}
object
NN
friday{}
object
NN
saturday{}
object
NN
sunday{}
object
NN
Trial version
blocks [{ }] NN
from
string
NN
to
string
NN
opens [{ }] NN
from
string
NN
to
string
NN
note
string
NN
price { } NN
type
string
NN
value
double
NN
currency
string
NN
duration { } NN
type
string
NN
value
double
NN
price { } NN
type
string
NN
value
double
NN
currency
string
NN
duration { } NN
type
string
NN
value
double
NN
totalDuration { } NN
type
string
NN
value
double
NN
totalPrice { } NN
type
string
NN
value
double
NN
currency
string
NN
services [{ }] NN
name
string
NN
description
string
NN
price{}
object
NN
duration{}
object
NN
format
string
NN
interactionType
string
NN
category
null
preMeetingQuestions
null
serviceId
string
NN
tokensUsed { } NN
request
double
NN
response
double
NN
_id
objectId
NN
sunday { } NN
isWorkingDay
bool
NN
workingHours{}
object
NN
breaks[{}]
object
NN
breaks [{ }] NN
from
string
NN
to
string
NN
workingHours { } NN
from
string
NN
to
string
NN