6d735bd96cfb5c43ab74922a9b2612bfee8d5fd5
[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 _0x461e=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','update','delete','isAuthenticated','destroy','exports','multer','util','path'];(function(_0x478c8a,_0x9afc92){var _0x3b6b3e=function(_0x37634e){while(--_0x37634e){_0x478c8a['push'](_0x478c8a['shift']());}};_0x3b6b3e(++_0x9afc92);}(_0x461e,0x18d));var _0xe461=function(_0x3f7fdf,_0x5e37d9){_0x3f7fdf=_0x3f7fdf-0x0;var _0x5a75dd=_0x461e[_0x3f7fdf];return _0x5a75dd;};'use strict';var multer=require(_0xe461('0x0'));var util=require(_0xe461('0x1'));var path=require(_0xe461('0x2'));var timeout=require(_0xe461('0x3'));var express=require(_0xe461('0x4'));var router=express[_0xe461('0x5')]();var auth=require(_0xe461('0x6'));var interaction=require(_0xe461('0x7'));var config=require(_0xe461('0x8'));var controller=require(_0xe461('0x9'));router[_0xe461('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xe461('0xb')]);router[_0xe461('0xc')]('/:id',auth[_0xe461('0xd')](),controller[_0xe461('0xe')]);module[_0xe461('0xf')]=router;