04e35d2e1597ac4ac2705b2d798c7d3ae3fb3fc9
[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 _0x0271=['BOOLEAN','DATE','STRING','TEXT','long','ENUM','out','sequelize','exports'];(function(_0x295fe9,_0x345828){var _0x3b80df=function(_0x85b4dc){while(--_0x85b4dc){_0x295fe9['push'](_0x295fe9['shift']());}};_0x3b80df(++_0x345828);}(_0x0271,0x7c));var _0x1027=function(_0x235155,_0x369750){_0x235155=_0x235155-0x0;var _0x2432e3=_0x0271[_0x235155];return _0x2432e3;};'use strict';var Sequelize=require(_0x1027('0x0'));var iconv=require('iconv');module[_0x1027('0x1')]={'closed':{'type':Sequelize[_0x1027('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1027('0x3')]},'disposition':{'type':Sequelize[_0x1027('0x4')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0x1027('0x4')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x1027('0x5')](_0x1027('0x6'))},'subject':{'type':Sequelize[_0x1027('0x5')]()},'attach':{'type':Sequelize[_0x1027('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x1027('0x3')]},'substatus':{'type':Sequelize[_0x1027('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x1027('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x1027('0x7')]('in',_0x1027('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1027('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x1027('0x7')]('in',_0x1027('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x1027('0x5')](_0x1027('0x6'))},'lastMsgText':{'type':Sequelize[_0x1027('0x5')]('long')}};