<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <data>
        <record id="livechat_channel_chatbot_session_3_demo" model="discuss.channel">
            <field name="channel_type">livechat</field>
            <field name="livechat_channel_id" ref="im_livechat_channel_data"/>
            <field name="livechat_operator_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="livechat_failure">no_agent</field>
            <field name="name">Visitor #236, Odoo</field>
            <field name="create_date" eval="DateTime.today() + relativedelta(months=-1)"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_member_bot_demo" model="discuss.channel.member">
            <field name="partner_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="channel_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="last_interest_dt" eval="DateTime.today() + relativedelta(months=-1)"/>
            <field name="livechat_member_type">bot</field>
            <field name="chatbot_script_id" ref="chatbot_script_welcome_bot_demo"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_guest_demo" model="mail.guest">
            <field name="name">Visitor #236</field>
        </record>
        <record id="livechat_channel_chatbot_session_3_history_guest_demo" model="im_livechat.channel.member.history">
            <field name="guest_id" ref="livechat_channel_chatbot_session_3_guest_demo"/>
            <field name="channel_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="livechat_member_type">visitor</field>
            <field name="create_date" eval="DateTime.today() + relativedelta(months=-1)"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_member_guest_demo" model="discuss.channel.member">
            <field name="guest_id" ref="livechat_channel_chatbot_session_3_guest_demo"/>
            <field name="channel_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="livechat_member_history_ids" eval="[(4, ref('livechat_channel_chatbot_session_3_history_guest_demo'))]"/>
        </record>

        <record id="livechat_channel_chatbot_session_3_message_1_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="message_type">comment</field>
            <field name="author_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="body">Welcome to CompanyName! 👋</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=1)" name="date"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=1)" name="create_date"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_message_2_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="message_type">comment</field>
            <field name="author_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="body">What are you looking for?</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=2)" name="date"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=2)" name="create_date"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_message_3_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="message_type">comment</field>
            <field name="author_guest_id" ref="livechat_channel_chatbot_session_3_guest_demo"/>
            <field name="author_id"/>
            <field name="body">I have a pricing question</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=3)" name="date"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=3)" name="create_date"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_message_4_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="message_type">comment</field>
            <field name="author_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="body">Hmmm, let me check if I can find someone that could help you with that...</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=4)" name="date"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=4)" name="create_date"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_message_5_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="message_type">comment</field>
            <field name="author_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="body">Hu-ho, it looks like none of our operators are available 🙁</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=5)" name="date"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=5)" name="create_date"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_message_6_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="message_type">comment</field>
            <field name="author_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="body">Would you mind leaving your email address so that we can reach you back?</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=6)" name="date"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=6)" name="create_date"/>
        </record>
        <record id="livechat_channel_chatbot_session_3_message_7_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_3_demo"/>
            <field name="message_type">comment</field>
            <field name="author_guest_id" ref="livechat_channel_chatbot_session_3_guest_demo"/>
            <field name="author_id"/>
            <field name="body">visitor@example.com</field>
            <field name="subtype_id" ref="mail.mt_comment"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=7)" name="date"/>
            <field eval="DateTime.today() + relativedelta(months=-1, days=-0, minutes=7)" name="create_date"/>
        </record>
    </data>
</odoo>
