2aeb6efd62d4808b295d1c9b8dbbc8434b3af0c5
[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 _0x269b=['out','sequelize','exports','BOOLEAN','DATE','STRING','TEXT','long','ENUM'];(function(_0x365b68,_0x118bb3){var _0x54b8e6=function(_0x3768cf){while(--_0x3768cf){_0x365b68['push'](_0x365b68['shift']());}};_0x54b8e6(++_0x118bb3);}(_0x269b,0x9a));var _0xb269=function(_0x59ce09,_0x4a9863){_0x59ce09=_0x59ce09-0x0;var _0x23e766=_0x269b[_0x59ce09];return _0x23e766;};'use strict';var Sequelize=require(_0xb269('0x0'));var iconv=require('iconv');module[_0xb269('0x1')]={'closed':{'type':Sequelize[_0xb269('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xb269('0x3')]},'disposition':{'type':Sequelize[_0xb269('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xb269('0x4')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0xb269('0x5')](_0xb269('0x6'))},'subject':{'type':Sequelize[_0xb269('0x5')]()},'attach':{'type':Sequelize[_0xb269('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xb269('0x3')]},'substatus':{'type':Sequelize[_0xb269('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0xb269('0x3')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xb269('0x3')]},'lastMsgDirection':{'type':Sequelize[_0xb269('0x7')]('in',_0xb269('0x8')),'defaultValue':'in','allowNull':![]}};