Built motion from commit 43538d75.|2.5.35
[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 _0xc49f=['sequelize','BOOLEAN','STRING','TEXT','long','DATE','ENUM'];(function(_0x48c88e,_0x29978b){var _0x12cccf=function(_0x4408da){while(--_0x4408da){_0x48c88e['push'](_0x48c88e['shift']());}};_0x12cccf(++_0x29978b);}(_0xc49f,0x1c0));var _0xfc49=function(_0x1f5b33,_0x6eaa37){_0x1f5b33=_0x1f5b33-0x0;var _0x389dfa=_0xc49f[_0x1f5b33];return _0x389dfa;};'use strict';var Sequelize=require(_0xfc49('0x0'));var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize[_0xfc49('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xfc49('0x2')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xfc49('0x2')]},'note':{'type':Sequelize[_0xfc49('0x2')]},'inReplyTo':{'type':Sequelize[_0xfc49('0x2')](0x1fe)},'to':{'type':Sequelize[_0xfc49('0x2')]},'cc':{'type':Sequelize[_0xfc49('0x3')](_0xfc49('0x4'))},'subject':{'type':Sequelize[_0xfc49('0x3')]()},'attach':{'type':Sequelize[_0xfc49('0x1')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xfc49('0x5')]},'substatus':{'type':Sequelize[_0xfc49('0x2')](0x3c)},'substatusAt':{'type':Sequelize[_0xfc49('0x5')]},'firstMsgDirection':{'type':Sequelize[_0xfc49('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xfc49('0x5')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xfc49('0x1')],'defaultValue':![]}};