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