1d977a4c26680ceab3d6f1b1210d0a2a7cd36d8d
[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 _0xf678=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','put','/:id','isAuthenticated','delete','exports'];(function(_0x57ed00,_0x39adc9){var _0x200220=function(_0x31350f){while(--_0x31350f){_0x57ed00['push'](_0x57ed00['shift']());}};_0x200220(++_0x39adc9);}(_0xf678,0x138));var _0x8f67=function(_0x43b019,_0x357367){_0x43b019=_0x43b019-0x0;var _0x5d9bed=_0xf678[_0x43b019];return _0x5d9bed;};'use strict';var multer=require('multer');var util=require(_0x8f67('0x0'));var path=require(_0x8f67('0x1'));var timeout=require(_0x8f67('0x2'));var express=require(_0x8f67('0x3'));var router=express[_0x8f67('0x4')]();var auth=require(_0x8f67('0x5'));var interaction=require(_0x8f67('0x6'));var config=require('../../config/environment');var controller=require('./condition.controller');router[_0x8f67('0x7')](_0x8f67('0x8'),auth[_0x8f67('0x9')](),controller['update']);router[_0x8f67('0xa')](_0x8f67('0x8'),auth[_0x8f67('0x9')](),controller['destroy']);module[_0x8f67('0xb')]=router;