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