Built motion from commit 43538d75.|2.5.35
[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 _0x8ae4=['exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','isAuthenticated','update','delete','destroy'];(function(_0x835144,_0x647703){var _0x5b577f=function(_0x1a587e){while(--_0x1a587e){_0x835144['push'](_0x835144['shift']());}};_0x5b577f(++_0x647703);}(_0x8ae4,0x1e1));var _0x48ae=function(_0x141bd9,_0x5bb488){_0x141bd9=_0x141bd9-0x0;var _0x188a68=_0x8ae4[_0x141bd9];return _0x188a68;};'use strict';var multer=require(_0x48ae('0x0'));var util=require(_0x48ae('0x1'));var path=require(_0x48ae('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x48ae('0x3')]();var fs_extra=require(_0x48ae('0x4'));var auth=require(_0x48ae('0x5'));var interaction=require(_0x48ae('0x6'));var config=require(_0x48ae('0x7'));var controller=require(_0x48ae('0x8'));router[_0x48ae('0x9')](_0x48ae('0xa'),auth[_0x48ae('0xb')](),controller[_0x48ae('0xc')]);router[_0x48ae('0xd')]('/:id',auth[_0x48ae('0xb')](),controller[_0x48ae('0xe')]);module[_0x48ae('0xf')]=router;