Built motion from commit (unavailable).|2.5.26
[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 _0xa615=['Chat','lodash','exports','TEXT','medium','BOOLEAN','ENUM','out','STRING','long','DATE','INTEGER','Email'];(function(_0x3b30f1,_0x143f09){var _0x3906e7=function(_0x39513c){while(--_0x39513c){_0x3b30f1['push'](_0x3b30f1['shift']());}};_0x3906e7(++_0x143f09);}(_0xa615,0x105));var _0x5a61=function(_0xb65674,_0x222296){_0xb65674=_0xb65674-0x0;var _0x3aaaf6=_0xa615[_0xb65674];return _0x3aaaf6;};'use strict';var Sequelize=require('sequelize');var _=require(_0x5a61('0x0'));module[_0x5a61('0x1')]={'body':{'type':Sequelize[_0x5a61('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0x5a61('0x2')](_0x5a61('0x3'))},'read':{'type':Sequelize[_0x5a61('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x5a61('0x5')]('in',_0x5a61('0x6')),'defaultValue':_0x5a61('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x5a61('0x7')](0x1fe)},'from':{'type':Sequelize[_0x5a61('0x7')]},'to':{'type':Sequelize[_0x5a61('0x2')](_0x5a61('0x8'))},'cc':{'type':Sequelize[_0x5a61('0x2')](_0x5a61('0x8'))},'bcc':{'type':Sequelize[_0x5a61('0x2')](_0x5a61('0x8'))},'subject':{'type':Sequelize[_0x5a61('0x2')]},'sentAt':{'type':Sequelize[_0x5a61('0x9')]},'attach':{'type':Sequelize[_0x5a61('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x5a61('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x5a61('0x9')]},'originTo':{'type':Sequelize['TEXT'](_0x5a61('0x8'))},'originCc':{'type':Sequelize[_0x5a61('0x2')](_0x5a61('0x8'))},'originChannel':{'type':Sequelize[_0x5a61('0x5')](_0x5a61('0xb'),_0x5a61('0xc')),'defaultValue':'Email','allowNull':![]}};