Restructure omni services and add Chatwoot research snapshot

This commit is contained in:
Ruslan Bakiev
2026-02-21 11:11:27 +07:00
parent edea7a0034
commit b73babbbf6
7732 changed files with 978203 additions and 32 deletions

View File

@@ -0,0 +1,17 @@
type: object
properties:
id:
type: integer
description: Id of the contact
source_id:
type: string
description: The session identifier of the contact
name:
type: string
description: Name of the contact
email:
type: string
description: Email of the contact
pubsub_token:
type: string
description: The token to be used to connect to chatwoot websocket

View File

@@ -0,0 +1,16 @@
type: object
properties:
id:
type: integer
description: Id of the conversation
inbox_id:
type: string
description: The inbox id of the conversation
messages:
type: array
items:
$ref: '#/components/schemas/message'
description: Messages in the conversation
contact:
type: object
description: The contact information associated to the conversation

View File

@@ -0,0 +1,50 @@
type: object
properties:
identifier:
type: string
description: Inbox identifier
name:
type: string
description: Name of the inbox
timezone:
type: string
description: The timezone defined on the inbox
working_hours:
type: array
description: The working hours defined on the inbox
items:
type: object
properties:
day_of_week:
type: integer
description: Day of the week as a number. Sunday -> 0, Saturday -> 6
open_all_day:
type: boolean
description: Whether or not the business is open the whole day
closed_all_day:
type: boolean
description: Whether or not the business is closed the whole day
open_hour:
type: integer
description: Opening hour. Can be null if closed all day
open_minutes:
type: integer
description: Opening minute. Can be null if closed all day
close_hour:
type: integer
description: Closing hour. Can be null if closed all day
close_minutes:
type: integer
description: Closing minute. Can be null if closed all day
working_hours_enabled:
type: boolean
description: Whether of not the working hours are enabled on the inbox
csat_survey_enabled:
type: boolean
description: Whether of not the Customer Satisfaction survey is enabled on the inbox
greeting_enabled:
type: boolean
description: Whether of not the Greeting Message is enabled on the inbox
identity_validation_enabled:
type: boolean
description: Whether of not the User Identity Validation is enforced on the inbox

View File

@@ -0,0 +1,38 @@
type: object
properties:
id:
type: string
description: Id of the message
content:
type: string
description: Text content of the message
message_type:
type: string
description: Denotes the message type
content_type:
type: string
description: Content type of the message
content_attributes:
type: string
description: Additional content attributes of the message
created_at:
type: string
description: Created at time stamp of the message
conversation_id:
type: string
description: Conversation Id of the message
attachments:
type: array
items:
type: object
description: Attachments if any
sender:
type: object
description: Details of the sender