b8747cb47fe1b38b2d91df39af8439410c1d3c62
[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 _0xc018=['TEXT','ENUM','out','iconv','BOOLEAN','DATE','STRING','long'];(function(_0x57912c,_0x553b2b){var _0xde2f9d=function(_0x16f0a9){while(--_0x16f0a9){_0x57912c['push'](_0x57912c['shift']());}};_0xde2f9d(++_0x553b2b);}(_0xc018,0x113));var _0x8c01=function(_0xa4d4c5,_0x47f8f8){_0xa4d4c5=_0xa4d4c5-0x0;var _0x2d8d54=_0xc018[_0xa4d4c5];return _0x2d8d54;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x8c01('0x0'));module['exports']={'closed':{'type':Sequelize[_0x8c01('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x8c01('0x2')]},'disposition':{'type':Sequelize[_0x8c01('0x3')]},'secondDisposition':{'type':Sequelize[_0x8c01('0x3')]},'thirdDisposition':{'type':Sequelize[_0x8c01('0x3')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0x8c01('0x3')](0x1fe)},'to':{'type':Sequelize[_0x8c01('0x3')]},'cc':{'type':Sequelize['TEXT'](_0x8c01('0x4'))},'subject':{'type':Sequelize[_0x8c01('0x5')]()},'attach':{'type':Sequelize[_0x8c01('0x1')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x8c01('0x2')]},'substatus':{'type':Sequelize[_0x8c01('0x3')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x8c01('0x6')]('in',_0x8c01('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x8c01('0x2')]},'lastMsgDirection':{'type':Sequelize[_0x8c01('0x6')]('in',_0x8c01('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x8c01('0x1')],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};