f1d01181d2391f0cfeee4c33bc07e85b3a3ba091
[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 _0x7fba=['../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','isAuthenticated','update','delete','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0xa60623,_0x2d4e4f){var _0x4a6487=function(_0xba6cbe){while(--_0xba6cbe){_0xa60623['push'](_0xa60623['shift']());}};_0x4a6487(++_0x2d4e4f);}(_0x7fba,0xbe));var _0xa7fb=function(_0x3d564e,_0x2744e2){_0x3d564e=_0x3d564e-0x0;var _0x52e232=_0x7fba[_0x3d564e];return _0x52e232;};'use strict';var multer=require(_0xa7fb('0x0'));var util=require(_0xa7fb('0x1'));var path=require('path');var timeout=require(_0xa7fb('0x2'));var express=require(_0xa7fb('0x3'));var router=express[_0xa7fb('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xa7fb('0x5'));var config=require(_0xa7fb('0x6'));var controller=require(_0xa7fb('0x7'));router[_0xa7fb('0x8')](_0xa7fb('0x9'),auth[_0xa7fb('0xa')](),controller[_0xa7fb('0xb')]);router[_0xa7fb('0xc')]('/:id',auth[_0xa7fb('0xa')](),controller[_0xa7fb('0xd')]);module[_0xa7fb('0xe')]=router;