Built motion from commit (unavailable).|2.5.23
[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 _0x708d=['BOOLEAN','ENUM','out','STRING','long','DATE','Email','exports','TEXT','medium'];(function(_0xe22435,_0x27157f){var _0x4fa237=function(_0x3ae432){while(--_0x3ae432){_0xe22435['push'](_0xe22435['shift']());}};_0x4fa237(++_0x27157f);}(_0x708d,0x151));var _0xd708=function(_0x10a6c5,_0x3b8168){_0x10a6c5=_0x10a6c5-0x0;var _0x79e4b8=_0x708d[_0x10a6c5];return _0x79e4b8;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module[_0xd708('0x0')]={'body':{'type':Sequelize['TEXT']('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x2'))},'read':{'type':Sequelize[_0xd708('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xd708('0x4')]('in',_0xd708('0x5')),'defaultValue':_0xd708('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0xd708('0x6')](0x1fe)},'from':{'type':Sequelize[_0xd708('0x6')]},'to':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'cc':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'bcc':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'subject':{'type':Sequelize[_0xd708('0x1')]},'sentAt':{'type':Sequelize[_0xd708('0x8')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xd708('0x8')]},'originTo':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'originCc':{'type':Sequelize[_0xd708('0x1')](_0xd708('0x7'))},'originChannel':{'type':Sequelize[_0xd708('0x4')]('Email','Chat'),'defaultValue':_0xd708('0x9'),'allowNull':![]}};