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