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