<?xml version="1.0"?>
<odoo>
    <data>
        <record id="support_bot_session_5_demo" model="discuss.channel">
            <field name="channel_type">livechat</field>
            <field name="livechat_channel_id" ref="support_bot_channel_demo"/>
            <field name="livechat_operator_id" ref="support_bot_operator_partner_demo"/>
            <field name="name">Visitor #305, Support</field>
            <field name="create_date" eval="DateTime.today() + relativedelta(days=-5)"/>
        </record>
        <record id="support_bot_session_5_member_bot_demo" model="discuss.channel.member">
            <field name="partner_id" ref="support_bot_operator_partner_demo"/>
            <field name="channel_id" ref="support_bot_session_5_demo"/>
            <field name="last_interest_dt" eval="DateTime.today() + relativedelta(days=-5)"/>
            <field name="livechat_member_type">bot</field>
            <field name="chatbot_script_id" ref="chatbot_script_support_bot_demo"/>
        </record>
        <record id="support_bot_session_5_guest_demo" model="mail.guest">
            <field name="name">Visitor #305</field>
        </record>
        <record id="support_bot_session_5_history_member_guest_demo" model="im_livechat.channel.member.history">
            <field name="channel_id" ref="support_bot_session_5_demo"/>
            <field name="guest_id" ref="support_bot_session_5_guest_demo"/>
            <field name="livechat_member_type">visitor</field>
            <field name="create_date" eval="DateTime.today() + relativedelta(days=-5)"/>
        </record>
        <record id="support_bot_session_5_member_guest_demo" model="discuss.channel.member">
            <field name="guest_id" ref="support_bot_session_5_guest_demo"/>
            <field name="channel_id" ref="support_bot_session_5_demo"/>
            <field name="livechat_member_history_ids" eval="[(4, ref('support_bot_session_5_history_member_guest_demo'))]"/>
        </record>
        <record id="support_bot_session_5_message_1" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="support_bot_session_5_demo"/>
            <field name="author_id" ref="support_bot_operator_partner_demo"/>
            <field name="body">Welcome to the Support! How can I assist you today?</field>
            <field name="message_type">comment</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field name="date" eval="DateTime.today() + relativedelta(days=-5, minutes=1)"/>
            <field name="create_date" eval="DateTime.today() + relativedelta(days=-5, minutes=1)"/>
        </record>
        <record id="support_bot_session_5_chatbot_message_1" model="chatbot.message">
            <field name="mail_message_id" ref="support_bot_session_5_message_1"/>
            <field name="discuss_channel_id" ref="support_bot_session_5_demo"/>
            <field name="script_step_id" ref="chatbot_script_initial_step_demo"/>
        </record>
        <record id="support_bot_session_5_message_2" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="support_bot_session_5_demo"/>
            <field name="author_id"/>
            <field name="author_guest_id" ref="support_bot_session_5_guest_demo"/>
            <field name="body">Troubleshooting</field>
            <field name="message_type">comment</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field name="date" eval="DateTime.today() + relativedelta(days=-5, minutes=2)"/>
            <field name="create_date" eval="DateTime.today() + relativedelta(days=-5, minutes=2)"/>
        </record>
        <record id="support_bot_session_5_chatbot_message_2" model="chatbot.message">
            <field name="mail_message_id" ref="support_bot_session_5_message_2"/>
            <field name="discuss_channel_id" ref="support_bot_session_5_demo"/>
            <field name="script_step_id" ref="chatbot_script_initial_step_demo"/>
            <field name="user_script_answer_id" ref="chatbot_script_answer_troubleshooting_demo"/>
            <field name="user_raw_script_answer_id" ref="chatbot_script_answer_troubleshooting_demo"/>
        </record>
        <record id="support_bot_session_5_message_3" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="support_bot_session_5_demo"/>
            <field name="author_id" ref="support_bot_operator_partner_demo"/>
            <field name="body">What browser are you using?</field>
            <field name="message_type">comment</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field name="date" eval="DateTime.today() + relativedelta(days=-5, minutes=3)"/>
            <field name="create_date" eval="DateTime.today() + relativedelta(days=-5, minutes=3)"/>
        </record>
        <record id="support_bot_session_5_chatbot_message_3" model="chatbot.message">
            <field name="mail_message_id" ref="support_bot_session_5_message_3"/>
            <field name="discuss_channel_id" ref="support_bot_session_5_demo"/>
            <field name="script_step_id" ref="chatbot_script_troubleshooting_step_browser_demo"/>
        </record>
        <record id="support_bot_session_5_message_4" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="support_bot_session_5_demo"/>
            <field name="author_id"/>
            <field name="author_guest_id" ref="support_bot_session_5_guest_demo"/>
            <field name="body">Safari</field>
            <field name="message_type">comment</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field name="date" eval="DateTime.today() + relativedelta(days=-5, minutes=4)"/>
            <field name="create_date" eval="DateTime.today() + relativedelta(days=-5, minutes=4)"/>
        </record>
        <record id="support_bot_session_5_chatbot_message_4" model="chatbot.message">
            <field name="mail_message_id" ref="support_bot_session_5_message_4"/>
            <field name="discuss_channel_id" ref="support_bot_session_5_demo"/>
            <field name="script_step_id" ref="chatbot_script_troubleshooting_step_browser_demo"/>
            <field name="user_script_answer_id" ref="chatbot_script_troubleshooting_answer_safari_demo"/>
            <field name="user_raw_script_answer_id" ref="chatbot_script_troubleshooting_answer_safari_demo"/>
        </record>
    </data>
</odoo>
