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