Built motion from commit (unavailable).|2.4.17
[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 _0x09eb=['TEXT','long','BOOLEAN','ENUM','out','exports','DATE','STRING'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x09eb,0x1ad));var _0xb09e=function(_0x1c4951,_0x2038ee){_0x1c4951=_0x1c4951-0x0;var _0x345e1b=_0x09eb[_0x1c4951];return _0x345e1b;};'use strict';var Sequelize=require('sequelize');var iconv=require('iconv');module[_0xb09e('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xb09e('0x1')]},'disposition':{'type':Sequelize[_0xb09e('0x2')]},'note':{'type':Sequelize[_0xb09e('0x2')]},'inReplyTo':{'type':Sequelize[_0xb09e('0x2')](0x1fe)},'to':{'type':Sequelize[_0xb09e('0x2')]},'cc':{'type':Sequelize[_0xb09e('0x3')](_0xb09e('0x4'))},'subject':{'type':Sequelize[_0xb09e('0x3')]()},'attach':{'type':Sequelize[_0xb09e('0x5')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xb09e('0x1')]},'substatus':{'type':Sequelize[_0xb09e('0x2')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0xb09e('0x6')]('in',_0xb09e('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xb09e('0x1')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xb09e('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0xb09e('0x3')](_0xb09e('0x4'))},'lastMsgText':{'type':Sequelize[_0xb09e('0x3')](_0xb09e('0x4'))}};