Built motion from commit (unavailable).|2.5.31
[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 _0x60e0=['STRING','TEXT','long','DATE','ENUM','out','sequelize','BOOLEAN'];(function(_0x5627e1,_0x1b2dbf){var _0x2f013f=function(_0x142015){while(--_0x142015){_0x5627e1['push'](_0x5627e1['shift']());}};_0x2f013f(++_0x1b2dbf);}(_0x60e0,0x176));var _0x060e=function(_0x4e350b,_0x5c8c46){_0x4e350b=_0x4e350b-0x0;var _0x101e6e=_0x60e0[_0x4e350b];return _0x101e6e;};'use strict';var Sequelize=require(_0x060e('0x0'));var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize[_0x060e('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x060e('0x2')]},'secondDisposition':{'type':Sequelize[_0x060e('0x2')]},'thirdDisposition':{'type':Sequelize[_0x060e('0x2')]},'note':{'type':Sequelize[_0x060e('0x2')]},'inReplyTo':{'type':Sequelize[_0x060e('0x2')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x060e('0x3')](_0x060e('0x4'))},'subject':{'type':Sequelize[_0x060e('0x3')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x060e('0x2')](0x3c)},'substatusAt':{'type':Sequelize[_0x060e('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x060e('0x6')]('in',_0x060e('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x060e('0x5')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]}};