schema.Action
Name | Type | Description | Required |
---|---|---|---|
action | string | No | |
chatMessageId | integer | No | |
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
id | integer | No | |
payload | string | No | |
title | string | No | |
updatedAt | string | No | |
url | string | No |
schema.ActionType
Name | Type | Description | Required |
---|---|---|---|
schema.ActionType | string |
schema.Actor
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
type | schema.ActorType | len=255 | No |
userId | integer | No |
schema.ActorType
Name | Type | Description | Required |
---|---|---|---|
schema.ActorType | string |
schema.AnalyticsDetailsFilter
Name | Type | Description | Required |
---|---|---|---|
schema.AnalyticsDetailsFilter | string |
schema.AnalyticsDetailsQuery
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
end | string | No | |
filter | schema.AnalyticsDetailsFilter | No | |
groupId | integer | No | |
hasRating | boolean | No | |
period | schema.Period | No | |
projectId | integer | No | |
start | string | Internal | No |
schema.AnalyticsDetailsRow
Name | Type | Description | Required |
---|---|---|---|
acceptTime | integer | No | |
accepter | string | No | |
accepterId | integer | No | |
assignee | string | No | |
assigneeId | integer | No | |
assignments | integer | No | |
channel | string | No | |
channelId | integer | No | |
client | string | No | |
clientId | integer | No | |
date | string | No | |
duration | integer | No | |
members | string | No | |
project | string | No | |
projectId | integer | No | |
rating | number | No | |
ratingComment | string | No | |
respTime | integer | No | |
ticketId | integer | No |
schema.AnalyticsQuery
Name | Type | Description | Required |
---|---|---|---|
end | string | No | |
period | schema.Period | No | |
start | string | Internal | No |
schema.AnalyticsRow
Name | Type | Description | Required |
---|---|---|---|
avgAcceptTime | number | No | |
avgDuration | number | No | |
avgRating | number | No | |
avgRespTime | number | No | |
channel | string | No | |
channelId | integer | No | |
group | string | No | |
groupId | integer | No | |
maxAcceptTime | integer | No | |
maxDuration | integer | No | |
maxRespTime | integer | No | |
project | string | No | |
projectId | integer | No | |
totalAccepted | integer | No | |
totalCount | integer | No | |
totalMissed | integer | No | |
type | schema.AnalyticsRowType | No |
schema.AnalyticsRowType
Name | Type | Description | Required |
---|---|---|---|
schema.AnalyticsRowType | string |
schema.AnalyticsSubreportQuery
Name | Type | Description | Required |
---|---|---|---|
end | string | No | |
groupId | integer | No | |
period | schema.Period | No | |
projectId | integer | No | |
start | string | Internal | No |
schema.AssignTo
Name | Type | Description | Required |
---|---|---|---|
schema.AssignTo | string |
schema.AudioMessageEnabledFor
Name | Type | Description | Required |
---|---|---|---|
schema.AudioMessageEnabledFor | string |
schema.AudioMessagesInput
Name | Type | Description | Required |
---|---|---|---|
channelIds | sets.Int64 | No | |
enabled | boolean | No | |
enabledFor | schema.AudioMessageEnabledFor | No |
schema.Autoreply
Name | Type | Description | Required |
---|---|---|---|
close | boolean | Close ticket | No |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
enabled | boolean | No | |
groupId | integer | No | |
id | integer | No | |
limit | integer | Only for "need_more_time" | No |
offlineDays | schema.Weekdays | len=255 | No |
offlineEndHour | integer | No | |
offlineStartHour | integer | No | |
offlineTimeoutMin | integer | No | |
offlineUserId | integer | Deprecated | No |
oneTime | boolean | No | |
projectId | integer | No | |
text | string | No | |
textNoFCR | string | No | |
timeout | integer | Only for "need_more_time" | No |
type | schema.AutoreplyType | len=32 | No |
updatedAt | string | No | |
userId | integer | No |
schema.AutoreplyCreateInput
Name | Type | Description | Required |
---|---|---|---|
autoreply | schema.AutoreplyInput | No | |
projectId | integer | No |
schema.AutoreplyGetInput
Name | Type | Description | Required |
---|---|---|---|
autoreplyId | integer | No |
schema.AutoreplyGroup
Name | Type | Description | Required |
---|---|---|---|
channelIds | sets.Int64 | No | |
channels | [ schema.Channel ] | Relations | No |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
projectId | integer | No | |
replies | [ schema.Autoreply ] | No | |
title | string | No | |
updatedAt | string | No |
schema.AutoreplyGroupCreateInput
Name | Type | Description | Required |
---|---|---|---|
group | schema.AutoreplyGroupInput | No | |
projectId | integer | No |
schema.AutoreplyGroupGetInput
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No |
schema.AutoreplyGroupInput
Name | Type | Description | Required |
---|---|---|---|
channelIds | [ integer ] | No | |
title | string | No |
schema.AutoreplyGroupOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
group | schema.AutoreplyGroup | No |
schema.AutoreplyGroupUpdateInput
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No |
schema.AutoreplyGroupsGetInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No |
schema.AutoreplyGroupsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
groups | [ schema.AutoreplyGroup ] | No |
schema.AutoreplyInput
Name | Type | Description | Required |
---|---|---|---|
close | boolean | Only for nooperators and nonworkhours. | No |
limit | integer | Only for "need_more_time" | No |
offline | schema.AutoreplyOfflineInput | Deprecated | No |
oneTime | boolean | No | |
text | string | No | |
textNoFCR | string | No | |
timeout | integer | Only for "need_more_time" | No |
type | schema.AutoreplyType | No | |
userId | integer | No |
schema.AutoreplyOfflineInput
Name | Type | Description | Required |
---|---|---|---|
days | schema.Weekdays | No | |
endHour | integer | No | |
startHour | integer | No | |
timeoutMin | integer | 0 means immediatelly | No |
userId | integer | No |
schema.AutoreplyOutput
Name | Type | Description | Required |
---|---|---|---|
autoreply | schema.Autoreply | No | |
graph | schema.Graph | No |
schema.AutoreplyToggleInput
Name | Type | Description | Required |
---|---|---|---|
autoreplyId | integer | No | |
enabled | boolean | No |
schema.AutoreplyType
Name | Type | Description | Required |
---|---|---|---|
schema.AutoreplyType | string |
schema.AutoreplyUpdateInput
Name | Type | Description | Required |
---|---|---|---|
autoreply | schema.AutoreplyInput | No | |
autoreplyId | integer | No |
schema.BadWord
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
word | string | No |
schema.BadWordDeleteInput
Name | Type | Description | Required |
---|---|---|---|
badWordID | integer | No |
schema.BadWordInput
Name | Type | Description | Required |
---|---|---|---|
badWord | string | No |
schema.BadWordInputRequest
Name | Type | Description | Required |
---|---|---|---|
badWord | schema.BadWordInput | No |
schema.BadWordOutput
Name | Type | Description | Required |
---|---|---|---|
badWord | schema.BadWord | No |
schema.BadWordUpdateInput
Name | Type | Description | Required |
---|---|---|---|
badWordsOptions | schema.BadWordsOptions | No | |
orgId | integer | No |
schema.BadWordsOptions
Name | Type | Description | Required |
---|---|---|---|
badWordsCheck | boolean | No | |
badWordsViolation | boolean | No |
schema.BadWordsOutput
Name | Type | Description | Required |
---|---|---|---|
badWords | [ schema.BadWord ] | No |
schema.BanClientInput
Name | Type | Description | Required |
---|---|---|---|
blockForever | boolean | No | |
blockReason | string | No | |
blockUntilDate | string | No | |
blockUntilTime | string | No | |
clientId | integer | No |
schema.BlockTicketInput
Name | Type | Description | Required |
---|---|---|---|
blockForever | boolean | No | |
blockReason | string | No | |
blockUntilDate | string | No | |
blockUntilTime | string | No | |
ticketId | integer | No | |
ticketIds | [ integer ] | No |
schema.BlockedTicketSettings
Name | Type | Description | Required |
---|---|---|---|
closeNextReply | string | No | |
closeNextWithReply | boolean | No | |
createdAt | string | No | |
firstAssignToGroup | boolean | No | |
firstAssignToGroupId | integer | No | |
nextAssignToGroup | boolean | No | |
nextAssignToGroupId | integer | No | |
projectId | integer | No | |
updatedAt | string | No |
schema.BotFlowState
Name | Type | Description | Required |
---|---|---|---|
schema.BotFlowState | string |
schema.CRM
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
enabled | boolean | No | |
id | integer | No | |
name | string | No | |
projectId | integer | No | |
restoredAt | string | No | |
type | schema.CRMType | len=64 | No |
updatedAt | string | No | |
url | string | No |
schema.CRMClient
Name | Type | Description | Required |
---|---|---|---|
birthDay | string | No | |
branchBik | string | БИК подразделения банка | No |
branchExtRef | string | Идентификатор в АБС подразделения банка | No |
branchId | string | Идентификатор подразделения банка в iSimpleBank 2.0 | No |
branchName | string | Наименование подразделения банка | No |
cardRef | string | Идентификатор клиента в карточном бэк | No |
cellphone | string | No | |
companies | [ schema.CRMCompany ] | No | |
crmid | integer | Айди CRM, через которую получен клиент, заполняется вручную. | No |
crmurl | string | No | |
string | No | ||
enabled | boolean | No | |
extId | string | Айди клиента в CRM. | No |
extRef | string | Идентификатор клиента в АБС | No |
fieldList | [ schema.CRMClientField ] | Дополнительные поля | No |
firstName | string | No | |
inn | string | No | |
lastName | string | No | |
middleName | string | No | |
name | string | No | |
sex | string | No | |
shortName | string | No | |
token | string | No |
schema.CRMClientField
Name | Type | Description | Required |
---|---|---|---|
name | string | No | |
value | string | No |
schema.CRMCompany
Name | Type | Description | Required |
---|---|---|---|
crmid | integer | Айди CRM, через которую получена компания, заполняется вручну. | No |
enabled | boolean | Обслуживание организации разрешено | No |
extId | string | Айди компании в CRM. | No |
extRef | string | Код клиента в АБС | No |
inn | string | Details | No |
internationalAddress | string | Итоговый полный международный адрес | No |
internationalName | string | Международное наименование | No |
kpp | string | КПП | No |
name | string | No | |
ogrn | string | ОГРН | No |
ogrndate | string | Дата ОГРН | No |
phone | string | Телефоны | No |
resident | boolean | признак "Нерезидент" | No |
shortName | string | Сокращенное наименование | No |
schema.CRMCreateRequest
Name | Type | Description | Required |
---|---|---|---|
crm | schema.CRMInput | No | |
projectId | integer | No |
schema.CRMIdRequest
Name | Type | Description | Required |
---|---|---|---|
crmid | integer | No |
schema.CRMInput
Name | Type | Description | Required |
---|---|---|---|
name | string | No | |
type | schema.CRMType | No | |
url | string | No |
schema.CRMOutput
Name | Type | Description | Required |
---|---|---|---|
crm | schema.CRM | No |
schema.CRMQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No |
schema.CRMToggleRequest
Name | Type | Description | Required |
---|---|---|---|
crmid | integer | No | |
enabled | boolean | No |
schema.CRMType
Name | Type | Description | Required |
---|---|---|---|
schema.CRMType | string |
schema.CRMUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
crm | schema.CRMInput | No | |
crmid | integer | No |
schema.CRMsOutput
Name | Type | Description | Required |
---|---|---|---|
crms | [ schema.CRM ] | No |
schema.CategoriesOutput
Name | Type | Description | Required |
---|---|---|---|
categories | schema.CategoryList | No | |
graph | schema.Graph | No |
schema.Category
Name | Type | Description | Required |
---|---|---|---|
children | [ schema.Category ] | Transient | No |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
isFolder | boolean | No | |
parentId | integer | No | |
projectId | integer | No | |
title | string | No | |
updatedAt | string | No |
schema.CategoryCreateInput
Name | Type | Description | Required |
---|---|---|---|
category | schema.CategoryInput | No | |
projectId | integer | No |
schema.CategoryDeleteInput
Name | Type | Description | Required |
---|---|---|---|
categoryId | integer | No |
schema.CategoryFolderCreateInput
Name | Type | Description | Required |
---|---|---|---|
folder | schema.CategoryFolderInput | No | |
projectId | integer | No |
schema.CategoryFolderDeleteInput
Name | Type | Description | Required |
---|---|---|---|
folderId | integer | No | |
newParentId | integer | No | |
recursive | boolean | No |
schema.CategoryFolderDeleteOutput
Name | Type | Description | Required |
---|---|---|---|
children | [ schema.Category ] | No | |
folder | schema.Category | No | |
graph | schema.Graph | No |
schema.CategoryFolderInput
Name | Type | Description | Required |
---|---|---|---|
title | string | No |
schema.CategoryFolderOutput
Name | Type | Description | Required |
---|---|---|---|
folder | schema.Category | No | |
graph | schema.Graph | No |
schema.CategoryFolderUpdateInput
Name | Type | Description | Required |
---|---|---|---|
folder | schema.CategoryFolderInput | No | |
folderId | integer | No |
schema.CategoryGetInput
Name | Type | Description | Required |
---|---|---|---|
categoryId | integer | No |
schema.CategoryInput
Name | Type | Description | Required |
---|---|---|---|
parentId | integer | No | |
title | string | No |
schema.CategoryList
Name | Type | Description | Required |
---|---|---|---|
items | [ schema.Category ] | No | |
totalCount | integer | No |
schema.CategoryOutput
Name | Type | Description | Required |
---|---|---|---|
category | schema.Category | No | |
graph | schema.Graph | No |
schema.CategoryQuery
Name | Type | Description | Required |
---|---|---|---|
isFolder | boolean | No | |
limit | integer | No | |
offset | integer | No | |
parentId | integer | No | |
projectId | integer | Internal | No |
recursive | boolean | Recursive and ParentId are mutually exclusive. | No |
schema.CategoryQueryInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.CategoryQuery | No |
schema.CategoryUpdateInput
Name | Type | Description | Required |
---|---|---|---|
category | schema.CategoryInput | No | |
categoryId | integer | No |
schema.Channel
Name | Type | Description | Required |
---|---|---|---|
audioMessagesEnabled | boolean | No | |
audioMessagesEnabledFor | schema.AudioMessageEnabledFor | No | |
createdAt | string | No | |
deleted | boolean | No | |
description | string | No | |
edna | schema.EdnaChannel | No | |
schema.FacebookChannel | Transient | No | |
id | integer | No | |
infobip | schema.InfobipChannel | No | |
iqchat | schema.IQChatChannel | No | |
name | string | No | |
projectId | integer | No | |
telegram | schema.TelegramChannel | No | |
title | string | No | |
totalClients | integer | No | |
totalOpenTickets | integer | No | |
totalTickets | integer | No | |
totals | schema.TicketTotalRow | Dashboard | No |
type | schema.ChannelType | len=64 | No |
updatedAt | string | No | |
viber | schema.ViberChannel | No | |
vk | schema.VKChannel | No |
schema.ChannelConfigureInput
Name | Type | Description | Required |
---|---|---|---|
audio | schema.AudioMessagesInput | No | |
channelId | integer | No |
schema.ChannelConfigureOutput
Name | Type | Description | Required |
---|---|---|---|
channel | schema.Channel | No |
schema.ChannelCreateInput
Name | Type | Description | Required |
---|---|---|---|
channel | schema.ChannelInput | No | |
projectId | integer | No |
schema.ChannelDeleteInput
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No |
schema.ChannelIdRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No |
schema.ChannelInput
Name | Type | Description | Required |
---|---|---|---|
description | string | No | |
name | string | No | |
title | string | No | |
type | schema.ChannelType | No |
schema.ChannelList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.Channel ] | No | |
totalCount | integer | No |
schema.ChannelMyQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.ChannelQuery | No |
schema.ChannelOutput
Name | Type | Description | Required |
---|---|---|---|
channel | schema.Channel | No | |
graph | schema.Graph | No |
schema.ChannelQuery
Name | Type | Description | Required |
---|---|---|---|
companyId | integer | No | |
deleted | boolean | No | |
limit | integer | No | |
offset | integer | No | |
projectId | integer | No | |
types | [ string ] | No | |
userId | integer | Internal | No |
schema.ChannelQueryCompanyInput
Name | Type | Description | Required |
---|---|---|---|
companyId | integer | No | |
query | schema.ChannelQuery | No |
schema.ChannelQueryInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.ChannelQuery | No |
schema.ChannelType
Name | Type | Description | Required |
---|---|---|---|
schema.ChannelType | string |
schema.ChannelUpdateInput
Name | Type | Description | Required |
---|---|---|---|
channel | schema.ChannelInput | No | |
channelId | integer | No |
schema.ChannelsOutput
Name | Type | Description | Required |
---|---|---|---|
channels | [ schema.Channel ] | No | |
graph | schema.Graph | No |
schema.Chat
Name | Type | Description | Required |
---|---|---|---|
changedAt | string | No | |
channelId | integer | No | |
childrenChats | [ schema.Chat ] | Transient | No |
clientId | integer | No | |
clientParentId | integer | No | |
clientUnread | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
eventId | integer | Last event id. | No |
id | integer | No | |
projectId | integer | No | |
systemChat | boolean | No | |
ticketId | integer | Last ticket id. | No |
type | schema.ChatType | len=32 | No |
userId | integer | No |
schema.ChatBot
Name | Type | Description | Required |
---|---|---|---|
botId | string | No | |
chatBotPlatformId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
projectId | integer | No | |
updatedAt | string | No | |
userId | integer | No |
schema.ChatBotDeleteInput
Name | Type | Description | Required |
---|---|---|---|
chatBotId | integer | No |
schema.ChatBotIdInput
Name | Type | Description | Required |
---|---|---|---|
botId | integer | No |
schema.ChatBotInput
Name | Type | Description | Required |
---|---|---|---|
botId | string | No | |
chatBotPlatformId | integer | No | |
projectId | integer | No | |
userId | integer | No |
schema.ChatBotList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.ChatBot ] | No | |
totalCount | integer | No |
schema.ChatBotOutput
Name | Type | Description | Required |
---|---|---|---|
chatBot | schema.ChatBot | No | |
graph | schema.Graph | No |
schema.ChatBotPlatform
Name | Type | Description | Required |
---|---|---|---|
bsstoken | string | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
description | string | No | |
enabled | boolean | No | |
id | integer | No | |
login | string | No | |
password | string | No | |
projectId | integer | No | |
title | string | No | |
type | schema.ChatBotPlatformType | No | |
updatedAt | string | No | |
url | string | No |
schema.ChatBotPlatformCreateInput
Name | Type | Description | Required |
---|---|---|---|
chatBotPlatform | schema.ChatBotPlatformInput | No | |
projectId | integer | No |
schema.ChatBotPlatformDeleteInput
Name | Type | Description | Required |
---|---|---|---|
chatBotPlatformId | integer | No |
schema.ChatBotPlatformInput
Name | Type | Description | Required |
---|---|---|---|
bsstoken | string | No | |
description | string | No | |
login | string | No | |
password | string | No | |
title | string | No | |
type | schema.ChatBotPlatformType | No | |
url | string | No |
schema.ChatBotPlatformList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.ChatBotPlatform ] | No | |
totalCount | integer | No |
schema.ChatBotPlatformOutput
Name | Type | Description | Required |
---|---|---|---|
chatBotPlatform | schema.ChatBotPlatform | No |
schema.ChatBotPlatformQuery
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
limit | integer | No | |
offset | integer | No | |
projectId | integer | Internal | No |
q | string | No |
schema.ChatBotPlatformQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.ChatBotPlatformQuery | No |
schema.ChatBotPlatformQueryProjectInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.ChatBotPlatformQuery | No |
schema.ChatBotPlatformToggleInput
Name | Type | Description | Required |
---|---|---|---|
chatBotPlatformId | integer | No | |
enabled | boolean | No |
schema.ChatBotPlatformType
Name | Type | Description | Required |
---|---|---|---|
schema.ChatBotPlatformType | string |
schema.ChatBotPlatformUpdateInput
Name | Type | Description | Required |
---|---|---|---|
chatBotPlatform | schema.ChatBotPlatformInput | No | |
chatBotPlatformId | integer | No |
schema.ChatBotPlatformsOutput
Name | Type | Description | Required |
---|---|---|---|
chatBotPlatforms | [ schema.ChatBotPlatform ] | No |
schema.ChatBotQuery
Name | Type | Description | Required |
---|---|---|---|
deleted | boolean | No | |
limit | integer | No | |
offset | integer | No | |
projectId | integer | Internal | No |
schema.ChatBotQueryInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.ChatBotQuery | No |
schema.ChatBotUpdateInput
Name | Type | Description | Required |
---|---|---|---|
chatBot | schema.ChatBotInput | No | |
chatBotId | integer | No |
schema.ChatCreateInput
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
chatType | schema.ChatType | No | |
clientId | integer | No |
schema.ChatIdInput
Name | Type | Description | Required |
---|---|---|---|
chatId | integer | No |
schema.ChatList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.Chat ] | No | |
totalCount | integer | No |
schema.ChatMessage
Name | Type | Description | Required |
---|---|---|---|
actions | [ schema.Action ] | No | |
author | schema.ActorType | Author | No |
botpressPayload | string | No | |
chatId | integer | No | |
clientId | integer | No | |
clientInfo | string | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
eventId | integer | No | |
fileId | string | No | |
fileURL | string | No | |
id | integer | No | |
infoRequestId | integer | No | |
isDropDown | boolean | No | |
listened | boolean | No | |
listenedAt | string | No | |
localId | integer | No | |
mailingMessageId | integer | No | |
my | boolean | Transitive | No |
openSystemChat | boolean | No | |
payload | schema.ChatMessagePayloadType | Payload | No |
product | schema.Product | No | |
productId | integer | No | |
productOfferState | schema.ProductOfferState | No | |
pushed | boolean | No | |
ratingId | integer | No | |
read | boolean | No | |
readAt | string | No | |
received | boolean | Flags | No |
receivedAt | string | No | |
replyToMessageId | integer | No | |
singleChoices | [ schema.SingleChoice ] | No | |
text | string | No | |
ticketId | integer | No | |
ticketMessageId | integer | No | |
userId | integer | No |
schema.ChatMessageInput
Name | Type | Description | Required |
---|---|---|---|
actions | [ schema.Action ] | No | |
botpressPayload | string | No | |
chatType | schema.ChatType | No | |
closeDialog | boolean | No | |
emailMessageId | string | id needed to reply to client email | No |
fileId | string | No | |
fileURL | string | No | |
groupId | string | chatbot response options | No |
isDropDown | boolean | No | |
link | string | bss chatbot response | No |
localId | integer | No | |
location | string | lat,lng pair; | No |
openSystemDialog | boolean | No | |
operatorId | string | No | |
payload | schema.ChatMessagePayloadType | No | |
replyToMessageId | integer | No | |
singleChoices | [ schema.SingleChoice ] | No | |
text | string | No | |
transferToQueue | boolean | No | |
userId | integer | No |
schema.ChatMessageOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
message | schema.ChatMessage | No |
schema.ChatMessagePayloadType
Name | Type | Description | Required |
---|---|---|---|
schema.ChatMessagePayloadType | string |
schema.ChatOutput
Name | Type | Description | Required |
---|---|---|---|
chat | schema.Chat | No | |
graph | schema.Graph | No |
schema.ChatQuery
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
channelIds | [ integer ] | No | |
chatType | schema.ChatType | No | |
clientId | integer | No | |
clientIds | [ integer ] | No | |
companyId | integer | No | |
connected | boolean | No | |
deleted | boolean | No | |
limit | integer | No | |
mailingListId | integer | No | |
offset | integer | No | |
projectId | integer | No |
schema.ChatQueryClientInput
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
query | schema.ChatQuery | No |
schema.ChatQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.ChatSearchQuery | No |
schema.ChatSearchQuery
Name | Type | Description | Required |
---|---|---|---|
limit | integer | No | |
offset | integer | No | |
projectIds | [ integer ] | No | |
q | string | No |
schema.ChatSendCompanyInput
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
companyId | integer | No | |
message | schema.ChatMessageInput | No |
schema.ChatSendCompanyOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
messages | [ schema.TicketMessage ] | No |
schema.ChatType
Name | Type | Description | Required |
---|---|---|---|
schema.ChatType | string |
schema.Client
Name | Type | Description | Required |
---|---|---|---|
avgRating | number | No | |
blockReason | string | No | |
blocked | boolean | No | |
blockedAt | string | No | |
blockedUntil | string | No | |
channelId | integer | Polymorphic relation, channel_id + a specific user id. | No |
channelTypes | [ schema.ChannelType ] | No | |
comments | [ schema.ClientComment ] | No | |
companies | [ schema.Company ] | No | |
createdAt | string | No | |
crmclientId | string | No | |
crmid | integer | No | |
details | schema.ClientDetails | No | |
ednaId | integer | No | |
emailAddr | string | for email channel clients | No |
schema.FacebookUser | No | ||
facebookId | integer | No | |
groupName | string | No | |
id | integer | No | |
infoRequest | schema.InfoRequest | No | |
infobip | schema.InfobipUser | No | |
infobipId | integer | No | |
lastComment | schema.ClientComment | No | |
lastTicketAt | string | No | |
lastTicketId | integer | No | |
markerName | string | No | |
markerType | string | loyal or disloyal client | No |
messagedAt | string | No | |
name | string | No | |
online | boolean | No | |
parent | schema.Client | Transient | No |
parentId | integer | No | |
personalManagerId | integer | No | |
priority | integer | No | |
project | schema.Project | No | |
projectId | integer | No | |
seenAt | string | No | |
shortName | string | No | |
telegram | schema.TelegramUser | No | |
telegramId | integer | No | |
totalOpenTickets | integer | No | |
totalTickets | integer | No | |
type | schema.ClientType | len=64 | No |
updatedAt | string | No | |
userWhoBlockedId | integer | No | |
viber | schema.ViberUser | No | |
viberId | string | No | |
vk | schema.VKUser | No | |
vkid | integer | No |
schema.ClientBanInput
Name | Type | Description | Required |
---|---|---|---|
input | schema.BanClientInput | No |
schema.ClientChannelQueryInput
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
query | schema.ClientQuery | No |
schema.ClientComment
Name | Type | Description | Required |
---|---|---|---|
author | schema.User | transient | No |
authorId | integer | No | |
channelType | schema.ChannelType | No | |
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
deletedByUserId | integer | No | |
editedAt | string | No | |
editedByUserId | integer | No | |
editedByUsername | string | No | |
id | integer | No | |
projectId | integer | No | |
rating | integer | No | |
ratingState | schema.RatingState | No | |
text | string | No |
schema.ClientCommentClientIdInput
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No |
schema.ClientCommentCommentIdInput
Name | Type | Description | Required |
---|---|---|---|
commentId | integer | No |
schema.ClientCommentInput
Name | Type | Description | Required |
---|---|---|---|
channelType | schema.ChannelType | No | |
clientId | integer | No | |
projectId | integer | No | |
rating | integer | No | |
ratingState | schema.RatingState | No | |
text | string | No | |
ticketId | integer | No |
schema.ClientCommentInputRequest
Name | Type | Description | Required |
---|---|---|---|
input | schema.ClientCommentInput | No |
schema.ClientCommentUpdateInput
Name | Type | Description | Required |
---|---|---|---|
commentId | integer | No | |
input | schema.ClientCommentInput | No |
schema.ClientCompanyQueryInput
Name | Type | Description | Required |
---|---|---|---|
companyId | integer | No | |
query | schema.ClientQuery | No |
schema.ClientConnectInput
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
parentId | integer | No |
schema.ClientDetailField
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
id | integer | No | |
name | string | No | |
position | integer | No | |
updatedAt | string | No | |
value | string | No |
schema.ClientDetails
Name | Type | Description | Required |
---|---|---|---|
birthday | string | No | |
branchBik | string | БИК подразделения банка | No |
branchExtRef | string | Идентификатор в АБС подразделения банка | No |
branchId | string | Идентификатор подразделения банка в iSimpleBank 2.0 | No |
branchName | string | Наименование подразделения банка | No |
cardRef | string | Идентификатор клиента в карточном бэк | No |
cellphone | string | No | |
clientId | integer | No | |
createdAt | string | No | |
crmurl | string | No | |
string | No | ||
extRef | string | Идентификатор клиента в АБС | No |
fields | [ schema.ClientDetailField ] | Transient | No |
firstName | string | No | |
inn | string | No | |
lastName | string | No | |
middleName | string | No | |
sex | string | No | |
token | string | No | |
updatedAt | string | No |
schema.ClientGroup
Name | Type | Description | Required |
---|---|---|---|
clientGroupMembers | [ schema.ClientGroupMember ] | No | |
clientGroups | [ schema.ClientGroup ] | Transient | No |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
description | string | No | |
id | integer | No | |
memberTotals | schema.GroupMemberTotals | No | |
parentId | integer | No | |
priority | integer | No | |
projectId | integer | No | |
ticketTotals | schema.GroupTicketTotals | Dashboard | No |
title | string | No | |
totalClientGroups | integer | No | |
totalMembers | integer | No | |
totalOnlineMembers | integer | No | |
totalOpenTickets | integer | No | |
totals | schema.TicketTotalRow | Deprecated | No |
updatedAt | string | No |
schema.ClientGroupClientsOutput
Name | Type | Description | Required |
---|---|---|---|
clients | [ schema.Client ] | No | |
graph | schema.Graph | No |
schema.ClientGroupCreateInput
Name | Type | Description | Required |
---|---|---|---|
group | schema.ClientGroupInput | No | |
projectId | integer | No |
schema.ClientGroupIdInput
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No |
schema.ClientGroupIdParentIdInput
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
parentId | integer | No |
schema.ClientGroupInput
Name | Type | Description | Required |
---|---|---|---|
description | string | No | |
parentId | integer | No | |
priority | integer | No | |
title | string | No |
schema.ClientGroupMember
Name | Type | Description | Required |
---|---|---|---|
client | schema.Client | No | |
clientGroupId | integer | No | |
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
restoredAt | string | No | |
totals | schema.TicketTotalRow | Transient | No |
updatedAt | string | No |
schema.ClientGroupMemberCreateInput
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
groupId | integer | No |
schema.ClientGroupMemberIdInput
Name | Type | Description | Required |
---|---|---|---|
memberId | integer | No |
schema.ClientGroupMemberOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
member | schema.ClientGroupMember | No |
schema.ClientGroupMemberQuery
Name | Type | Description | Required |
---|---|---|---|
clientGroupId | integer | No | |
clientId | integer | No | |
clientIds | [ integer ] | No | |
online | boolean | No | |
order | string | No | |
projectId | integer | Internal | No |
q | string | No |
schema.ClientGroupMemberQueryByProjectInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.ClientGroupMemberQuery | No |
schema.ClientGroupMemberQueryInput
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No |
schema.ClientGroupMembersCreateInput
Name | Type | Description | Required |
---|---|---|---|
clientIds | [ integer ] | No | |
groupId | integer | No |
schema.ClientGroupMembersOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
members | [ schema.ClientGroupMember ] | No |
schema.ClientGroupMembersQueryInput
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
query | schema.ClientGroupMemberQuery | No |
schema.ClientGroupOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
group | schema.ClientGroup | No |
schema.ClientGroupQuery
Name | Type | Description | Required |
---|---|---|---|
clientGroupId | integer | No | |
id | integer | No | |
members | schema.ClientGroupMemberQuery | Includes members. | No |
priority | integer | No | |
projectId | integer | Internal | No |
recursive | boolean | Includes child groups. | No |
schema.ClientGroupQueryByProjectInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.ClientGroupQuery | No |
schema.ClientGroupQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.ClientGroupQuery | No |
schema.ClientGroupUpdateInput
Name | Type | Description | Required |
---|---|---|---|
group | schema.ClientGroupInput | No | |
groupId | integer | No |
schema.ClientGroupsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
groups | [ schema.ClientGroup ] | No |
schema.ClientIdInput
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No |
schema.ClientList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.Client ] | No | |
totalCount | integer | No |
schema.ClientMailingListQueryInput
Name | Type | Description | Required |
---|---|---|---|
listId | integer | No | |
query | schema.ClientQuery | No |
schema.ClientMarkInput
Name | Type | Description | Required |
---|---|---|---|
clientMarker | schema.ClientMarkerInput | No |
schema.ClientMarkerInput
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
markerType | string | No | |
projectId | integer | No | |
ticketId | integer | No |
schema.ClientOutput
Name | Type | Description | Required |
---|---|---|---|
client | schema.Client | No | |
graph | schema.Graph | No |
schema.ClientParentQueryInput
Name | Type | Description | Required |
---|---|---|---|
parentId | integer | No | |
query | schema.ClientQuery | No |
schema.ClientProduct
Name | Type | Description | Required |
---|---|---|---|
boughtAt | string | No | |
clientId | integer | No | |
expiresAt | string | No | |
productId | integer | No | |
ticketId | integer | No |
schema.ClientProjectQueryInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.ClientQuery | No |
schema.ClientQuery
Name | Type | Description | Required |
---|---|---|---|
blocked | boolean | No | |
channelIds | [ integer ] | No | |
companyId | integer | No | |
groupName | string | No | |
limit | integer | No | |
mailingListId | integer | No | |
marker | schema.MarkerType | No | |
offset | integer | No | |
online | boolean | No | |
parentId | integer | No | |
period | schema.Period | No | |
personalManagerId | integer | No | |
projectId | integer | No | |
q | string | No | |
rawQ | string | Internal | No |
seenBefore | string | No | |
sortBy | string | No | |
types | [ schema.ClientType ] | No | |
withPersonalManager | boolean | No | |
withoutPersonalManager | boolean | No |
schema.ClientQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.ClientQuery | No |
schema.ClientReport
Name | Type | Description | Required |
---|---|---|---|
query | schema.ClientReportQuery | No | |
rows | [ schema.ClientReportRow ] | No | |
totals | schema.ClientReportRow | No |
schema.ClientReportDimension
Name | Type | Description | Required |
---|---|---|---|
schema.ClientReportDimension | string |
schema.ClientReportQuery
Name | Type | Description | Required |
---|---|---|---|
channelIds | [ integer ] | No | |
clientType | schema.ClientType | No | |
dateGroup | schema.DateUnit | No | |
dimension | schema.ClientReportDimension | No | |
end | string | No | |
period | schema.Period | Filters | No |
projectId | integer | Internal | No |
start | string | Internal | No |
schema.ClientReportRow
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
clientType | schema.ClientType | No | |
date | string | Dimension | No |
totalActive | integer | Metrics | No |
totalNew | integer | No |
schema.ClientType
Name | Type | Description | Required |
---|---|---|---|
schema.ClientType | string |
schema.ClientsCountInChannel
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
channelTitle | string | No | |
clientsCount | integer | No |
schema.CompaniesOutput
Name | Type | Description | Required |
---|---|---|---|
companies | [ schema.Company ] | No |
schema.Company
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
crmid | integer | No | |
details | schema.CompanyDetails | Transient | No |
extRef | string | No | |
id | integer | No | |
name | string | No | |
projectId | integer | No | |
totalMembers | integer | No | |
updatedAt | string | No |
schema.CompanyCreateInput
Name | Type | Description | Required |
---|---|---|---|
company | schema.CompanyInput | No | |
projectId | integer | No |
schema.CompanyDetails
Name | Type | Description | Required |
---|---|---|---|
companyId | integer | No | |
createdAt | string | No | |
inn | string | ИНН | No |
internationalAddress | string | Итоговый полный международный адрес | No |
internationalName | string | Международное наименование | No |
kpp | string | КПП | No |
ogrn | string | ОГРН | No |
ogrndate | string | Дата ОГРН | No |
phone | string | Телефоны | No |
resident | boolean | признак "Нерезидент" | No |
shortName | string | Сокращенное наименование | No |
updatedAt | string | No |
schema.CompanyIdInput
Name | Type | Description | Required |
---|---|---|---|
companyId | integer | No |
schema.CompanyInput
Name | Type | Description | Required |
---|---|---|---|
crmid | integer | Internal | No |
details | schema.CompanyDetails | No | |
extRef | string | No | |
name | string | No |
schema.CompanyList
Name | Type | Description | Required |
---|---|---|---|
items | [ schema.Company ] | No | |
totalCount | integer | No |
schema.CompanyListOutput
Name | Type | Description | Required |
---|---|---|---|
list | schema.CompanyList | No |
schema.CompanyOutput
Name | Type | Description | Required |
---|---|---|---|
company | schema.Company | No |
schema.CompanyProjectQueryInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.CompanyQuery | No |
schema.CompanyQuery
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | Internal | No |
limit | integer | No | |
offset | integer | No | |
projectId | integer | No | |
q | string | No |
schema.CompanyUpdateInput
Name | Type | Description | Required |
---|---|---|---|
company | schema.CompanyInput | No | |
companyId | integer | No |
schema.ConfigureAPNSRequest
Name | Type | Description | Required |
---|---|---|---|
apns | schema.IQChatAPNSInput | No | |
channelId | integer | No |
schema.ConfigureFCMOutput
Name | Type | Description | Required |
---|---|---|---|
fcm | schema.IQChatFCM | No |
schema.ConfigureFCMRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
fcm | schema.IQChatFCMInput | No |
schema.ConfigureIQChatWidgetRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
widget | schema.IQChatWidgetInput | No |
schema.CorporateChat
Name | Type | Description | Required |
---|---|---|---|
admin | schema.User | No | |
adminId | integer | No | |
changedAt | string | No | |
corporateChatEventId | integer | No | |
corporateChatMessageId | integer | Last message id. | No |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
initiated | boolean | has messages from users(not system messsages) | No |
members | [ schema.CorporateChatMember ] | No | |
membersCount | integer | No | |
myId | integer | No | |
otherUser | schema.User | for private chats | No |
secondMemberId | integer | transient | No |
title | string | No | |
totalMessages | integer | No | |
type | schema.CorporateChatType | len=32 | No |
schema.CorporateChatAction
Name | Type | Description | Required |
---|---|---|---|
actorId | integer | User who made an action. | No |
comment | string | No | |
corporateChatId | integer | No | |
createdAt | string | No | |
id | integer | No | |
text | string | Transitive | No |
type | schema.CorporateChatActionType | len=32 | No |
userId | integer | No |
schema.CorporateChatActionType
Name | Type | Description | Required |
---|---|---|---|
schema.CorporateChatActionType | string |
schema.CorporateChatIdInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | No |
schema.CorporateChatInbox
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
totalOpenCorporateThreads | integer | No | |
totalUnreadCorporateMessages | integer | No | |
updatedAt | string | No | |
userId | integer | Id | No |
schema.CorporateChatInboxNotificationType
Name | Type | Description | Required |
---|---|---|---|
schema.CorporateChatInboxNotificationType | string |
schema.CorporateChatInboxThread
Name | Type | Description | Required |
---|---|---|---|
archived | boolean | No | |
corporateChat | schema.CorporateChat | No | |
corporateChatId | integer | No | |
createdAt | string | No | |
id | integer | No | |
left | boolean | No | |
mentioningChecked | boolean | No | |
messageSearchResult | schema.CorporateChatMessage | No | |
sortedAt | string | No | |
totalUnreadCorporateMessages | integer | No | |
updatedAt | string | No | |
userId | integer | No |
schema.CorporateChatInboxThreadIdInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatInboxThreadId | integer | No |
schema.CorporateChatInboxThreadList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.CorporateChatInboxThread ] | No | |
totalCount | integer | No |
schema.CorporateChatInboxThreadOutput
Name | Type | Description | Required |
---|---|---|---|
corporateChatThread | schema.CorporateChatInboxThread | No | |
corporateChatTyping | schema.TypingCorporateChatMessage | No | |
graph | schema.Graph | No |
schema.CorporateChatInboxThreadProjectQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.CorporateChatInboxThreadQuery | No | |
userId | integer | No |
schema.CorporateChatInboxThreadQuery
Name | Type | Description | Required |
---|---|---|---|
archived | boolean | Archived inbox thread. | No |
corporateChatIds | [ integer ] | No | |
corporateChatType | schema.CorporateChatType | No | |
left | boolean | No | |
limit | integer | No | |
offset | integer | No | |
order | schema.InboxThreadOrder | No | |
projectId | integer | No | |
q | string | No | |
userId | integer | Internal | No |
schema.CorporateChatInboxThreadQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.CorporateChatInboxThreadQuery | No |
schema.CorporateChatInboxUserIdInput
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.CorporateChatInput
Name | Type | Description | Required |
---|---|---|---|
memberIds | [ integer ] | No | |
title | string | No |
schema.CorporateChatInputOutput
Name | Type | Description | Required |
---|---|---|---|
corporateChatInbox | schema.CorporateChatInbox | No |
schema.CorporateChatInputRequest
Name | Type | Description | Required |
---|---|---|---|
input | schema.CorporateChatInput | No |
schema.CorporateChatInviteInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | No | |
userIds | [ integer ] | No |
schema.CorporateChatKickInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | No | |
corporateChatMemberIds | [ integer ] | No |
schema.CorporateChatList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.CorporateChat ] | No | |
totalCount | integer | No |
schema.CorporateChatMember
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
me | boolean | Transient | No |
updatedAt | string | No | |
userId | integer | No |
schema.CorporateChatMemberList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
members | [ schema.CorporateChatMember ] | No | |
totalCount | integer | No |
schema.CorporateChatMemberOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
member | schema.CorporateChatMember | No |
schema.CorporateChatMemberQuery
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No | |
corporateChatId | integer | No | |
countTotals | boolean | No | |
deleted | boolean | No | |
excludeIds | [ integer ] | No | |
excludeMe | boolean | No | |
id | integer | No | |
limit | integer | No | |
offset | integer | No | |
online | boolean | No | |
order | schema.UserOrderBy | No | |
q | string | Optional search query.s | No |
seenBefore | string | No | |
userId | integer | No |
schema.CorporateChatMemberQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.CorporateChatMemberQuery | No |
schema.CorporateChatMessage
Name | Type | Description | Required |
---|---|---|---|
action | schema.CorporateChatAction | No | |
actionId | integer | No | |
corporateChatEventId | integer | No | |
corporateChatId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
fileId | string | No | |
fileURL | string | No | |
id | integer | No | |
listened | boolean | No | |
listenedAt | string | No | |
localId | integer | No | |
mentionedUserIds | sets.Int64 | No | |
my | boolean | Transitive | No |
pushed | boolean | No | |
read | boolean | No | |
readAt | string | No | |
received | boolean | Flags | No |
receivedAt | string | No | |
replyToMessageId | integer | No | |
text | string | No | |
type | schema.CorporateChatMessagePayloadType | Payload | No |
uid | string | No | |
updatedAt | string | No | |
user | schema.User | No | |
userId | integer | No |
schema.CorporateChatMessageCreateInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | No | |
corporateChatMessage | schema.CorporateChatMessageInput | No |
schema.CorporateChatMessageIdInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatMessageId | integer | No |
schema.CorporateChatMessageInput
Name | Type | Description | Required |
---|---|---|---|
action | schema.CorporateChatAction | No | |
actionId | integer | No | |
fileId | string | No | |
localId | integer | No | |
mentionedUserIds | [ integer ] | No | |
replyToMessageId | integer | No | |
text | string | No | |
type | schema.CorporateChatMessagePayloadType | No |
schema.CorporateChatMessageList
Name | Type | Description | Required |
---|---|---|---|
corporateChatMessages | [ schema.CorporateChatMessage ] | No | |
graph | schema.Graph | No | |
totalCount | integer | No |
schema.CorporateChatMessageListInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatMessageId | integer | No |
schema.CorporateChatMessageOutput
Name | Type | Description | Required |
---|---|---|---|
corporateChatMessage | schema.CorporateChatMessage | No | |
graph | schema.Graph | No |
schema.CorporateChatMessagePayloadType
Name | Type | Description | Required |
---|---|---|---|
schema.CorporateChatMessagePayloadType | string |
schema.CorporateChatMessageQuery
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | ChatId and TicketId are mutually exclusive. | No |
deleted | boolean | No | |
desc | boolean | No | |
fromId | integer | No | |
limit | integer | No | |
offset | integer | No | |
q | string | No | |
read | boolean | No | |
receiverId | integer | No | |
untilId | integer | No | |
userId | integer | No |
schema.CorporateChatMessageQueryInput
Name | Type | Description | Required |
---|---|---|---|
query | schema.CorporateChatMessageQuery | No |
schema.CorporateChatMessageSlice
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
head | [ schema.CorporateChatMessage ] | No | |
moreCount | integer | No | |
tail | [ schema.CorporateChatMessage ] | No | |
totalCount | integer | No |
schema.CorporateChatMessagesDeleteInput
Name | Type | Description | Required |
---|---|---|---|
chatId | integer | No | |
messageIds | [ integer ] | No |
schema.CorporateChatMessagesReceivedInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatMessageIds | [ integer ] | No |
schema.CorporateChatMessagesSliceInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | No | |
query | schema.CorporateChatMessageQuery | No |
schema.CorporateChatOpenInput
Name | Type | Description | Required |
---|---|---|---|
secondMemberId | integer | No |
schema.CorporateChatOutput
Name | Type | Description | Required |
---|---|---|---|
corporateChat | schema.CorporateChat | No | |
graph | schema.Graph | No |
schema.CorporateChatSearchQueryInput
Name | Type | Description | Required |
---|---|---|---|
schema.CorporateChatSearchQueryInput | object |
schema.CorporateChatStreamOutput
Name | Type | Description | Required |
---|---|---|---|
corporateChat | schema.CorporateChat | No | |
corporateChatMember | schema.CorporateChatMember | No | |
corporateChatMessage | schema.CorporateChatMessage | No | |
corporateChatTyping | schema.TypingCorporateChatMessage | No | |
graph | schema.Graph | No |
schema.CorporateChatTransferInput
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | No | |
corporateChatMemberId | integer | No |
schema.CorporateChatType
Name | Type | Description | Required |
---|---|---|---|
schema.CorporateChatType | string |
schema.CorporateChatUserIdInput
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.CorporateChatUserIdsInput
Name | Type | Description | Required |
---|---|---|---|
userIds | [ integer ] | No |
schema.CorporateNotification
Name | Type | Description | Required |
---|---|---|---|
corporateChatId | integer | No | |
corporateChatMessageId | integer | No | |
createdAt | string | No | |
from | string | name of agent | No |
id | integer | No | |
resolved | boolean | No | |
text | string | Transient | No |
type | schema.CorporateChatInboxNotificationType | No | |
updatedAt | string | No | |
userId | integer | No |
schema.CorporateNotificationsOutput
Name | Type | Description | Required |
---|---|---|---|
corporateNotification | schema.CorporateNotification | No | |
graph | schema.Graph | No |
schema.DashboardDailyOutput
Name | Type | Description | Required |
---|---|---|---|
rows | [ schema.DashboardDailyRow ] | No |
schema.DashboardDailyQuery
Name | Type | Description | Required |
---|---|---|---|
period | schema.Period | No | |
projectId | integer | Internal | No |
schema.DashboardDailyRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.DashboardDailyQuery | No |
schema.DashboardDailyRow
Name | Type | Description | Required |
---|---|---|---|
date | string | No | |
totalTickets | integer | No |
schema.DashboardProjectIdRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No |
schema.DashboardQueryOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
slstat | schema.SLStat | No | |
tickets | [ schema.Ticket ] | No |
schema.DashboardQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.DashboardTicketQuery | No |
schema.DashboardSettingsRequest
Name | Type | Description | Required |
---|---|---|---|
settings | schema.ResponseTimeSettingsInput | No |
schema.DashboardTicketByCategoryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.TicketQuery | No |
schema.DashboardTicketQuery
Name | Type | Description | Required |
---|---|---|---|
desc | boolean | No | |
limit | integer | No | |
period | schema.Period | No |
schema.DateUnit
Name | Type | Description | Required |
---|---|---|---|
schema.DateUnit | string |
schema.EdnaCascade
Name | Type | Description | Required |
---|---|---|---|
id | integer | No | |
name | string | No | |
stagesCount | integer | No | |
status | string | No |
schema.EdnaChannel
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | Matches channel id. | No |
restoredAt | string | No | |
updatedAt | string | No | |
uuid | string | len=36 | No |
schema.EdnaConfig
Name | Type | Description | Required |
---|---|---|---|
apiKey | string | No | |
cascadeId | string | No | |
channelId | integer | No | |
url | string | No | |
webhookURL | string | Transient | No |
schema.EdnaConfigInput
Name | Type | Description | Required |
---|---|---|---|
apiKey | string | No | |
cascadeId | string | No | |
url | string | No |
schema.EdnaConfigureRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
config | schema.EdnaConfigInput | No |
schema.EdnaOutput
Name | Type | Description | Required |
---|---|---|---|
config | schema.EdnaConfig | No |
schema.EmailChannelConfig
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | len=255 | No |
deleteAfter | boolean | No | |
string | No | ||
headerTemplate | string | No | |
imapaddr | string | No | |
imapport | string | No | |
login | string | No | |
password | string | No | |
signatureTemplate | string | No | |
smtpaddr | string | No | |
smtpport | string | No |
schema.EmailChannelConfigInput
Name | Type | Description | Required |
---|---|---|---|
deleteAfter | boolean | No | |
string | No | ||
headerTemplate | string | No | |
login | string | No | |
password | string | No | |
signatureTemplate | string | No |
schema.EmailChannelServersConfigInput
Name | Type | Description | Required |
---|---|---|---|
imapaddr | string | No | |
imapport | string | No | |
smtpaddr | string | No | |
smtpport | string | No |
schema.EmailChannelsRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
input | schema.EmailChannelConfigInput | No |
schema.EmailChannelsServerRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
input | schema.EmailChannelServersConfigInput | No |
schema.Error
Name | Type | Description | Required |
---|---|---|---|
code | schema.ErrorCode | No | |
text | string | No |
schema.ErrorCode
Name | Type | Description | Required |
---|---|---|---|
schema.ErrorCode | string |
schema.ExportAnalyticDetailsInput
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
query | schema.AnalyticsDetailsQuery | No |
schema.ExportAnalyticsInput
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
query | schema.AnalyticsQuery | No |
schema.ExportAnalyticsSubreportInput
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
query | schema.AnalyticsSubreportQuery | No |
schema.ExportFormat
Name | Type | Description | Required |
---|---|---|---|
schema.ExportFormat | string |
schema.FacebookChannel
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
pageId | string | len=255 | No |
pageName | string | len=1024 | No |
restoredAt | string | No | |
updatedAt | string | No | |
uuid | string | len=36 | No |
schema.FacebookConfig
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
pageToken | string | len=255 | No |
verifyToken | string | len=255 | No |
webhookURL | string | Transient | No |
schema.FacebookConfigOutput
Name | Type | Description | Required |
---|---|---|---|
config | schema.FacebookConfig | No |
schema.FacebookPageTokenRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
pageToken | string | No |
schema.FacebookUser
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
createdAt | string | No | |
firstName | string | len=255 | No |
gender | string | len=6 | No |
id | integer | No | |
lastName | string | len=255 | No |
profilePicture | string | len=255 | No |
updatedAt | string | No | |
userId | string | Facebook data | No |
schema.FacebookVerifyTokenRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
verifyToken | string | No |
schema.File
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
contentType | string | len=128 | No |
createdAt | string | No | |
id | string | len=255 | No |
imageHeight | integer | No | |
imageWidth | integer | No | |
name | string | Original file name. | No |
owner | schema.FileOwnerType | No | |
ownerClientId | integer | No | |
path | string | Relative filesystem path | No |
size | integer | Size in bytes | No |
type | schema.ActorType | len=255 | No |
userId | integer | No |
schema.FileIdRequest
Name | Type | Description | Required |
---|---|---|---|
fileId | string | No |
schema.FileOutput
Name | Type | Description | Required |
---|---|---|---|
file | schema.File | No | |
graph | schema.Graph | No |
schema.FileOwnerType
Name | Type | Description | Required |
---|---|---|---|
schema.FileOwnerType | string |
schema.FileType
Name | Type | Description | Required |
---|---|---|---|
schema.FileType | string |
schema.FileUploadInput
Name | Type | Description | Required |
---|---|---|---|
schema.FileUploadInput | object |
schema.GatewaySendToAbsRefRequest
Name | Type | Description | Required |
---|---|---|---|
absRef | string | No | |
channel | string | No | |
message | schema.ChatMessageInput | No |
schema.GatewaySendToCRMRefRequest
Name | Type | Description | Required |
---|---|---|---|
channel | string | No | |
crmref | string | No | |
message | schema.ChatMessageInput | No |
schema.GatewaySendToCardRefRequest
Name | Type | Description | Required |
---|---|---|---|
cardRef | string | No | |
channel | string | No | |
message | schema.ChatMessageInput | No |
schema.GatewaySendToClientRequest
Name | Type | Description | Required |
---|---|---|---|
channel | string | No | |
clientId | integer | No | |
message | schema.ChatMessageInput | No |
schema.GatewaySendToINNRequest
Name | Type | Description | Required |
---|---|---|---|
channel | string | No | |
inn | string | No | |
message | schema.ChatMessageInput | No |
schema.GetEdnaCascadesRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
limit | integer | No | |
offset | integer | No |
schema.GlobalPermissions
Name | Type | Description | Required |
---|---|---|---|
schema.GlobalPermissions | object |
schema.Graph
Name | Type | Description | Required |
---|---|---|---|
assignee | schema.User | No | |
categories | [ schema.Category ] | No | |
channels | [ schema.Channel ] | No | |
chatBotPlatforms | [ schema.ChatBotPlatform ] | No | |
chatMessages | [ schema.ChatMessage ] | No | |
chats | [ schema.Chat ] | No | |
clientDetails | [ schema.ClientDetails ] | No | |
clientGroups | [ schema.ClientGroup ] | No | |
clients | [ schema.Client ] | No | |
companies | [ schema.Company ] | No | |
corporateChatMessages | [ schema.CorporateChatMessage ] | No | |
corporateChats | [ schema.CorporateChat ] | No | |
crmcustomers | [ schema.CRMClient ] | No | |
files | [ schema.File ] | No | |
groups | [ schema.Group ] | No | |
inbox | [ schema.Inbox ] | No | |
infoRequests | [ schema.InfoRequest ] | No | |
orgs | [ schema.Org ] | No | |
personalManagers | [ schema.PersonalManager ] | No | |
projects | [ schema.Project ] | No | |
ratings | [ schema.Rating ] | No | |
targetViolations | [ schema.TargetViolation ] | No | |
targets | [ schema.Target ] | No | |
ticketActions | [ schema.TicketAction ] | No | |
ticketMembers | [ schema.TicketMember ] | No | |
ticketMessages | [ schema.TicketMessage ] | No | |
tickets | [ schema.Ticket ] | No | |
totalAssignedToBot | integer | No | |
userRoles | [ schema.UserRole ] | No | |
userSkills | [ schema.UserSkill ] | No | |
users | [ schema.User ] | No | |
wikiLinks | schema.WikiLinks | No |
schema.Group
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
description | string | No | |
groups | [ schema.Group ] | Transient | No |
id | integer | No | |
memberTotals | schema.GroupMemberTotals | No | |
members | [ schema.GroupMember ] | No | |
parentId | integer | No | |
project | schema.Project | No | |
projectId | integer | No | |
ticketTotals | schema.GroupTicketTotals | Dashboard | No |
title | string | No | |
totalGroups | integer | No | |
totalMembers | integer | No | |
totalOnlineMembers | integer | No | |
totalOpenTickets | integer | No | |
totals | schema.TicketTotalRow | Deprecated | No |
updatedAt | string | No |
schema.GroupCreateRequest
Name | Type | Description | Required |
---|---|---|---|
group | schema.GroupInput | No | |
projectId | integer | No |
schema.GroupIdRequest
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No |
schema.GroupInput
Name | Type | Description | Required |
---|---|---|---|
description | string | No | |
parentId | integer | No | |
title | string | No |
schema.GroupMember
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
groupId | integer | No | |
id | integer | No | |
restoredAt | string | No | |
totals | schema.TicketTotalRow | Transient | No |
updatedAt | string | No | |
user | schema.User | No | |
userId | integer | No |
schema.GroupMemberCreateRequest
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
userId | integer | No |
schema.GroupMemberDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
memberId | integer | No |
schema.GroupMemberOrder
Name | Type | Description | Required |
---|---|---|---|
schema.GroupMemberOrder | string |
schema.GroupMemberOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
member | schema.GroupMember | No |
schema.GroupMemberQuery
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No | |
busy | boolean | No | |
currentUserId | integer | No | |
groupId | integer | No | |
groupIds | [ integer ] | No | |
online | boolean | No | |
onlyMe | boolean | No | |
order | schema.GroupMemberOrder | No | |
projectId | integer | Internal | No |
q | string | No | |
scheduleIds | [ integer ] | No | |
skipMe | boolean | Skips the current user id, CurrentUserId must be filled. | No |
type | schema.UserType | No | |
userId | integer | No | |
userIds | [ integer ] | No |
schema.GroupMemberQueryByProjectRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.GroupMemberQuery | No |
schema.GroupMemberQueryRequest
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
query | schema.GroupMemberQuery | No |
schema.GroupMemberTotals
Name | Type | Description | Required |
---|---|---|---|
activeMembers | integer | No | |
groupId | integer | No | |
inactiveMembers | integer | No | |
onlineMembers | integer | No |
schema.GroupMembersOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
members | [ schema.GroupMember ] | No |
schema.GroupMoveRequest
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
parentId | integer | No |
schema.GroupOptions
Name | Type | Description | Required |
---|---|---|---|
receiveProjectNotifications | boolean | No |
schema.GroupOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
group | schema.Group | No |
schema.GroupPermissionsCreateRequest
Name | Type | Description | Required |
---|---|---|---|
group | schema.GroupPermissionsInput | No | |
projectId | integer | No |
schema.GroupPermissionsInput
Name | Type | Description | Required |
---|---|---|---|
admin | boolean | No | |
description | string | No | |
options | schema.GroupOptions | No | |
parentId | integer | No | |
permissions | schema.ProjectPermissions | No | |
title | string | No |
schema.GroupPermissionsMoveRequest
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
parentId | integer | No |
schema.GroupPermissionsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
group | schema.Group | No |
schema.GroupPermissionsQuery
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
members | schema.GroupMemberQuery | Includes members. | No |
projectId | integer | Internal | No |
recursive | boolean | Includes child groups. | No |
schema.GroupPermissionsQueryByProjectRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.GroupPermissionsQuery | No |
schema.GroupPermissionsQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.GroupPermissionsQuery | No |
schema.GroupPermissionsUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
group | schema.GroupPermissionsInput | No | |
groupId | integer | No |
schema.GroupQuery
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
members | schema.GroupMemberQuery | Includes members. | No |
projectId | integer | Internal | No |
recursive | boolean | Includes child groups. | No |
schema.GroupQueryByProjectRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.GroupQuery | No |
schema.GroupQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.GroupQuery | No |
schema.GroupTicketTotals
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
inProgressTickets | integer | No | |
openTickets | integer | No | |
pendingTickets | integer | No |
schema.GroupUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
group | schema.GroupInput | No | |
groupId | integer | No |
schema.GroupUsersQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.GroupMemberQuery | No |
schema.GroupsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
groups | [ schema.Group ] | No |
schema.GroupsPermissionsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
groups | [ schema.Group ] | No |
schema.HelpDeskTicketInput
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
description | string | No | |
messageIds | [ integer ] | No | |
projectId | integer | No | |
ticketId | integer | No | |
userId | integer | No |
schema.IQChatAPNS
Name | Type | Description | Required |
---|---|---|---|
certificate | string | P12 | No |
channelId | integer | Primary key. | No |
createdAt | string | No | |
enabled | boolean | No | |
key | string | text | No |
p8Key | string | P8 | No |
p8KeyID | string | len=255 | No |
p8TeamID | string | len=255 | No |
password | string | len=255 | No |
production | boolean | No | |
topic | string | len=255 | No |
type | schema.IQChatAPNSType | No | |
updatedAt | string | No |
schema.IQChatAPNSInput
Name | Type | Description | Required |
---|---|---|---|
certificate | string | P12 | No |
enabled | boolean | No | |
key | string | No | |
p8Key | string | P8 | No |
p8KeyID | string | No | |
p8TeamID | string | No | |
password | string | No | |
production | boolean | No | |
topic | string | No | |
type | schema.IQChatAPNSType | No |
schema.IQChatAPNSOutput
Name | Type | Description | Required |
---|---|---|---|
apns | schema.IQChatAPNS | No |
schema.IQChatAPNSType
Name | Type | Description | Required |
---|---|---|---|
schema.IQChatAPNSType | string |
schema.IQChatChannel
Name | Type | Description | Required |
---|---|---|---|
apns | schema.IQChatAPNS | Transient | No |
channelId | integer | Primary key. | No |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
restoredAt | string | No | |
updatedAt | string | No |
schema.IQChatChannelOutput
Name | Type | Description | Required |
---|---|---|---|
channel | schema.IQChatChannel | No | |
graph | schema.Graph | No |
schema.IQChatFCM
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | Primary key | No |
createdAt | string | No | |
enabled | boolean | No | |
settings | string | No | |
updatedAt | string | No |
schema.IQChatFCMInput
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
settings | string | No |
schema.IQChatWidget
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | Primary key | No |
createdAt | string | No | |
greeting | string | No | |
greetingBold | string | No | |
styleCode | string | No | |
styleEnabled | boolean | No | |
styleType | schema.IQChatWidgetStyleType | No | |
styleURL | string | No | |
updatedAt | string | No |
schema.IQChatWidgetInput
Name | Type | Description | Required |
---|---|---|---|
greeting | string | No | |
greetingBold | string | No | |
styleCode | string | No | |
styleEnabled | boolean | No | |
styleType | schema.IQChatWidgetStyleType | No | |
styleURL | string | No |
schema.IQChatWidgetRequest
Name | Type | Description | Required |
---|---|---|---|
widget | schema.IQChatWidget | No |
schema.IQChatWidgetStyleType
Name | Type | Description | Required |
---|---|---|---|
schema.IQChatWidgetStyleType | string |
schema.Inbox
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
totalOpenThreads | integer | No | |
totalUnreadMessages | integer | No | |
updatedAt | string | No | |
userId | integer | Id | No |
schema.InboxGetThreadRequest
Name | Type | Description | Required |
---|---|---|---|
inboxThreadId | integer | No |
schema.InboxNotification
Name | Type | Description | Required |
---|---|---|---|
messageId | integer | No | |
text | string | No | |
ticketId | integer | No | |
title | string | Transient | No |
type | schema.InboxNotificationType | No | |
userId | integer | No |
schema.InboxNotificationType
Name | Type | Description | Required |
---|---|---|---|
schema.InboxNotificationType | string |
schema.InboxNotificationsOutput
Name | Type | Description | Required |
---|---|---|---|
notification | schema.InboxNotification | No |
schema.InboxQueryMyRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.InboxThreadQuery | No |
schema.InboxQueryThreadsByUserRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.InboxThreadQuery | No | |
userId | integer | No |
schema.InboxThread
Name | Type | Description | Required |
---|---|---|---|
archived | boolean | No | |
createdAt | string | No | |
id | integer | No | |
left | boolean | No | |
sortedAt | string | No | |
ticketId | integer | No | |
totalUnread | integer | No | |
updatedAt | string | No | |
userId | integer | No |
schema.InboxThreadList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.InboxThread ] | No | |
totalCount | integer | No |
schema.InboxThreadOrder
Name | Type | Description | Required |
---|---|---|---|
schema.InboxThreadOrder | string |
schema.InboxThreadOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
thread | schema.InboxThread | No |
schema.InboxThreadQuery
Name | Type | Description | Required |
---|---|---|---|
archived | boolean | Archived inbox thread. | No |
assignedToMe | boolean | Sets AssigneeId to the current user. | No |
assigneeId | integer | No | |
channelId | integer | No | |
chatType | schema.ChatType | No | |
left | boolean | No | |
limit | integer | No | |
offset | integer | No | |
open | boolean | Open ticket. | No |
order | schema.InboxThreadOrder | No | |
projectId | integer | No | |
ticketId | integer | No | |
userId | integer | Internal | No |
schema.InfoBipConfigOutput
Name | Type | Description | Required |
---|---|---|---|
config | schema.InfobipConfig | No |
schema.InfoBipConfigRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
config | schema.InfobipConfigInput | No |
schema.InfoRequest
Name | Type | Description | Required |
---|---|---|---|
clientConsent | boolean | согласие на обработку данных | No |
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
string | No | ||
fields | [ schema.InfoRequestField ] | No | |
id | integer | No | |
name | string | No | |
phone | string | No | |
processingDataLink | string | No | |
projectId | integer | No | |
state | schema.InfoRequestState | No | |
ticketId | integer | No | |
updatedAt | string | No | |
userId | integer | No |
schema.InfoRequestField
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
id | integer | No | |
name | string | No | |
position | integer | No | |
updatedAt | string | No | |
value | string | No |
schema.InfoRequestState
Name | Type | Description | Required |
---|---|---|---|
schema.InfoRequestState | string |
schema.InfobipChannel
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | Matches channel id. | No |
phone | string | No | |
restoredAt | string | No | |
updatedAt | string | No | |
uuid | string | len=36 | No |
schema.InfobipConfig
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
password | string | No | |
phone | string | No | |
scenarioKey | string | No | |
url | string | No | |
username | string | No | |
webhookURL | string | Transient | No |
schema.InfobipConfigInput
Name | Type | Description | Required |
---|---|---|---|
password | string | No | |
phone | string | No | |
url | string | No | |
username | string | No |
schema.InfobipUser
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
id | integer | No | |
name | string | No | |
phone | string | No | |
updatedAt | string | No |
schema.InputOutput
Name | Type | Description | Required |
---|---|---|---|
inbox | schema.Inbox | No |
schema.LDAPDirectory
Name | Type | Description | Required |
---|---|---|---|
attrDisplayName | string | No | |
attrEmail | string | No | |
attrFirstName | string | No | |
attrLastName | string | No | |
attrLogin | string | No | |
baseDN | string | No | |
createdAt | string | No | |
deleted | boolean | No | |
filter | string | No | |
hostname | string | No | |
id | integer | No | |
name | string | No | |
password | string | No | |
port | integer | No | |
updatedAt | string | No | |
useSSL | boolean | No | |
username | string | No |
schema.LDAPDirectoryInput
Name | Type | Description | Required |
---|---|---|---|
attrDisplayName | string | No | |
attrEmail | string | No | |
attrFirstName | string | No | |
attrLastName | string | No | |
attrLogin | string | No | |
baseDN | string | No | |
filter | string | No | |
hostname | string | No | |
name | string | No | |
password | string | No | |
port | integer | No | |
useSSL | boolean | No | |
username | string | No |
schema.License
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
current | boolean | No | |
expired | boolean | No | |
id | integer | No | |
terms | schema.LicenseTerms | Transient | No |
updatedAt | string | No |
schema.LicenseKeyRequest
Name | Type | Description | Required |
---|---|---|---|
key | string | No |
schema.LicenseOutput
Name | Type | Description | Required |
---|---|---|---|
license | schema.License | No |
schema.LicenseTerms
Name | Type | Description | Required |
---|---|---|---|
activeDirectory | boolean | No | |
audioMessagesEnabled | boolean | No | |
autogenerated | boolean | No | |
channelTypes | [ schema.ChannelType ] | No | |
chat | boolean | Deprecated: use ChannelTypes with ChannelTypeIQChat instead | No |
chatBotPlatformTypes | [ schema.ChatBotPlatformType ] | No | |
chatBotsEnabled | boolean | No | |
corporateChatEnabled | boolean | No | |
corporateChatUsers | integer | 0 means unlimited | No |
enableChatBotExtensions | boolean | No | |
enableChatBotFaq | boolean | No | |
enableChatBotWorkflow | boolean | No | |
expiresAt | string | No | |
helpDeskEnabled | boolean | No | |
helpDeskIntegrationTypes | [ string ] | No | |
iqpro | boolean | Pro version with additional functionalities | No |
mailingLists | boolean | No | |
mailings | boolean | No | |
personalManagersEnabled | boolean | No | |
personalManagersOnline | integer | 0 means unlimited. | No |
postManagementEnabled | boolean | No | |
productShowcase | boolean | витрина продуктов | No |
projects | integer | 0 means unlimited. | No |
publicFunctionTypes | [ string ] | No | |
publicsCount | integer | No | |
ratingPolls | boolean | No | |
reports | boolean | No | |
serverId | string | No | |
social | boolean | Deprecated: use ChannelTypes with allowed channel types instead | No |
title | string | No | |
type | schema.LicenseType | No | |
uniqueChatBots | integer | 0 means unlimited | No |
users | integer | 0 means unlimited. | No |
schema.LicenseType
Name | Type | Description | Required |
---|---|---|---|
schema.LicenseType | string |
schema.Mailing
Name | Type | Description | Required |
---|---|---|---|
channelIds | sets.Int64 | No | |
createdAt | string | No | |
deletedAt | string | No | |
id | integer | No | |
mailingList | schema.MailingList | transient | No |
mailingListId | integer | No | |
projectId | integer | No | |
state | schema.MailingState | No | |
title | string | No | |
totalRecipients | integer | No | |
updatedAt | string | No | |
userId | integer | No |
schema.MailingCreateRequest
Name | Type | Description | Required |
---|---|---|---|
mailing | schema.MailingInput | No | |
projectId | integer | No |
schema.MailingIdRequest
Name | Type | Description | Required |
---|---|---|---|
mailingId | integer | No |
schema.MailingInput
Name | Type | Description | Required |
---|---|---|---|
channelIds | sets.Int64 | No | |
mailingListId | integer | No | |
title | string | No | |
userId | integer | No |
schema.MailingList
Name | Type | Description | Required |
---|---|---|---|
addBy | string | No | |
channelIds | sets.Int64 | No | |
clientsInChannels | [ schema.ClientsCountInChannel ] | transient | No |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
projectId | integer | No | |
title | string | No | |
totalRecipients | integer | No | |
updatedAt | string | No |
schema.MailingListDeleteClientsRequest
Name | Type | Description | Required |
---|---|---|---|
clientIds | [ integer ] | No | |
listId | integer | No |
schema.MailingListIdRequest
Name | Type | Description | Required |
---|---|---|---|
listId | integer | No |
schema.MailingListOutput
Name | Type | Description | Required |
---|---|---|---|
channelIds | sets.Int64 | No | |
clientsAdded | integer | No | |
clientsMissing | integer | No | |
duplicates | integer | No | |
totalRecipients | integer | No |
schema.MailingListResponseOutput
Name | Type | Description | Required |
---|---|---|---|
list | schema.MailingList | No | |
output | schema.MailingListOutput | No |
schema.MailingListUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
schema.MailingListUpdateRequest | object |
schema.MailingMessage
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
fileId | string | len=255 | No |
id | integer | No | |
mailingId | integer | No | |
readCount | integer | No | |
senderId | integer | User who sent a message. | No |
sentAt | string | No | |
sentCount | integer | No | |
state | schema.MailingMessageState | No | |
text | string | No | |
totalRecipients | integer | No | |
type | schema.MailingMessageType | No | |
unreadCount | integer | No | |
updatedAt | string | No | |
userId | integer | User visible to clients. | No |
schema.MailingMessageCreateRequest
Name | Type | Description | Required |
---|---|---|---|
mailingId | integer | No | |
message | schema.MailingMessageInput | No |
schema.MailingMessageIdRequest
Name | Type | Description | Required |
---|---|---|---|
messageId | integer | No |
schema.MailingMessageInput
Name | Type | Description | Required |
---|---|---|---|
fileId | string | No | |
text | string | No | |
totalRecipients | integer | No | |
type | schema.MailingMessageType | No |
schema.MailingMessageOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
message | schema.MailingMessage | No |
schema.MailingMessageQuery
Name | Type | Description | Required |
---|---|---|---|
desc | boolean | No | |
fromId | integer | id > from_id | No |
limit | integer | No | |
mailingId | integer | Internal | No |
offset | integer | No | |
state | schema.MailingMessageState | No | |
untilId | integer | id < until_id | No |
schema.MailingMessageState
Name | Type | Description | Required |
---|---|---|---|
schema.MailingMessageState | string |
schema.MailingMessageType
Name | Type | Description | Required |
---|---|---|---|
schema.MailingMessageType | string |
schema.MailingMessagesOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
messages | [ schema.MailingMessage ] | No |
schema.MailingMessagesRequest
Name | Type | Description | Required |
---|---|---|---|
mailingId | integer | No | |
query | schema.MailingMessageQuery | No |
schema.MailingOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
mailing | schema.Mailing | No |
schema.MailingReadClientOutput
Name | Type | Description | Required |
---|---|---|---|
items | [ schema.MailingsReadClients ] | No |
schema.MailingReadClientQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.MailingsReadClientsQuery | No |
schema.MailingReadClientsList
Name | Type | Description | Required |
---|---|---|---|
items | [ schema.MailingsReadClientsList ] | No |
schema.MailingState
Name | Type | Description | Required |
---|---|---|---|
schema.MailingState | string |
schema.MailingUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
mailing | schema.MailingInput | No | |
mailingId | integer | No |
schema.MailingsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
mailings | [ schema.Mailing ] | No |
schema.MailingsReadClients
Name | Type | Description | Required |
---|---|---|---|
client | schema.Client | Transient | No |
clientId | integer | No | |
createdAt | string | No | |
id | integer | No | |
mailingId | integer | No | |
mailingMessageId | integer | No | |
read | boolean | No | |
readAt | string | No | |
sent | boolean | No | |
sentAt | string | No | |
updatedAt | string | No |
schema.MailingsReadClientsList
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
createdAt | string | No | |
id | integer | No | |
mailingId | integer | No | |
mailingMessageId | integer | No | |
read | boolean | No | |
readAt | string | No | |
sent | boolean | No | |
sentAt | string | No | |
text | string | No | |
updatedAt | string | No | |
user | schema.User | Transient | No |
userId | integer | No |
schema.MailingsReadClientsQuery
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
limit | integer | No | |
list | boolean | No | |
mailingId | integer | No | |
mailingMessageId | integer | No | |
offset | integer | No | |
read | boolean | No | |
sent | boolean | No | |
unread | boolean | No |
schema.Marker
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
greenMarkerName | string | No | |
id | integer | No | |
projectId | integer | No | |
redMarkerName | string | No | |
updatedAt | string | No |
schema.MarkerCreateRequest
Name | Type | Description | Required |
---|---|---|---|
marker | schema.MarkerInput | No |
schema.MarkerInput
Name | Type | Description | Required |
---|---|---|---|
greenMarkerName | string | No | |
projectId | integer | No | |
redMarkerName | string | No |
schema.MarkerTagIdRequest
Name | Type | Description | Required |
---|---|---|---|
tagId | integer | No |
schema.MarkerTagQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.TagQuery | No |
schema.MarkerTagRequest
Name | Type | Description | Required |
---|---|---|---|
tag | schema.TagInput | No |
schema.MarkerType
Name | Type | Description | Required |
---|---|---|---|
schema.MarkerType | string |
schema.MarkerUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
marker | schema.MarkerInput | No |
schema.Notification
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
id | integer | No | |
resolved | boolean | No | |
targetViolationId | integer | No | |
text | string | Transient | No |
type | schema.NotificationType | No | |
updatedAt | string | No | |
userId | integer | No |
schema.NotificationInbox
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
unresolved | integer | No | |
updatedAt | string | No | |
userId | integer | No |
schema.NotificationQuery
Name | Type | Description | Required |
---|---|---|---|
limit | integer | No | |
offset | integer | No | |
resolved | boolean | No | |
targetViolationId | integer | Internal | No |
userId | integer | No |
schema.NotificationType
Name | Type | Description | Required |
---|---|---|---|
schema.NotificationType | string |
schema.NotificationsInboxOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
notificationInbox | schema.NotificationInbox | No |
schema.NotificationsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
notifications | [ schema.Notification ] | No |
schema.NotificationsRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.NotificationQuery | No |
schema.Org
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | MaxInbox int32 db:"max_inbox" // Deprecated | No |
domain | string | No | |
id | integer | No | |
name | string | No | |
title | string | No | |
updatedAt | string | No |
schema.OrgInput
Name | Type | Description | Required |
---|---|---|---|
domain | string | No | |
name | string | No | |
title | string | No |
schema.OrgOptions
Name | Type | Description | Required |
---|---|---|---|
autoInactivateUsers | boolean | No | |
autoLogout | boolean | No | |
badWordsCheck | boolean | No | |
badWordsViolation | boolean | No | |
corporateAudioMessagesEnabled | boolean | No | |
createdAt | string | No | |
inactivityTimeToLogout | string | No | |
maxInactivityTime | string | No | |
maxInbox | integer | No | |
navbarColor | string | No | |
orgId | integer | No | |
updatedAt | string | No |
schema.OrgOptionsInput
Name | Type | Description | Required |
---|---|---|---|
autoInactivateUsers | boolean | No | |
autoLogout | boolean | No | |
badWordsCheck | boolean | No | |
badWordsViolation | boolean | No | |
corporateAudioMessagesEnabled | boolean | No | |
inactivityTimeToLogout | string | No | |
maxInactivityTime | string | No | |
maxInbox | integer | No | |
navbarColor | string | No |
schema.OrgOptionsOutput
Name | Type | Description | Required |
---|---|---|---|
options | schema.OrgOptions | No |
schema.OrgOptionsUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
options | schema.OrgOptionsInput | No |
schema.OrgOutput
Name | Type | Description | Required |
---|---|---|---|
org | schema.Org | No |
schema.OrgUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
org | schema.OrgInput | No |
schema.Period
Name | Type | Description | Required |
---|---|---|---|
end | string | No | |
hoursEnd | integer | No | |
hoursStart | integer | No | |
minutesEnd | integer | No | |
minutesStart | integer | No | |
start | string | No | |
type | schema.PeriodType | No |
schema.PeriodType
Name | Type | Description | Required |
---|---|---|---|
schema.PeriodType | string |
schema.PeriodicPayment
Name | Type | Description | Required |
---|---|---|---|
schema.PeriodicPayment | string |
schema.PeriodicPaymentType
Name | Type | Description | Required |
---|---|---|---|
schema.PeriodicPaymentType | string |
schema.PersonalManager
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
userId | integer | No |
schema.PersonalManagerAssignRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
userId | integer | No |
schema.PersonalManagerGetSettingsOutput
Name | Type | Description | Required |
---|---|---|---|
settings | schema.PersonalManagerSyncSettings | No |
schema.PersonalManagerList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.PersonalManager ] | No | |
totalCount | integer | No |
schema.PersonalManagerOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
personalManager | schema.PersonalManager | No |
schema.PersonalManagerQuery
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
limit | integer | No | |
offset | integer | No | |
projectId | integer | No | |
userId | integer | Internal | No |
schema.PersonalManagerQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.PersonalManagerQuery | No |
schema.PersonalManagerSyncSettings
Name | Type | Description | Required |
---|---|---|---|
clientLogin | string | No | |
clientPassword | string | No | |
enabled | boolean | No | |
etag | string | No | |
projectId | integer | No | |
requiresAuthentication | boolean | No | |
serviceUrl | string | No | |
syncTimeout | integer | No | |
synchronizedAt | string | No |
schema.PersonalManagerSyncSettingsInput
Name | Type | Description | Required |
---|---|---|---|
clientLogin | string | No | |
clientPassword | string | No | |
enabled | boolean | No | |
requiresAuthentication | boolean | No | |
serviceUrl | string | No | |
syncTimeout | integer | No |
schema.PersonalManagerUnassignRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No |
schema.PersonalManagerUpdateSettingsRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
settings | schema.PersonalManagerSyncSettingsInput | No |
schema.PollInput
Name | Type | Description | Required |
---|---|---|---|
backgroundImageId | string | No | |
closeDate | integer | No | |
closePeriod | integer | No | |
closed | boolean | No | |
duplicate | boolean | No | |
duplicateTo | integer | No | |
duplicateToType | schema.PostTo | No | |
multipleChoice | boolean | No | |
pollEndDate | integer | No | |
pollOptions | [ string ] | No | |
projectId | integer | No | |
publicId | integer | No | |
publicVoters | boolean | No | |
question | string | No | |
userId | integer | No | |
vkbackgroundId | integer | No |
schema.PollOption
Name | Type | Description | Required |
---|---|---|---|
deleted | boolean | No | |
deletedAt | string | No | |
postId | integer | No | |
postTo | schema.PostTo | No | |
text | string | No | |
voteCount | integer | No |
schema.PollOptionType
Name | Type | Description | Required |
---|---|---|---|
schema.PollOptionType | string |
schema.PollStatus
Name | Type | Description | Required |
---|---|---|---|
schema.PollStatus | string |
schema.PostInput
Name | Type | Description | Required |
---|---|---|---|
duplicateTo | integer | No | |
duplicateToType | schema.PostTo | No | |
fileId | string | deprecated, replaced by flag has_files and array of file_ids | No |
fileIds | [ string ] | transient | No |
hasFiles | boolean | No | |
header | string | transient | No |
multipleAnswers | boolean | No | |
pollEndDate | integer | No | |
publicId | integer | No | |
state | schema.PostState | No | |
telegramId | integer | len=255 | No |
text | string | No | |
type | schema.PostType | No | |
userId | integer | User who sent a message. | No |
schema.PostState
Name | Type | Description | Required |
---|---|---|---|
schema.PostState | string |
schema.PostTo
Name | Type | Description | Required |
---|---|---|---|
schema.PostTo | string |
schema.PostType
Name | Type | Description | Required |
---|---|---|---|
schema.PostType | string |
schema.PostponeTicketInput
Name | Type | Description | Required |
---|---|---|---|
assignTo | schema.AssignTo | No | |
postponeUntilDate | string | No | |
postponeUntilTime | string | No | |
ticketIds | [ integer ] | No | |
userId | integer | No |
schema.Price
Name | Type | Description | Required |
---|---|---|---|
schema.Price | string |
schema.PriceDurationType
Name | Type | Description | Required |
---|---|---|---|
schema.PriceDurationType | string |
schema.Product
Name | Type | Description | Required |
---|---|---|---|
clientProduct | schema.ClientProduct | No | |
connectedCount | integer | No | |
createdAt | string | No | |
crmid | integer | No | |
deleted | boolean | No | |
deletedAt | string | No | |
descriptionForAgents | string | No | |
descriptionForClients | string | No | |
icon | string | No | |
id | integer | No | |
name | string | No | |
periodicPayment | schema.PeriodicPayment | No | |
periodicPaymentPrice | integer | No | |
periodicPaymentType | schema.PeriodicPaymentType | No | |
price | schema.Price | No | |
priceDurationType | schema.PriceDurationType | No | |
priceRUR | integer | No | |
productsNeededToEnable | [ schema.Product ] | No | |
projectId | integer | No | |
restriction | boolean | No | |
type | schema.ProductType | No | |
updatedAt | string | No | |
validityPeriod | schema.ValidityPeriod | No | |
validityPeriodDuration | integer | No | |
validityPeriodType | schema.ValidityPeriodType | No |
schema.ProductCreateRequest
Name | Type | Description | Required |
---|---|---|---|
product | schema.ProductInput | No | |
projectId | integer | No |
schema.ProductDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
productId | integer | No |
schema.ProductDisableClientRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
product | schema.Product | No |
schema.ProductGetClientRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
projectId | integer | No |
schema.ProductGetRequest
Name | Type | Description | Required |
---|---|---|---|
productId | integer | No |
schema.ProductInput
Name | Type | Description | Required |
---|---|---|---|
crmid | integer | No | |
descriptionForAgents | string | No | |
descriptionForClients | string | No | |
icon | string | No | |
name | string | No | |
periodicPayment | schema.PeriodicPayment | No | |
periodicPaymentPrice | integer | No | |
periodicPaymentType | schema.PeriodicPaymentType | No | |
price | schema.Price | No | |
priceDurationType | schema.PriceDurationType | No | |
priceRUR | integer | No | |
productIdsNeededToEnable | [ integer ] | No | |
projectId | integer | No | |
restriction | boolean | No | |
type | schema.ProductType | No | |
validityPeriod | schema.ValidityPeriod | No | |
validityPeriodDuration | integer | No | |
validityPeriodType | schema.ValidityPeriodType | No |
schema.ProductList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.Product ] | No | |
totalCount | integer | No |
schema.ProductOfferState
Name | Type | Description | Required |
---|---|---|---|
schema.ProductOfferState | string |
schema.ProductOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
product | schema.Product | No |
schema.ProductQuery
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
deleted | boolean | No | |
excludeClientId | integer | No | |
excludeIds | [ integer ] | No | |
limit | integer | No | |
offset | integer | No | |
productId | integer | No | |
productsSortBy | schema.ProductsSortBy | No | |
projectId | integer | No | |
q | string | No | |
type | schema.ProductType | No | |
userId | integer | Internal | No |
schema.ProductQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.ProductQuery | No |
schema.ProductRestoreRequest
Name | Type | Description | Required |
---|---|---|---|
productId | integer | No |
schema.ProductType
Name | Type | Description | Required |
---|---|---|---|
schema.ProductType | string |
schema.ProductUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
product | schema.ProductInput | No | |
productId | integer | No |
schema.ProductsDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
productIds | [ integer ] | No |
schema.ProductsSortBy
Name | Type | Description | Required |
---|---|---|---|
schema.ProductsSortBy | string |
schema.Project
Name | Type | Description | Required |
---|---|---|---|
archivedAt | string | No | |
createdAt | string | No | |
deletedAt | string | No | |
description | string | No | |
id | integer | No | |
license | schema.License | No | |
name | string | No | |
options | schema.ProjectOptions | No | |
permissions | schema.ProjectPermissions | No | |
responseTimeSettings | schema.ResponseTimeSettings | No | |
restoredAt | string | No | |
slug | string | No | |
state | schema.ProjectState | len=32 | No |
totalAgentCount | integer | No | |
totalAssignedTickets | integer | Total open assigned tickets | No |
totalChannelCount | integer | No | |
totalClientCount | integer | Transient | No |
totalOpenTickets | integer | No | |
totalTickets | integer | No | |
updatedAt | string | No | |
wikiLinks | schema.WikiLinks | No |
schema.ProjectAudioRequest
Name | Type | Description | Required |
---|---|---|---|
audio | schema.AudioMessagesInput | No |
schema.ProjectCreateRequest
Name | Type | Description | Required |
---|---|---|---|
project | schema.ProjectInput | No |
schema.ProjectDisplayOptionsGetOutput
Name | Type | Description | Required |
---|---|---|---|
options | schema.TicketDisplayOptions | No |
schema.ProjectDisplayOptionsUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
options | schema.TicketDisplayInput | No | |
projectId | integer | No |
schema.ProjectIdRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No |
schema.ProjectInput
Name | Type | Description | Required |
---|---|---|---|
description | string | No | |
name | string | No | |
slug | string | No |
schema.ProjectList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.Project ] | No | |
totalCount | integer | No |
schema.ProjectOptions
Name | Type | Description | Required |
---|---|---|---|
allowUserFileUpload | boolean | No | |
confirmOfflineSending | boolean | No | |
createdAt | string | No | |
enableUserRatings | boolean | No | |
extendedWaitingTime | boolean | No | |
maxActiveTickets | integer | No | |
maxActiveTicketsPerUser | integer | No | |
processingDataLink | string | No | |
projectId | integer | No | |
requireCategory | boolean | No | |
requireRegistration | boolean | No | |
sameUserAssign | boolean | No | |
sameUserAssignTime | integer | No | |
spellingCheck | boolean | No | |
updatedAt | string | No |
schema.ProjectOptionsGetOutput
Name | Type | Description | Required |
---|---|---|---|
options | schema.ProjectOptions | No |
schema.ProjectOptionsInput
Name | Type | Description | Required |
---|---|---|---|
allowUserFileUpload | boolean | No | |
confirmOfflineSending | boolean | No | |
enableUserRatings | boolean | No | |
extendedWaitingTime | boolean | No | |
maxActiveTickets | integer | No | |
maxActiveTicketsPerUser | integer | No | |
processingDataLink | string | No | |
requireCategory | boolean | No | |
requireRegistration | boolean | No | |
sameUserAssign | boolean | No | |
sameUserAssignTime | integer | No | |
spellingCheck | boolean | No |
schema.ProjectOptionsUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
options | schema.ProjectOptionsInput | No | |
projectId | integer | No |
schema.ProjectOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
project | schema.Project | No |
schema.ProjectPermissions
Name | Type | Description | Required |
---|---|---|---|
schema.ProjectPermissions | object |
schema.ProjectQuery
Name | Type | Description | Required |
---|---|---|---|
limit | integer | No | |
offset | integer | No | |
state | schema.ProjectState | No | |
userId | integer | Internal | No |
schema.ProjectQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.ProjectQuery | No |
schema.ProjectState
Name | Type | Description | Required |
---|---|---|---|
schema.ProjectState | string |
schema.ProjectUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
project | schema.ProjectInput | No | |
projectId | integer | No |
schema.PushTestOutput
Name | Type | Description | Required |
---|---|---|---|
results | [ schema.TestPushResult ] | No |
schema.PushTestRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
push | schema.TestPushInput | No |
schema.QuickRepliesOutput
Name | Type | Description | Required |
---|---|---|---|
items | [ schema.QuickReply ] | No | |
totalCount | integer | No |
schema.QuickRepliesQueryRequest
Name | Type | Description | Required |
---|---|---|---|
folderId | integer | No | |
query | schema.QuickReplyQuery | No |
schema.QuickReply
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
folderId | integer | No | |
id | integer | No | |
projectId | integer | No | |
text | string | No | |
updatedAt | string | No |
schema.QuickReplyCreateRequest
Name | Type | Description | Required |
---|---|---|---|
folderId | integer | No | |
reply | schema.QuickReplyInput | No |
schema.QuickReplyDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
replyId | integer | No |
schema.QuickReplyExportRequest
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
projectId | integer | No |
schema.QuickReplyFolder
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
folders | [ schema.QuickReplyFolder ] | Relations | No |
groupId | integer | No | |
id | integer | No | |
parentId | integer | No | |
personal | boolean | No | |
projectId | integer | No | |
replies | [ schema.QuickReply ] | No | |
title | string | No | |
updatedAt | string | No | |
userId | integer | No |
schema.QuickReplyFolderCreateRequest
Name | Type | Description | Required |
---|---|---|---|
folder | schema.QuickReplyFolderInput | No | |
projectId | integer | No |
schema.QuickReplyFolderDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
folderId | integer | No |
schema.QuickReplyFolderGetRequest
Name | Type | Description | Required |
---|---|---|---|
folderId | integer | No |
schema.QuickReplyFolderInput
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
parentId | integer | No | |
personal | boolean | No | |
title | string | No | |
userId | integer | No |
schema.QuickReplyFolderOutput
Name | Type | Description | Required |
---|---|---|---|
folder | schema.QuickReplyFolder | No |
schema.QuickReplyFolderQuery
Name | Type | Description | Required |
---|---|---|---|
groupIds | [ integer ] | No | |
limit | integer | No | |
offset | integer | No | |
parentId | integer | No | |
personal | boolean | No | |
projectId | integer | No | |
recursive | boolean | Recursive and ParentId are mutually exclusive, recursive applies to a project. | No |
title | string | No | |
userId | integer | No |
schema.QuickReplyFolderTreeRequest
Name | Type | Description | Required |
---|---|---|---|
all | boolean | No | |
projectId | integer | No |
schema.QuickReplyFolderUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
folder | schema.QuickReplyFolderInput | No | |
folderId | integer | No |
schema.QuickReplyFoldersOutput
Name | Type | Description | Required |
---|---|---|---|
items | [ schema.QuickReplyFolder ] | No | |
totalCount | integer | No |
schema.QuickReplyFoldersQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.QuickReplyFolderQuery | No |
schema.QuickReplyInput
Name | Type | Description | Required |
---|---|---|---|
text | string | No |
schema.QuickReplyOutput
Name | Type | Description | Required |
---|---|---|---|
reply | schema.QuickReply | No |
schema.QuickReplyPersonalCreateRequest
Name | Type | Description | Required |
---|---|---|---|
reply | schema.QuickReplyPersonalInput | No |
schema.QuickReplyPersonalInput
Name | Type | Description | Required |
---|---|---|---|
personal | boolean | No | |
projectId | integer | No | |
text | string | No |
schema.QuickReplyQuery
Name | Type | Description | Required |
---|---|---|---|
folderId | integer | No | |
limit | integer | No | |
offset | integer | No | |
projectId | integer | No |
schema.QuickReplyQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.QuickReplyQuery | No |
schema.QuickReplyUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
reply | schema.QuickReplyInput | No | |
replyId | integer | No |
schema.Rating
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
comment | string | No | |
createdAt | string | No | |
id | integer | No | |
projectId | integer | No | |
ratingPollId | integer | No | |
state | schema.RatingState | No | |
ticketId | integer | No | |
updatedAt | string | No | |
userId | integer | No | |
value | integer | No |
schema.RatingPoll
Name | Type | Description | Required |
---|---|---|---|
categories | [ schema.Category ] | No | |
categoryFilter | boolean | No | |
categoryIds | sets.Int64 | len=4000 | No |
channelFilter | boolean | No | |
channelIds | sets.Int64 | len=4000 | No |
channels | [ schema.Channel ] | No | |
clientGroup | schema.ClientGroup | No | |
clientGroupFilter | boolean | No | |
clientGroupId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
feedbackThanks | boolean | No | |
feedbackThanksText | string | No | |
id | integer | No | |
marker | schema.Marker | No | |
markerFilter | boolean | No | |
markerTypes | sets.String | No | |
projectId | integer | No | |
questions | [ schema.RatingPollQuestion ] | No | |
status | schema.PollStatus | No | |
title | string | No | |
updatedAt | string | No |
schema.RatingPollAnswer
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
order | integer | No | |
ratingPollQuestionId | integer | No | |
text | string | No | |
updatedAt | string | No |
schema.RatingPollAnswerInput
Name | Type | Description | Required |
---|---|---|---|
id | integer | No | |
order | integer | No | |
text | string | No |
schema.RatingPollCreateRequest
Name | Type | Description | Required |
---|---|---|---|
poll | schema.RatingPollInput | No | |
projectId | integer | No |
schema.RatingPollDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
pollId | integer | No |
schema.RatingPollInput
Name | Type | Description | Required |
---|---|---|---|
categoryFilter | boolean | No | |
categoryIds | sets.Int64 | len=4000 | No |
channelFilter | boolean | No | |
channelIds | sets.Int64 | len=4000 | No |
clientGroupFilter | boolean | No | |
clientGroupId | integer | No | |
deleted | boolean | No | |
enabled | boolean | No | |
feedbackThanks | boolean | No | |
feedbackThanksText | string | No | |
markerFilter | boolean | No | |
markerTypes | sets.String | No | |
projectId | integer | No | |
questions | [ schema.RatingPollQuestionInput ] | No | |
title | string | No |
schema.RatingPollOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
poll | schema.RatingPoll | No |
schema.RatingPollQuestion
Name | Type | Description | Required |
---|---|---|---|
answers | [ schema.RatingPollAnswer ] | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
order | integer | No | |
ratingPollId | integer | No | |
text | string | No | |
type | schema.PollOptionType | No | |
updatedAt | string | No |
schema.RatingPollQuestionInput
Name | Type | Description | Required |
---|---|---|---|
answers | [ schema.RatingPollAnswerInput ] | No | |
id | integer | No | |
order | integer | No | |
text | string | No | |
type | schema.PollOptionType | No |
schema.RatingPollToggleRequest
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
pollId | integer | No |
schema.RatingPollUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
poll | schema.RatingPollInput | No | |
pollId | integer | No |
schema.RatingPollsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
polls | [ schema.RatingPoll ] | No |
schema.RatingState
Name | Type | Description | Required |
---|---|---|---|
schema.RatingState | string |
schema.ReportClientExportRequest
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
projectId | integer | No | |
query | schema.ClientReportQuery | No |
schema.ReportClientOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
report | schema.ClientReport | No |
schema.ReportClientRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.ClientReportQuery | No |
schema.ReportTicketDashboardRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.TicketReportQuery | No |
schema.ReportTicketExportRequest
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
projectId | integer | No | |
query | schema.TicketReportQuery | No |
schema.ReportTicketOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
report | schema.TicketReport | No |
schema.ReportTicketRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.TicketReportQuery | No |
schema.ReportUserDashboardRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.UserReportQuery | No |
schema.ReportUserExportRequest
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
projectId | integer | No | |
query | schema.UserReportQuery | No |
schema.ReportUserOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
report | schema.UserReport | No |
schema.ReportUserRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.UserReportQuery | No |
schema.Response
Name | Type | Description | Required |
---|---|---|---|
data | No | ||
error | schema.Error | No | |
ok | boolean | No | |
ping | boolean | No |
schema.ResponseTimeSettings
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
fieldFive | integer | No | |
fieldFour | integer | No | |
fieldOne | integer | before how many seconds | No |
fieldSix | integer | after how many seconds | No |
fieldThree | integer | No | |
fieldTwo | integer | No | |
projectId | integer | No | |
updatedAt | string | No |
schema.ResponseTimeSettingsInput
Name | Type | Description | Required |
---|---|---|---|
fieldFive | integer | No | |
fieldFour | integer | No | |
fieldOne | integer | No | |
fieldSix | integer | No | |
fieldThree | integer | No | |
fieldTwo | integer | No | |
projectId | integer | No |
schema.Route
Name | Type | Description | Required |
---|---|---|---|
assignPriority | boolean | No | |
assignPriorityValue | integer | No | |
categoryFilter | boolean | No | |
categoryIds | sets.Int64 | len=4000 | No |
channelFilter | boolean | No | |
channelIds | sets.Int64 | len=4000 | No |
clientGroup | schema.ClientGroup | No | |
clientGroupFilter | boolean | No | |
clientGroupId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
enabled | boolean | No | |
groupId | integer | No | |
id | integer | No | |
marker | schema.Marker | transient | No |
markerFilter | boolean | No | |
markerTypes | sets.String | No | |
online | boolean | No | |
order | integer | No | |
priorities | [ integer ] | No | |
priorityFilter | boolean | No | |
priorityValues | sets.Int | No | |
projectId | integer | No | |
ratingFilter | boolean | No | |
ratingFrom | number | No | |
ratingTo | number | No | |
timeBased | boolean | No | |
timeFrom | string | No | |
timeTo | string | No | |
title | string | No | |
updatedAt | string | No |
schema.RouteCreateRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
route | schema.RouteInput | No |
schema.RouteDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
routeId | integer | No |
schema.RouteInput
Name | Type | Description | Required |
---|---|---|---|
assignPriority | boolean | No | |
assignPriorityValue | integer | No | |
categoryFilter | boolean | No | |
categoryIds | sets.Int64 | No | |
channelFilter | boolean | No | |
channelIds | sets.Int64 | No | |
clientGroupFilter | boolean | No | |
clientGroupId | integer | No | |
groupId | integer | No | |
markerFilter | boolean | No | |
markerTypes | sets.String | No | |
online | boolean | No | |
priorityFilter | boolean | No | |
priorityValues | sets.Int | No | |
ratingFilter | boolean | No | |
ratingFrom | number | No | |
ratingTo | number | No | |
timeBased | boolean | No | |
timeFrom | string | No | |
timeTo | string | No | |
title | string | No |
schema.RouteMatchTicketRequest
Name | Type | Description | Required |
---|---|---|---|
ticketId | integer | No |
schema.RouteMoveRequest
Name | Type | Description | Required |
---|---|---|---|
routeId | integer | No | |
up | boolean | No |
schema.RouteOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
route | schema.Route | No |
schema.RouteToggleRequest
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
routeId | integer | No |
schema.RouteUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
route | schema.RouteInput | No | |
routeId | integer | No |
schema.RoutesOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
routes | [ schema.Route ] | No |
schema.SLStat
Name | Type | Description | Required |
---|---|---|---|
projectsCount | integer | No | |
slduration | number | No | |
slpendingTime | number | No | |
slreactionTime | number | No |
schema.Schedule
Name | Type | Description | Required |
---|---|---|---|
friday | schema.ScheduleDay | No | |
monday | schema.ScheduleDay | No | |
saturday | schema.ScheduleDay | No | |
sunday | schema.ScheduleDay | No | |
thursday | schema.ScheduleDay | No | |
tuesday | schema.ScheduleDay | No | |
wednesday | schema.ScheduleDay | No |
schema.ScheduleDay
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
endHour | integer | No | |
startHour | integer | No |
schema.SetupInput
Name | Type | Description | Required |
---|---|---|---|
org | schema.OrgInput | No | |
user | schema.UserSetupInput | No |
schema.SetupOutput
Name | Type | Description | Required |
---|---|---|---|
org | schema.Org | No | |
session | schema.UserSession | No | |
user | schema.User | No |
schema.SingleChoice
Name | Type | Description | Required |
---|---|---|---|
chatMessageId | integer | No | |
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
tag | string | tags for bss bot buttons | No |
title | string | No | |
updatedAt | string | No | |
value | string | No |
schema.StatusOutput
Name | Type | Description | Required |
---|---|---|---|
status | string | No |
schema.StatusQueryProjectReportRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.StatusReportQuery | No |
schema.StatusQueryReportOutput
Name | Type | Description | Required |
---|---|---|---|
rows | [ schema.StatusReportRow ] | No |
schema.StatusQueryReportRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.StatusReportQuery | No |
schema.StatusQueryReportUserRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.StatusReportQuery | No | |
userId | integer | No |
schema.StatusQueryTotalProjectReportRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.StatusTotalReportQuery | No |
schema.StatusQueryTotalReportOutput
Name | Type | Description | Required |
---|---|---|---|
rows | [ schema.StatusTotalReportRow ] | No |
schema.StatusQueryTotalReportRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.StatusTotalReportQuery | No |
schema.StatusReportQuery
Name | Type | Description | Required |
---|---|---|---|
end | string | No | |
groupIds | [ integer ] | No | |
period | schema.Period | No | |
projectIds | [ integer ] | No | |
start | string | Internal | No |
type | schema.StatusType | No | |
types | [ schema.StatusType ] | No | |
userId | integer | No | |
userIds | [ integer ] | No |
schema.StatusReportRow
Name | Type | Description | Required |
---|---|---|---|
date | string | No | |
string | No | ||
endedAt | string | No | |
name | string | No | |
startedAt | string | No | |
timeInStatus | integer | No | |
type | schema.StatusType | No |
schema.StatusTotalReportQuery
Name | Type | Description | Required |
---|---|---|---|
end | string | No | |
group | schema.DateUnit | No | |
period | schema.Period | No | |
projectId | integer | Internal | No |
start | string | No |
schema.StatusTotalReportRow
Name | Type | Description | Required |
---|---|---|---|
active | integer | No | |
busy | integer | No | |
date | string | No | |
online | integer | No |
schema.StatusType
Name | Type | Description | Required |
---|---|---|---|
schema.StatusType | string |
schema.SystemChatSettings
Name | Type | Description | Required |
---|---|---|---|
botId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
enabled | boolean | No | |
greetFrom | string | No | |
id | integer | No | |
lifetime | integer | lifetime is measured in seconds | No |
message | string | message to be sent by the operator to the client | No |
messageForBot | string | message to be sent to the bot | No |
operatorName | string | No | |
projectId | integer | No | |
updatedAt | string | No |
schema.SystemChatSettingsInput
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
greetFrom | string | No | |
lifetime | integer | lifetime is measured in seconds | No |
message | string | No | |
projectId | integer | No |
schema.SystemInfo
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
id | integer | No | |
serverID | string | No | |
updatedAt | string | No |
schema.SystemInfoOutput
Name | Type | Description | Required |
---|---|---|---|
system | schema.SystemInfo | No |
schema.Tag
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
projectId | integer | No | |
text | string | No |
schema.TagInput
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
text | string | No |
schema.TagQuery
Name | Type | Description | Required |
---|---|---|---|
excludedIds | [ integer ] | No | |
projectId | integer | No |
schema.Target
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deletedAt | string | No | |
enabled | boolean | No | |
id | integer | No | |
inactivityTime | string | No | |
optimalDuration | string | No | |
pendingTime | string | No | |
projectId | integer | No | |
reactionTime | string | No | |
replyTime | string | No | |
responseTime | string | No | |
title | string | Transient | No |
type | schema.TargetType | No | |
updatedAt | string | No |
schema.TargetInput
Name | Type | Description | Required |
---|---|---|---|
inactivityTime | string | No | |
optimalDuration | string | No | |
pendingTime | string | No | |
reactionTime | string | No | |
replyTime | string | No | |
responseTime | string | No | |
type | schema.TargetType | No |
schema.TargetOutput
Name | Type | Description | Required |
---|---|---|---|
target | schema.Target | No |
schema.TargetSetRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
target | schema.TargetInput | No |
schema.TargetToggleRequest
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
targetId | integer | No |
schema.TargetTotalsOutput
Name | Type | Description | Required |
---|---|---|---|
totals | [ schema.TargetViolationTotals ] | No |
schema.TargetType
Name | Type | Description | Required |
---|---|---|---|
schema.TargetType | string |
schema.TargetViolation
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
duration | integer | No | |
id | integer | No | |
projectId | integer | No | |
resolved | boolean | No | |
startedAt | string | No | |
statusId | integer | Inactive status id. | No |
targetId | integer | No | |
ticketId | integer | No | |
updatedAt | string | No | |
userId | integer | No |
schema.TargetViolationOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
violations | [ schema.TargetViolation ] | No |
schema.TargetViolationQuery
Name | Type | Description | Required |
---|---|---|---|
limit | integer | No | |
offset | integer | No | |
period | schema.Period | No | |
projectIds | [ integer ] | No | |
targetId | integer | No | |
types | [ schema.TargetType ] | No | |
userIds | [ integer ] | No |
schema.TargetViolationResolveAllOutput
Name | Type | Description | Required |
---|---|---|---|
success | string | No |
schema.TargetViolationResolveAllRequest
Name | Type | Description | Required |
---|---|---|---|
violationInput | [ schema.ViolationInput ] | No |
schema.TargetViolationResolveOutput
Name | Type | Description | Required |
---|---|---|---|
violationId | integer | No |
schema.TargetViolationResolveRequest
Name | Type | Description | Required |
---|---|---|---|
ticketId | integer | No | |
violationId | integer | No |
schema.TargetViolationTotals
Name | Type | Description | Required |
---|---|---|---|
total | integer | No | |
type | schema.TargetType | nil возвращается для всех типов | No |
schema.TargetViolationsProjectQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.TargetViolationQuery | No |
schema.TargetViolationsQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.TargetViolationQuery | No |
schema.TargetsOutput
Name | Type | Description | Required |
---|---|---|---|
targets | [ schema.Target ] | No |
schema.TelegramBotSettingsInput
Name | Type | Description | Required |
---|---|---|---|
botToken | string | No | |
oneTimeKeyboard | boolean | No | |
resizeKeyboard | boolean | No |
schema.TelegramChannel
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | Matches channel id. | No |
restoredAt | string | No | |
updatedAt | string | No | |
userId | integer | Telegram data | No |
userName | string | Bot name, len=1024 | No |
uuid | string | len=36 | No |
schema.TelegramConfig
Name | Type | Description | Required |
---|---|---|---|
botToken | string | No | |
channelId | integer | len=255 | No |
oneTimeKeyboard | boolean | No | |
resizeKeyboard | boolean | No | |
webhookURL | string | Transient | No |
schema.TelegramOutput
Name | Type | Description | Required |
---|---|---|---|
config | schema.TelegramConfig | No |
schema.TelegramPollCreateRequest
Name | Type | Description | Required |
---|---|---|---|
poll | schema.PollInput | No | |
projectId | integer | No |
schema.TelegramPost
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
fileId | string | deprecated, replaced by flag has_files and array of file_ids | No |
fileIds | [ string ] | transient | No |
hasFiles | boolean | No | |
header | string | No | |
id | integer | No | |
multipleAnswers | boolean | No | |
pollId | string | No | |
pollOptions | [ schema.PollOption ] | No | |
publicId | integer | No | |
sentAt | string | No | |
state | schema.PostState | No | |
telegramId | integer | telegram post id | No |
text | string | No | |
totalVoterCount | integer | No | |
type | schema.PostType | No | |
updatedAt | string | No | |
userId | integer | User who sent a message. | No |
schema.TelegramPostCreateRequest
Name | Type | Description | Required |
---|---|---|---|
post | schema.PostInput | No | |
projectId | integer | No |
schema.TelegramPostDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
postId | integer | No | |
projectId | integer | No |
schema.TelegramPostOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
post | schema.TelegramPost | No |
schema.TelegramPostQueryRequest
Name | Type | Description | Required |
---|---|---|---|
publicId | integer | No | |
query | schema.TelegramPostsQuery | No |
schema.TelegramPostsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
posts | [ schema.TelegramPost ] | No |
schema.TelegramPostsQuery
Name | Type | Description | Required |
---|---|---|---|
deleted | boolean | No | |
desc | boolean | No | |
fromId | integer | id > from_id | No |
limit | integer | No | |
offset | integer | No | |
projectId | integer | No | |
publicId | integer | No | |
state | schema.PostState | No | |
untilId | integer | id < until_id | No |
schema.TelegramPublic
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
telegramLink | string | No | |
title | string | No | |
updatedAt | string | No |
schema.TelegramPublicCreateRequest
Name | Type | Description | Required |
---|---|---|---|
telegramPublic | schema.TelegramPublicInput | No |
schema.TelegramPublicDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
publicId | integer | No |
schema.TelegramPublicGetRequest
Name | Type | Description | Required |
---|---|---|---|
publicId | integer | No |
schema.TelegramPublicInput
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
projectId | integer | No | |
telegramLink | string | No | |
title | string | No |
schema.TelegramPublicOutput
Name | Type | Description | Required |
---|---|---|---|
public | schema.TelegramPublic | No |
schema.TelegramPublicProjectQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.TelegramPublicsQuery | No |
schema.TelegramPublicQueryRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
projectId | integer | No | |
query | schema.TelegramPublicsQuery | No |
schema.TelegramPublicUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
public | schema.TelegramPublicInput | No | |
publicId | integer | No |
schema.TelegramPublicsList
Name | Type | Description | Required |
---|---|---|---|
items | [ schema.TelegramPublic ] | No | |
totalCount | integer | No |
schema.TelegramPublicsQuery
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
deleted | boolean | No | |
limit | integer | No | |
offset | integer | No | |
projectId | integer | No |
schema.TelegramSetTokenRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
telegramBotSettings | schema.TelegramBotSettingsInput | No |
schema.TelegramUser
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
firstName | string | No | |
id | integer | Matches external id. | No |
lastName | string | No | |
updatedAt | string | No | |
userName | string | No |
schema.TestPushInput
Name | Type | Description | Required |
---|---|---|---|
text | string | No | |
title | string | No |
schema.TestPushResult
Name | Type | Description | Required |
---|---|---|---|
error | string | No | |
messageId | string | No | |
ok | boolean | No | |
token | string | No |
schema.Ticket
Name | Type | Description | Required |
---|---|---|---|
acceptTime | integer | Duration before the ticket has been accepted. | No |
acceptTimeOK | boolean | No | |
acceptedAt | string | No | |
accepterId | integer | No | |
assignTime | integer | Deprecated, use AcceptTime; duration before the ticket has been assigned. | No |
assignedAt | string | No | |
assigneeId | integer | No | |
autoClosed | boolean | No | |
avgReplyTime | integer | No | |
blockReason | string | No | |
blocked | boolean | No | |
blockedAt | string | No | |
blockedUntil | string | No | |
botFlowState | schema.BotFlowState | bss bot | No |
bsssessionId | string | No | |
cannotAssignReason | schema.TicketCannotAssignReason | No | |
categoryId | integer | No | |
channelId | integer | No | |
chatId | integer | No | |
clientId | integer | No | |
closedAt | string | No | |
createdAt | string | No | |
deleted | boolean | No | |
fcr | boolean | No | |
greeted | boolean | Greeting message has been sent. | No |
groupId | integer | No | |
hasComments | boolean | No | |
id | integer | No | |
infoRequest | schema.InfoRequest | No | |
infoRequestId | integer | No | |
initiatorClient | boolean | No | |
ip | string | No | |
ipcity | string | No | |
ipcountry | string | No | |
lost | boolean | Like Missed, but for Target & reports | No |
members | [ schema.TicketMember ] | Transient | No |
messageId | integer | Last message id. | No |
missed | boolean | No | |
open | boolean | No | |
openedAt | string | No | |
permissions | schema.TicketPermissions | No | |
postponedUntil | string | No | |
priority | integer | No | |
projectId | integer | No | |
ratingId | integer | No | |
reactionChecked | boolean | No | |
registered | boolean | Marked as registered. | No |
registeredAt | string | No | |
registeredBy | integer | No | |
respondedAt | string | No | |
responseTime | integer | Agent reaction time from the assign time til the first reply. | No |
state | schema.TicketState | len=32 | No |
status | schema.TicketStatus | No | |
statusChangedAt | string | No | |
systemTicket | boolean | No | |
tagIds | sets.Int64 | No | |
ticketComments | [ schema.TicketComment ] | No | |
title | string | len=255 | No |
totalAssignments | integer | No | |
totalMembers | integer | No | |
totalMessages | integer | No | |
totalResponseTime | integer | Time from the creation til the first reply. | No |
totalResponseTimeOK | boolean | No | |
totalTime | integer | Total time this ticket has been opened. | No |
totalTimeOK | boolean | No | |
transferredFromBot | boolean | No | |
ua | string | No | |
uabrowser | string | No | |
uabrowserVersion | string | No | |
uamobile | boolean | No | |
uaos | string | No | |
uaosversion | string | No | |
uaplatform | string | No | |
updatedAt | string | No | |
userWhoBlockedId | integer | No | |
violationId | integer | No | |
waitingTimeReply | boolean | No |
schema.TicketAction
Name | Type | Description | Required |
---|---|---|---|
actorId | integer | User who made an action. | No |
comment | string | No | |
createdAt | string | No | |
groupId | integer | Assigned group. | No |
id | integer | No | |
text | string | Transitive | No |
ticketId | integer | No | |
type | schema.TicketActionType | len=32 | No |
userId | integer | Assignee, member, etc. | No |
schema.TicketActionType
Name | Type | Description | Required |
---|---|---|---|
schema.TicketActionType | string |
schema.TicketAssignSeveralRequest
Name | Type | Description | Required |
---|---|---|---|
comment | string | No | |
ticketId | integer | No | |
userId | integer | No |
schema.TicketAssignToGroupRequest
Name | Type | Description | Required |
---|---|---|---|
groupId | integer | No | |
ticketId | integer | No |
schema.TicketBanOptionsUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
input | schema.BlockedTicketSettings | No | |
projectId | integer | No |
schema.TicketBanRequest
Name | Type | Description | Required |
---|---|---|---|
input | schema.BlockTicketInput | No |
schema.TicketCannotAssignReason
Name | Type | Description | Required |
---|---|---|---|
schema.TicketCannotAssignReason | string |
schema.TicketCloseRequest
Name | Type | Description | Required |
---|---|---|---|
fcr | boolean | No | |
register | boolean | No | |
ticketId | integer | No |
schema.TicketCloseSeveralRequest
Name | Type | Description | Required |
---|---|---|---|
closingText | string | No | |
ticketIds | [ integer ] | No |
schema.TicketComment
Name | Type | Description | Required |
---|---|---|---|
author | schema.User | transient | No |
authorId | integer | No | |
channelType | schema.ChannelType | No | |
chatId | integer | No | |
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
deletedByUserId | integer | No | |
editedAt | string | No | |
editedByUserId | integer | No | |
editedByUsername | string | No | |
id | integer | No | |
text | string | No | |
ticketId | integer | No |
schema.TicketCommentClientRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No |
schema.TicketCommentCreateRequest
Name | Type | Description | Required |
---|---|---|---|
input | schema.TicketCommentInput | No |
schema.TicketCommentDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
commentId | integer | No | |
projectId | integer | No |
schema.TicketCommentGetRequest
Name | Type | Description | Required |
---|---|---|---|
ticketId | integer | No |
schema.TicketCommentInput
Name | Type | Description | Required |
---|---|---|---|
channelType | schema.ChannelType | No | |
chatId | integer | No | |
clientId | integer | No | |
projectId | integer | No | |
text | string | No | |
ticketId | integer | No |
schema.TicketCommentUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
commentId | integer | No | |
input | schema.TicketCommentInput | No |
schema.TicketCreateRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
clientId | integer | No | |
projectId | integer | No |
schema.TicketDisplayInput
Name | Type | Description | Required |
---|---|---|---|
showAvailableProducts | boolean | No | |
showClientInfo | boolean | No | |
showConnectedClients | boolean | No | |
showConnectedProducts | boolean | No | |
showDetailsInfo | boolean | No | |
showDeviceInfo | boolean | No | |
showPeopleInfo | boolean | No | |
showTicketInfo | boolean | No |
schema.TicketDisplayOptions
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
projectId | integer | No | |
showAvailableProducts | boolean | No | |
showClientInfo | boolean | No | |
showConnectedClients | boolean | No | |
showConnectedProducts | boolean | No | |
showDetailsInfo | boolean | No | |
showDeviceInfo | boolean | No | |
showPeopleInfo | boolean | No | |
showTicketInfo | boolean | No | |
updatedAt | string | No |
schema.TicketExportChannelRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
format | schema.ExportFormat | No | |
query | schema.TicketQuery | No |
schema.TicketExportClientRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
format | schema.ExportFormat | No | |
query | schema.TicketQuery | No |
schema.TicketExportCompanyRequest
Name | Type | Description | Required |
---|---|---|---|
companyId | integer | No | |
format | schema.ExportFormat | No | |
query | schema.TicketQuery | No |
schema.TicketExportProjectRequest
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
projectId | integer | No | |
query | schema.TicketQuery | No |
schema.TicketIdRequest
Name | Type | Description | Required |
---|---|---|---|
ticketId | integer | No |
schema.TicketInviteRequest
Name | Type | Description | Required |
---|---|---|---|
ticketId | integer | No | |
userId | integer | No |
schema.TicketKickRequest
Name | Type | Description | Required |
---|---|---|---|
memberId | integer | No |
schema.TicketList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.Ticket ] | No | |
totalCount | integer | No |
schema.TicketMember
Name | Type | Description | Required |
---|---|---|---|
assignedAt | string | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
me | boolean | Transient | No |
ticketId | integer | No | |
unassignedAt | string | No | |
updatedAt | string | No | |
userId | integer | No |
schema.TicketMemberList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
members | [ schema.TicketMember ] | No |
schema.TicketMemberOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
member | schema.TicketMember | No |
schema.TicketMessage
Name | Type | Description | Required |
---|---|---|---|
actionId | integer | No | |
actions | [ schema.Action ] | No | |
author | schema.ActorType | Author | No |
autoreplyId | integer | No | |
botpressPayload | string | No | |
clientId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
emailMessageId | string | id needed to reply to client email | No |
fileId | string | len=255 | No |
greeting | boolean | No | |
id | integer | No | |
infoRequestId | integer | No | |
isDropDown | boolean | No | |
listened | boolean | No | |
listenedAt | string | No | |
localId | integer | No | |
my | boolean | Transitive | No |
productId | integer | No | |
ratingId | integer | No | |
read | boolean | No | |
readAt | string | No | |
received | boolean | Flags | No |
receivedAt | string | No | |
replyTime | integer | No | |
replyToMessageId | integer | No | |
singleChoices | [ schema.SingleChoice ] | No | |
text | string | len=4000 | No |
ticketId | integer | No | |
type | schema.TicketMessageType | Payload | No |
uid | string | 40 chars, sha1(chatId, client | user, localId) or a random hex string. |
updatedAt | string | No | |
userId | integer | No |
schema.TicketMessageCreateRequest
Name | Type | Description | Required |
---|---|---|---|
message | schema.TicketMessageInput | No | |
ticketId | integer | No |
schema.TicketMessageIdRequest
Name | Type | Description | Required |
---|---|---|---|
messageId | integer | No |
schema.TicketMessageInput
Name | Type | Description | Required |
---|---|---|---|
action | schema.TicketAction | Internal | No |
actionId | integer | No | |
actions | [ schema.Action ] | bot responses | No |
autoreplyId | integer | No | |
botpressPayload | string | No | |
emailMessageId | string | id needed to reply to client email | No |
fileId | string | No | |
fileURL | string | No | |
greeting | boolean | No | |
infoRequestId | integer | No | |
isDropDown | boolean | No | |
localId | integer | No | |
productId | integer | No | |
ratingId | integer | No | |
replyToMessageId | integer | No | |
singleChoices | [ schema.SingleChoice ] | No | |
skipAutoClose | boolean | No | |
text | string | No | |
type | schema.TicketMessageType | No |
schema.TicketMessageList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.TicketMessage ] | No | |
totalCount | integer | No |
schema.TicketMessageOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
message | schema.TicketMessage | No |
schema.TicketMessageQuery
Name | Type | Description | Required |
---|---|---|---|
autoreplyId | integer | No | |
chatId | integer | No | |
clientId | integer | No | |
desc | boolean | No | |
fromId | integer | No | |
limit | integer | No | |
offset | integer | No | |
q | string | No | |
read | boolean | No | |
ticketIds | [ integer ] | Internal | No |
untilId | integer | No |
schema.TicketMessageReceivedRequest
Name | Type | Description | Required |
---|---|---|---|
messageIds | [ integer ] | No |
schema.TicketMessageSlice
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
head | [ schema.TicketMessage ] | No | |
moreCount | integer | No | |
tail | [ schema.TicketMessage ] | No | |
totalCount | integer | No |
schema.TicketMessageType
Name | Type | Description | Required |
---|---|---|---|
schema.TicketMessageType | string |
schema.TicketMessagesDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
chatId | integer | No | |
messageIds | [ integer ] | No | |
projectId | integer | No |
schema.TicketMessagesExportChannelRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
format | schema.ExportFormat | No | |
query | schema.TicketQuery | No |
schema.TicketMessagesExportClientRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
format | schema.ExportFormat | No | |
query | schema.TicketQuery | No |
schema.TicketMessagesExportCompanyRequest
Name | Type | Description | Required |
---|---|---|---|
companyId | integer | No | |
format | schema.ExportFormat | No | |
query | schema.TicketQuery | No |
schema.TicketMessagesExportProjectRequest
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
projectId | integer | No | |
query | schema.TicketQuery | No |
schema.TicketMessagesExportRequest
Name | Type | Description | Required |
---|---|---|---|
format | schema.ExportFormat | No | |
ticketId | integer | No |
schema.TicketMessagesGetRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.TicketMessageQuery | No |
schema.TicketMessagesSliceRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.TicketMessageQuery | No | |
ticketId | integer | No |
schema.TicketOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
ticket | schema.Ticket | No |
schema.TicketPermissions
Name | Type | Description | Required |
---|---|---|---|
schema.TicketPermissions | object |
schema.TicketPostponeSeveralRequest
Name | Type | Description | Required |
---|---|---|---|
input | schema.PostponeTicketInput | No |
schema.TicketPreviousRequest
Name | Type | Description | Required |
---|---|---|---|
chatType | schema.ChatType | No | |
ticketId | integer | No |
schema.TicketPriorityChangeRequest
Name | Type | Description | Required |
---|---|---|---|
priority | integer | No | |
ticketId | integer | No |
schema.TicketProductMessageCreateRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
message | schema.TicketMessageInput | No |
schema.TicketQuery
Name | Type | Description | Required |
---|---|---|---|
accepterIds | [ integer ] | No | |
assigneeIds | [ integer ] | No | |
blocked | boolean | No | |
categoryIds | [ integer ] | No | |
channelIds | [ integer ] | No | |
chatId | integer | No | |
chatTypes | [ schema.ChatType ] | No | |
clientId | integer | No | |
clientName | string | No | |
companyId | integer | No | |
connected | boolean | Includes the children tickets. | No |
desc | boolean | No | |
endHMS | string | No | |
excludeIds | [ integer ] | No | |
groupIds | [ integer ] | No | |
groupIsNil | boolean | Queries "group_id is null" when true. | No |
haveCategory | boolean | No | |
limit | integer | No | |
marker | schema.MarkerType | client's marker type (loyal or disloyal) | No |
noCategory | boolean | No | |
offset | integer | No | |
open | boolean | No | |
orderByBlockedAt | boolean | No | |
orderByClient | boolean | No | |
orderByIP | boolean | No | |
orderByPriority | boolean | No | |
parentId | integer | No | |
period | schema.Period | No | |
priorities | [ integer ] | No | |
projectId | integer | No | |
ratingStates | [ schema.RatingState ] | No | |
ratings | [ integer ] | No | |
startHMS | string | No | |
state | schema.TicketState | No | |
systemTicket | boolean | No | |
tagId | string | No | |
tagIds | [ string ] | No | |
tagIdsStr | string | No | |
tagRegex | string | No | |
whoBlockedIds | [ integer ] | No |
schema.TicketQueryChannelRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
query | schema.TicketQuery | No |
schema.TicketQueryClientRequest
Name | Type | Description | Required |
---|---|---|---|
clientId | integer | No | |
query | schema.TicketQuery | No |
schema.TicketQueryCompanyRequest
Name | Type | Description | Required |
---|---|---|---|
companyId | integer | No | |
query | schema.TicketQuery | No |
schema.TicketQueryProjectRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.TicketQuery | No |
schema.TicketQueueSeveralRequest
Name | Type | Description | Required |
---|---|---|---|
ticketIds | [ integer ] | No |
schema.TicketReport
Name | Type | Description | Required |
---|---|---|---|
query | schema.TicketReportQuery | No | |
rows | [ schema.TicketReportRow ] | No | |
totals | schema.TicketReportRow | No |
schema.TicketReportDimension
Name | Type | Description | Required |
---|---|---|---|
schema.TicketReportDimension | string |
schema.TicketReportQuery
Name | Type | Description | Required |
---|---|---|---|
accepterIds | [ integer ] | No | |
assigneeIds | [ integer ] | No | |
categoryIds | [ integer ] | No | |
channelIds | [ integer ] | No | |
chatTypes | [ schema.ChatType ] | No | |
cutHMS | boolean | No | |
dateGroup | schema.DateUnit | No | |
dimension | schema.TicketReportDimension | No | |
groupIds | [ integer ] | No | |
period | schema.Period | No | |
projectId | integer | Filters | No |
ratingStates | [ schema.RatingState ] | No | |
ratings | [ integer ] | No |
schema.TicketReportRow
Name | Type | Description | Required |
---|---|---|---|
accepterId | integer | No | |
assigneeId | integer | No | |
avgAcceptTime | integer | No | |
avgRating | number | No | |
avgRespTime | integer | No | |
avgTotalRespTime | integer | No | |
avgTotalTime | integer | No | |
categoryId | integer | No | |
channelId | integer | No | |
chatType | schema.ChatType | No | |
date | string | Dimensions | No |
dateDMY | string | No | |
dateRange | string | No | |
fcrcount | integer | кол-во тикетов, где вопрос клиента был решен | No |
fcrpercentage | number | No | |
groupId | integer | No | |
hourRange | string | No | |
maxTotalTime | integer | No | |
rating | integer | No | |
slacceptTimeCount | integer | No | |
slacceptTimePercent | number | No | |
sltotalResponseTimeCount | integer | No | |
sltotalResponseTimePercent | number | No | |
sltotalTimeCount | integer | No | |
sltotalTimePercent | number | No | |
totalLost | integer | No | |
totalMessages | integer | No | |
totalPending | integer | No | |
totalPersonalClientTickets | integer | No | |
totalTickets | integer | Metrics | No |
uniqueClients | integer | No | |
weekday | string | No |
schema.TicketSetCategoryRequest
Name | Type | Description | Required |
---|---|---|---|
categoryId | integer | No | |
ticketId | integer | No |
schema.TicketSetFCRRequest
Name | Type | Description | Required |
---|---|---|---|
fcr | boolean | No | |
ticketId | integer | No |
schema.TicketSetTagRequest
Name | Type | Description | Required |
---|---|---|---|
tagId | integer | No | |
ticketId | integer | No |
schema.TicketState
Name | Type | Description | Required |
---|---|---|---|
schema.TicketState | string |
schema.TicketStatus
Name | Type | Description | Required |
---|---|---|---|
schema.TicketStatus | string |
schema.TicketStreamOutput
Name | Type | Description | Required |
---|---|---|---|
client | schema.Client | No | |
graph | schema.Graph | No | |
infoRequest | schema.InfoRequest | No | |
message | schema.TicketMessage | No | |
ticket | schema.Ticket | No | |
typing | schema.TypingTicketMessage | No |
schema.TicketTotalRow
Name | Type | Description | Required |
---|---|---|---|
assigneeId | integer | No | |
channelId | integer | Internal | No |
groupId | integer | No | |
totalInProgressTickets | integer | No | |
totalOpenTickets | integer | No | |
totalPendingTickets | integer | No | |
workload | number | No |
schema.TicketTransferRequest
Name | Type | Description | Required |
---|---|---|---|
comment | string | No | |
priority | integer | No | |
ticketId | integer | No | |
userId | integer | No |
schema.TicketTransferSeveralRequest
Name | Type | Description | Required |
---|---|---|---|
comment | string | No | |
priority | integer | No | |
ticketIds | [ integer ] | No | |
userId | integer | No |
schema.TicketingSystem
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
string | No | ||
enabled | boolean | No | |
host | string | No | |
id | integer | No | |
login | string | No | |
password | string | No | |
port | string | No | |
projectId | integer | No | |
sendTo | string | No | |
title | string | No | |
type | schema.TicketingSystemType | No | |
updatedAt | string | No |
schema.TicketingSystemCreateRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
ticketingSystem | schema.TicketingSystemInput | No |
schema.TicketingSystemDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
ticketingSystemId | integer | No |
schema.TicketingSystemInput
Name | Type | Description | Required |
---|---|---|---|
string | No | ||
host | string | No | |
login | string | No | |
password | string | No | |
port | string | No | |
sendTo | string | No | |
title | string | No | |
type | schema.TicketingSystemType | No |
schema.TicketingSystemList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.TicketingSystem ] | No | |
totalCount | integer | No |
schema.TicketingSystemOutput
Name | Type | Description | Required |
---|---|---|---|
ticketingSystem | schema.TicketingSystem | No |
schema.TicketingSystemProjectQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.TicketingSystemQuery | No |
schema.TicketingSystemQuery
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
limit | integer | No | |
offset | integer | No | |
projectId | integer | Internal | No |
q | string | No |
schema.TicketingSystemQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.TicketingSystemQuery | No |
schema.TicketingSystemToggleRequest
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
ticketingSystemId | integer | No |
schema.TicketingSystemType
Name | Type | Description | Required |
---|---|---|---|
schema.TicketingSystemType | string |
schema.TicketingSystemUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
ticketingSystem | schema.TicketingSystemInput | No | |
ticketingSystemId | integer | No |
schema.TicketingSystemsOutput
Name | Type | Description | Required |
---|---|---|---|
ticketingSystems | [ schema.TicketingSystem ] | No |
schema.TicketsByCategory
Name | Type | Description | Required |
---|---|---|---|
categoryName | string | No | |
ticketsCount | integer | No |
schema.TicketsClosingSettings
Name | Type | Description | Required |
---|---|---|---|
closeBotDialogs | boolean | No | |
closeUserDialogs | boolean | No | |
closingMessage | string | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
enabled | boolean | No | |
id | integer | No | |
inactivityTime | integer | No | |
projectId | integer | No | |
updatedAt | string | No |
schema.TicketsClosingSettingsCreateRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
settings | schema.TicketsClosingSettingsInput | No |
schema.TicketsClosingSettingsInput
Name | Type | Description | Required |
---|---|---|---|
closeBotDialogs | boolean | No | |
closeUserDialogs | boolean | No | |
closingMessage | string | No | |
deleted | boolean | No | |
enabled | boolean | No | |
inactivityTime | integer | No | |
projectId | integer | No |
schema.TicketsClosingSettingsUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
settings | schema.TicketsClosingSettingsInput | No |
schema.TypingCorporateChatMessage
Name | Type | Description | Required |
---|---|---|---|
actor | schema.Actor | No | |
corporateChatId | integer | No | |
user | schema.User | No |
schema.TypingTicketMessage
Name | Type | Description | Required |
---|---|---|---|
actor | schema.Actor | No | |
client | schema.Client | No | |
ticketId | integer | No | |
user | schema.User | No |
schema.User
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No | |
assignedAt | string | No | |
avatarId | string | Avatar file id | No |
busy | boolean | user is active but does not receive any chats or tickets | No |
changePassword | boolean | No | |
corporateChatDisabledAt | string | No | |
corporateChatEnabled | boolean | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
department | string | No | |
displayName | string | Transient | No |
string | No | ||
id | integer | No | |
lastActiveAt | string | No | |
lastMessageAt | string | No | |
lastSeenAt | string | No | |
loggedInAt | string | No | |
login | string | No | |
name | string | No | |
online | boolean | No | |
permissions | schema.GlobalPermissions | No | |
position | string | No | |
pseudonym | string | No | |
rating | number | No | |
restoredAt | string | No | |
roleId | integer | No | |
scheduleId | integer | No | |
skillIds | sets.Int64 | No | |
totalAssignedTickets | integer | No | |
totals | schema.TicketTotalRow | No | |
type | schema.UserType | No | |
updatedAt | string | No |
schema.UserAuthBackend
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No | |
createOnLogin | boolean | No | |
createdAt | string | No | |
defaultRole | schema.UserRole | No | |
defaultRoleID | integer | No | |
deleted | boolean | No | |
id | integer | No | |
ldapdir | schema.LDAPDirectory | Transient | No |
ldapdirId | integer | No | |
name | string | No | |
type | schema.UserAuthBackendType | No | |
updateOnLogin | boolean | No | |
updatedAt | string | No |
schema.UserAuthBackendCreateRequest
Name | Type | Description | Required |
---|---|---|---|
backend | schema.UserAuthBackendInput | No |
schema.UserAuthBackendDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
backendId | integer | No |
schema.UserAuthBackendInput
Name | Type | Description | Required |
---|---|---|---|
createOnLogin | boolean | No | |
defaultRoleID | integer | No | |
ldapdir | schema.LDAPDirectoryInput | No | |
name | string | No | |
type | schema.UserAuthBackendType | No | |
updateOnLogin | boolean | No |
schema.UserAuthBackendOutput
Name | Type | Description | Required |
---|---|---|---|
userAuthBackend | schema.UserAuthBackend | No |
schema.UserAuthBackendToggleRequest
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No | |
backendId | integer | No |
schema.UserAuthBackendType
Name | Type | Description | Required |
---|---|---|---|
schema.UserAuthBackendType | string |
schema.UserAuthBackendUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
backend | schema.UserAuthBackendInput | No | |
backendId | integer | No |
schema.UserAuthBackendsOutput
Name | Type | Description | Required |
---|---|---|---|
userAuthBackends | [ schema.UserAuthBackend ] | No |
schema.UserAuthOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
session | schema.UserSession | No | |
user | schema.User | No |
schema.UserAuthRequest
Name | Type | Description | Required |
---|---|---|---|
string | No | ||
password | string | No |
schema.UserAvatarInput
Name | Type | Description | Required |
---|---|---|---|
schema.UserAvatarInput | object |
schema.UserBotCreateOutput
Name | Type | Description | Required |
---|---|---|---|
bot | schema.User | No | |
graph | schema.Graph | No |
schema.UserBotCreateRequest
Name | Type | Description | Required |
---|---|---|---|
bot | schema.UserBotInput | No |
schema.UserBotInput
Name | Type | Description | Required |
---|---|---|---|
name | string | No | |
roleId | integer | No | |
userId | integer | No |
schema.UserBotUpdateOutput
Name | Type | Description | Required |
---|---|---|---|
bot | schema.User | No | |
graph | schema.Graph | No |
schema.UserBotUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
bot | schema.UserBotInput | No |
schema.UserChangePasswordRequest
Name | Type | Description | Required |
---|---|---|---|
currentPassword | string | No | |
newPassword | string | No |
schema.UserChangeTempPasswordRequest
Name | Type | Description | Required |
---|---|---|---|
password | string | No |
schema.UserClearAvatarRequest
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.UserCreateOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
tempPassword | string | No | |
user | schema.User | No |
schema.UserCreateRequest
Name | Type | Description | Required |
---|---|---|---|
user | schema.UserInput | No |
schema.UserDeactivateRequest
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.UserDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.UserGetRequest
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.UserGoActiveRequest
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No |
schema.UserIdRequest
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.UserInput
Name | Type | Description | Required |
---|---|---|---|
department | string | No | |
string | No | ||
login | string | No | |
name | string | No | |
position | string | No | |
pseudonym | string | No | |
roleId | integer | No | |
scheduleId | integer | No | |
skillIds | [ integer ] | No | |
type | schema.UserType | No |
schema.UserList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.User ] | No | |
totalCount | integer | No |
schema.UserLogoutRequest
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.UserOrderBy
Name | Type | Description | Required |
---|---|---|---|
schema.UserOrderBy | string |
schema.UserOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
user | schema.User | No |
schema.UserQuery
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No | |
corporateChatDisabledTime | boolean | No | |
corporateChatEnabled | boolean | No | |
countTotals | boolean | No | |
deleted | boolean | No | |
deletedGroupMember | boolean | No | |
excludeIds | [ integer ] | No | |
excludeMe | boolean | No | |
groupIds | [ integer ] | No | |
groupProjectId | integer | No | |
hasAssignedTickets | boolean | No | |
hasNotAssignedTickets | boolean | No | |
hasOrNotAssignedTickets | boolean | No | |
ids | [ integer ] | No | |
lastActiveBefore | string | No | |
limit | integer | No | |
offset | integer | No | |
online | boolean | No | |
order | schema.UserOrderBy | No | |
personalManagers | boolean | No | |
q | string | Optional search query.s | No |
roleIds | [ integer ] | No | |
scheduleIds | [ integer ] | No | |
seenBefore | string | No | |
skillIds | [ integer ] | No | |
skillRegex | string | No | |
type | schema.UserType | No |
schema.UserQueryByProjectRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No |
schema.UserQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.UserQuery | No |
schema.UserReport
Name | Type | Description | Required |
---|---|---|---|
rows | [ schema.UserReportRow ] | No | |
slstat | schema.SLStat | No |
schema.UserReportDimension
Name | Type | Description | Required |
---|---|---|---|
schema.UserReportDimension | string |
schema.UserReportQuery
Name | Type | Description | Required |
---|---|---|---|
categoryIds | [ integer ] | No | |
channelIds | [ integer ] | No | |
dateGroup | schema.DateUnit | No | |
dimension | schema.UserReportDimension | No | |
end | string | No | |
period | schema.Period | No | |
projectId | integer | Filters | No |
start | string | Internal | No |
userIds | [ integer ] | No |
schema.UserReportRow
Name | Type | Description | Required |
---|---|---|---|
avgRating | number | Metrics | No |
avgRespTime | integer | No | |
avgTotalTime | integer | No | |
categoryId | integer | No | |
channelId | integer | No | |
date | string | Dimensions | No |
string | No | ||
fcrpercentage | number | No | |
maxRespTime | integer | No | |
maxTotalTime | integer | No | |
name | string | No | |
productivity | number | chats per hour | No |
slacceptTimeCount | integer | No | |
slacceptTimePercent | string | No | |
sltotalResponseTimePercent | string | No | |
sltotalResponseTimeTimeCount | integer | No | |
sltotalTimeCount | integer | No | |
sltotalTimePercent | string | No | |
ticketsWithFCR | integer | No | |
totalMessages | integer | No | |
totalOpenTickets | integer | No | |
totalTickets | integer | No | |
totalTicketsFromPersonalClients | integer | No | |
totalTicketsFromPersonalClientsPercent | number | No | |
totalTimeActive | integer | No | |
totalTimeWorkingWithTickets | integer | No | |
totalViolations | integer | No | |
userId | integer | No | |
workload | number | No |
schema.UserResetPasswordOutput
Name | Type | Description | Required |
---|---|---|---|
tempPassword | string | No |
schema.UserResetPasswordRequest
Name | Type | Description | Required |
---|---|---|---|
userId | integer | No |
schema.UserRestoreRequest
Name | Type | Description | Required |
---|---|---|---|
user | schema.UserInput | No | |
userId | integer | No |
schema.UserRole
Name | Type | Description | Required |
---|---|---|---|
admin | boolean | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
description | string | No | |
id | integer | No | |
permissions | schema.GlobalPermissions | len=4000 | No |
restoredAt | string | No | |
title | string | No | |
updatedAt | string | No |
schema.UserRoleCreateRequest
Name | Type | Description | Required |
---|---|---|---|
role | schema.UserRoleInput | No |
schema.UserRoleDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
roleId | integer | No |
schema.UserRoleGetRequest
Name | Type | Description | Required |
---|---|---|---|
roleId | integer | No |
schema.UserRoleInput
Name | Type | Description | Required |
---|---|---|---|
admin | boolean | No | |
description | string | No | |
permissions | schema.GlobalPermissions | No | |
title | string | No |
schema.UserRoleList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.UserRole ] | No | |
totalCount | integer | No |
schema.UserRoleOutput
Name | Type | Description | Required |
---|---|---|---|
role | schema.UserRole | No |
schema.UserRoleQuery
Name | Type | Description | Required |
---|---|---|---|
admin | boolean | No | |
deleted | boolean | No | |
limit | integer | No | |
offset | integer | No | |
q | string | No |
schema.UserRoleQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.UserRoleQuery | No |
schema.UserRoleUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
role | schema.UserRoleInput | No | |
roleId | integer | No |
schema.UserServiceCreateOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
service | schema.User | No | |
token | schema.UserServiceToken | No |
schema.UserServiceCreateRequest
Name | Type | Description | Required |
---|---|---|---|
service | schema.UserServiceInput | No |
schema.UserServiceInput
Name | Type | Description | Required |
---|---|---|---|
name | string | No | |
roleId | integer | No |
schema.UserServiceToken
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
token | string | No | |
userId | integer | No |
schema.UserServiceTokenOutput
Name | Type | Description | Required |
---|---|---|---|
token | schema.UserServiceToken | No |
schema.UserServiceTokenRequest
Name | Type | Description | Required |
---|---|---|---|
serviceId | integer | No |
schema.UserSession
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No | |
createdAt | string | No | |
expiresAt | string | No | |
id | integer | No | |
token | string | len=255 | No |
userId | integer | No |
schema.UserSetupInput
Name | Type | Description | Required |
---|---|---|---|
string | No | ||
name | string | No | |
password | string | No | |
position | string | No |
schema.UserSkill
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
description | string | No | |
id | integer | No | |
title | string | No | |
updatedAt | string | No |
schema.UserSkillCreateRequest
Name | Type | Description | Required |
---|---|---|---|
skill | schema.UserSkillInput | No |
schema.UserSkillDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
skillId | integer | No |
schema.UserSkillGetRequest
Name | Type | Description | Required |
---|---|---|---|
skillId | integer | No |
schema.UserSkillInput
Name | Type | Description | Required |
---|---|---|---|
description | string | No | |
title | string | No |
schema.UserSkillList
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
items | [ schema.UserSkill ] | No | |
totalCount | integer | No |
schema.UserSkillOutput
Name | Type | Description | Required |
---|---|---|---|
skill | schema.UserSkill | No |
schema.UserSkillQuery
Name | Type | Description | Required |
---|---|---|---|
deleted | boolean | No | |
limit | integer | No | |
offset | integer | No | |
q | string | No |
schema.UserSkillQueryRequest
Name | Type | Description | Required |
---|---|---|---|
query | schema.UserSkillQuery | No |
schema.UserSkillUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
skill | schema.UserSkillInput | No | |
skillId | integer | No |
schema.UserStatusesReportRowResponse
Name | Type | Description | Required |
---|---|---|---|
rows | [ schema.UsersReportRow ] | No | |
stat | schema.UserStatusesStat | No |
schema.UserStatusesStat
Name | Type | Description | Required |
---|---|---|---|
totalTimeActiveForAll | integer | No | |
totalTimeBusyForAll | integer | No | |
totalTimeInactiveForAll | integer | No | |
totalWorkTimeForAll | integer | No |
schema.UserType
Name | Type | Description | Required |
---|---|---|---|
schema.UserType | string |
schema.UserUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
user | schema.UserInput | No | |
userId | integer | No |
schema.UserWorkScheduleCreateRequest
Name | Type | Description | Required |
---|---|---|---|
sameSchedule | boolean | No | |
workSchedule | schema.WorkScheduleInput | No |
schema.UserWorkScheduleDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
workScheduleID | integer | No |
schema.UserWorkScheduleOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
workSchedule | schema.WorkSchedule | No |
schema.UserWorkScheduleSetSameRequest
Name | Type | Description | Required |
---|---|---|---|
workScheduleID | integer | No |
schema.UserWorkScheduleUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
workSchedule | schema.WorkScheduleInput | No | |
workScheduleID | integer | No |
schema.UserWorkSchedulesOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
workSchedules | [ schema.WorkSchedule ] | No |
schema.UsersAuthRequest
Name | Type | Description | Required |
---|---|---|---|
token | string | No |
schema.UsersOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
users | [ schema.User ] | No |
schema.UsersReportRow
Name | Type | Description | Required |
---|---|---|---|
efficiency | string | No | |
name | string | No | |
totalBusyTimes | integer | No | |
totalIdleTime | integer | No | |
totalInactiveTimes | integer | No | |
totalInactiveTimesPerHour | number | No | |
totalTimeActive | integer | No | |
totalTimeBusy | integer | No | |
totalTimeInactive | integer | No | |
totalTimeWorkingWithTickets | integer | No | |
totalWorkTime | integer | No | |
workScheduleTime | integer | No |
schema.VKAccessTokenRequest
Name | Type | Description | Required |
---|---|---|---|
token | string | No | |
vkgroupId | integer | No |
schema.VKChannel
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
groupId | integer | No | |
id | integer | No | |
name | string | No | |
restoredAt | string | No | |
updatedAt | string | No | |
uuid | string | len=36 | No |
schema.VKConfig
Name | Type | Description | Required |
---|---|---|---|
accessToken | string | Group access code. | No |
channelId | integer | No | |
confirmationCode | string | Webhook confirmation code. | No |
secretKey | string | Our secret key, generated on creation. | No |
webhookURL | string | Transient | No |
schema.VKConfigInput
Name | Type | Description | Required |
---|---|---|---|
accessToken | string | No | |
confirmationCode | string | No | |
groupId | integer | No |
schema.VKConfigOutput
Name | Type | Description | Required |
---|---|---|---|
config | schema.VKConfig | No |
schema.VKConfigRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
config | schema.VKConfigInput | No |
schema.VKPollCreateRequest
Name | Type | Description | Required |
---|---|---|---|
poll | schema.PollInput | No | |
projectId | integer | No |
schema.VKPollDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
postId | integer | No | |
projectId | integer | No |
schema.VKPost
Name | Type | Description | Required |
---|---|---|---|
backgroundId | integer | No | |
backgroundImageId | string | custom background image for VK polls | No |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
fileIds | [ string ] | transient | No |
hasFiles | boolean | No | |
header | string | No | |
id | integer | No | |
isMultiple | boolean | No | |
pollEndDate | integer | end date in Unix seconds | No |
pollId | integer | No | |
pollOptions | [ schema.PollOption ] | No | |
publicId | integer | vk group/community | No |
sentAt | string | No | |
state | schema.PostState | No | |
text | string | No | |
totalVoterCount | integer | No | |
type | schema.PostType | No | |
updatedAt | string | No | |
userId | integer | User who sent a message. | No |
vkid | integer | id that VK API assigns to post | No |
schema.VKPostCreateRequest
Name | Type | Description | Required |
---|---|---|---|
post | schema.PostInput | No | |
projectId | integer | No |
schema.VKPostOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
post | schema.VKPost | No |
schema.VKPostsOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
posts | [ schema.VKPost ] | No |
schema.VKPostsQuery
Name | Type | Description | Required |
---|---|---|---|
deleted | boolean | No | |
desc | boolean | No | |
fromId | integer | id > from_id | No |
limit | integer | No | |
offset | integer | No | |
projectId | integer | No | |
publicId | integer | No | |
state | schema.PostState | No | |
untilId | integer | id < until_id | No |
schema.VKPostsQueryRequest
Name | Type | Description | Required |
---|---|---|---|
publicId | integer | No | |
query | schema.VKPostsQuery | No |
schema.VKPublic
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
id | integer | No | |
projectId | integer | No | |
title | string | No | |
updatedAt | string | No | |
userToken | string | No | |
vkgroupId | integer | No | |
vklink | string | link to vk group | No |
schema.VKPublicCreateRequest
Name | Type | Description | Required |
---|---|---|---|
vkpublic | schema.VKPublicInput | No |
schema.VKPublicDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
publicId | integer | No |
schema.VKPublicGetRequest
Name | Type | Description | Required |
---|---|---|---|
publicId | integer | No |
schema.VKPublicInput
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
projectId | integer | No | |
title | string | No | |
userToken | string | No | |
vkgroupId | integer | No | |
vklink | string | No |
schema.VKPublicOutput
Name | Type | Description | Required |
---|---|---|---|
public | schema.VKPublic | No |
schema.VKPublicQueryProjectRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.VKPublicsQuery | No |
schema.VKPublicQueryRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
projectId | integer | No | |
query | schema.VKPublicsQuery | No |
schema.VKPublicUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
public | schema.VKPublicInput | No | |
publicId | integer | No |
schema.VKPublicsList
Name | Type | Description | Required |
---|---|---|---|
items | [ schema.VKPublic ] | No | |
totalCount | integer | No |
schema.VKPublicsQuery
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
deleted | boolean | No | |
limit | integer | No | |
offset | integer | No | |
projectId | integer | No |
schema.VKUser
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | New | No |
firstName | string | No | |
id | integer | Matches VK user id. | No |
lastName | string | No | |
photo | string | No | |
screenName | string | No | |
sex | integer | No | |
updatedAt | string | No |
schema.ValidityPeriod
Name | Type | Description | Required |
---|---|---|---|
schema.ValidityPeriod | string |
schema.ValidityPeriodType
Name | Type | Description | Required |
---|---|---|---|
schema.ValidityPeriodType | string |
schema.VersionOutput
Name | Type | Description | Required |
---|---|---|---|
commit | string | No | |
date | string | No | |
version | string | No |
schema.ViberBotSettingsInput
Name | Type | Description | Required |
---|---|---|---|
botToken | string | No |
schema.ViberChannel
Name | Type | Description | Required |
---|---|---|---|
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
icon | string | No | |
id | integer | Matches channel id. | No |
restoredAt | string | No | |
updatedAt | string | No | |
uri | string | viber URI to find the bot in browser | No |
userId | string | Viber data | No |
userName | string | Bot name, len=1024 | No |
uuid | string | len=36 | No |
schema.ViberConfig
Name | Type | Description | Required |
---|---|---|---|
botToken | string | No | |
channelId | integer | len=255 | No |
webhookURL | string | Transient | No |
schema.ViberConfigOutput
Name | Type | Description | Required |
---|---|---|---|
config | schema.ViberConfig | No |
schema.ViberConfigRequest
Name | Type | Description | Required |
---|---|---|---|
channelId | integer | No | |
viberBotSettings | schema.ViberBotSettingsInput | No |
schema.ViberUser
Name | Type | Description | Required |
---|---|---|---|
avatar | string | No | |
createdAt | string | No | |
id | integer | Matches external id. | No |
name | string | No | |
updatedAt | string | No | |
viberId | string | No |
schema.ViolationInput
Name | Type | Description | Required |
---|---|---|---|
ticketId | integer | No | |
violationId | integer | No |
schema.Webhook
Name | Type | Description | Required |
---|---|---|---|
actionType | schema.ActionType | No | |
channelFilter | boolean | No | |
channelIds | sets.Int64 | No | |
createdAt | string | No | |
deleted | boolean | No | |
deletedAt | string | No | |
description | string | No | |
enabled | boolean | No | |
id | integer | No | |
projectId | integer | No | |
title | string | No | |
type | schema.WebhookType | No | |
updatedAt | string | No | |
url | string | No | |
userFilter | boolean | No | |
userIds | sets.Int64 | No |
schema.WebhookConditionalCreateRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
webhook | schema.WebhookConditionalInput | No |
schema.WebhookConditionalInput
Name | Type | Description | Required |
---|---|---|---|
actionType | schema.ActionType | No | |
channelFilter | boolean | No | |
channelIds | sets.Int64 | No | |
description | string | No | |
title | string | No | |
url | string | No | |
userFilter | boolean | No | |
userIds | sets.Int64 | No |
schema.WebhookConditionalUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
webhook | schema.WebhookConditionalInput | No | |
webhookId | integer | No |
schema.WebhookCreateRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
webhook | schema.WebhookInput | No |
schema.WebhookDeleteRequest
Name | Type | Description | Required |
---|---|---|---|
webhookId | integer | No |
schema.WebhookGetRequest
Name | Type | Description | Required |
---|---|---|---|
webhookId | integer | No |
schema.WebhookInput
Name | Type | Description | Required |
---|---|---|---|
description | string | No | |
title | string | No | |
url | string | No |
schema.WebhookOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
webhook | schema.Webhook | No |
schema.WebhookQuery
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
projectId | integer | Internal | No |
schema.WebhookQueryRequest
Name | Type | Description | Required |
---|---|---|---|
projectId | integer | No | |
query | schema.WebhookQuery | No |
schema.WebhookToggleRequest
Name | Type | Description | Required |
---|---|---|---|
enabled | boolean | No | |
webhookId | integer | No |
schema.WebhookType
Name | Type | Description | Required |
---|---|---|---|
schema.WebhookType | string |
schema.WebhookUpdateRequest
Name | Type | Description | Required |
---|---|---|---|
webhook | schema.WebhookInput | No | |
webhookId | integer | No |
schema.WebhooksOutput
Name | Type | Description | Required |
---|---|---|---|
graph | schema.Graph | No | |
webhooks | [ schema.Webhook ] | No |
schema.Weekdays
Name | Type | Description | Required |
---|---|---|---|
friday | boolean | No | |
monday | boolean | No | |
saturday | boolean | No | |
sunday | boolean | No | |
thursday | boolean | No | |
tuesday | boolean | No | |
wednesday | boolean | No |
schema.WikiLinks
Name | Type | Description | Required |
---|---|---|---|
activeDirectory | string | No | |
automation | string | No | |
categories | string | No | |
categoriesReports | string | No | |
channels | string | No | |
clientReports | string | No | |
clients | string | No | |
companies | string | No | |
dashboard | string | No | |
datesReports | string | No | |
generalSettings | string | No | |
groups | string | No | |
inbox | string | No | |
integrations | string | No | |
license | string | No | |
mailing | string | No | |
myClients | string | No | |
onlineReports | string | No | |
personalManagers | string | No | |
posting | string | No | |
productsServices | string | No | |
projectSettings | string | No | |
projects | string | No | |
quickReplies | string | No | |
roles | string | No | |
routing | string | No | |
statusReports | string | No | |
targets | string | No | |
ticketReports | string | No | |
tickets | string | No | |
userProfile | string | No | |
userReports | string | No | |
users | string | No | |
violationReports | string | No | |
workingHours | string | No | |
workingHoursReports | string | No |
schema.WorkSchedule
Name | Type | Description | Required |
---|---|---|---|
active | boolean | No | |
breakDuration | string | No | |
createdAt | string | No | |
deleted | boolean | No | |
fridayEnabled | boolean | No | |
fridayEndHour | integer | No | |
fridayStartHour | integer | No | |
id | integer | No | |
membersCount | integer | No | |
mondayEnabled | boolean | No | |
mondayEndHour | integer | No | |
mondayStartHour | integer | No | |
refreshedAt | string | No | |
saturdayEnabled | boolean | No | |
saturdayEndHour | integer | No | |
saturdayStartHour | integer | No | |
schedule | schema.Schedule | No | |
sundayEnabled | boolean | No | |
sundayEndHour | integer | No | |
sundayStartHour | integer | No | |
thursdayEnabled | boolean | No | |
thursdayEndHour | integer | No | |
thursdayStartHour | integer | No | |
title | string | No | |
tuesdayEnabled | boolean | No | |
tuesdayEndHour | integer | No | |
tuesdayStartHour | integer | No | |
updatedAt | string | No | |
wednesdayEnabled | boolean | No | |
wednesdayEndHour | integer | No | |
wednesdayStartHour | integer | No |
schema.WorkScheduleInput
Name | Type | Description | Required |
---|---|---|---|
breakDuration | string | No | |
schedule | schema.Schedule | No | |
title | string | No |
schema.WorkScheduleStatistic
Name | Type | Description | Required |
---|---|---|---|
avgTicketsPerHour | number | No | |
membersCount | integer | No | |
messagesCount | integer | No | |
schedule | schema.Schedule | No | |
scheduleID | integer | No | |
ticketPercentage | number | No | |
ticketsCount | integer | No | |
title | string | No |
schema.WorkScheduleStatisticOutput
Name | Type | Description | Required |
---|---|---|---|
workScheduleStatistic | [ schema.WorkScheduleStatistic ] | No |
sets.Int
Name | Type | Description | Required |
---|---|---|---|
sets.Int | object |
sets.Int64
Name | Type | Description | Required |
---|---|---|---|
sets.Int64 | object |
sets.String
Name | Type | Description | Required |
---|---|---|---|
sets.String | object |