Built motion from commit 85328c08.|2.5.50
[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 _0xc16b=['TEXT','DATE','out','ENUM','sequelize','iconv','BOOLEAN','STRING','long'];(function(_0x4f383a,_0x23e2db){var _0x2c30b1=function(_0x219098){while(--_0x219098){_0x4f383a['push'](_0x4f383a['shift']());}};_0x2c30b1(++_0x23e2db);}(_0xc16b,0x109));var _0xbc16=function(_0x3425ff,_0x7d0b87){_0x3425ff=_0x3425ff-0x0;var _0xcc19b4=_0xc16b[_0x3425ff];return _0xcc19b4;};'use strict';var Sequelize=require(_0xbc16('0x0'));var iconv=require(_0xbc16('0x1'));module['exports']={'closed':{'type':Sequelize[_0xbc16('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0xbc16('0x3')](0x1fe)},'to':{'type':Sequelize[_0xbc16('0x3')]},'cc':{'type':Sequelize['TEXT'](_0xbc16('0x4'))},'subject':{'type':Sequelize[_0xbc16('0x5')]()},'attach':{'type':Sequelize[_0xbc16('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xbc16('0x6')]},'substatus':{'type':Sequelize[_0xbc16('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0xbc16('0x6')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xbc16('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xbc16('0x6')]},'lastMsgDirection':{'type':Sequelize[_0xbc16('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xbc16('0x2')],'defaultValue':![]}};