Built motion from commit 5b761a7b.|2.5.36
[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 _0xd032=['sequelize','exports','BOOLEAN','DATE','STRING','TEXT','long','ENUM','out'];(function(_0x2bc081,_0x5959f5){var _0x19aeaf=function(_0x29a01a){while(--_0x29a01a){_0x2bc081['push'](_0x2bc081['shift']());}};_0x19aeaf(++_0x5959f5);}(_0xd032,0x1c2));var _0x2d03=function(_0x2c7618,_0x26be9c){_0x2c7618=_0x2c7618-0x0;var _0x5ce3f0=_0xd032[_0x2c7618];return _0x5ce3f0;};'use strict';var Sequelize=require(_0x2d03('0x0'));var iconv=require('iconv');module[_0x2d03('0x1')]={'closed':{'type':Sequelize[_0x2d03('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x2d03('0x3')]},'disposition':{'type':Sequelize[_0x2d03('0x4')]},'secondDisposition':{'type':Sequelize[_0x2d03('0x4')]},'thirdDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x2d03('0x4')]},'inReplyTo':{'type':Sequelize[_0x2d03('0x4')](0x1fe)},'to':{'type':Sequelize[_0x2d03('0x4')]},'cc':{'type':Sequelize[_0x2d03('0x5')](_0x2d03('0x6'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x2d03('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x2d03('0x3')]},'substatus':{'type':Sequelize[_0x2d03('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x2d03('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x2d03('0x7')]('in',_0x2d03('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x2d03('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x2d03('0x7')]('in',_0x2d03('0x8')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};