Built motion from commit (unavailable).|2.5.10
[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 _0xb8f2=['express','Router','../../components/auth/service','./condition.controller','put','/:id','update','delete','isAuthenticated','multer','path','connect-timeout'];(function(_0x541b33,_0x4adee8){var _0x3c1582=function(_0x305879){while(--_0x305879){_0x541b33['push'](_0x541b33['shift']());}};_0x3c1582(++_0x4adee8);}(_0xb8f2,0xf9));var _0x2b8f=function(_0x4663cf,_0x4045b2){_0x4663cf=_0x4663cf-0x0;var _0x5e7f76=_0xb8f2[_0x4663cf];return _0x5e7f76;};'use strict';var multer=require(_0x2b8f('0x0'));var util=require('util');var path=require(_0x2b8f('0x1'));var timeout=require(_0x2b8f('0x2'));var express=require(_0x2b8f('0x3'));var router=express[_0x2b8f('0x4')]();var auth=require(_0x2b8f('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x2b8f('0x6'));router[_0x2b8f('0x7')](_0x2b8f('0x8'),auth['isAuthenticated'](),controller[_0x2b8f('0x9')]);router[_0x2b8f('0xa')](_0x2b8f('0x8'),auth[_0x2b8f('0xb')](),controller['destroy']);module['exports']=router;