Built motion from commit (unavailable).|2.5.21
[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 _0x94ff=['medium','ENUM','out','STRING','DATE','INTEGER','sequelize','long','TEXT'];(function(_0xe06373,_0x456cb9){var _0x467cd1=function(_0x1c1c8c){while(--_0x1c1c8c){_0xe06373['push'](_0xe06373['shift']());}};_0x467cd1(++_0x456cb9);}(_0x94ff,0xc3));var _0xf94f=function(_0x76966f,_0x28b8e8){_0x76966f=_0x76966f-0x0;var _0x312870=_0x94ff[_0x76966f];return _0x312870;};'use strict';var Sequelize=require(_0xf94f('0x0'));var _=require('lodash');module['exports']={'body':{'type':Sequelize['TEXT'](_0xf94f('0x1')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xf94f('0x2')](_0xf94f('0x3'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0xf94f('0x4')]('in',_0xf94f('0x5')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xf94f('0x6')](0x1fe)},'from':{'type':Sequelize[_0xf94f('0x6')]},'to':{'type':Sequelize['TEXT'](_0xf94f('0x1'))},'cc':{'type':Sequelize['TEXT'](_0xf94f('0x1'))},'bcc':{'type':Sequelize[_0xf94f('0x2')]('long')},'subject':{'type':Sequelize[_0xf94f('0x2')]},'sentAt':{'type':Sequelize[_0xf94f('0x7')]},'attach':{'type':Sequelize[_0xf94f('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0xf94f('0x2')](_0xf94f('0x1'))},'originCc':{'type':Sequelize[_0xf94f('0x2')](_0xf94f('0x1'))}};