76b23008e29c9a341f12b7b5ff643b48de769df8
[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 _0x912f=['wav','getDataValue','compositeIndex','STRING','NoOp','ENUM','inbound','inbound-fax','outbound-fax','system','INTEGER','BOOLEAN'];(function(_0x54605a,_0xc67e48){var _0x48429f=function(_0xa059cf){while(--_0xa059cf){_0x54605a['push'](_0x54605a['shift']());}};_0x48429f(++_0xc67e48);}(_0x912f,0x122));var _0xf912=function(_0x184ebd,_0x1a5a66){_0x184ebd=_0x184ebd-0x0;var _0x1b3dfe=_0x912f[_0x184ebd];return _0x1b3dfe;};'use strict';var Sequelize=require('sequelize');module['exports']={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xf912('0x0'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xf912('0x0')},'priority':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'1','unique':_0xf912('0x0')},'tag':{'type':Sequelize[_0xf912('0x1')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xf912('0x1')],'allowNull':![],'defaultValue':_0xf912('0x2')},'appdata':{'type':Sequelize[_0xf912('0x1')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xf912('0x3')](_0xf912('0x4'),'outbound','internal',_0xf912('0x5'),_0xf912('0x6'),_0xf912('0x7'),'any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0xf912('0x1')],'allowNull':![],'defaultValue':'*,*,*,*'},'IntervalId':{'type':Sequelize[_0xf912('0x8')]},'isApp':{'type':Sequelize[_0xf912('0x9')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xf912('0x1')],'defaultValue':null},'callerID':{'type':Sequelize['STRING'],'allowNull':!![]},'record':{'type':Sequelize[_0xf912('0x9')],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize[_0xf912('0x1')],'defaultValue':_0xf912('0xa')},'answer':{'type':Sequelize[_0xf912('0x9')],'defaultValue':!![]},'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x29bdaa){return this[_0xf912('0xb')]('exten');}},'alias':{'type':Sequelize[_0xf912('0x1')],'allowNull':!![]}};