cdb5fb1df6abeccc656ccecec96b55a9fa869dd6
[motion2.git] / server / api / trunk / trunk.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 _0xc58b=['getDataValue','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','shortinfo','inband','auto','yes','outgoing','force_rport,comedia','nat','join','split','all','ulaw;alaw;gsm','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22alaw\x22]','port,invite','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','INTEGER','accept','refuse','originate','uac','uas','pai','certificate','active','passive','dynamic','nonat','update','sequelize','exports','name','ENUM','friend','user','peer','STRING','from-voip-provider','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','udp','setDataValue','transport'];(function(_0x253aee,_0x3a5816){var _0x2c34b0=function(_0x497300){while(--_0x497300){_0x253aee['push'](_0x253aee['shift']());}};_0x2c34b0(++_0x3a5816);}(_0xc58b,0x1ec));var _0xbc58=function(_0x13a330,_0x26b966){_0x13a330=_0x13a330-0x0;var _0x3927ec=_0xc58b[_0x13a330];return _0x3927ec;};'use strict';var Sequelize=require(_0xbc58('0x0'));module[_0xbc58('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xbc58('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x4'),_0xbc58('0x5'),_0xbc58('0x6')),'allowNull':![],'defaultValue':_0xbc58('0x4')},'context':{'type':Sequelize[_0xbc58('0x7')],'allowNull':![],'defaultValue':_0xbc58('0x8')},'callingpres':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x9'),_0xbc58('0xa'),_0xbc58('0xb'),_0xbc58('0xc'),_0xbc58('0xd'),_0xbc58('0xe'),'PROHIB_FAILED_SCREEN','PROHIB')},'deny':{'type':Sequelize[_0xbc58('0x7')]},'permit':{'type':Sequelize[_0xbc58('0x7')]},'secret':{'type':Sequelize['STRING']},'md5secret':{'type':Sequelize[_0xbc58('0x7')]},'remotesecret':{'type':Sequelize[_0xbc58('0x7')]},'transport':{'type':Sequelize[_0xbc58('0x7')],'defaultValue':_0xbc58('0xf'),'set':function(_0x216e26){this[_0xbc58('0x10')](_0xbc58('0x11'),_0x216e26?_0x216e26['join'](','):null);},'get':function(){return this['getDataValue'](_0xbc58('0x11'))?this[_0xbc58('0x12')](_0xbc58('0x11'))['split'](','):null;},'comment':_0xbc58('0x13')},'dtmfmode':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x14'),'info',_0xbc58('0x15'),_0xbc58('0x16'),_0xbc58('0x17')),'defaultValue':_0xbc58('0x14')},'directmedia':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no','nonat','update',_0xbc58('0x19')),'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no'),'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0xbc58('0x7')]},'directmediadeny':{'type':Sequelize[_0xbc58('0x7')]},'nat':{'type':Sequelize['STRING'],'defaultValue':_0xbc58('0x1a'),'set':function(_0x23e571){this[_0xbc58('0x10')](_0xbc58('0x1b'),_0x23e571?_0x23e571[_0xbc58('0x1c')](','):null);},'get':function(){return this[_0xbc58('0x12')](_0xbc58('0x1b'))?this['getDataValue'](_0xbc58('0x1b'))[_0xbc58('0x1d')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'},'callgroup':{'type':Sequelize[_0xbc58('0x7')]},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0xbc58('0x7')]},'namedpickupgroup':{'type':Sequelize[_0xbc58('0x7')]},'language':{'type':Sequelize[_0xbc58('0x7')],'defaultValue':'en'},'tonezone':{'type':Sequelize['STRING'],'allowNull':!![]},'disallow':{'type':Sequelize['STRING'],'defaultValue':_0xbc58('0x1e')},'allow':{'type':Sequelize[_0xbc58('0x7')],'allowNull':![],'defaultValue':_0xbc58('0x1f'),'set':function(_0x1f6002){this['setDataValue'](_0xbc58('0x20'),_0x1f6002?_0x1f6002[_0xbc58('0x1c')](';'):'ulaw;alaw;gsm');},'get':function(){return this[_0xbc58('0x12')]('allow')?this[_0xbc58('0x12')](_0xbc58('0x20'))[_0xbc58('0x1d')](';'):null;},'comment':_0xbc58('0x21')},'autoframing':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no')},'insecure':{'type':Sequelize[_0xbc58('0x7')],'defaultValue':_0xbc58('0x22'),'set':function(_0x24d45b){this[_0xbc58('0x10')](_0xbc58('0x23'),_0x24d45b?_0x24d45b['join'](','):null);},'get':function(){return this['getDataValue'](_0xbc58('0x23'))?this[_0xbc58('0x12')]('insecure')['split'](','):null;},'comment':_0xbc58('0x24')},'trustrpid':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no'),'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no'),'defaultValue':'no'},'progressinband':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no',_0xbc58('0x25'))},'promiscredir':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no')},'useclientcode':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no')},'accountcode':{'type':Sequelize[_0xbc58('0x26')](0xb)},'setvar':{'type':Sequelize[_0xbc58('0x7')]},'callerid':{'type':Sequelize[_0xbc58('0x7')],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize[_0xbc58('0x7')]},'callcounter':{'type':Sequelize[_0xbc58('0x3')]('yes','no'),'defaultValue':'yes'},'busylevel':{'type':Sequelize[_0xbc58('0x26')](0xb)},'allowoverlap':{'type':Sequelize[_0xbc58('0x3')]('yes','no')},'allowsubscribe':{'type':Sequelize['ENUM']('yes','no')},'allowtransfer':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no')},'ignoresdpversion':{'type':Sequelize['ENUM']('yes','no')},'subscribecontext':{'type':Sequelize[_0xbc58('0x7')]},'template':{'type':Sequelize[_0xbc58('0x7')]},'videosupport':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no','always'),'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0xbc58('0x26')](0xb)},'rfc2833compensate':{'type':Sequelize['ENUM']('yes','no')},'mailbox':{'type':Sequelize[_0xbc58('0x7')]},'session_timers':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x27'),_0xbc58('0x28'),_0xbc58('0x29'))},'session_expires':{'type':Sequelize[_0xbc58('0x26')](0xb)},'session_minse':{'type':Sequelize[_0xbc58('0x26')](0xb)},'session_refresher':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x2a'),'uas'),'defaultValue':_0xbc58('0x2b')},'t38pt_usertpsource':{'type':Sequelize['STRING']},'regexten':{'type':Sequelize[_0xbc58('0x7')]},'fromdomain':{'type':Sequelize['STRING']},'fromuser':{'type':Sequelize[_0xbc58('0x7')]},'port':{'type':Sequelize[_0xbc58('0x26')](0x5)},'qualify':{'type':Sequelize['ENUM'](_0xbc58('0x18'),'no'),'defaultValue':_0xbc58('0x18')},'keepalive':{'type':Sequelize[_0xbc58('0x26')](0xb)},'defaultip':{'type':Sequelize[_0xbc58('0x7')]},'defaultuser':{'type':Sequelize[_0xbc58('0x7')]},'rtptimeout':{'type':Sequelize[_0xbc58('0x26')](0xb)},'rtpholdtimeout':{'type':Sequelize[_0xbc58('0x26')](0xb)},'rtpkeepalive':{'type':Sequelize[_0xbc58('0x26')](0xb)},'sendrpid':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no',_0xbc58('0x2c')),'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0xbc58('0x7')]},'callbackextension':{'type':Sequelize[_0xbc58('0x7')]},'timert1':{'type':Sequelize[_0xbc58('0x26')](0xb)},'timerb':{'type':Sequelize['INTEGER'](0xb)},'qualifyfreq':{'type':Sequelize['INTEGER'](0xb)},'contactpermit':{'type':Sequelize[_0xbc58('0x7')]},'contactdeny':{'type':Sequelize[_0xbc58('0x7')]},'contactacl':{'type':Sequelize[_0xbc58('0x7')]},'unsolicited_mailbox':{'type':Sequelize['STRING']},'use_q850_reason':{'type':Sequelize[_0xbc58('0x7')]},'maxforwards':{'type':Sequelize[_0xbc58('0x26')](0xb)},'encryption':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no'),'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0xbc58('0x18'),'no')},'force_avp':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no')},'icesupport':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x18'),'no')},'dtlsenable':{'type':Sequelize[_0xbc58('0x3')]('yes','no')},'dtlsverify':{'type':Sequelize[_0xbc58('0x3')]('yes','no','fingerprint',_0xbc58('0x2d'))},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb)},'dtlscertfile':{'type':Sequelize[_0xbc58('0x7')]},'dtlsprivatekey':{'type':Sequelize[_0xbc58('0x7')]},'dtlscipher':{'type':Sequelize[_0xbc58('0x7')]},'dtlscafile':{'type':Sequelize[_0xbc58('0x7')]},'dtlscapath':{'type':Sequelize['STRING']},'dtlssetup':{'type':Sequelize[_0xbc58('0x3')](_0xbc58('0x2e'),_0xbc58('0x2f'),'actpass'),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0xbc58('0x7')]},'usereqphone':{'type':Sequelize['ENUM'](_0xbc58('0x18'),'no'),'defaultValue':'no'},'recordonfeature':{'type':Sequelize['STRING']},'recordofffeature':{'type':Sequelize[_0xbc58('0x7')]},'call_limit':{'type':Sequelize[_0xbc58('0x26')](0xb),'defaultValue':0x3e8},'registertrying':{'type':Sequelize[_0xbc58('0x3')]('yes','no')},'subscribemwi':{'type':Sequelize['ENUM'](_0xbc58('0x18'),'no')},'vmexten':{'type':Sequelize[_0xbc58('0x7')]},'mohinterpret':{'type':Sequelize['STRING']},'mohsuggest':{'type':Sequelize[_0xbc58('0x7')]},'parkinglot':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xbc58('0x7')]},'host':{'type':Sequelize['STRING'],'defaultValue':_0xbc58('0x30')},'canreinvite':{'type':Sequelize[_0xbc58('0x3')]('yes','no',_0xbc58('0x31'),_0xbc58('0x32'),'update,nonat'),'defaultValue':'no'},'registry':{'type':Sequelize[_0xbc58('0x7')]},'otherFields':{'type':Sequelize[_0xbc58('0x7')]},'active':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':!![]},'t38pt_udptl':{'type':Sequelize[_0xbc58('0x7')],'defaultValue':'no'}};