Built motion from commit (unavailable).|2.5.6
[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 _0x3c8b=['out','STRING','DATE','lodash','TEXT','long','BOOLEAN','ENUM'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x3c8b,0x18b));var _0xb3c8=function(_0x16182a,_0x53bf81){_0x16182a=_0x16182a-0x0;var _0x3f5ced=_0x3c8b[_0x16182a];return _0x3f5ced;};'use strict';var Sequelize=require('sequelize');var _=require(_0xb3c8('0x0'));module['exports']={'body':{'type':Sequelize[_0xb3c8('0x1')](_0xb3c8('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xb3c8('0x1')]('medium')},'read':{'type':Sequelize[_0xb3c8('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xb3c8('0x4')]('in',_0xb3c8('0x5')),'defaultValue':_0xb3c8('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0xb3c8('0x6')](0x1fe)},'from':{'type':Sequelize[_0xb3c8('0x6')]},'to':{'type':Sequelize[_0xb3c8('0x1')](_0xb3c8('0x2'))},'cc':{'type':Sequelize['TEXT'](_0xb3c8('0x2'))},'bcc':{'type':Sequelize['TEXT'](_0xb3c8('0x2'))},'subject':{'type':Sequelize[_0xb3c8('0x1')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xb3c8('0x7')]},'originTo':{'type':Sequelize[_0xb3c8('0x1')](_0xb3c8('0x2'))},'originCc':{'type':Sequelize['TEXT'](_0xb3c8('0x2'))}};