Built motion from commit (unavailable).|2.4.12
[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 _0xa467=['ENUM','STRING','DATE','INTEGER','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN'];(function(_0x29d044,_0x4d9f96){var _0x522c49=function(_0x5af506){while(--_0x5af506){_0x29d044['push'](_0x29d044['shift']());}};_0x522c49(++_0x4d9f96);}(_0xa467,0x143));var _0x7a46=function(_0x27c405,_0x344559){_0x27c405=_0x27c405-0x0;var _0xdd067b=_0xa467[_0x27c405];return _0xdd067b;};'use strict';var Sequelize=require(_0x7a46('0x0'));var _=require(_0x7a46('0x1'));module[_0x7a46('0x2')]={'body':{'type':Sequelize[_0x7a46('0x3')](_0x7a46('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x7a46('0x3')](_0x7a46('0x5'))},'read':{'type':Sequelize[_0x7a46('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x7a46('0x7')]('in','out'),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x7a46('0x8')](0x1fe)},'from':{'type':Sequelize[_0x7a46('0x8')]},'to':{'type':Sequelize[_0x7a46('0x3')](_0x7a46('0x4'))},'cc':{'type':Sequelize[_0x7a46('0x3')]('long')},'bcc':{'type':Sequelize[_0x7a46('0x3')](_0x7a46('0x4'))},'subject':{'type':Sequelize[_0x7a46('0x3')]},'sentAt':{'type':Sequelize[_0x7a46('0x9')]},'attach':{'type':Sequelize[_0x7a46('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x7a46('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x7a46('0x3')]('long')},'originCc':{'type':Sequelize[_0x7a46('0x3')]('long')}};