Built motion from commit 5ae82ce5.|2.6.7
[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 _0x66e2=['INTEGER','Email','Chat','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','out','STRING','DATE'];(function(_0x3be470,_0x4f5286){var _0x43aefa=function(_0x1dd96c){while(--_0x1dd96c){_0x3be470['push'](_0x3be470['shift']());}};_0x43aefa(++_0x4f5286);}(_0x66e2,0xfa));var _0x266e=function(_0x41476c,_0x91403){_0x41476c=_0x41476c-0x0;var _0x367e81=_0x66e2[_0x41476c];return _0x367e81;};'use strict';var Sequelize=require(_0x266e('0x0'));var _=require(_0x266e('0x1'));module[_0x266e('0x2')]={'body':{'type':Sequelize[_0x266e('0x3')](_0x266e('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x266e('0x3')](_0x266e('0x5'))},'read':{'type':Sequelize[_0x266e('0x6')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x266e('0x7')),'defaultValue':_0x266e('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x266e('0x8')](0x1fe)},'from':{'type':Sequelize[_0x266e('0x8')]},'to':{'type':Sequelize[_0x266e('0x3')](_0x266e('0x4'))},'cc':{'type':Sequelize[_0x266e('0x3')](_0x266e('0x4'))},'bcc':{'type':Sequelize[_0x266e('0x3')]('long')},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x266e('0x9')]},'attach':{'type':Sequelize[_0x266e('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x266e('0x3')](_0x266e('0x4'))},'originCc':{'type':Sequelize[_0x266e('0x3')](_0x266e('0x4'))},'originChannel':{'type':Sequelize['ENUM'](_0x266e('0xb'),_0x266e('0xc')),'defaultValue':_0x266e('0xb'),'allowNull':![]}};