Built motion from commit 775e2a94.|2.6.3
[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 _0x4337=['iconv','BOOLEAN','DATE','STRING','ENUM','out'];(function(_0x341e0f,_0x4a09d0){var _0x59555a=function(_0x4343a8){while(--_0x4343a8){_0x341e0f['push'](_0x341e0f['shift']());}};_0x59555a(++_0x4a09d0);}(_0x4337,0x16e));var _0x7433=function(_0x10639e,_0x1a700c){_0x10639e=_0x10639e-0x0;var _0x328c8b=_0x4337[_0x10639e];return _0x328c8b;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x7433('0x0'));module['exports']={'closed':{'type':Sequelize[_0x7433('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x7433('0x2')]},'disposition':{'type':Sequelize[_0x7433('0x3')]},'secondDisposition':{'type':Sequelize[_0x7433('0x3')]},'thirdDisposition':{'type':Sequelize[_0x7433('0x3')]},'note':{'type':Sequelize[_0x7433('0x3')]},'inReplyTo':{'type':Sequelize[_0x7433('0x3')](0x1fe)},'to':{'type':Sequelize[_0x7433('0x3')]},'cc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x7433('0x1')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x7433('0x4')]('in',_0x7433('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x7433('0x5')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x7433('0x1')],'defaultValue':![]}};