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