Built motion from commit (unavailable).|2.5.2
[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 _0x229c=['out','STRING','TEXT','lodash','long','BOOLEAN'];(function(_0x13b330,_0x297092){var _0x1f666c=function(_0x5ebc84){while(--_0x5ebc84){_0x13b330['push'](_0x13b330['shift']());}};_0x1f666c(++_0x297092);}(_0x229c,0xcf));var _0xc229=function(_0x39df82,_0x3469e5){_0x39df82=_0x39df82-0x0;var _0x27aef8=_0x229c[_0x39df82];return _0x27aef8;};'use strict';var Sequelize=require('sequelize');var _=require(_0xc229('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0xc229('0x1')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT']('medium')},'read':{'type':Sequelize[_0xc229('0x2')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xc229('0x3')),'defaultValue':_0xc229('0x3'),'allowNull':![]},'messageId':{'type':Sequelize[_0xc229('0x4')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xc229('0x5')]('long')},'cc':{'type':Sequelize[_0xc229('0x5')](_0xc229('0x1'))},'bcc':{'type':Sequelize['TEXT'](_0xc229('0x1'))},'subject':{'type':Sequelize[_0xc229('0x5')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0xc229('0x2')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize['TEXT'](_0xc229('0x1'))},'originCc':{'type':Sequelize[_0xc229('0x5')](_0xc229('0x1'))}};