c398715cfca5fd1851b04006d0409208938ddfa7
[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 _0xf63b=['destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./condition.controller','put','update','delete','/:id','isAuthenticated'];(function(_0x2e2681,_0x4089c1){var _0x368a64=function(_0x267262){while(--_0x267262){_0x2e2681['push'](_0x2e2681['shift']());}};_0x368a64(++_0x4089c1);}(_0xf63b,0x71));var _0xbf63=function(_0x2a247f,_0x3f98b1){_0x2a247f=_0x2a247f-0x0;var _0x395ced=_0xf63b[_0x2a247f];return _0x395ced;};'use strict';var multer=require(_0xbf63('0x0'));var util=require(_0xbf63('0x1'));var path=require(_0xbf63('0x2'));var timeout=require(_0xbf63('0x3'));var express=require(_0xbf63('0x4'));var router=express[_0xbf63('0x5')]();var fs_extra=require(_0xbf63('0x6'));var auth=require(_0xbf63('0x7'));var interaction=require(_0xbf63('0x8'));var config=require('../../config/environment');var controller=require(_0xbf63('0x9'));router[_0xbf63('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xbf63('0xb')]);router[_0xbf63('0xc')](_0xbf63('0xd'),auth[_0xbf63('0xe')](),controller[_0xbf63('0xf')]);module['exports']=router;