68fdfb5f0793fcc2aa7889858b858ccb48a70fc3
[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 _0x3327=['iconv','exports','BOOLEAN','DATE','STRING','TEXT','ENUM','out','sequelize'];(function(_0x26f2af,_0x2d0a8f){var _0x14374b=function(_0x476930){while(--_0x476930){_0x26f2af['push'](_0x26f2af['shift']());}};_0x14374b(++_0x2d0a8f);}(_0x3327,0x6b));var _0x7332=function(_0x23df30,_0x5369eb){_0x23df30=_0x23df30-0x0;var _0x4e042c=_0x3327[_0x23df30];return _0x4e042c;};'use strict';var Sequelize=require(_0x7332('0x0'));var iconv=require(_0x7332('0x1'));module[_0x7332('0x2')]={'closed':{'type':Sequelize[_0x7332('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x7332('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x7332('0x5')]},'note':{'type':Sequelize[_0x7332('0x5')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x7332('0x5')]},'cc':{'type':Sequelize[_0x7332('0x6')]('long')},'subject':{'type':Sequelize[_0x7332('0x6')]()},'attach':{'type':Sequelize[_0x7332('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x7332('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0x7332('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x7332('0x7')]('in',_0x7332('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x7332('0x4')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x7332('0x3')],'defaultValue':![]}};