956237f0cb12d089dbd97374f219283a7f3e9300
[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 _0x4096=['TEXT','long','BOOLEAN','ENUM','out','sequelize','iconv','DATE','STRING'];(function(_0x3fe1e3,_0x2d5875){var _0x4dd31a=function(_0x3ff20a){while(--_0x3ff20a){_0x3fe1e3['push'](_0x3fe1e3['shift']());}};_0x4dd31a(++_0x2d5875);}(_0x4096,0x137));var _0x6409=function(_0x116f55,_0x482895){_0x116f55=_0x116f55-0x0;var _0x8b04d2=_0x4096[_0x116f55];return _0x8b04d2;};'use strict';var Sequelize=require(_0x6409('0x0'));var iconv=require(_0x6409('0x1'));module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x6409('0x2')]},'disposition':{'type':Sequelize[_0x6409('0x3')]},'secondDisposition':{'type':Sequelize[_0x6409('0x3')]},'thirdDisposition':{'type':Sequelize[_0x6409('0x3')]},'note':{'type':Sequelize[_0x6409('0x3')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x6409('0x3')]},'cc':{'type':Sequelize[_0x6409('0x4')](_0x6409('0x5'))},'subject':{'type':Sequelize[_0x6409('0x4')]()},'attach':{'type':Sequelize[_0x6409('0x6')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x6409('0x2')]},'substatus':{'type':Sequelize[_0x6409('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x6409('0x2')]},'firstMsgDirection':{'type':Sequelize[_0x6409('0x7')]('in',_0x6409('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x6409('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x6409('0x6')],'defaultValue':![]}};