939f95615f03c4f8ea90ce0132cbce32411578f7
[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 _0x4c48=['out','sequelize','iconv','DATE','STRING','TEXT','long','BOOLEAN'];(function(_0x4df85c,_0x248dfb){var _0x4e2a61=function(_0x4e2c8e){while(--_0x4e2c8e){_0x4df85c['push'](_0x4df85c['shift']());}};_0x4e2a61(++_0x248dfb);}(_0x4c48,0x129));var _0x84c4=function(_0x3c59fc,_0x10dbd2){_0x3c59fc=_0x3c59fc-0x0;var _0x2b78d4=_0x4c48[_0x3c59fc];return _0x2b78d4;};'use strict';var Sequelize=require(_0x84c4('0x0'));var iconv=require(_0x84c4('0x1'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x84c4('0x2')]},'disposition':{'type':Sequelize[_0x84c4('0x3')]},'secondDisposition':{'type':Sequelize[_0x84c4('0x3')]},'thirdDisposition':{'type':Sequelize[_0x84c4('0x3')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0x84c4('0x3')](0x1fe)},'to':{'type':Sequelize[_0x84c4('0x3')]},'cc':{'type':Sequelize[_0x84c4('0x4')](_0x84c4('0x5'))},'subject':{'type':Sequelize[_0x84c4('0x4')]()},'attach':{'type':Sequelize[_0x84c4('0x6')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x84c4('0x2')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x84c4('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x84c4('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x84c4('0x7')),'defaultValue':'in','allowNull':![]}};