Built motion from commit 497d3d92.|2.5.43
[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 _0x2716=['DATE','INTEGER','Chat','Email','lodash','exports','TEXT','long','medium','BOOLEAN','ENUM','out','STRING'];(function(_0x447019,_0x4ee0b8){var _0x5e246f=function(_0x4a6143){while(--_0x4a6143){_0x447019['push'](_0x447019['shift']());}};_0x5e246f(++_0x4ee0b8);}(_0x2716,0xd4));var _0x6271=function(_0x1af98d,_0x3c608e){_0x1af98d=_0x1af98d-0x0;var _0x3553ea=_0x2716[_0x1af98d];return _0x3553ea;};'use strict';var Sequelize=require('sequelize');var _=require(_0x6271('0x0'));module[_0x6271('0x1')]={'body':{'type':Sequelize[_0x6271('0x2')](_0x6271('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x6271('0x2')](_0x6271('0x4'))},'read':{'type':Sequelize[_0x6271('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x6271('0x6')]('in','out'),'defaultValue':_0x6271('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x6271('0x8')](0x1fe)},'from':{'type':Sequelize[_0x6271('0x8')]},'to':{'type':Sequelize['TEXT'](_0x6271('0x3'))},'cc':{'type':Sequelize[_0x6271('0x2')](_0x6271('0x3'))},'bcc':{'type':Sequelize['TEXT'](_0x6271('0x3'))},'subject':{'type':Sequelize[_0x6271('0x2')]},'sentAt':{'type':Sequelize[_0x6271('0x9')]},'attach':{'type':Sequelize[_0x6271('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x6271('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x6271('0x9')]},'originTo':{'type':Sequelize[_0x6271('0x2')]('long')},'originCc':{'type':Sequelize[_0x6271('0x2')](_0x6271('0x3'))},'originChannel':{'type':Sequelize['ENUM']('Email',_0x6271('0xb')),'defaultValue':_0x6271('0xc'),'allowNull':![]}};