9dd5783a7c6ab18b1decc67bc734ebdbdd53b5ed
[motion2.git] / server / api / mailInteraction / mailInteraction.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x0639=['out','ENUM','TEXT','sequelize','iconv','exports','BOOLEAN','DATE','STRING','long'];(function(_0x307d93,_0x199f40){var _0x2c1890=function(_0x593ccb){while(--_0x593ccb){_0x307d93['push'](_0x307d93['shift']());}};_0x2c1890(++_0x199f40);}(_0x0639,0xa3));var _0x9063=function(_0xfbdff6,_0x2af690){_0xfbdff6=_0xfbdff6-0x0;var _0x4cb9be=_0x0639[_0xfbdff6];return _0x4cb9be;};'use strict';var Sequelize=require(_0x9063('0x0'));var iconv=require(_0x9063('0x1'));module[_0x9063('0x2')]={'closed':{'type':Sequelize[_0x9063('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x9063('0x4')]},'disposition':{'type':Sequelize[_0x9063('0x5')]},'secondDisposition':{'type':Sequelize[_0x9063('0x5')]},'thirdDisposition':{'type':Sequelize[_0x9063('0x5')]},'note':{'type':Sequelize[_0x9063('0x5')]},'inReplyTo':{'type':Sequelize[_0x9063('0x5')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize['TEXT'](_0x9063('0x6'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x9063('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x9063('0x4')]},'substatus':{'type':Sequelize[_0x9063('0x5')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x9063('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x9063('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x9063('0x8')]('in',_0x9063('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x9063('0x9')](_0x9063('0x6'))},'lastMsgText':{'type':Sequelize['TEXT'](_0x9063('0x6'))}};