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