2021-06-15 18:44:09 +00:00
|
|
|
## ---------- ERRORS ------------- ##
|
|
|
|
## -------------------------------- ##
|
2020-02-23 07:24:29 +00:00
|
|
|
bad_request_error:
|
|
|
|
$ref: ./error/bad_request.yml
|
|
|
|
request_error:
|
|
|
|
$ref: ./error/request.yml
|
|
|
|
|
2021-06-15 18:44:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
## ---------- RESOURCE ------------- ##
|
|
|
|
## -------------------------------- ##
|
|
|
|
|
2020-02-23 19:21:31 +00:00
|
|
|
generic_id:
|
|
|
|
$ref: ./resource/extension/generic.yml
|
2022-03-25 19:13:44 +00:00
|
|
|
canned_response:
|
|
|
|
$ref: ./resource/canned_response.yml
|
2022-04-07 13:31:31 +00:00
|
|
|
custom_attribute:
|
|
|
|
$ref: ./resource/custom_attribute.yml
|
2022-06-14 05:05:56 +00:00
|
|
|
automation_rule:
|
|
|
|
$ref: ./resource/automation_rule.yml
|
2020-02-23 07:24:29 +00:00
|
|
|
contact:
|
|
|
|
$ref: ./resource/contact.yml
|
|
|
|
conversation:
|
|
|
|
$ref: ./resource/conversation.yml
|
2020-02-23 19:21:31 +00:00
|
|
|
message:
|
|
|
|
$ref: ./resource/message.yml
|
|
|
|
user:
|
|
|
|
$ref: ./resource/user.yml
|
2021-09-14 06:25:02 +00:00
|
|
|
agent:
|
|
|
|
$ref: ./resource/agent.yml
|
2020-03-11 10:49:13 +00:00
|
|
|
inbox:
|
|
|
|
$ref: ./resource/inbox.yml
|
2020-04-07 05:11:18 +00:00
|
|
|
agent_bot:
|
|
|
|
$ref: ./resource/agent_bot.yml
|
2020-08-18 06:44:37 +00:00
|
|
|
contact_inboxes:
|
|
|
|
$ref: ./resource/contact_inboxes.yml
|
2021-05-11 17:08:46 +00:00
|
|
|
contactable_inboxes:
|
|
|
|
$ref: ./resource/contactable_inboxes.yml
|
2021-06-29 13:59:57 +00:00
|
|
|
custom_filter:
|
|
|
|
$ref: ./resource/custom_filter.yml
|
2022-05-19 16:13:23 +00:00
|
|
|
webhook:
|
|
|
|
$ref: ./resource/webhook.yml
|
2020-08-18 06:44:37 +00:00
|
|
|
account:
|
|
|
|
$ref: ./resource/account.yml
|
2021-05-31 05:28:43 +00:00
|
|
|
platform_account:
|
|
|
|
$ref: ./resource/platform_account.yml
|
2021-05-05 15:09:00 +00:00
|
|
|
team:
|
|
|
|
$ref: ./resource/team.yml
|
2021-05-20 15:16:45 +00:00
|
|
|
integrations_app:
|
2021-06-15 18:44:09 +00:00
|
|
|
$ref: ./resource/integrations/app.yml
|
2021-05-20 15:16:45 +00:00
|
|
|
integrations_hook:
|
2021-06-15 18:44:09 +00:00
|
|
|
$ref: ./resource/integrations/hook.yml
|
|
|
|
|
|
|
|
## public resources
|
|
|
|
public_contact:
|
|
|
|
$ref: ./resource/public/contact.yml
|
|
|
|
public_conversation:
|
|
|
|
$ref: ./resource/public/conversation.yml
|
|
|
|
public_message:
|
|
|
|
$ref: ./resource/public/message.yml
|
|
|
|
|
2020-08-18 06:44:37 +00:00
|
|
|
|
2021-06-15 18:44:09 +00:00
|
|
|
## ---------- REQUEST------------- ##
|
|
|
|
## -------------------------------- ##
|
|
|
|
|
|
|
|
account_create_update_payload:
|
|
|
|
$ref: ./request/account/create_update_payload.yml
|
|
|
|
|
|
|
|
agent_bot_create_update_payload:
|
|
|
|
$ref: ./request/agent_bot/create_update_payload.yml
|
|
|
|
|
|
|
|
user_create_update_payload:
|
|
|
|
$ref: ./request/user/create_update_payload.yml
|
|
|
|
|
2022-03-25 19:13:44 +00:00
|
|
|
canned_response_create_update_payload:
|
|
|
|
$ref: ./request/canned_response/create_update_payload.yml
|
|
|
|
|
2022-04-07 13:31:31 +00:00
|
|
|
custom_attribute_create_update_payload:
|
|
|
|
$ref: ./request/custom_attribute/create_update_payload.yml
|
2021-06-15 18:44:09 +00:00
|
|
|
## contact
|
|
|
|
contact_create:
|
|
|
|
$ref: ./request/contact/create.yml
|
|
|
|
contact_update:
|
|
|
|
$ref: ./request/contact/update.yml
|
|
|
|
|
|
|
|
## conversation
|
|
|
|
conversation_message_create:
|
|
|
|
$ref: ./request/conversation/create_message.yml
|
|
|
|
|
|
|
|
# Team request Payload
|
|
|
|
team_create_update_payload:
|
|
|
|
$ref: ./request/team/create_update_payload.yml
|
|
|
|
|
2021-06-29 13:59:57 +00:00
|
|
|
# Custom Filter request Payload
|
|
|
|
custom_filter_create_update_payload:
|
|
|
|
$ref: ./request/custom_filter/create_update_payload.yml
|
|
|
|
|
2022-05-19 16:13:23 +00:00
|
|
|
webhook_create_update_payload:
|
|
|
|
$ref: ./request/webhooks/create_update_payload.yml
|
|
|
|
|
2021-06-15 18:44:09 +00:00
|
|
|
integrations_hook_create_payload:
|
|
|
|
$ref: ./request/integrations/hook_create_payload.yml
|
|
|
|
|
|
|
|
integrations_hook_update_payload:
|
|
|
|
$ref: ./request/integrations/hook_update_payload.yml
|
|
|
|
|
2022-06-14 05:05:56 +00:00
|
|
|
# Automation Rule
|
|
|
|
automation_rule_create_update_payload:
|
|
|
|
$ref: ./request/automation_rule/create_update_payload.yml
|
|
|
|
|
2021-06-15 18:44:09 +00:00
|
|
|
|
|
|
|
## public requests
|
|
|
|
public_contact_create_update_payload:
|
|
|
|
$ref: ./request/public/contact/create_update_payload.yml
|
|
|
|
|
|
|
|
public_message_create_payload:
|
|
|
|
$ref: ./request/public/message/create_payload.yml
|
|
|
|
public_message_update_payload:
|
|
|
|
$ref: ./request/public/message/update_payload.yml
|
|
|
|
|
|
|
|
## ---------- RESPONSE ------------- ##
|
|
|
|
## -------------------------------- ##
|
2020-02-23 19:21:31 +00:00
|
|
|
|
|
|
|
## contact
|
2020-02-23 07:24:29 +00:00
|
|
|
extended_contact:
|
|
|
|
allOf:
|
|
|
|
- $ref: '#/definitions/contact'
|
|
|
|
- $ref: ./resource/extension/contact/show.yml
|
|
|
|
contact_base:
|
|
|
|
allOf:
|
2020-02-23 19:21:31 +00:00
|
|
|
- $ref: '#/definitions/generic_id'
|
2020-02-23 07:24:29 +00:00
|
|
|
- $ref: '#/definitions/contact'
|
|
|
|
contact_list:
|
|
|
|
type: array
|
2020-02-23 19:21:31 +00:00
|
|
|
description: 'array of contacts'
|
2020-02-23 07:24:29 +00:00
|
|
|
items:
|
|
|
|
allOf:
|
2020-02-23 19:21:31 +00:00
|
|
|
- $ref: '#/definitions/generic_id'
|
2020-02-23 07:24:29 +00:00
|
|
|
- $ref: '#/definitions/contact'
|
|
|
|
contact_conversations:
|
|
|
|
type: array
|
2020-02-23 19:21:31 +00:00
|
|
|
description: 'array of conversations'
|
2020-02-23 07:24:29 +00:00
|
|
|
items:
|
|
|
|
allOf:
|
|
|
|
- $ref: '#/definitions/conversation'
|
|
|
|
- $ref: ./resource/extension/contact/conversation.yml
|
2020-02-23 19:21:31 +00:00
|
|
|
- $ref: ./resource/extension/conversation/with_display_id.yml
|
|
|
|
|
|
|
|
## conversation
|
|
|
|
conversation_list:
|
|
|
|
$ref: ./resource/extension/conversation/list.yml
|
|
|
|
conversation_show:
|
|
|
|
$ref: ./resource/extension/conversation/show.yml
|
|
|
|
conversation_status_toggle:
|
|
|
|
$ref: ./resource/extension/conversation/status_toggle.yml
|
|
|
|
conversation_labels:
|
|
|
|
$ref: ./resource/extension/conversation/labels.yml
|
|
|
|
|
|
|
|
## message
|
|
|
|
extended_message:
|
|
|
|
allOf:
|
|
|
|
- $ref: '#/definitions/generic_id'
|
|
|
|
- $ref: '#/definitions/message'
|
|
|
|
- $ref: ./resource/extension/message/with_source_sender.yml
|
2021-08-27 17:16:32 +00:00
|
|
|
|
|
|
|
|
2022-03-29 05:01:52 +00:00
|
|
|
## report
|
|
|
|
account_summary:
|
|
|
|
$ref: './resource/reports/summary.yml'
|
|
|
|
agent_conversation_metrics:
|
|
|
|
$ref: './resource/reports/conversation/agent.yml'
|