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