Built motion from commit (unavailable).|2.5.22
[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 _0xdfaf=['/:id','isAuthenticated','update','destroy','multer','util','path','Router','../../components/auth/service','../../config/environment','./condition.controller','put'];(function(_0x6b472f,_0x296e80){var _0xbcb4c6=function(_0x37f633){while(--_0x37f633){_0x6b472f['push'](_0x6b472f['shift']());}};_0xbcb4c6(++_0x296e80);}(_0xdfaf,0x7c));var _0xfdfa=function(_0x457087,_0x38f169){_0x457087=_0x457087-0x0;var _0x326523=_0xdfaf[_0x457087];return _0x326523;};'use strict';var multer=require(_0xfdfa('0x0'));var util=require(_0xfdfa('0x1'));var path=require(_0xfdfa('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfdfa('0x3')]();var auth=require(_0xfdfa('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xfdfa('0x5'));var controller=require(_0xfdfa('0x6'));router[_0xfdfa('0x7')](_0xfdfa('0x8'),auth[_0xfdfa('0x9')](),controller[_0xfdfa('0xa')]);router['delete'](_0xfdfa('0x8'),auth[_0xfdfa('0x9')](),controller[_0xfdfa('0xb')]);module['exports']=router;