Built motion from commit (unavailable).|2.5.8
[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 _0xad1c=['TEXT','out','ENUM','sequelize','iconv','BOOLEAN','DATE','STRING','long'];(function(_0x53a1be,_0x42dff2){var _0x38ae84=function(_0x51fa5c){while(--_0x51fa5c){_0x53a1be['push'](_0x53a1be['shift']());}};_0x38ae84(++_0x42dff2);}(_0xad1c,0x162));var _0xcad1=function(_0x4bb66f,_0x3cd682){_0x4bb66f=_0x4bb66f-0x0;var _0xf2772f=_0xad1c[_0x4bb66f];return _0xf2772f;};'use strict';var Sequelize=require(_0xcad1('0x0'));var iconv=require(_0xcad1('0x1'));module['exports']={'closed':{'type':Sequelize[_0xcad1('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xcad1('0x3')]},'disposition':{'type':Sequelize[_0xcad1('0x4')]},'secondDisposition':{'type':Sequelize[_0xcad1('0x4')]},'thirdDisposition':{'type':Sequelize[_0xcad1('0x4')]},'note':{'type':Sequelize[_0xcad1('0x4')]},'inReplyTo':{'type':Sequelize[_0xcad1('0x4')](0x1fe)},'to':{'type':Sequelize[_0xcad1('0x4')]},'cc':{'type':Sequelize['TEXT'](_0xcad1('0x5'))},'subject':{'type':Sequelize[_0xcad1('0x6')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xcad1('0x3')]},'substatus':{'type':Sequelize[_0xcad1('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0xcad1('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xcad1('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xcad1('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0xcad1('0x6')](_0xcad1('0x5'))},'lastMsgText':{'type':Sequelize[_0xcad1('0x6')](_0xcad1('0x5'))}};