628ee9e6729fe7d51b8066e233ca997d69689988
[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 _0x388e=['TEXT','ENUM','out','sequelize','iconv','exports','BOOLEAN','DATE','STRING'];(function(_0x18b34d,_0x1bd683){var _0x4ec0f3=function(_0x5cef8c){while(--_0x5cef8c){_0x18b34d['push'](_0x18b34d['shift']());}};_0x4ec0f3(++_0x1bd683);}(_0x388e,0x17d));var _0xe388=function(_0x2c9a33,_0xa46b2a){_0x2c9a33=_0x2c9a33-0x0;var _0xe66f8b=_0x388e[_0x2c9a33];return _0xe66f8b;};'use strict';var Sequelize=require(_0xe388('0x0'));var iconv=require(_0xe388('0x1'));module[_0xe388('0x2')]={'closed':{'type':Sequelize[_0xe388('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xe388('0x4')]},'disposition':{'type':Sequelize[_0xe388('0x5')]},'secondDisposition':{'type':Sequelize[_0xe388('0x5')]},'thirdDisposition':{'type':Sequelize[_0xe388('0x5')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0xe388('0x5')]},'cc':{'type':Sequelize[_0xe388('0x6')]('long')},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0xe388('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xe388('0x4')]},'substatus':{'type':Sequelize[_0xe388('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0xe388('0x4')]},'firstMsgDirection':{'type':Sequelize[_0xe388('0x7')]('in',_0xe388('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xe388('0x4')]},'lastMsgDirection':{'type':Sequelize[_0xe388('0x7')]('in',_0xe388('0x8')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xe388('0x3')],'defaultValue':![]}};