a0f2e83910f3824aef862e4a5736094cfed76638
[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 _0xe86f=['ENUM','out','sequelize','BOOLEAN','DATE','STRING','TEXT','long'];(function(_0x484e74,_0x4e62bd){var _0x2874fa=function(_0x6c79dd){while(--_0x6c79dd){_0x484e74['push'](_0x484e74['shift']());}};_0x2874fa(++_0x4e62bd);}(_0xe86f,0x12a));var _0xfe86=function(_0xa8a44b,_0x392fe9){_0xa8a44b=_0xa8a44b-0x0;var _0x962856=_0xe86f[_0xa8a44b];return _0x962856;};'use strict';var Sequelize=require(_0xfe86('0x0'));var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize[_0xfe86('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xfe86('0x2')]},'disposition':{'type':Sequelize[_0xfe86('0x3')]},'secondDisposition':{'type':Sequelize[_0xfe86('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xfe86('0x3')]},'inReplyTo':{'type':Sequelize[_0xfe86('0x3')](0x1fe)},'to':{'type':Sequelize[_0xfe86('0x3')]},'cc':{'type':Sequelize[_0xfe86('0x4')](_0xfe86('0x5'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0xfe86('0x1')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xfe86('0x2')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0xfe86('0x2')]},'firstMsgDirection':{'type':Sequelize[_0xfe86('0x6')]('in',_0xfe86('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xfe86('0x2')]},'lastMsgDirection':{'type':Sequelize[_0xfe86('0x6')]('in',_0xfe86('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};