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,6 @@
in: path
name: account_id
schema:
type: integer
required: true
description: The numeric ID of the account

View File

@@ -0,0 +1,6 @@
in: path
name: id
schema:
type: integer
required: true
description: The ID of the agentbot to be updated

View File

@@ -0,0 +1,15 @@
in: query
name: sort
schema:
type: string
enum:
- name
- email
- phone_number
- last_activity_at
- -name
- -email
- -phone_number
- -last_activity_at
required: false
description: The attribute by which list should be sorted

View File

@@ -0,0 +1,6 @@
in: path
name: conversation_id
schema:
type: integer
required: true
description: The numeric ID of the conversation

View File

@@ -0,0 +1,6 @@
in: path
name: conversation_uuid
schema:
type: integer
required: true
description: The uuid of the conversation

View File

@@ -0,0 +1,6 @@
in: path
name: custom_filter_id
schema:
type: integer
required: true
description: The numeric ID of the custom filter

View File

@@ -0,0 +1,6 @@
in: path
name: hook_id
schema:
type: integer
required: true
description: The numeric ID of the integration hook

View File

@@ -0,0 +1,6 @@
in: path
name: inbox_id
schema:
type: integer
required: true
description: The ID of the Inbox

View File

@@ -0,0 +1,56 @@
account_id:
$ref: ./account_id.yml
agent_bot_id:
$ref: ./agent_bot_id.yml
team_id:
$ref: ./team_id.yml
inbox_id:
$ref: ./inbox_id.yml
hook_id:
$ref: ./hook_id.yml
source_id:
$ref: ./source_id.yml
contact_sort_param:
$ref: ./contact_sort.yml
conversation_id:
$ref: ./conversation_id.yml
conversation_uuid:
$ref: ./conversation_uuid.yml
custom_filter_id:
$ref: ./custom_filter_id.yml
webhook_id:
$ref: ./webhook_id.yml
message_id:
$ref: ./message_id.yml
page:
$ref: ./page.yml
platform_user_id:
$ref: ./platform_user_id.yml
report_type:
$ref: ./report_type.yml
report_metric:
$ref: ./report_metric.yml
public_inbox_identifier:
$ref: ./public/inbox_identifier.yml
public_contact_identifier:
$ref: ./public/contact_identifier.yml
portal_id:
$ref: ./portal_id.yml

View File

@@ -0,0 +1,6 @@
in: path
name: message_id
schema:
type: integer
required: true
description: The numeric ID of the message

View File

@@ -0,0 +1,7 @@
in: query
name: page
schema:
type: integer
default: 1
required: false
description: The page parameter

View File

@@ -0,0 +1,6 @@
in: path
name: id
schema:
type: integer
required: true
description: The numeric ID of the user on the platform

View File

@@ -0,0 +1,6 @@
in: path
name: id
schema:
type: string
required: true
description: The slug identifier of the portal

View File

@@ -0,0 +1,6 @@
in: path
name: contact_identifier
schema:
type: string
required: true
description: The source id of contact obtained on contact create

View File

@@ -0,0 +1,6 @@
in: path
name: inbox_identifier
schema:
type: string
required: true
description: The identifier obtained from API inbox channel

View File

@@ -0,0 +1,13 @@
in: query
name: metric
schema:
type: string
enum:
- conversations_count
- incoming_messages_count
- outgoing_messages_count
- avg_first_response_time
- avg_resolution_time
- resolutions_count
required: true
description: The type of metric

View File

@@ -0,0 +1,12 @@
in: query
name: type
schema:
type: string
enum:
- account
- agent
- inbox
- label
- team
required: true
description: Type of report

View File

@@ -0,0 +1,6 @@
in: path
name: source_id
required: true
schema:
type: string
description: "Id of the session for which the conversation is created.\n\n\n\n Source Ids can be obtained through contactable inboxes API or via generated.<br/><br/>Website: Chatwoot generated string which can be obtained from webhook events. <br/> Phone Channels(Twilio): Phone number in e164 format <br/> Email Channels: Contact Email address <br/> API Channel: Any Random String"

View File

@@ -0,0 +1,6 @@
in: path
name: team_id
schema:
type: integer
required: true
description: The ID of the team to be updated

View File

@@ -0,0 +1,6 @@
in: path
name: webhook_id
schema:
type: integer
required: true
description: The numeric ID of the webhook