c32ad9bf30bba905aaf537d91744208006f1800b
[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 _0xe63f=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','put','/:id','isAuthenticated','update','delete','destroy','util','path','connect-timeout'];(function(_0x159b7f,_0x27e760){var _0x401efb=function(_0x7b23a5){while(--_0x7b23a5){_0x159b7f['push'](_0x159b7f['shift']());}};_0x401efb(++_0x27e760);}(_0xe63f,0x1bd));var _0xfe63=function(_0x5e3a22,_0x25a30c){_0x5e3a22=_0x5e3a22-0x0;var _0x251e73=_0xe63f[_0x5e3a22];return _0x251e73;};'use strict';var multer=require('multer');var util=require(_0xfe63('0x0'));var path=require(_0xfe63('0x1'));var timeout=require(_0xfe63('0x2'));var express=require(_0xfe63('0x3'));var router=express[_0xfe63('0x4')]();var auth=require(_0xfe63('0x5'));var interaction=require(_0xfe63('0x6'));var config=require(_0xfe63('0x7'));var controller=require('./condition.controller');router[_0xfe63('0x8')](_0xfe63('0x9'),auth[_0xfe63('0xa')](),controller[_0xfe63('0xb')]);router[_0xfe63('0xc')](_0xfe63('0x9'),auth[_0xfe63('0xa')](),controller[_0xfe63('0xd')]);module['exports']=router;