e95813dd184fcc7d6fd8ab9da756d0ef2e69e1f0
[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 _0x8fa8=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','delete','isAuthenticated','multer','util','path','connect-timeout','express'];(function(_0x5bf2a4,_0x456683){var _0x195a7e=function(_0x224ebe){while(--_0x224ebe){_0x5bf2a4['push'](_0x5bf2a4['shift']());}};_0x195a7e(++_0x456683);}(_0x8fa8,0x1d7));var _0x88fa=function(_0x5affd7,_0x569c5f){_0x5affd7=_0x5affd7-0x0;var _0x1d8053=_0x8fa8[_0x5affd7];return _0x1d8053;};'use strict';var multer=require(_0x88fa('0x0'));var util=require(_0x88fa('0x1'));var path=require(_0x88fa('0x2'));var timeout=require(_0x88fa('0x3'));var express=require(_0x88fa('0x4'));var router=express[_0x88fa('0x5')]();var auth=require(_0x88fa('0x6'));var interaction=require(_0x88fa('0x7'));var config=require(_0x88fa('0x8'));var controller=require(_0x88fa('0x9'));router[_0x88fa('0xa')](_0x88fa('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x88fa('0xc')](_0x88fa('0xb'),auth[_0x88fa('0xd')](),controller['destroy']);module['exports']=router;