Built motion from commit (unavailable).|2.5.20
[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 _0x6d84=['BOOLEAN','DATE','STRING','TEXT','long','ENUM','out','sequelize','iconv','exports'];(function(_0x819464,_0x46fc91){var _0x49dcc0=function(_0x36b2b2){while(--_0x36b2b2){_0x819464['push'](_0x819464['shift']());}};_0x49dcc0(++_0x46fc91);}(_0x6d84,0x101));var _0x46d8=function(_0x4f8ee6,_0xc00765){_0x4f8ee6=_0x4f8ee6-0x0;var _0x45b0fb=_0x6d84[_0x4f8ee6];return _0x45b0fb;};'use strict';var Sequelize=require(_0x46d8('0x0'));var iconv=require(_0x46d8('0x1'));module[_0x46d8('0x2')]={'closed':{'type':Sequelize[_0x46d8('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x46d8('0x4')]},'disposition':{'type':Sequelize[_0x46d8('0x5')]},'secondDisposition':{'type':Sequelize[_0x46d8('0x5')]},'thirdDisposition':{'type':Sequelize[_0x46d8('0x5')]},'note':{'type':Sequelize[_0x46d8('0x5')]},'inReplyTo':{'type':Sequelize[_0x46d8('0x5')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x46d8('0x6')](_0x46d8('0x7'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x46d8('0x4')]},'substatus':{'type':Sequelize[_0x46d8('0x5')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x46d8('0x8')]('in',_0x46d8('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x46d8('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x46d8('0x6')](_0x46d8('0x7'))},'lastMsgText':{'type':Sequelize['TEXT'](_0x46d8('0x7'))}};