82c2168c91c6b1c474176aea98c67782f7bc925b
[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 _0x7a02=['STRING','TEXT','DATE','ENUM','out','sequelize','iconv','BOOLEAN'];(function(_0x16edd1,_0x4c21e2){var _0x6be6b3=function(_0x1287ac){while(--_0x1287ac){_0x16edd1['push'](_0x16edd1['shift']());}};_0x6be6b3(++_0x4c21e2);}(_0x7a02,0x14d));var _0x27a0=function(_0x307d86,_0x9264f2){_0x307d86=_0x307d86-0x0;var _0x361745=_0x7a02[_0x307d86];return _0x361745;};'use strict';var Sequelize=require(_0x27a0('0x0'));var iconv=require(_0x27a0('0x1'));module['exports']={'closed':{'type':Sequelize[_0x27a0('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x27a0('0x3')]},'secondDisposition':{'type':Sequelize[_0x27a0('0x3')]},'thirdDisposition':{'type':Sequelize[_0x27a0('0x3')]},'note':{'type':Sequelize[_0x27a0('0x3')]},'inReplyTo':{'type':Sequelize[_0x27a0('0x3')](0x1fe)},'to':{'type':Sequelize[_0x27a0('0x3')]},'cc':{'type':Sequelize[_0x27a0('0x4')]('long')},'subject':{'type':Sequelize[_0x27a0('0x4')]()},'attach':{'type':Sequelize[_0x27a0('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x27a0('0x5')]},'substatus':{'type':Sequelize[_0x27a0('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x27a0('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x27a0('0x6')]('in',_0x27a0('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x27a0('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x27a0('0x6')]('in',_0x27a0('0x7')),'defaultValue':'in','allowNull':![]}};