Built motion from commit c738b9ac.|2.6.25
[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 _0x2ddb=['compositeIndex','NoOp','ENUM','inbound','outbound','internal','inbound-fax','outbound-fax','system','*,*,*,*','INTEGER','BOOLEAN','wav','VIRTUAL','exten','sequelize','STRING'];(function(_0x4acd2b,_0x2f01a9){var _0x5caf90=function(_0x15b8c1){while(--_0x15b8c1){_0x4acd2b['push'](_0x4acd2b['shift']());}};_0x5caf90(++_0x2f01a9);}(_0x2ddb,0x1c9));var _0xb2dd=function(_0x2e0721,_0x10ee64){_0x2e0721=_0x2e0721-0x0;var _0x401ce1=_0x2ddb[_0x2e0721];return _0x401ce1;};'use strict';var Sequelize=require(_0xb2dd('0x0'));module['exports']={'context':{'type':Sequelize[_0xb2dd('0x1')],'allowNull':![],'unique':_0xb2dd('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xb2dd('0x1')],'allowNull':![],'unique':_0xb2dd('0x2')},'priority':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'1','unique':_0xb2dd('0x2')},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xb2dd('0x3')},'appdata':{'type':Sequelize[_0xb2dd('0x1')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xb2dd('0x4')](_0xb2dd('0x5'),_0xb2dd('0x6'),_0xb2dd('0x7'),_0xb2dd('0x8'),_0xb2dd('0x9'),_0xb2dd('0xa'),'any'),'allowNull':![]},'description':{'type':Sequelize[_0xb2dd('0x1')]},'interval':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xb2dd('0xb')},'IntervalId':{'type':Sequelize[_0xb2dd('0xc')]},'isApp':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xb2dd('0x1')],'defaultValue':null},'callerID':{'type':Sequelize[_0xb2dd('0x1')],'allowNull':!![]},'record':{'type':Sequelize[_0xb2dd('0xd')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xb2dd('0xc')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':_0xb2dd('0xe')},'answer':{'type':Sequelize[_0xb2dd('0xd')],'defaultValue':!![]},'name':{'type':Sequelize[_0xb2dd('0xf')],'get':function(_0x5cac9b){return this['getDataValue'](_0xb2dd('0x10'));}},'alias':{'type':Sequelize[_0xb2dd('0x1')],'allowNull':!![]}};