Built motion from commit 9b156c94.|2.6.22
[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 _0xe06c=['sequelize','iconv','exports','BOOLEAN','DATE','STRING','long','TEXT','ENUM','out','INTEGER'];(function(_0x135188,_0x1afd71){var _0x371f9e=function(_0x48a4bf){while(--_0x48a4bf){_0x135188['push'](_0x135188['shift']());}};_0x371f9e(++_0x1afd71);}(_0xe06c,0x1d9));var _0xce06=function(_0x5be6c3,_0xb930ec){_0x5be6c3=_0x5be6c3-0x0;var _0x11aeb7=_0xe06c[_0x5be6c3];return _0x11aeb7;};'use strict';var Sequelize=require(_0xce06('0x0'));var iconv=require(_0xce06('0x1'));module[_0xce06('0x2')]={'closed':{'type':Sequelize[_0xce06('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xce06('0x4')]},'disposition':{'type':Sequelize[_0xce06('0x5')]},'secondDisposition':{'type':Sequelize[_0xce06('0x5')]},'thirdDisposition':{'type':Sequelize[_0xce06('0x5')]},'note':{'type':Sequelize[_0xce06('0x5')]},'inReplyTo':{'type':Sequelize[_0xce06('0x5')](0x1fe)},'to':{'type':Sequelize[_0xce06('0x5')]},'cc':{'type':Sequelize['TEXT'](_0xce06('0x6'))},'subject':{'type':Sequelize[_0xce06('0x7')]()},'attach':{'type':Sequelize[_0xce06('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xce06('0x4')]},'substatus':{'type':Sequelize[_0xce06('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0xce06('0x4')]},'firstMsgDirection':{'type':Sequelize[_0xce06('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xce06('0x4')]},'lastMsgDirection':{'type':Sequelize[_0xce06('0x8')]('in',_0xce06('0x9')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xce06('0x3')],'defaultValue':![]},'queueId':{'type':Sequelize[_0xce06('0xa')]}};