cc0949f399aa7440a1a94626bfe829cdd8c06454
[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 _0x2ee0=['out','long','sequelize','iconv','exports','STRING','TEXT','BOOLEAN','DATE','ENUM'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0x2ee0,0xb6));var _0x02ee=function(_0x2c1ee7,_0x3443b8){_0x2c1ee7=_0x2c1ee7-0x0;var _0x2f9e25=_0x2ee0[_0x2c1ee7];return _0x2f9e25;};'use strict';var Sequelize=require(_0x02ee('0x0'));var iconv=require(_0x02ee('0x1'));module[_0x02ee('0x2')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x02ee('0x3')]},'note':{'type':Sequelize[_0x02ee('0x3')]},'inReplyTo':{'type':Sequelize[_0x02ee('0x3')](0x1fe)},'to':{'type':Sequelize[_0x02ee('0x3')]},'cc':{'type':Sequelize[_0x02ee('0x4')]('long')},'subject':{'type':Sequelize[_0x02ee('0x4')]()},'attach':{'type':Sequelize[_0x02ee('0x5')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x02ee('0x6')]},'substatus':{'type':Sequelize[_0x02ee('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x02ee('0x6')]},'firstMsgDirection':{'type':Sequelize[_0x02ee('0x7')]('in',_0x02ee('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x02ee('0x6')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x02ee('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize['TEXT']('long')},'lastMsgText':{'type':Sequelize['TEXT'](_0x02ee('0x9'))}};