Built motion from commit e6806ed6.|2.6.0
[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 _0x955b=['BOOLEAN','wav','VIRTUAL','getDataValue','exten','sequelize','compositeIndex','STRING','inbound','internal','inbound-fax','system','any','*,*,*,*','INTEGER'];(function(_0x3f105a,_0x459d89){var _0x41a968=function(_0x18eb8a){while(--_0x18eb8a){_0x3f105a['push'](_0x3f105a['shift']());}};_0x41a968(++_0x459d89);}(_0x955b,0x1b8));var _0xb955=function(_0x664fad,_0x268bf2){_0x664fad=_0x664fad-0x0;var _0xaa5fca=_0x955b[_0x664fad];return _0xaa5fca;};'use strict';var Sequelize=require(_0xb955('0x0'));module['exports']={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xb955('0x1'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xb955('0x1')},'priority':{'type':Sequelize[_0xb955('0x2')],'allowNull':![],'defaultValue':'1','unique':_0xb955('0x1')},'tag':{'type':Sequelize[_0xb955('0x2')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'NoOp'},'appdata':{'type':Sequelize[_0xb955('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM'](_0xb955('0x3'),'outbound',_0xb955('0x4'),_0xb955('0x5'),'outbound-fax',_0xb955('0x6'),_0xb955('0x7')),'allowNull':![]},'description':{'type':Sequelize[_0xb955('0x2')]},'interval':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xb955('0x8')},'IntervalId':{'type':Sequelize[_0xb955('0x9')]},'isApp':{'type':Sequelize[_0xb955('0xa')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize['STRING'],'defaultValue':null},'callerID':{'type':Sequelize[_0xb955('0x2')],'allowNull':!![]},'record':{'type':Sequelize[_0xb955('0xa')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xb955('0x9')]},'recordingFormat':{'type':Sequelize[_0xb955('0x2')],'defaultValue':_0xb955('0xb')},'answer':{'type':Sequelize[_0xb955('0xa')],'defaultValue':!![]},'name':{'type':Sequelize[_0xb955('0xc')],'get':function(_0x1cba78){return this[_0xb955('0xd')](_0xb955('0xe'));}},'alias':{'type':Sequelize[_0xb955('0x2')],'allowNull':!![]}};