cfffb7d3544b5027d9475e8f9ceb59588fd09f6d
[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 _0x64e6=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./condition.controller','put','/:id','delete','isAuthenticated','destroy'];(function(_0x3bfc71,_0x3858e1){var _0x270d6f=function(_0x2c8ef7){while(--_0x2c8ef7){_0x3bfc71['push'](_0x3bfc71['shift']());}};_0x270d6f(++_0x3858e1);}(_0x64e6,0xb1));var _0x664e=function(_0x60932,_0x8122f4){_0x60932=_0x60932-0x0;var _0x4a201e=_0x64e6[_0x60932];return _0x4a201e;};'use strict';var multer=require(_0x664e('0x0'));var util=require(_0x664e('0x1'));var path=require(_0x664e('0x2'));var timeout=require(_0x664e('0x3'));var express=require(_0x664e('0x4'));var router=express[_0x664e('0x5')]();var fs_extra=require(_0x664e('0x6'));var auth=require(_0x664e('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x664e('0x8'));var controller=require(_0x664e('0x9'));router[_0x664e('0xa')](_0x664e('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x664e('0xc')](_0x664e('0xb'),auth[_0x664e('0xd')](),controller[_0x664e('0xe')]);module[_0x664e('0xf')]=router;