5f2e9a11b5040d4c54ce0caa5830be603ee90ace
[motion2.git] / server / api / condition / index.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 _0xe1fa=['delete','destroy','exports','multer','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','isAuthenticated','update'];(function(_0x10356a,_0x526f4a){var _0x38d1e8=function(_0xcf1c17){while(--_0xcf1c17){_0x10356a['push'](_0x10356a['shift']());}};_0x38d1e8(++_0x526f4a);}(_0xe1fa,0x11b));var _0xae1f=function(_0x15f287,_0x511407){_0x15f287=_0x15f287-0x0;var _0x3c858a=_0xe1fa[_0x15f287];return _0x3c858a;};'use strict';var multer=require(_0xae1f('0x0'));var util=require('util');var path=require(_0xae1f('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xae1f('0x2')]();var auth=require(_0xae1f('0x3'));var interaction=require(_0xae1f('0x4'));var config=require(_0xae1f('0x5'));var controller=require(_0xae1f('0x6'));router[_0xae1f('0x7')](_0xae1f('0x8'),auth[_0xae1f('0x9')](),controller[_0xae1f('0xa')]);router[_0xae1f('0xb')](_0xae1f('0x8'),auth[_0xae1f('0x9')](),controller[_0xae1f('0xc')]);module[_0xae1f('0xd')]=router;