01c1561550eea65633d39acfdef8bbe8f1128d89
[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 _0x759f=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./condition.controller','put','/:id','isAuthenticated','delete','destroy','exports','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x759f,0xef));var _0xf759=function(_0x7b02ad,_0x2b4b59){_0x7b02ad=_0x7b02ad-0x0;var _0x4c1303=_0x759f[_0x7b02ad];return _0x4c1303;};'use strict';var multer=require('multer');var util=require(_0xf759('0x0'));var path=require(_0xf759('0x1'));var timeout=require(_0xf759('0x2'));var express=require(_0xf759('0x3'));var router=express[_0xf759('0x4')]();var fs_extra=require(_0xf759('0x5'));var auth=require(_0xf759('0x6'));var interaction=require(_0xf759('0x7'));var config=require('../../config/environment');var controller=require(_0xf759('0x8'));router[_0xf759('0x9')](_0xf759('0xa'),auth[_0xf759('0xb')](),controller['update']);router[_0xf759('0xc')](_0xf759('0xa'),auth[_0xf759('0xb')](),controller[_0xf759('0xd')]);module[_0xf759('0xe')]=router;