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