ba5889ecf3b99135d4ace7a5272c3766a387574d
[motion2.git] / server / api / voiceExtension / voiceExtension.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 _0xdf9b=['BOOLEAN','VIRTUAL','getDataValue','exten','sequelize','exports','compositeIndex','STRING','ENUM','inbound','outbound','internal','inbound-fax','outbound-fax','system','any','*,*,*,*','INTEGER'];(function(_0x10bb5d,_0x3a2470){var _0x20d051=function(_0x4d948e){while(--_0x4d948e){_0x10bb5d['push'](_0x10bb5d['shift']());}};_0x20d051(++_0x3a2470);}(_0xdf9b,0xdc));var _0xbdf9=function(_0x1da527,_0x2dc953){_0x1da527=_0x1da527-0x0;var _0x40fc7c=_0xdf9b[_0x1da527];return _0x40fc7c;};'use strict';var Sequelize=require(_0xbdf9('0x0'));module[_0xbdf9('0x1')]={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':'compositeIndex','validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xbdf9('0x2')},'priority':{'type':Sequelize[_0xbdf9('0x3')],'allowNull':![],'defaultValue':'1','unique':_0xbdf9('0x2')},'tag':{'type':Sequelize[_0xbdf9('0x3')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'NoOp'},'appdata':{'type':Sequelize[_0xbdf9('0x3')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xbdf9('0x4')](_0xbdf9('0x5'),_0xbdf9('0x6'),_0xbdf9('0x7'),_0xbdf9('0x8'),_0xbdf9('0x9'),_0xbdf9('0xa'),_0xbdf9('0xb')),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0xbdf9('0x3')],'allowNull':![],'defaultValue':_0xbdf9('0xc')},'IntervalId':{'type':Sequelize[_0xbdf9('0xd')]},'isApp':{'type':Sequelize[_0xbdf9('0xe')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xbdf9('0x3')],'defaultValue':null},'callerID':{'type':Sequelize['STRING'],'allowNull':!![]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize[_0xbdf9('0xe')],'defaultValue':!![]},'name':{'type':Sequelize[_0xbdf9('0xf')],'get':function(_0x28a457){return this[_0xbdf9('0x10')](_0xbdf9('0x11'));}},'alias':{'type':Sequelize[_0xbdf9('0x3')],'allowNull':!![]}};