Built motion from commit (unavailable).|2.5.1
[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 _0xc17d=['medium','BOOLEAN','ENUM','out','long','DATE','INTEGER','sequelize','lodash','exports','TEXT'];(function(_0x13992d,_0x3029ea){var _0x3d15bf=function(_0x3444f7){while(--_0x3444f7){_0x13992d['push'](_0x13992d['shift']());}};_0x3d15bf(++_0x3029ea);}(_0xc17d,0x96));var _0xdc17=function(_0x1d2944,_0xa8ecab){_0x1d2944=_0x1d2944-0x0;var _0x2921f9=_0xc17d[_0x1d2944];return _0x2921f9;};'use strict';var Sequelize=require(_0xdc17('0x0'));var _=require(_0xdc17('0x1'));module[_0xdc17('0x2')]={'body':{'type':Sequelize[_0xdc17('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xdc17('0x3')](_0xdc17('0x4'))},'read':{'type':Sequelize[_0xdc17('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0xdc17('0x6')]('in','out'),'defaultValue':_0xdc17('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xdc17('0x3')]('long')},'cc':{'type':Sequelize[_0xdc17('0x3')](_0xdc17('0x8'))},'bcc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize[_0xdc17('0x3')]},'sentAt':{'type':Sequelize[_0xdc17('0x9')]},'attach':{'type':Sequelize[_0xdc17('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xdc17('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xdc17('0x9')]},'originTo':{'type':Sequelize[_0xdc17('0x3')](_0xdc17('0x8'))},'originCc':{'type':Sequelize[_0xdc17('0x3')]('long')}};