0e9e9111cc848768e75afab117e4deb67e157f1d
[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 _0x556d=['compositeIndex','outbound','internal','outbound-fax','*,*,*,*','BOOLEAN','INTEGER','wav','VIRTUAL','getDataValue','exten','sequelize','exports','STRING'];(function(_0xcf297f,_0x181a2b){var _0x6d418b=function(_0x130042){while(--_0x130042){_0xcf297f['push'](_0xcf297f['shift']());}};_0x6d418b(++_0x181a2b);}(_0x556d,0x1e7));var _0xd556=function(_0x277e83,_0xf3d267){_0x277e83=_0x277e83-0x0;var _0x39f1fb=_0x556d[_0x277e83];return _0x39f1fb;};'use strict';var Sequelize=require(_0xd556('0x0'));module[_0xd556('0x1')]={'context':{'type':Sequelize[_0xd556('0x2')],'allowNull':![],'unique':_0xd556('0x3'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xd556('0x2')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xd556('0x2')],'allowNull':![],'defaultValue':'1','unique':_0xd556('0x3')},'tag':{'type':Sequelize[_0xd556('0x2')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'NoOp'},'appdata':{'type':Sequelize['STRING'](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM']('inbound',_0xd556('0x4'),_0xd556('0x5'),'inbound-fax',_0xd556('0x6'),'system','any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0xd556('0x2')],'allowNull':![],'defaultValue':_0xd556('0x7')},'IntervalId':{'type':Sequelize['INTEGER']},'isApp':{'type':Sequelize[_0xd556('0x8')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xd556('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0xd556('0x2')],'allowNull':!![]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xd556('0x9')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':_0xd556('0xa')},'answer':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'name':{'type':Sequelize[_0xd556('0xb')],'get':function(_0x822382){return this[_0xd556('0xc')](_0xd556('0xd'));}},'alias':{'type':Sequelize[_0xd556('0x2')],'allowNull':!![]}};