Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / voiceMail / voiceMail.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 _0x0001=['setDataValue','trim','ENUM','yes','TIMESTAMP','INTEGER','sequelize','exports','STRING','from-voicemail','contest_mailbox'];(function(_0x45f5ce,_0x22b197){var _0x340436=function(_0x1457da){while(--_0x1457da){_0x45f5ce['push'](_0x45f5ce['shift']());}};_0x340436(++_0x22b197);}(_0x0001,0x1d4));var _0x1000=function(_0x49d353,_0x452b0b){_0x49d353=_0x49d353-0x0;var _0x50b58f=_0x0001[_0x49d353];return _0x50b58f;};'use strict';var Sequelize=require(_0x1000('0x0'));module[_0x1000('0x1')]={'customer_id':{'type':Sequelize[_0x1000('0x2')]},'context':{'type':Sequelize[_0x1000('0x2')],'defaultValue':_0x1000('0x3'),'unique':_0x1000('0x4')},'mailbox':{'type':Sequelize[_0x1000('0x2')],'defaultValue':'','allowNull':![],'unique':_0x1000('0x4')},'password':{'type':Sequelize['STRING']},'fullname':{'type':Sequelize[_0x1000('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]},'set':function(_0x1575c9){this[_0x1000('0x5')]('email',typeof _0x1575c9==='string'&&_0x1575c9['trim']()?_0x1575c9[_0x1000('0x6')]():null);}},'pager':{'type':Sequelize[_0x1000('0x2')]},'tz':{'type':Sequelize[_0x1000('0x2')],'defaultValue':'central'},'attach':{'type':Sequelize[_0x1000('0x7')](_0x1000('0x8'),'no'),'defaultValue':'yes','allowNull':![]},'saycid':{'type':Sequelize[_0x1000('0x7')]('yes','no'),'defaultValue':_0x1000('0x8'),'allowNull':![]},'dialout':{'type':Sequelize[_0x1000('0x2')]},'callback':{'type':Sequelize['STRING']},'review':{'type':Sequelize['ENUM'](_0x1000('0x8'),'no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize[_0x1000('0x7')]('yes','no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0x1000('0x7')]('yes','no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize[_0x1000('0x7')]('yes','no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':'TINYINT(4)','defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize[_0x1000('0x7')](_0x1000('0x8'),'no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize['ENUM'](_0x1000('0x8'),'no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize[_0x1000('0x7')]('yes','no'),'defaultValue':_0x1000('0x8'),'allowNull':![]},'forcename':{'type':Sequelize['ENUM'](_0x1000('0x8'),'no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize[_0x1000('0x7')](_0x1000('0x8'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize[_0x1000('0x7')](_0x1000('0x8'),'no'),'defaultValue':_0x1000('0x8'),'allowNull':![]},'stamp':{'type':_0x1000('0x9')},'emailsubject':{'type':Sequelize[_0x1000('0x2')]},'emailbody':{'type':Sequelize[_0x1000('0x2')]},'name':{'type':Sequelize[_0x1000('0x2')]},'maxsecs':{'type':Sequelize[_0x1000('0xa')](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize['INTEGER'](0xff),'defaultValue':0x64,'allowNull':![]}};