Built motion from commit (unavailable).|2.3.95
[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 _0x25b3=['exports','from-voicemail','contest_mailbox','STRING','trim','central','ENUM','yes','TIMESTAMP','INTEGER','fullname','\x20-\x20','getDataValue','mailbox','sequelize'];(function(_0x13fbf3,_0x9d385d){var _0x3abe39=function(_0x8e8d2a){while(--_0x8e8d2a){_0x13fbf3['push'](_0x13fbf3['shift']());}};_0x3abe39(++_0x9d385d);}(_0x25b3,0x1a3));var _0x325b=function(_0x4114dd,_0x2ad862){_0x4114dd=_0x4114dd-0x0;var _0x26f44c=_0x25b3[_0x4114dd];return _0x26f44c;};'use strict';var Sequelize=require(_0x325b('0x0'));module[_0x325b('0x1')]={'customer_id':{'type':Sequelize['STRING']},'context':{'type':Sequelize['STRING'],'defaultValue':_0x325b('0x2'),'unique':_0x325b('0x3')},'mailbox':{'type':Sequelize[_0x325b('0x4')],'defaultValue':'','allowNull':![],'unique':_0x325b('0x3')},'password':{'type':Sequelize[_0x325b('0x4')]},'fullname':{'type':Sequelize[_0x325b('0x4')]},'email':{'type':Sequelize[_0x325b('0x4')],'validate':{'isEmail':!![]},'set':function(_0x3de6c0){this['setDataValue']('email',typeof _0x3de6c0==='string'&&_0x3de6c0[_0x325b('0x5')]()?_0x3de6c0[_0x325b('0x5')]():null);}},'pager':{'type':Sequelize[_0x325b('0x4')]},'tz':{'type':Sequelize['STRING'],'defaultValue':_0x325b('0x6')},'attach':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':_0x325b('0x8'),'allowNull':![]},'saycid':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':'yes','allowNull':![]},'dialout':{'type':Sequelize['STRING']},'callback':{'type':Sequelize['STRING']},'review':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize['ENUM'](_0x325b('0x8'),'no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize['ENUM'](_0x325b('0x8'),'no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':'TINYINT(4)','defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':_0x325b('0x8'),'allowNull':![]},'forcename':{'type':Sequelize['ENUM'](_0x325b('0x8'),'no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize[_0x325b('0x7')](_0x325b('0x8'),'no'),'defaultValue':_0x325b('0x8'),'allowNull':![]},'stamp':{'type':_0x325b('0x9')},'emailsubject':{'type':Sequelize['STRING']},'emailbody':{'type':Sequelize[_0x325b('0x4')]},'maxsecs':{'type':Sequelize[_0x325b('0xa')](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize[_0x325b('0xa')](0xff),'defaultValue':0x64,'allowNull':![]},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue'](_0x325b('0xb'))+_0x325b('0xc')+this[_0x325b('0xd')](_0x325b('0xe'));}}};