Built motion from commit (unavailable).|2.5.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 _0x1f81=['BOOLEAN','ENUM','out','STRING','DATE','INTEGER','sequelize','lodash','TEXT','long','medium'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0x1f81,0xab));var _0x11f8=function(_0x5dc03e,_0x54e60c){_0x5dc03e=_0x5dc03e-0x0;var _0x466a07=_0x1f81[_0x5dc03e];return _0x466a07;};'use strict';var Sequelize=require(_0x11f8('0x0'));var _=require(_0x11f8('0x1'));module['exports']={'body':{'type':Sequelize[_0x11f8('0x2')](_0x11f8('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0x11f8('0x4'))},'read':{'type':Sequelize[_0x11f8('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x11f8('0x6')]('in',_0x11f8('0x7')),'defaultValue':_0x11f8('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x11f8('0x8')](0x1fe)},'from':{'type':Sequelize[_0x11f8('0x8')]},'to':{'type':Sequelize[_0x11f8('0x2')]('long')},'cc':{'type':Sequelize[_0x11f8('0x2')](_0x11f8('0x3'))},'bcc':{'type':Sequelize[_0x11f8('0x2')](_0x11f8('0x3'))},'subject':{'type':Sequelize[_0x11f8('0x2')]},'sentAt':{'type':Sequelize[_0x11f8('0x9')]},'attach':{'type':Sequelize[_0x11f8('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x11f8('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x11f8('0x9')]},'originTo':{'type':Sequelize[_0x11f8('0x2')](_0x11f8('0x3'))},'originCc':{'type':Sequelize['TEXT'](_0x11f8('0x3'))}};