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