lhcAppControllers.controller("BotRestAPIParameters",["$scope","$http","$location","$rootScope","$log","$window",function(t,e,a,i,s,r){this.parameters=[],this.host="",this.ecache="";var o=this;this.addParameter=function(){o.parameters.push({method:"GET",authorization:"",api_key_location:"header",query:[],header:[],conditions:[],postparams:[],userparams:[],output:[],id:"temp"+(new Date).getTime()})},this.addParam=function(t){t.push({key:"",value:"",id:"temp"+(new Date).getTime()})},this.deleteParam=function(t,e){t.splice(t.indexOf(e),1)},this.deleteParameter=function(t){o.parameters.splice(o.parameters.indexOf(t),1)},this.getJSON=function(){return JSON.stringify({host:o.host,ecache:o.ecache,parameters:o.parameters})},this.initParams=function(){this.parameters=r.rest_api_parameters,this.parameters.forEach((function(t){void 0===t.conditions&&(t.conditions=[])})),this.host=r.botRestAPIHost,this.ecache=r.botRestAPIECache}}]);
//# sourceMappingURL=aab810d35fbe9611616dfed61a7ef53a.js.map
