-
Notifications
You must be signed in to change notification settings - Fork 42
feat(docs): update docs for fixing collision in summary naming #1623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| ### Chats | ||
|
|
||
| - The **List Archives** ([Web](/messaging/agent-chat-api/v3.7/#list-archives) & [RTM](/messaging/agent-chat-api/rtm-reference/#list-archives)) method has a new filter, `chat_ids`. | ||
| - The **List Chats** ([Web](/messaging/agent-chat-api/v3.7/#list-chats) & [RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#list-chats)) method's response body field `chats_summary` is renamed to `chats_info` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - The **List Chats** ([Web](/messaging/agent-chat-api/v3.7/#list-chats) & [RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#list-chats)) method's response body field `chats_summary` is renamed to `chats_info` | |
| - The **List Chats** ([Web](/messaging/agent-chat-api/v3.7/#list-chats) & [RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#list-chats)) method's response body field `chats_summary` was renamed to `chats_info`. |
|
|
||
| - The **List Archives** ([Web](/messaging/agent-chat-api/v3.7/#list-archives) & [RTM](/messaging/agent-chat-api/rtm-reference/#list-archives)) method has a new filter, `chat_ids`. | ||
| - The **List Chats** ([Web](/messaging/agent-chat-api/v3.7/#list-chats) & [RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#list-chats)) method's response body field `chats_summary` is renamed to `chats_info` | ||
| - The **Login** ([RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#login)) method's response body field `chats_summary` is renamed to `chats_info` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - The **Login** ([RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#login)) method's response body field `chats_summary` is renamed to `chats_info` | |
| - The **Login** ([RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#login)) method's response body field `chats_summary` was renamed to `chats_info`. |
| - The **List Archives** ([Web](/messaging/agent-chat-api/v3.7/#list-archives) & [RTM](/messaging/agent-chat-api/rtm-reference/#list-archives)) method has a new filter, `chat_ids`. | ||
| - The **List Chats** ([Web](/messaging/agent-chat-api/v3.7/#list-chats) & [RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#list-chats)) method's response body field `chats_summary` is renamed to `chats_info` | ||
| - The **Login** ([RTM](/messaging/agent-chat-api/v3.7/rtm-reference/#login)) method's response body field `chats_summary` is renamed to `chats_info` | ||
| - The **Chat summary** data structure renamed to [**Chat info**](/messaging/agent-chat-api/v3.7/data-structures#chat-info) and its field `last_thread_summary` renamed to `last_thread_info` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - The **Chat summary** data structure renamed to [**Chat info**](/messaging/agent-chat-api/v3.7/data-structures#chat-info) and its field `last_thread_summary` renamed to `last_thread_info` | |
| - The **Chat summary** data structure is renamed to [**Chat info**](/messaging/agent-chat-api/v3.7/data-structures#chat-info), and its field `last_thread_summary` is renamed to `last_thread_info`. |
| | Field | Data type | Notes | | ||
| | ------------------ | --------- | ------------------------------------------------------------------------------------------------------------ | | ||
| | `chats_summary` | `array` | An array of [Chat summary](/messaging/agent-chat-api/v3.7/data-structures/#chat-summaries) data structures | | ||
| | `chats_info` | `array` | An array of [Chat info](/messaging/agent-chat-api/v3.7/data-structures/#chat-info) data structures | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | `chats_info` | `array` | An array of [Chat info](/messaging/agent-chat-api/v3.7/data-structures/#chat-info) data structures | | |
| | `chats_info` | `array` | An array of [Chat info](/messaging/agent-chat-api/v3.7/data-structures/#chat-info) data structures. | |
| ### List Chats | ||
|
|
||
| It returns [summaries](/messaging/agent-chat-api/v3.7/data-structures/#chat-summaries) of the chats an agent has access to. | ||
| It returns [info](/messaging/agent-chat-api/v3.7/data-structures/#chat-info) about the chats an agent has access to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| It returns [info](/messaging/agent-chat-api/v3.7/data-structures/#chat-info) about the chats an agent has access to. | |
| It returns the [info](/messaging/agent-chat-api/v3.7/data-structures/#chat-info) about the chats an agent has access to. |
| It returns a list of the chats an agent has access to. Together with a **chat**, the **events** of **one thread** from this chat are returned. | ||
|
|
||
| The list classification is based on threads; 1 chat per 1 thread. Thus, the same **chat** object may appear on the list several times, but each time with a different **thread**. The returned **chat** is a complete object, not only a **chat summary**. | ||
| The list classification is based on threads; 1 chat per 1 thread. Thus, the same **chat** object may appear on the list several times, but each time with a different **thread**. The returned **chat** is a complete object, not only a **chat info**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The list classification is based on threads; 1 chat per 1 thread. Thus, the same **chat** object may appear on the list several times, but each time with a different **thread**. The returned **chat** is a complete object, not only a **chat info**. | |
| The list classification is based on threads; 1 chat per 1 thread. Thus, the same **chat** object may appear on the list several times, but each time with a different **thread**. The returned **chat** is a complete object, not only the **chat info**. |
| | Parameter | Required | Type | Notes | | ||
| | ------------ | -------- | -------- | -------------------------------------------------------------------------------------------------------------------- | | ||
| | `limit` | No | `number` | Maximum number of records returned on each [page](#pagination). Default: 10, maximum: 25. | | ||
| | `sort_order` | No | `string` | Possible values: `asc`, `desc` (default). Chat entries info are sorted by the creation date of its last thread. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | `sort_order` | No | `string` | Possible values: `asc`, `desc` (default). Chat entries info are sorted by the creation date of its last thread. | | |
| | `sort_order` | No | `string` | Possible values: `asc`, `desc` (default). The chat info entries are sorted by the creation date of their last thread. | |
| | Parameter | Required | Type | Notes | | ||
| | ------------ | -------- | -------- | --------------------------------------------------------------------------------------------------------------- | | ||
| | `limit` | No | `number` | Maximum number of records returned on each [page](#pagination). Default: 10, maximum: 25. | | ||
| | `sort_order` | No | `string` | Possible values: `asc`, `desc` (default). Chat info entries are sorted by the creation date of its last thread. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | `sort_order` | No | `string` | Possible values: `asc`, `desc` (default). Chat info entries are sorted by the creation date of its last thread. | | |
| | `sort_order` | No | `string` | Possible values: `asc`, `desc` (default). The chat info entries are sorted by the creation date of their last thread. | |
| 0 | ||
| ] | ||
| }, | ||
| "active": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When renaming the files, you also have to rename exports :D Otherwise, the build will fail. Exports are under:
/livechat-public-docs/payloads/messaging/v3.7/agent-chat-api/index.js for agent
/livechat-public-docs/payloads/messaging/v3.7/customer-chat-api/index.js for customer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx :)
oliwiapolec
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DM me if this can be merged
Release requirements
PR information
What does this PR do? (optional)
This PR's goal is to fix collision in naming of our structs so that only data structures related to AI thread summary feature would use summary in their names. Data structures meant as shorter versions of chats and threads are renamed to chat info and thread info
Type of change
Deploy preview
The deploy preview link will appear in the checks section below once the build is complete.
Versioning
Pull request titles should comply with the Conventional Commits specification. This is required to update the project's version.