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