f085ea085d7b83dd7b75ee6a721a9213d6224793
[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 _0xaec7=['../../components/interaction/service','../../config/environment','put','/:id','isAuthenticated','update','delete','destroy','exports','multer','path','express','fs-extra','../../components/auth/service'];(function(_0x177277,_0x2d5738){var _0x235cf1=function(_0x24f76b){while(--_0x24f76b){_0x177277['push'](_0x177277['shift']());}};_0x235cf1(++_0x2d5738);}(_0xaec7,0xf7));var _0x7aec=function(_0x377a6e,_0x59b99d){_0x377a6e=_0x377a6e-0x0;var _0x37f751=_0xaec7[_0x377a6e];return _0x37f751;};'use strict';var multer=require(_0x7aec('0x0'));var util=require('util');var path=require(_0x7aec('0x1'));var timeout=require('connect-timeout');var express=require(_0x7aec('0x2'));var router=express['Router']();var fs_extra=require(_0x7aec('0x3'));var auth=require(_0x7aec('0x4'));var interaction=require(_0x7aec('0x5'));var config=require(_0x7aec('0x6'));var controller=require('./condition.controller');router[_0x7aec('0x7')](_0x7aec('0x8'),auth[_0x7aec('0x9')](),controller[_0x7aec('0xa')]);router[_0x7aec('0xb')](_0x7aec('0x8'),auth[_0x7aec('0x9')](),controller[_0x7aec('0xc')]);module[_0x7aec('0xd')]=router;