Built motion from commit b4f7ded2.|2.0.69
[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 _0xaf33=['setDataValue','email','trim','yes','ENUM','TINYINT(4)','TIMESTAMP','INTEGER','exports','STRING','from-voicemail','contest_mailbox'];(function(_0x49a015,_0x31c561){var _0x9d9e5c=function(_0x42b4be){while(--_0x42b4be){_0x49a015['push'](_0x49a015['shift']());}};_0x9d9e5c(++_0x31c561);}(_0xaf33,0x158));var _0x3af3=function(_0xa37bf,_0x5d07b7){_0xa37bf=_0xa37bf-0x0;var _0x215366=_0xaf33[_0xa37bf];return _0x215366;};'use strict';var Sequelize=require('sequelize');module[_0x3af3('0x0')]={'customer_id':{'type':Sequelize[_0x3af3('0x1')]},'context':{'type':Sequelize[_0x3af3('0x1')],'defaultValue':_0x3af3('0x2'),'unique':_0x3af3('0x3')},'mailbox':{'type':Sequelize[_0x3af3('0x1')],'defaultValue':'','allowNull':![],'unique':'contest_mailbox'},'password':{'type':Sequelize['STRING']},'fullname':{'type':Sequelize[_0x3af3('0x1')]},'email':{'type':Sequelize[_0x3af3('0x1')],'validate':{'isEmail':!![]},'set':function(_0x19da80){this[_0x3af3('0x4')](_0x3af3('0x5'),typeof _0x19da80==='string'&&_0x19da80[_0x3af3('0x6')]()?_0x19da80['trim']():null);}},'pager':{'type':Sequelize[_0x3af3('0x1')]},'tz':{'type':Sequelize[_0x3af3('0x1')],'defaultValue':'central'},'attach':{'type':Sequelize['ENUM'](_0x3af3('0x7'),'no'),'defaultValue':_0x3af3('0x7'),'allowNull':![]},'saycid':{'type':Sequelize[_0x3af3('0x8')](_0x3af3('0x7'),'no'),'defaultValue':_0x3af3('0x7'),'allowNull':![]},'dialout':{'type':Sequelize[_0x3af3('0x1')]},'callback':{'type':Sequelize[_0x3af3('0x1')]},'review':{'type':Sequelize[_0x3af3('0x8')](_0x3af3('0x7'),'no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize[_0x3af3('0x8')](_0x3af3('0x7'),'no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0x3af3('0x8')](_0x3af3('0x7'),'no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize[_0x3af3('0x8')](_0x3af3('0x7'),'no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':_0x3af3('0x9'),'defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize[_0x3af3('0x8')](_0x3af3('0x7'),'no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize[_0x3af3('0x8')](_0x3af3('0x7'),'no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize[_0x3af3('0x8')](_0x3af3('0x7'),'no'),'defaultValue':_0x3af3('0x7'),'allowNull':![]},'forcename':{'type':Sequelize[_0x3af3('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize['ENUM'](_0x3af3('0x7'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize['ENUM'](_0x3af3('0x7'),'no'),'defaultValue':'yes','allowNull':![]},'stamp':{'type':_0x3af3('0xa')},'emailsubject':{'type':Sequelize[_0x3af3('0x1')]},'emailbody':{'type':Sequelize[_0x3af3('0x1')]},'name':{'type':Sequelize['STRING']},'maxsecs':{'type':Sequelize[_0x3af3('0xb')](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize[_0x3af3('0xb')](0xff),'defaultValue':0x64,'allowNull':![]}};