Built motion from commit (unavailable).|2.5.2
[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 _0x80f0=['exports','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','isAuthenticated','update','delete','/:id','destroy'];(function(_0x56aab0,_0x4afd25){var _0xa15bf4=function(_0x499049){while(--_0x499049){_0x56aab0['push'](_0x56aab0['shift']());}};_0xa15bf4(++_0x4afd25);}(_0x80f0,0xf1));var _0x080f=function(_0x5a71f7,_0x3736d9){_0x5a71f7=_0x5a71f7-0x0;var _0x16daec=_0x80f0[_0x5a71f7];return _0x16daec;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x080f('0x0'));var router=express['Router']();var auth=require(_0x080f('0x1'));var interaction=require(_0x080f('0x2'));var config=require(_0x080f('0x3'));var controller=require(_0x080f('0x4'));router[_0x080f('0x5')]('/:id',auth[_0x080f('0x6')](),controller[_0x080f('0x7')]);router[_0x080f('0x8')](_0x080f('0x9'),auth[_0x080f('0x6')](),controller[_0x080f('0xa')]);module[_0x080f('0xb')]=router;