Built motion from commit c116dc8b.|2.6.30
[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 _0x2bf5=['DATE','INTEGER','Email','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','out','STRING'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2bf5,0xc3));var _0x52bf=function(_0x45f797,_0x1cb4f1){_0x45f797=_0x45f797-0x0;var _0x258de3=_0x2bf5[_0x45f797];return _0x258de3;};'use strict';var Sequelize=require(_0x52bf('0x0'));var _=require(_0x52bf('0x1'));module[_0x52bf('0x2')]={'body':{'type':Sequelize[_0x52bf('0x3')](_0x52bf('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x52bf('0x3')](_0x52bf('0x5'))},'read':{'type':Sequelize[_0x52bf('0x6')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x52bf('0x7')),'defaultValue':_0x52bf('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x52bf('0x8')](0x1fe)},'from':{'type':Sequelize[_0x52bf('0x8')]},'to':{'type':Sequelize['TEXT'](_0x52bf('0x4'))},'cc':{'type':Sequelize[_0x52bf('0x3')]('long')},'bcc':{'type':Sequelize[_0x52bf('0x3')](_0x52bf('0x4'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x52bf('0x9')]},'attach':{'type':Sequelize[_0x52bf('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x52bf('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x52bf('0x9')]},'originTo':{'type':Sequelize[_0x52bf('0x3')](_0x52bf('0x4'))},'originCc':{'type':Sequelize['TEXT'](_0x52bf('0x4'))},'originChannel':{'type':Sequelize['ENUM'](_0x52bf('0xb'),'Chat'),'defaultValue':_0x52bf('0xb'),'allowNull':![]}};