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