293bda855509d710c5b1b7bb3bba1dc80ae56b20
[motion2.git] / server / api / mailMessage / mailMessage.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 _0x4e55=['ENUM','STRING','INTEGER','DATE','Email','lodash','TEXT','long','medium','BOOLEAN'];(function(_0x33a152,_0x26ab81){var _0x3b7c10=function(_0x151ac6){while(--_0x151ac6){_0x33a152['push'](_0x33a152['shift']());}};_0x3b7c10(++_0x26ab81);}(_0x4e55,0x69));var _0x54e5=function(_0x36c900,_0x3ffa9b){_0x36c900=_0x36c900-0x0;var _0x7a97=_0x4e55[_0x36c900];return _0x7a97;};'use strict';var Sequelize=require('sequelize');var _=require(_0x54e5('0x0'));module['exports']={'body':{'type':Sequelize[_0x54e5('0x1')](_0x54e5('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x54e5('0x1')](_0x54e5('0x3'))},'read':{'type':Sequelize[_0x54e5('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x54e5('0x5')]('in','out'),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x54e5('0x6')](0x1fe)},'from':{'type':Sequelize[_0x54e5('0x6')]},'to':{'type':Sequelize[_0x54e5('0x1')]('long')},'cc':{'type':Sequelize[_0x54e5('0x1')]('long')},'bcc':{'type':Sequelize[_0x54e5('0x1')](_0x54e5('0x2'))},'subject':{'type':Sequelize[_0x54e5('0x1')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x54e5('0x7')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x54e5('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x54e5('0x8')]},'originTo':{'type':Sequelize[_0x54e5('0x1')]('long')},'originCc':{'type':Sequelize[_0x54e5('0x1')](_0x54e5('0x2'))},'originChannel':{'type':Sequelize[_0x54e5('0x5')](_0x54e5('0x9'),'Chat'),'defaultValue':_0x54e5('0x9'),'allowNull':![]}};