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