Built motion from commit b5413ace.|2.6.9
[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 _0x44b3=['inbound-fax','outbound-fax','any','*,*,*,*','INTEGER','BOOLEAN','wav','VIRTUAL','getDataValue','exten','sequelize','STRING','compositeIndex','NoOp','ENUM','inbound'];(function(_0x2484b6,_0x50b5e4){var _0x2b68b9=function(_0x165c02){while(--_0x165c02){_0x2484b6['push'](_0x2484b6['shift']());}};_0x2b68b9(++_0x50b5e4);}(_0x44b3,0x1da));var _0x344b=function(_0x1cc663,_0x542ab9){_0x1cc663=_0x1cc663-0x0;var _0x56cb5e=_0x44b3[_0x1cc663];return _0x56cb5e;};'use strict';var Sequelize=require(_0x344b('0x0'));module['exports']={'context':{'type':Sequelize[_0x344b('0x1')],'allowNull':![],'unique':_0x344b('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0x344b('0x1')],'allowNull':![],'unique':_0x344b('0x2')},'priority':{'type':Sequelize[_0x344b('0x1')],'allowNull':![],'defaultValue':'1','unique':_0x344b('0x2')},'tag':{'type':Sequelize[_0x344b('0x1')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x344b('0x1')],'allowNull':![],'defaultValue':_0x344b('0x3')},'appdata':{'type':Sequelize['STRING'](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0x344b('0x4')](_0x344b('0x5'),'outbound','internal',_0x344b('0x6'),_0x344b('0x7'),'system',_0x344b('0x8')),'allowNull':![]},'description':{'type':Sequelize[_0x344b('0x1')]},'interval':{'type':Sequelize[_0x344b('0x1')],'allowNull':![],'defaultValue':_0x344b('0x9')},'IntervalId':{'type':Sequelize[_0x344b('0xa')]},'isApp':{'type':Sequelize[_0x344b('0xb')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x344b('0x1')],'defaultValue':null},'callerID':{'type':Sequelize[_0x344b('0x1')],'allowNull':!![]},'record':{'type':Sequelize[_0x344b('0xb')],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize[_0x344b('0x1')],'defaultValue':_0x344b('0xc')},'answer':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'name':{'type':Sequelize[_0x344b('0xd')],'get':function(_0x12c369){return this[_0x344b('0xe')](_0x344b('0xf'));}},'alias':{'type':Sequelize['STRING'],'allowNull':!![]}};