38263382f83abe95f5b54cfe1b83619e51917c14
[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 _0x579a=['sequelize','iconv','BOOLEAN','DATE','STRING','TEXT','long','ENUM','out'];(function(_0x248387,_0x4a81a8){var _0xfa46b=function(_0x8ab31c){while(--_0x8ab31c){_0x248387['push'](_0x248387['shift']());}};_0xfa46b(++_0x4a81a8);}(_0x579a,0x195));var _0xa579=function(_0xb31b63,_0x2325d7){_0xb31b63=_0xb31b63-0x0;var _0x59bd9c=_0x579a[_0xb31b63];return _0x59bd9c;};'use strict';var Sequelize=require(_0xa579('0x0'));var iconv=require(_0xa579('0x1'));module['exports']={'closed':{'type':Sequelize[_0xa579('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xa579('0x3')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xa579('0x4')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0xa579('0x4')](0x1fe)},'to':{'type':Sequelize[_0xa579('0x4')]},'cc':{'type':Sequelize[_0xa579('0x5')](_0xa579('0x6'))},'subject':{'type':Sequelize[_0xa579('0x5')]()},'attach':{'type':Sequelize[_0xa579('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0xa579('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0xa579('0x3')]},'firstMsgDirection':{'type':Sequelize[_0xa579('0x7')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xa579('0x7')]('in',_0xa579('0x8')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xa579('0x2')],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};