a4e828b6fd285a554a2954e119b9e400e18a556c
[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 _0x48b2=['sequelize','exports','STRING','compositeIndex','ENUM','inbound','outbound','internal','inbound-fax','outbound-fax','any','*,*,*,*','INTEGER','BOOLEAN','wav','VIRTUAL','exten'];(function(_0x3511d3,_0x4107ae){var _0x5d6321=function(_0x1a23da){while(--_0x1a23da){_0x3511d3['push'](_0x3511d3['shift']());}};_0x5d6321(++_0x4107ae);}(_0x48b2,0x121));var _0x248b=function(_0xab0a56,_0x5f0c05){_0xab0a56=_0xab0a56-0x0;var _0xad1dc=_0x48b2[_0xab0a56];return _0xad1dc;};'use strict';var Sequelize=require(_0x248b('0x0'));module[_0x248b('0x1')]={'context':{'type':Sequelize[_0x248b('0x2')],'allowNull':![],'unique':_0x248b('0x3'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0x248b('0x2')],'allowNull':![],'unique':_0x248b('0x3')},'priority':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'1','unique':_0x248b('0x3')},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x248b('0x2')],'allowNull':![],'defaultValue':'NoOp'},'appdata':{'type':Sequelize[_0x248b('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x248b('0x4')](_0x248b('0x5'),_0x248b('0x6'),_0x248b('0x7'),_0x248b('0x8'),_0x248b('0x9'),'system',_0x248b('0xa')),'allowNull':![]},'description':{'type':Sequelize[_0x248b('0x2')]},'interval':{'type':Sequelize[_0x248b('0x2')],'allowNull':![],'defaultValue':_0x248b('0xb')},'IntervalId':{'type':Sequelize[_0x248b('0xc')]},'isApp':{'type':Sequelize[_0x248b('0xd')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize['STRING'],'defaultValue':null},'callerID':{'type':Sequelize[_0x248b('0x2')],'allowNull':!![]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':_0x248b('0xe')},'answer':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'name':{'type':Sequelize[_0x248b('0xf')],'get':function(_0x3b6147){return this['getDataValue'](_0x248b('0x10'));}},'alias':{'type':Sequelize[_0x248b('0x2')],'allowNull':!![]}};