3eab4863720100566717d1a9b086ef2ee445116f
[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 _0x1c1b=['long','DATE','ENUM','out','INTEGER','sequelize','iconv','exports','BOOLEAN','STRING','TEXT'];(function(_0x5a9ac7,_0x133ffa){var _0x54d373=function(_0x569415){while(--_0x569415){_0x5a9ac7['push'](_0x5a9ac7['shift']());}};_0x54d373(++_0x133ffa);}(_0x1c1b,0x139));var _0xb1c1=function(_0x56f0a8,_0x1aa1ca){_0x56f0a8=_0x56f0a8-0x0;var _0x616b3d=_0x1c1b[_0x56f0a8];return _0x616b3d;};'use strict';var Sequelize=require(_0xb1c1('0x0'));var iconv=require(_0xb1c1('0x1'));module[_0xb1c1('0x2')]={'closed':{'type':Sequelize[_0xb1c1('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xb1c1('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xb1c1('0x4')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0xb1c1('0x4')](0x1fe)},'to':{'type':Sequelize[_0xb1c1('0x4')]},'cc':{'type':Sequelize[_0xb1c1('0x5')](_0xb1c1('0x6'))},'subject':{'type':Sequelize[_0xb1c1('0x5')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xb1c1('0x7')]},'substatus':{'type':Sequelize[_0xb1c1('0x4')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0xb1c1('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xb1c1('0x7')]},'lastMsgDirection':{'type':Sequelize[_0xb1c1('0x8')]('in',_0xb1c1('0x9')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xb1c1('0x3')],'defaultValue':![]},'queueId':{'type':Sequelize[_0xb1c1('0xa')]}};