Built motion from commit (unavailable).|2.5.13
[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 _0xa827=['../../components/auth/service','../../components/interaction/service','../../config/environment','put','/:id','isAuthenticated','destroy','exports','multer','util','connect-timeout','express'];(function(_0x31aa50,_0x26fe46){var _0x2e7f19=function(_0x584ae6){while(--_0x584ae6){_0x31aa50['push'](_0x31aa50['shift']());}};_0x2e7f19(++_0x26fe46);}(_0xa827,0xec));var _0x7a82=function(_0x1244cd,_0x1fd895){_0x1244cd=_0x1244cd-0x0;var _0x401db2=_0xa827[_0x1244cd];return _0x401db2;};'use strict';var multer=require(_0x7a82('0x0'));var util=require(_0x7a82('0x1'));var path=require('path');var timeout=require(_0x7a82('0x2'));var express=require(_0x7a82('0x3'));var router=express['Router']();var auth=require(_0x7a82('0x4'));var interaction=require(_0x7a82('0x5'));var config=require(_0x7a82('0x6'));var controller=require('./condition.controller');router[_0x7a82('0x7')](_0x7a82('0x8'),auth[_0x7a82('0x9')](),controller['update']);router['delete'](_0x7a82('0x8'),auth[_0x7a82('0x9')](),controller[_0x7a82('0xa')]);module[_0x7a82('0xb')]=router;