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