a794a2c16c830257e8a9423efea8c205b0076374
[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 _0xa304=['isAuthenticated','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id'];(function(_0x3ba67d,_0x4a1238){var _0x2beb32=function(_0x1a5780){while(--_0x1a5780){_0x3ba67d['push'](_0x3ba67d['shift']());}};_0x2beb32(++_0x4a1238);}(_0xa304,0x164));var _0x4a30=function(_0x2074db,_0x10b81b){_0x2074db=_0x2074db-0x0;var _0x27324c=_0xa304[_0x2074db];return _0x27324c;};'use strict';var multer=require(_0x4a30('0x0'));var util=require(_0x4a30('0x1'));var path=require(_0x4a30('0x2'));var timeout=require(_0x4a30('0x3'));var express=require(_0x4a30('0x4'));var router=express[_0x4a30('0x5')]();var fs_extra=require(_0x4a30('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x4a30('0x7'));var config=require(_0x4a30('0x8'));var controller=require(_0x4a30('0x9'));router[_0x4a30('0xa')](_0x4a30('0xb'),auth[_0x4a30('0xc')](),controller[_0x4a30('0xd')]);router[_0x4a30('0xe')]('/:id',auth[_0x4a30('0xc')](),controller[_0x4a30('0xf')]);module['exports']=router;