Built motion from commit (unavailable).|2.3.94
[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 _0x2963=['ENUM','out','STRING','TEXT','DATE','INTEGER','sequelize','lodash','long','BOOLEAN'];(function(_0xe91551,_0x2ebf9b){var _0x104a15=function(_0x3b2f91){while(--_0x3b2f91){_0xe91551['push'](_0xe91551['shift']());}};_0x104a15(++_0x2ebf9b);}(_0x2963,0x1be));var _0x3296=function(_0x55bb7d,_0x17446a){_0x55bb7d=_0x55bb7d-0x0;var _0x20ce0f=_0x2963[_0x55bb7d];return _0x20ce0f;};'use strict';var Sequelize=require(_0x3296('0x0'));var _=require(_0x3296('0x1'));module['exports']={'body':{'type':Sequelize['TEXT'](_0x3296('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x3296('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x3296('0x4')]('in','out'),'defaultValue':_0x3296('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x3296('0x6')](0x1fe)},'from':{'type':Sequelize[_0x3296('0x6')]},'to':{'type':Sequelize[_0x3296('0x7')](_0x3296('0x2'))},'cc':{'type':Sequelize[_0x3296('0x7')]('long')},'bcc':{'type':Sequelize[_0x3296('0x7')]('long')},'subject':{'type':Sequelize[_0x3296('0x7')]},'sentAt':{'type':Sequelize[_0x3296('0x8')]},'attach':{'type':Sequelize[_0x3296('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x3296('0x3')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x3296('0x8')]},'originTo':{'type':Sequelize['TEXT'](_0x3296('0x2'))},'originCc':{'type':Sequelize[_0x3296('0x7')]('long')}};