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