# ConversationsByWebsiteId: Crisp Conversations ## Documentation Lists conversations for website. - Catalog: `Crisp` - Schema: `Crisp` - Primary Keys: `session_id` - Label: Conversations This is a read-only table function. The Crisp API may not support changing the data or the Invantive UniversalSQL driver for Crisp does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Crisp API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `ConversationsByWebsiteId`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `filter_assigned` | `varchar2` | ☐ | | Retrieve only the conversations assigned to this operator user identifier. | | `filter_assigned` | `varchar2` | ☐ | | Retrieve only the conversations assigned to this operator user identifier. | | `filter_date_end` | `datetime` | ☐ | | Retrieve only the conversations updated at or before this moment (UTC). | | `filter_date_end` | `datetime` | ☐ | | Retrieve only the conversations updated at or before this moment (UTC). | | `filter_date_start` | `datetime` | ☐ | | Retrieve only the conversations updated at or after this moment (UTC). | | `filter_date_start` | `datetime` | ☐ | | Retrieve only the conversations updated at or after this moment (UTC). | | `filter_inbox_id` | `varchar2` | ☐ | | Retrieve only the conversations categorized under this inbox; use all for every inbox. | | `filter_inbox_id` | `varchar2` | ☐ | | Retrieve only the conversations categorized under this inbox; use all for every inbox. | | `filter_mention` | `boolean` | ☐ | | Retrieve only the conversations in which the user of the token is mentioned. | | `filter_mention` | `boolean` | ☐ | | Retrieve only the conversations in which the user of the token is mentioned. | | `filter_not_resolved` | `boolean` | ☐ | | Retrieve only the conversations which are not resolved. | | `filter_not_resolved` | `boolean` | ☐ | | Retrieve only the conversations which are not resolved. | | `filter_resolved` | `boolean` | ☐ | | Retrieve only the conversations which are resolved. | | `filter_resolved` | `boolean` | ☐ | | Retrieve only the conversations which are resolved. | | `filter_unassigned` | `boolean` | ☐ | | Retrieve only the conversations which are not assigned to any operator. | | `filter_unassigned` | `boolean` | ☐ | | Retrieve only the conversations which are not assigned to any operator. | | `filter_unread` | `boolean` | ☐ | | Retrieve only the conversations with unread messages. | | `filter_unread` | `boolean` | ☐ | | Retrieve only the conversations with unread messages. | | `include_empty` | `boolean` | ☐ | | Whether to include the conversations without any message. | | `include_empty` | `boolean` | ☐ | | Whether to include the conversations without any message. | | `order_date_created` | `boolean` | ☐ | | Whether to order the conversations by creation date instead of the default order. | | `order_date_created` | `boolean` | ☐ | | Whether to order the conversations by creation date instead of the default order. | | `order_date_updated` | `boolean` | ☐ | | Whether to order the conversations by update date instead of the default order. | | `order_date_updated` | `boolean` | ☐ | | Whether to order the conversations by update date instead of the default order. | | `order_date_waiting` | `boolean` | ☐ | | Whether to order the conversations by longest waiting date instead of the default order; this also leaves out the conversations which are not waiting. | | `order_date_waiting` | `boolean` | ☐ | | Whether to order the conversations by longest waiting date instead of the default order; this also leaves out the conversations which are not waiting. | | `search_operator` | `varchar2` | ☐ | | Search operator when the search type is filter; and or or, defaults to and. | | `search_operator` | `varchar2` | ☐ | | Search operator when the search type is filter; and or or, defaults to and. | | `search_query` | `varchar2` | ☐ | | Search term over all conversations; a text when search_type is text or segment and a filter when it is filter. | | `search_query` | `varchar2` | ☐ | | Search term over all conversations; a text when search_type is text or segment and a filter when it is filter. | | `search_type` | `varchar2` | ☐ | | Search type; one of text, segment and filter. | | `search_type` | `varchar2` | ☐ | | Search type; one of text, segment and filter. | | `website_id` | `varchar2` | ☐ | | The website identifier. Defaults to the website ID of the connection when left out. | | `website_id` | `varchar2` | ☐ | | The website identifier. Defaults to the website ID of the connection when left out. | ## Columns of Table Function The columns of the table function `ConversationsByWebsiteId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `active_last` | `datetime` | | ☐ | Timestamp at which the user was last active. | | `active_last` | `datetime` | | ☐ | Timestamp at which the user was last active. | | `active_now` | `char` | | ☑ | Whether user is considered active right now or not. | | `active_now` | `char` | | ☑ | Whether user is considered active right now or not. | | `assigned_user_id` | `varchar2` | | ☐ | Operator user identifier. | | `assigned_user_id` | `varchar2` | | ☐ | Operator user identifier. | | `availability` | `varchar2` | | ☑ | Visitor availability; one of online and offline. | | `availability` | `varchar2` | | ☑ | Visitor availability; one of online and offline. | | `compose_operator_automated` | `char` | | ☐ | Whether compose is automated or not (ie. comes from a bot). | | `compose_operator_automated` | `char` | | ☐ | Whether compose is automated or not (ie. comes from a bot). | | `compose_operator_excerpt` | `varchar2` | | ☐ | Message excerpt for compose state. | | `compose_operator_excerpt` | `varchar2` | | ☐ | Message excerpt for compose state. | | `compose_operator_timestamp` | `datetime` | | ☐ | Timestamp for compose state. | | `compose_operator_timestamp` | `datetime` | | ☐ | Timestamp for compose state. | | `compose_operator_type` | `varchar2` | | ☐ | Compose state type; one of start and stop. | | `compose_operator_type` | `varchar2` | | ☐ | Compose state type; one of start and stop. | | `compose_operator_user_avatar` | `varchar2` | | ☐ | Compose user avatar. | | `compose_operator_user_avatar` | `varchar2` | | ☐ | Compose user avatar. | | `compose_operator_user_nickname` | `varchar2` | | ☐ | Compose user nickname. | | `compose_operator_user_nickname` | `varchar2` | | ☐ | Compose user nickname. | | `compose_operator_user_user_id` | `varchar2` | | ☐ | Compose user identifier. | | `compose_operator_user_user_id` | `varchar2` | | ☐ | Compose user identifier. | | `compose_visitor_automated` | `char` | | ☐ | Whether compose is automated or not (ie. comes from a bot). | | `compose_visitor_automated` | `char` | | ☐ | Whether compose is automated or not (ie. comes from a bot). | | `compose_visitor_excerpt` | `varchar2` | | ☐ | Message excerpt for compose state. | | `compose_visitor_excerpt` | `varchar2` | | ☐ | Message excerpt for compose state. | | `compose_visitor_timestamp` | `datetime` | | ☐ | Timestamp for compose state. | | `compose_visitor_timestamp` | `datetime` | | ☐ | Timestamp for compose state. | | `compose_visitor_type` | `varchar2` | | ☐ | Compose state type; one of start and stop. | | `compose_visitor_type` | `varchar2` | | ☐ | Compose state type; one of start and stop. | | `created_at` | `datetime` | | ☑ | Conversation creation timestamp. | | `created_at` | `datetime` | | ☑ | Conversation creation timestamp. | | `inbox_id` | `varchar2` | | ☐ | Inbox identifier. | | `inbox_id` | `varchar2` | | ☐ | Inbox identifier. | | `is_blocked` | `char` | | ☑ | Whether session is blocked or not (block messages from visitor). | | `is_blocked` | `char` | | ☑ | Whether session is blocked or not (block messages from visitor). | | `is_verified` | `char` | | ☐ | Whether session is verified or not (user email ownership is authenticated). | | `is_verified` | `char` | | ☐ | Whether session is verified or not (user email ownership is authenticated). | | `last_message` | `varchar2` | | ☐ | Last message excerpt (from visitor). | | `last_message` | `varchar2` | | ☐ | Last message excerpt (from visitor). | | `meta_address` | `varchar2` | | ☐ | Visitor address. | | `meta_address` | `varchar2` | | ☐ | Visitor address. | | `meta_avatar` | `varchar2` | | ☐ | Visitor avatar. | | `meta_avatar` | `varchar2` | | ☐ | Visitor avatar. | | `meta_connection_asn` | `varchar2` | | ☐ | Autonomous system number, derived by Crisp from the IP address. | | `meta_connection_asn` | `varchar2` | | ☐ | Autonomous system number, derived by Crisp from the IP address. | | `meta_connection_isp` | `varchar2` | | ☐ | Name of the internet service provider, derived by Crisp from the IP address. | | `meta_connection_isp` | `varchar2` | | ☐ | Name of the internet service provider, derived by Crisp from the IP address. | | `meta_data` | `varchar2` | | ☐ | Visitor data as JSON. | | `meta_data` | `varchar2` | | ☐ | Visitor data as JSON. | | `meta_device_geolocation_city` | `varchar2` | | ☐ | City name. | | `meta_device_geolocation_city` | `varchar2` | | ☐ | City name. | | `meta_device_geolocation_coordinates_latitude` | `decimal` | | ☐ | Latitude coordinate. | | `meta_device_geolocation_coordinates_latitude` | `decimal` | | ☐ | Latitude coordinate. | | `meta_device_geolocation_coordinates_longitude` | `decimal` | | ☐ | Longitude coordinate. | | `meta_device_geolocation_coordinates_longitude` | `decimal` | | ☐ | Longitude coordinate. | | `meta_device_geolocation_country` | `varchar2` | | ☐ | Country code. | | `meta_device_geolocation_country` | `varchar2` | | ☐ | Country code. | | `meta_device_geolocation_region` | `varchar2` | | ☐ | Region code. | | `meta_device_geolocation_region` | `varchar2` | | ☐ | Region code. | | `meta_device_system_browser_major` | `varchar2` | | ☐ | Browser major version (eg: version 8.1 has a major of 8). | | `meta_device_system_browser_major` | `varchar2` | | ☐ | Browser major version (eg: version 8.1 has a major of 8). | | `meta_device_system_browser_name` | `varchar2` | | ☐ | Browser name. | | `meta_device_system_browser_name` | `varchar2` | | ☐ | Browser name. | | `meta_device_system_browser_version` | `varchar2` | | ☐ | Browser version. | | `meta_device_system_browser_version` | `varchar2` | | ☐ | Browser version. | | `meta_device_system_engine_name` | `varchar2` | | ☐ | Engine name. | | `meta_device_system_engine_name` | `varchar2` | | ☐ | Engine name. | | `meta_device_system_engine_version` | `varchar2` | | ☐ | Engine version. | | `meta_device_system_engine_version` | `varchar2` | | ☐ | Engine version. | | `meta_device_system_os_name` | `varchar2` | | ☐ | OS name. | | `meta_device_system_os_name` | `varchar2` | | ☐ | OS name. | | `meta_device_system_os_version` | `varchar2` | | ☐ | OS version. | | `meta_device_system_os_version` | `varchar2` | | ☐ | OS version. | | `meta_device_system_useragent` | `varchar2` | | ☐ | Visitor user agent. | | `meta_device_system_useragent` | `varchar2` | | ☐ | Visitor user agent. | | `meta_device_timezone` | `int32` | | ☐ | Visitor device time zone offset in minutes relative to UTC, negated (-120 stands for UTC+02:00). | | `meta_device_timezone` | `int32` | | ☐ | Visitor device time zone offset in minutes relative to UTC, negated (-120 stands for UTC+02:00). | | `meta_email` | `varchar2` | | ☐ | Visitor email. | | `meta_email` | `varchar2` | | ☐ | Visitor email. | | `meta_ip` | `varchar2` | | ☐ | Visitor IP address. | | `meta_ip` | `varchar2` | | ☐ | Visitor IP address. | | `meta_nickname` | `varchar2` | | ☐ | Visitor nickname. | | `meta_nickname` | `varchar2` | | ☐ | Visitor nickname. | | `meta_origin` | `varchar2` | | ☐ | Conversation origin; chat, email or a URN of the channel used. | | `meta_origin` | `varchar2` | | ☐ | Conversation origin; chat, email or a URN of the channel used. | | `meta_phone` | `varchar2` | | ☐ | Visitor phone. | | `meta_phone` | `varchar2` | | ☐ | Visitor phone. | | `meta_subject` | `varchar2` | | ☐ | Subject for conversation (if any). | | `meta_subject` | `varchar2` | | ☐ | Subject for conversation (if any). | | `people_id` | `varchar2` | | ☐ | People identifier. | | `people_id` | `varchar2` | | ☐ | People identifier. | | `preview_message_excerpt` | `varchar2` | | ☐ | Preview message excerpt. | | `preview_message_excerpt` | `varchar2` | | ☐ | Preview message excerpt. | | `preview_message_fingerprint` | `int64` | | ☐ | Preview message fingerprint. | | `preview_message_fingerprint` | `int64` | | ☐ | Preview message fingerprint. | | `preview_message_from` | `varchar2` | | ☐ | Preview message sender; one of user and operator. | | `preview_message_from` | `varchar2` | | ☐ | Preview message sender; one of user and operator. | | `preview_message_type` | `varchar2` | | ☐ | Preview message type. | | `preview_message_type` | `varchar2` | | ☐ | Preview message type. | | `session_id` | `varchar2` | | ☑ | Session identifier. | | `session_id` | `varchar2` | | ☑ | Session identifier. | | `state` | `varchar2` | | ☑ | Conversation state; one of pending, unresolved and resolved. | | `state` | `varchar2` | | ☑ | Conversation state; one of pending, unresolved and resolved. | | `status` | `int32` | | ☑ | Conversation status (a numeric alias of the state; useful for sorting conversations). | | `status` | `int32` | | ☑ | Conversation status (a numeric alias of the state; useful for sorting conversations). | | `topic` | `varchar2` | | ☐ | Topic for conversation (based on messages). | | `topic` | `varchar2` | | ☐ | Topic for conversation (based on messages). | | `unread_operator` | `int32` | | ☑ | Unread messages counter for operator. | | `unread_operator` | `int32` | | ☑ | Unread messages counter for operator. | | `unread_visitor` | `int32` | | ☑ | Unread messages counter for visitor. | | `unread_visitor` | `int32` | | ☑ | Unread messages counter for visitor. | | `updated_at` | `datetime` | | ☑ | Conversation update timestamp. | | `updated_at` | `datetime` | | ☑ | Conversation update timestamp. | | `waiting_since` | `datetime` | | ☐ | Conversation waiting since timestamp (if any). | | `waiting_since` | `datetime` | | ☐ | Conversation waiting since timestamp (if any). | | `website_id` | `varchar2` | | ☑ | Website identifier. | | `website_id` | `varchar2` | | ☑ | Website identifier. |# ConversationsByWebsiteId: Crisp Conversations ## Documentation Lists conversations for website. - Catalog: `Crisp` - Schema: `Crisp` - Primary Keys: `session_id` - Label: Conversations This is a read-only table function. The Crisp API may not support changing the data or the Invantive UniversalSQL driver for Crisp does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Crisp API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `ConversationsByWebsiteId`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `filter_assigned` | `varchar2` | ☐ | | Retrieve only the conversations assigned to this operator user identifier. | | `filter_assigned` | `varchar2` | ☐ | | Retrieve only the conversations assigned to this operator user identifier. | | `filter_date_end` | `datetime` | ☐ | | Retrieve only the conversations updated at or before this moment (UTC). | | `filter_date_end` | `datetime` | ☐ | | Retrieve only the conversations updated at or before this moment (UTC). | | `filter_date_start` | `datetime` | ☐ | | Retrieve only the conversations updated at or after this moment (UTC). | | `filter_date_start` | `datetime` | ☐ | | Retrieve only the conversations updated at or after this moment (UTC). | | `filter_inbox_id` | `varchar2` | ☐ | | Retrieve only the conversations categorized under this inbox; use all for every inbox. | | `filter_inbox_id` | `varchar2` | ☐ | | Retrieve only the conversations categorized under this inbox; use all for every inbox. | | `filter_mention` | `boolean` | ☐ | | Retrieve only the conversations in which the user of the token is mentioned. | | `filter_mention` | `boolean` | ☐ | | Retrieve only the conversations in which the user of the token is mentioned. | | `filter_not_resolved` | `boolean` | ☐ | | Retrieve only the conversations which are not resolved. | | `filter_not_resolved` | `boolean` | ☐ | | Retrieve only the conversations which are not resolved. | | `filter_resolved` | `boolean` | ☐ | | Retrieve only the conversations which are resolved. | | `filter_resolved` | `boolean` | ☐ | | Retrieve only the conversations which are resolved. | | `filter_unassigned` | `boolean` | ☐ | | Retrieve only the conversations which are not assigned to any operator. | | `filter_unassigned` | `boolean` | ☐ | | Retrieve only the conversations which are not assigned to any operator. | | `filter_unread` | `boolean` | ☐ | | Retrieve only the conversations with unread messages. | | `filter_unread` | `boolean` | ☐ | | Retrieve only the conversations with unread messages. | | `include_empty` | `boolean` | ☐ | | Whether to include the conversations without any message. | | `include_empty` | `boolean` | ☐ | | Whether to include the conversations without any message. | | `order_date_created` | `boolean` | ☐ | | Whether to order the conversations by creation date instead of the default order. | | `order_date_created` | `boolean` | ☐ | | Whether to order the conversations by creation date instead of the default order. | | `order_date_updated` | `boolean` | ☐ | | Whether to order the conversations by update date instead of the default order. | | `order_date_updated` | `boolean` | ☐ | | Whether to order the conversations by update date instead of the default order. | | `order_date_waiting` | `boolean` | ☐ | | Whether to order the conversations by longest waiting date instead of the default order; this also leaves out the conversations which are not waiting. | | `order_date_waiting` | `boolean` | ☐ | | Whether to order the conversations by longest waiting date instead of the default order; this also leaves out the conversations which are not waiting. | | `search_operator` | `varchar2` | ☐ | | Search operator when the search type is filter; and or or, defaults to and. | | `search_operator` | `varchar2` | ☐ | | Search operator when the search type is filter; and or or, defaults to and. | | `search_query` | `varchar2` | ☐ | | Search term over all conversations; a text when search_type is text or segment and a filter when it is filter. | | `search_query` | `varchar2` | ☐ | | Search term over all conversations; a text when search_type is text or segment and a filter when it is filter. | | `search_type` | `varchar2` | ☐ | | Search type; one of text, segment and filter. | | `search_type` | `varchar2` | ☐ | | Search type; one of text, segment and filter. | | `website_id` | `varchar2` | ☐ | | The website identifier. Defaults to the website ID of the connection when left out. | | `website_id` | `varchar2` | ☐ | | The website identifier. Defaults to the website ID of the connection when left out. | ## Columns of Table Function The columns of the table function `ConversationsByWebsiteId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `active_last` | `datetime` | | ☐ | Timestamp at which the user was last active. | | `active_last` | `datetime` | | ☐ | Timestamp at which the user was last active. | | `active_now` | `char` | | ☑ | Whether user is considered active right now or not. | | `active_now` | `char` | | ☑ | Whether user is considered active right now or not. | | `assigned_user_id` | `varchar2` | | ☐ | Operator user identifier. | | `assigned_user_id` | `varchar2` | | ☐ | Operator user identifier. | | `availability` | `varchar2` | | ☑ | Visitor availability; one of online and offline. | | `availability` | `varchar2` | | ☑ | Visitor availability; one of online and offline. | | `compose_operator_automated` | `char` | | ☐ | Whether compose is automated or not (ie. comes from a bot). | | `compose_operator_automated` | `char` | | ☐ | Whether compose is automated or not (ie. comes from a bot). | | `compose_operator_excerpt` | `varchar2` | | ☐ | Message excerpt for compose state. | | `compose_operator_excerpt` | `varchar2` | | ☐ | Message excerpt for compose state. | | `compose_operator_timestamp` | `datetime` | | ☐ | Timestamp for compose state. | | `compose_operator_timestamp` | `datetime` | | ☐ | Timestamp for compose state. | | `compose_operator_type` | `varchar2` | | ☐ | Compose state type; one of start and stop. | | `compose_operator_type` | `varchar2` | | ☐ | Compose state type; one of start and stop. | | `compose_operator_user_avatar` | `varchar2` | | ☐ | Compose user avatar. | | `compose_operator_user_avatar` | `varchar2` | | ☐ | Compose user avatar. | | `compose_operator_user_nickname` | `varchar2` | | ☐ | Compose user nickname. | | `compose_operator_user_nickname` | `varchar2` | | ☐ | Compose user nickname. | | `compose_operator_user_user_id` | `varchar2` | | ☐ | Compose user identifier. | | `compose_operator_user_user_id` | `varchar2` | | ☐ | Compose user identifier. | | `compose_visitor_automated` | `char` | | ☐ | Whether compose is automated or not (ie. comes from a bot). | | `compose_visitor_automated` | `char` | | ☐ | Whether compose is automated or not (ie. comes from a bot). | | `compose_visitor_excerpt` | `varchar2` | | ☐ | Message excerpt for compose state. | | `compose_visitor_excerpt` | `varchar2` | | ☐ | Message excerpt for compose state. | | `compose_visitor_timestamp` | `datetime` | | ☐ | Timestamp for compose state. | | `compose_visitor_timestamp` | `datetime` | | ☐ | Timestamp for compose state. | | `compose_visitor_type` | `varchar2` | | ☐ | Compose state type; one of start and stop. | | `compose_visitor_type` | `varchar2` | | ☐ | Compose state type; one of start and stop. | | `created_at` | `datetime` | | ☑ | Conversation creation timestamp. | | `created_at` | `datetime` | | ☑ | Conversation creation timestamp. | | `inbox_id` | `varchar2` | | ☐ | Inbox identifier. | | `inbox_id` | `varchar2` | | ☐ | Inbox identifier. | | `is_blocked` | `char` | | ☑ | Whether session is blocked or not (block messages from visitor). | | `is_blocked` | `char` | | ☑ | Whether session is blocked or not (block messages from visitor). | | `is_verified` | `char` | | ☐ | Whether session is verified or not (user email ownership is authenticated). | | `is_verified` | `char` | | ☐ | Whether session is verified or not (user email ownership is authenticated). | | `last_message` | `varchar2` | | ☐ | Last message excerpt (from visitor). | | `last_message` | `varchar2` | | ☐ | Last message excerpt (from visitor). | | `meta_address` | `varchar2` | | ☐ | Visitor address. | | `meta_address` | `varchar2` | | ☐ | Visitor address. | | `meta_avatar` | `varchar2` | | ☐ | Visitor avatar. | | `meta_avatar` | `varchar2` | | ☐ | Visitor avatar. | | `meta_connection_asn` | `varchar2` | | ☐ | Autonomous system number, derived by Crisp from the IP address. | | `meta_connection_asn` | `varchar2` | | ☐ | Autonomous system number, derived by Crisp from the IP address. | | `meta_connection_isp` | `varchar2` | | ☐ | Name of the internet service provider, derived by Crisp from the IP address. | | `meta_connection_isp` | `varchar2` | | ☐ | Name of the internet service provider, derived by Crisp from the IP address. | | `meta_data` | `varchar2` | | ☐ | Visitor data as JSON. | | `meta_data` | `varchar2` | | ☐ | Visitor data as JSON. | | `meta_device_geolocation_city` | `varchar2` | | ☐ | City name. | | `meta_device_geolocation_city` | `varchar2` | | ☐ | City name. | | `meta_device_geolocation_coordinates_latitude` | `decimal` | | ☐ | Latitude coordinate. | | `meta_device_geolocation_coordinates_latitude` | `decimal` | | ☐ | Latitude coordinate. | | `meta_device_geolocation_coordinates_longitude` | `decimal` | | ☐ | Longitude coordinate. | | `meta_device_geolocation_coordinates_longitude` | `decimal` | | ☐ | Longitude coordinate. | | `meta_device_geolocation_country` | `varchar2` | | ☐ | Country code. | | `meta_device_geolocation_country` | `varchar2` | | ☐ | Country code. | | `meta_device_geolocation_region` | `varchar2` | | ☐ | Region code. | | `meta_device_geolocation_region` | `varchar2` | | ☐ | Region code. | | `meta_device_system_browser_major` | `varchar2` | | ☐ | Browser major version (eg: version 8.1 has a major of 8). | | `meta_device_system_browser_major` | `varchar2` | | ☐ | Browser major version (eg: version 8.1 has a major of 8). | | `meta_device_system_browser_name` | `varchar2` | | ☐ | Browser name. | | `meta_device_system_browser_name` | `varchar2` | | ☐ | Browser name. | | `meta_device_system_browser_version` | `varchar2` | | ☐ | Browser version. | | `meta_device_system_browser_version` | `varchar2` | | ☐ | Browser version. | | `meta_device_system_engine_name` | `varchar2` | | ☐ | Engine name. | | `meta_device_system_engine_name` | `varchar2` | | ☐ | Engine name. | | `meta_device_system_engine_version` | `varchar2` | | ☐ | Engine version. | | `meta_device_system_engine_version` | `varchar2` | | ☐ | Engine version. | | `meta_device_system_os_name` | `varchar2` | | ☐ | OS name. | | `meta_device_system_os_name` | `varchar2` | | ☐ | OS name. | | `meta_device_system_os_version` | `varchar2` | | ☐ | OS version. | | `meta_device_system_os_version` | `varchar2` | | ☐ | OS version. | | `meta_device_system_useragent` | `varchar2` | | ☐ | Visitor user agent. | | `meta_device_system_useragent` | `varchar2` | | ☐ | Visitor user agent. | | `meta_device_timezone` | `int32` | | ☐ | Visitor device time zone offset in minutes relative to UTC, negated (-120 stands for UTC+02:00). | | `meta_device_timezone` | `int32` | | ☐ | Visitor device time zone offset in minutes relative to UTC, negated (-120 stands for UTC+02:00). | | `meta_email` | `varchar2` | | ☐ | Visitor email. | | `meta_email` | `varchar2` | | ☐ | Visitor email. | | `meta_ip` | `varchar2` | | ☐ | Visitor IP address. | | `meta_ip` | `varchar2` | | ☐ | Visitor IP address. | | `meta_nickname` | `varchar2` | | ☐ | Visitor nickname. | | `meta_nickname` | `varchar2` | | ☐ | Visitor nickname. | | `meta_origin` | `varchar2` | | ☐ | Conversation origin; chat, email or a URN of the channel used. | | `meta_origin` | `varchar2` | | ☐ | Conversation origin; chat, email or a URN of the channel used. | | `meta_phone` | `varchar2` | | ☐ | Visitor phone. | | `meta_phone` | `varchar2` | | ☐ | Visitor phone. | | `meta_subject` | `varchar2` | | ☐ | Subject for conversation (if any). | | `meta_subject` | `varchar2` | | ☐ | Subject for conversation (if any). | | `people_id` | `varchar2` | | ☐ | People identifier. | | `people_id` | `varchar2` | | ☐ | People identifier. | | `preview_message_excerpt` | `varchar2` | | ☐ | Preview message excerpt. | | `preview_message_excerpt` | `varchar2` | | ☐ | Preview message excerpt. | | `preview_message_fingerprint` | `int64` | | ☐ | Preview message fingerprint. | | `preview_message_fingerprint` | `int64` | | ☐ | Preview message fingerprint. | | `preview_message_from` | `varchar2` | | ☐ | Preview message sender; one of user and operator. | | `preview_message_from` | `varchar2` | | ☐ | Preview message sender; one of user and operator. | | `preview_message_type` | `varchar2` | | ☐ | Preview message type. | | `preview_message_type` | `varchar2` | | ☐ | Preview message type. | | `session_id` | `varchar2` | | ☑ | Session identifier. | | `session_id` | `varchar2` | | ☑ | Session identifier. | | `state` | `varchar2` | | ☑ | Conversation state; one of pending, unresolved and resolved. | | `state` | `varchar2` | | ☑ | Conversation state; one of pending, unresolved and resolved. | | `status` | `int32` | | ☑ | Conversation status (a numeric alias of the state; useful for sorting conversations). | | `status` | `int32` | | ☑ | Conversation status (a numeric alias of the state; useful for sorting conversations). | | `topic` | `varchar2` | | ☐ | Topic for conversation (based on messages). | | `topic` | `varchar2` | | ☐ | Topic for conversation (based on messages). | | `unread_operator` | `int32` | | ☑ | Unread messages counter for operator. | | `unread_operator` | `int32` | | ☑ | Unread messages counter for operator. | | `unread_visitor` | `int32` | | ☑ | Unread messages counter for visitor. | | `unread_visitor` | `int32` | | ☑ | Unread messages counter for visitor. | | `updated_at` | `datetime` | | ☑ | Conversation update timestamp. | | `updated_at` | `datetime` | | ☑ | Conversation update timestamp. | | `waiting_since` | `datetime` | | ☐ | Conversation waiting since timestamp (if any). | | `waiting_since` | `datetime` | | ☐ | Conversation waiting since timestamp (if any). | | `website_id` | `varchar2` | | ☑ | Website identifier. | | `website_id` | `varchar2` | | ☑ | Website identifier. |