Built motion from commit 00bf23f6.|2.6.16
[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 _0x6a8e=['INTEGER','BOOLEAN','VIRTUAL','getDataValue','sequelize','STRING','compositeIndex','NoOp','ENUM','inbound','outbound','internal','outbound-fax','*,*,*,*'];(function(_0x1d9aa0,_0x272488){var _0x226868=function(_0x17127c){while(--_0x17127c){_0x1d9aa0['push'](_0x1d9aa0['shift']());}};_0x226868(++_0x272488);}(_0x6a8e,0x82));var _0xe6a8=function(_0x4bb010,_0x5c862b){_0x4bb010=_0x4bb010-0x0;var _0x45e1dc=_0x6a8e[_0x4bb010];return _0x45e1dc;};'use strict';var Sequelize=require(_0xe6a8('0x0'));module['exports']={'context':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'unique':_0xe6a8('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'defaultValue':'1','unique':_0xe6a8('0x2')},'tag':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'defaultValue':_0xe6a8('0x3')},'appdata':{'type':Sequelize[_0xe6a8('0x1')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xe6a8('0x4')](_0xe6a8('0x5'),_0xe6a8('0x6'),_0xe6a8('0x7'),'inbound-fax',_0xe6a8('0x8'),'system','any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':![],'defaultValue':_0xe6a8('0x9')},'IntervalId':{'type':Sequelize[_0xe6a8('0xa')]},'isApp':{'type':Sequelize[_0xe6a8('0xb')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xe6a8('0x1')],'defaultValue':null},'callerID':{'type':Sequelize[_0xe6a8('0x1')],'allowNull':!![]},'record':{'type':Sequelize[_0xe6a8('0xb')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xe6a8('0xa')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize[_0xe6a8('0xb')],'defaultValue':!![]},'name':{'type':Sequelize[_0xe6a8('0xc')],'get':function(_0x21085f){return this[_0xe6a8('0xd')]('exten');}},'alias':{'type':Sequelize['STRING'],'allowNull':!![]}};