6402fc42a1e115068725c6a63be0c166138b8cdd
[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 _0x0f85=['delete','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./condition.controller','put','/:id','isAuthenticated','update'];(function(_0x3bae50,_0x3c1dd9){var _0xb4286a=function(_0x2a3ca3){while(--_0x2a3ca3){_0x3bae50['push'](_0x3bae50['shift']());}};_0xb4286a(++_0x3c1dd9);}(_0x0f85,0x127));var _0x50f8=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0x0f85[_0x46e363];return _0x3fb059;};'use strict';var multer=require(_0x50f8('0x0'));var util=require(_0x50f8('0x1'));var path=require(_0x50f8('0x2'));var timeout=require(_0x50f8('0x3'));var express=require(_0x50f8('0x4'));var router=express[_0x50f8('0x5')]();var auth=require(_0x50f8('0x6'));var interaction=require(_0x50f8('0x7'));var config=require('../../config/environment');var controller=require(_0x50f8('0x8'));router[_0x50f8('0x9')](_0x50f8('0xa'),auth[_0x50f8('0xb')](),controller[_0x50f8('0xc')]);router[_0x50f8('0xd')](_0x50f8('0xa'),auth[_0x50f8('0xb')](),controller['destroy']);module['exports']=router;