6701a17e4c4390325623d60c1e244deb1fa136b4
[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 _0x39bb=['STRING','TEXT','out','sequelize','iconv','exports','BOOLEAN','DATE'];(function(_0x3b0eac,_0x503c4e){var _0xdf4967=function(_0x2b4a8d){while(--_0x2b4a8d){_0x3b0eac['push'](_0x3b0eac['shift']());}};_0xdf4967(++_0x503c4e);}(_0x39bb,0xeb));var _0xb39b=function(_0x148785,_0x195ee5){_0x148785=_0x148785-0x0;var _0x17a172=_0x39bb[_0x148785];return _0x17a172;};'use strict';var Sequelize=require(_0xb39b('0x0'));var iconv=require(_0xb39b('0x1'));module[_0xb39b('0x2')]={'closed':{'type':Sequelize[_0xb39b('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xb39b('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xb39b('0x5')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0xb39b('0x5')](0x1fe)},'to':{'type':Sequelize[_0xb39b('0x5')]},'cc':{'type':Sequelize[_0xb39b('0x6')]('long')},'subject':{'type':Sequelize[_0xb39b('0x6')]()},'attach':{'type':Sequelize[_0xb39b('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xb39b('0x4')]},'substatus':{'type':Sequelize[_0xb39b('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0xb39b('0x4')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xb39b('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xb39b('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xb39b('0x3')],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};