<?xml version="1.0"?>
<odoo>
    <data>
        <record id="livechat_channel_chatbot_session_1_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_failure</field>
            <field name="name">Visitor #234, Odoo</field>
            <field name="create_date" eval="DateTime.today() + relativedelta(months=-1)"/>
        </record>
        <record id="livechat_channel_chatbot_session_1_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_1_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_1_guest_demo" model="mail.guest">
            <field name="name">Visitor #234</field>
        </record>
        <record id="livechat_channel_chatbot_session_1_history_guest_demo" model="im_livechat.channel.member.history">
            <field name="channel_id" ref="livechat_channel_chatbot_session_1_demo"/>
            <field name="guest_id" ref="livechat_channel_chatbot_session_1_guest_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_1_member_guest_demo" model="discuss.channel.member">
            <field name="guest_id" ref="livechat_channel_chatbot_session_1_guest_demo"/>
            <field name="channel_id" ref="livechat_channel_chatbot_session_1_demo"/>
            <field name="livechat_member_history_ids" eval="[(4, ref('livechat_channel_chatbot_session_1_history_guest_demo'))]"/>
        </record>

        <record id="livechat_channel_chatbot_session_1_message_1_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_1_demo"/>
            <field name="author_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="body">Welcome to CompanyName! 👋</field>
            <field name="message_type">comment</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_1_message_2_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_1_demo"/>
            <field name="author_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="body">What are you looking for?</field>
            <field name="message_type">comment</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_1_message_3_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_1_demo"/>
            <field name="author_id"/>
            <field name="author_guest_id" ref="livechat_channel_chatbot_session_1_guest_demo"/>
            <field name="body">I am just looking around</field>
            <field name="message_type">comment</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_1_message_4_demo" model="mail.message">
            <field name="model">discuss.channel</field>
            <field name="res_id" ref="livechat_channel_chatbot_session_1_demo"/>
            <field name="author_id" ref="welcome_bot_operator_partner_demo"/>
            <field name="body">Please do! If there is anything we can help with, let us know</field>
            <field name="message_type">comment</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>
    </data>
</odoo>
