Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const VERSIONS_GROUPS = {
STABLE_VERSION: "3.6",
LEGACY_VERSIONS: ["3.5", "3.4"],
DEV_PREVIEW_VERSION: "3.7",
DEPRECATED_VERSIONS: ["3.3"],
ALL_VERSIONS: ["3.7", "3.6", "3.5", "3.4", "3.3"],
DEPRECATED_VERSIONS: [],
ALL_VERSIONS: ["3.7", "3.6", "3.5", "3.4"],
},
"chat-widget": {
STABLE_VERSION: "4.0",
Expand All @@ -17,8 +17,8 @@ const VERSIONS_GROUPS = {
STABLE_VERSION: "3.6",
LEGACY_VERSIONS: ["3.5", "3.4", "2.0"],
DEV_PREVIEW_VERSION: "3.7",
DEPRECATED_VERSIONS: ["3.3"],
ALL_VERSIONS: ["3.7", "3.6", "3.5", "3.4", "3.3", "2.0"],
DEPRECATED_VERSIONS: [],
ALL_VERSIONS: ["3.7", "3.6", "3.5", "3.4", "2.0"],
},
"customer-accounts-api": {
STABLE_VERSION: "2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/data-reporting/reports-api/v3.3/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: "Reports API"
tagline: "Access and extract data from Reports."
desc: "See how you can access and extract data from Reports with the use of Reports API."
versionGroup: "data-reporting"
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/management/configuration-api/v3.3/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: "Configuration API"
subtitle: "Commands & Methods List"
tagline: "Set up webhooks, create Bots or properties."
desc: "Reach out for the Configuration API to create Bots, webhooks, or properties. Check types of features and available methods."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/management/webhooks/v3.3/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "webhooks"
title: "Webhooks"
tagline: "The refrence of LiveChat webhooks."
desc: "The refrence of available LiveChat webhooks. Use webhooks to build automated flows in your integrations."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "agent-chat-api"
title: "Data structures"
tagline: "The reference of LiveChat data structures."
desc: "The reference of LiveChat data structures. Here, you can review the event and user objects, as well as other common structures."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/messaging/agent-chat-api/v3.3/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "agent-chat-api"
title: "Web API Reference"
tagline: "Interact with the chat as an Agent."
desc: "Build powerful Text integrations with an open messaging protocol. Use the Agent Chat Web API to send messages and manage access and properties."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "agent-chat-api"
title: "RTM pushes"
tagline: "The reference of LiveChat RTM API pushes."
desc: "This document contains a reference of LiveChat RTM API pushes."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "agent-chat-api"
title: "RTM API Reference"
tagline: "Interact with the chat as an Agent."
desc: "Build powerful LiveChat integrations with an open messaging protocol. Use the Agent Chat RTM API to send messages, manage access and properties."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "customer-chat-api"
title: "Data structures"
tagline: "The reference of LiveChat data structures."
desc: "Check the reference of LiveChat data structures. Here, you can review the event and user objects, as well as other common structures."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/messaging/customer-chat-api/v3.3/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "customer-chat-api"
title: "Web API Reference"
tagline: "Interact with the chat as a Customer."
desc: "Use the Customer Chat Web API v3.3 to interact as a Customer."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down
28 changes: 14 additions & 14 deletions src/pages/messaging/customer-chat-api/v3.3/rtm-pushes/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "customer-chat-api"
title: "RTM pushes"
tagline: "The reference of LiveChat RTM API pushes."
desc: "This document contains a reference of LiveChat RTM API pushes."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down Expand Up @@ -506,19 +506,19 @@ Informs that a Customer was disconnected. The payload contains the reason of Cus

Based on the received `reason` we suggest a different reaction.

| Type | Notes | Suggested behavior |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------- |
| `access_token_expired` | Access token lifetime has elapsed. | Reconnect and generate a new access token. |
| `connection_evicted` | The Customer Chat API should be available again soon. | Reconnect. |
| `connection_timeout` | Has not received [`ping`](#authentication) from the client for some time, or it's been too long since the connection was authorized. | Reconnect. |
| `internal_error` | Internal error. | Reconnect. |
| `license_not_found` | The license with the specified ID doesn't exist. | Don't reconnect. |
| `license_expired` | The license has expired. | Don't reconnect. |
| `misdirected_connection` **\*\*** | Customer connected to a server in the wrong region. | Don't reconnect. |
| `unsupported_version` | Connecting to an unsupported version of the Customer Chat API. | Don't reconnect. |
| `service_temporarily_unavailable` | The Customer Chat API should be available again soon. | Reconnect. |
| `too_many_connections` | Customer has reached the maximum number of connections. | Don't reconnect. |
| `too_many_unauthorized_connections` | The maximum number of unauthorized connections has been reached. | Reconnect. |
| Type | Notes | Suggested behavior |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------ |
| `access_token_expired` | Access token lifetime has elapsed. | Reconnect and generate a new access token. |
| `connection_evicted` | The Customer Chat API should be available again soon. | Reconnect. |
| `connection_timeout` | Has not received [`ping`](#authentication) from the client for some time, or it's been too long since the connection was authorized. | Reconnect. |
| `internal_error` | Internal error. | Reconnect. |
| `license_not_found` | The license with the specified ID doesn't exist. | Don't reconnect. |
| `license_expired` | The license has expired. | Don't reconnect. |
| `misdirected_connection` **\*\*** | Customer connected to a server in the wrong region. | Don't reconnect. |
| `unsupported_version` | Connecting to an unsupported version of the Customer Chat API. | Don't reconnect. |
| `service_temporarily_unavailable` | The Customer Chat API should be available again soon. | Reconnect. |
| `too_many_connections` | Customer has reached the maximum number of connections. | Don't reconnect. |
| `too_many_unauthorized_connections` | The maximum number of unauthorized connections has been reached. | Reconnect. |

**\*)**
The `customer_temporarily_blocked` reason can also return the correct timeout in an optional data object. With this piece of information, client is able to figure out how much time a customer should wait before attempting to reconnect again.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subcategory: "customer-chat-api"
title: "RTM API Reference"
tagline: "Interact with the chat as a Customer."
desc: "Use the Customer Chat Real-Time Messaging API to interact as a Customer."
apiVersion: "3.3"
apiVersion: ""
robots: "noindex"
---

Expand Down