Built motion from commit (unavailable).|2.5.3
[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 _0xd6a9=['iconv','BOOLEAN','DATE','STRING','TEXT','long','out','sequelize'];(function(_0x168478,_0x323a27){var _0x29c2f8=function(_0x4f7a8a){while(--_0x4f7a8a){_0x168478['push'](_0x168478['shift']());}};_0x29c2f8(++_0x323a27);}(_0xd6a9,0x1e7));var _0x9d6a=function(_0x50a635,_0x158de3){_0x50a635=_0x50a635-0x0;var _0x15fcdf=_0xd6a9[_0x50a635];return _0x15fcdf;};'use strict';var Sequelize=require(_0x9d6a('0x0'));var iconv=require(_0x9d6a('0x1'));module['exports']={'closed':{'type':Sequelize[_0x9d6a('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x9d6a('0x3')]},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x9d6a('0x4')]},'inReplyTo':{'type':Sequelize[_0x9d6a('0x4')](0x1fe)},'to':{'type':Sequelize[_0x9d6a('0x4')]},'cc':{'type':Sequelize[_0x9d6a('0x5')](_0x9d6a('0x6'))},'subject':{'type':Sequelize[_0x9d6a('0x5')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x9d6a('0x3')]},'substatus':{'type':Sequelize[_0x9d6a('0x4')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x9d6a('0x3')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x9d6a('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize['TEXT'](_0x9d6a('0x6'))},'lastMsgText':{'type':Sequelize[_0x9d6a('0x5')](_0x9d6a('0x6'))}};