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