9606d748fb27d981f4d5d7eaf6e3296be6e42b23
[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 _0xd9ef=['TEXT','long','DATE','ENUM','out','sequelize','iconv','BOOLEAN','STRING'];(function(_0x10fa94,_0x1876db){var _0x4bf2a4=function(_0x1dfe54){while(--_0x1dfe54){_0x10fa94['push'](_0x10fa94['shift']());}};_0x4bf2a4(++_0x1876db);}(_0xd9ef,0x95));var _0xfd9e=function(_0x55bb77,_0x182e95){_0x55bb77=_0x55bb77-0x0;var _0x1510f8=_0xd9ef[_0x55bb77];return _0x1510f8;};'use strict';var Sequelize=require(_0xfd9e('0x0'));var iconv=require(_0xfd9e('0x1'));module['exports']={'closed':{'type':Sequelize[_0xfd9e('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xfd9e('0x3')]},'note':{'type':Sequelize[_0xfd9e('0x3')]},'inReplyTo':{'type':Sequelize[_0xfd9e('0x3')](0x1fe)},'to':{'type':Sequelize[_0xfd9e('0x3')]},'cc':{'type':Sequelize[_0xfd9e('0x4')](_0xfd9e('0x5'))},'subject':{'type':Sequelize[_0xfd9e('0x4')]()},'attach':{'type':Sequelize[_0xfd9e('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xfd9e('0x6')]},'substatus':{'type':Sequelize[_0xfd9e('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0xfd9e('0x6')]},'firstMsgDirection':{'type':Sequelize[_0xfd9e('0x7')]('in',_0xfd9e('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xfd9e('0x7')]('in',_0xfd9e('0x8')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};