fd60d344acf62644dc592d3d826fae36a7fea612
[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 _0x4f40=['sequelize','iconv','exports','DATE','STRING','TEXT','long','BOOLEAN','out','ENUM'];(function(_0x3b00a0,_0x4f8cd7){var _0x427420=function(_0x551900){while(--_0x551900){_0x3b00a0['push'](_0x3b00a0['shift']());}};_0x427420(++_0x4f8cd7);}(_0x4f40,0x168));var _0x04f4=function(_0x2bfeab,_0x404db0){_0x2bfeab=_0x2bfeab-0x0;var _0x8a509d=_0x4f40[_0x2bfeab];return _0x8a509d;};'use strict';var Sequelize=require(_0x04f4('0x0'));var iconv=require(_0x04f4('0x1'));module[_0x04f4('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x04f4('0x3')]},'disposition':{'type':Sequelize[_0x04f4('0x4')]},'secondDisposition':{'type':Sequelize[_0x04f4('0x4')]},'thirdDisposition':{'type':Sequelize[_0x04f4('0x4')]},'note':{'type':Sequelize[_0x04f4('0x4')]},'inReplyTo':{'type':Sequelize[_0x04f4('0x4')](0x1fe)},'to':{'type':Sequelize[_0x04f4('0x4')]},'cc':{'type':Sequelize[_0x04f4('0x5')](_0x04f4('0x6'))},'subject':{'type':Sequelize[_0x04f4('0x5')]()},'attach':{'type':Sequelize[_0x04f4('0x7')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x04f4('0x3')]},'substatus':{'type':Sequelize[_0x04f4('0x4')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x04f4('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x04f4('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x04f4('0x9')]('in',_0x04f4('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x04f4('0x5')]('long')},'lastMsgText':{'type':Sequelize[_0x04f4('0x5')](_0x04f4('0x6'))}};