Built motion from commit da617fac.|2.6.6
[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 _0x266d=['path','express','fs-extra','../../components/auth/service','./condition.controller','put','/:id','isAuthenticated','update','delete','destroy','multer'];(function(_0x255d5b,_0x4f6f35){var _0x3e141a=function(_0x249ee2){while(--_0x249ee2){_0x255d5b['push'](_0x255d5b['shift']());}};_0x3e141a(++_0x4f6f35);}(_0x266d,0xef));var _0xd266=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x266d[_0x4a9fb1];return _0x348672;};'use strict';var multer=require(_0xd266('0x0'));var util=require('util');var path=require(_0xd266('0x1'));var timeout=require('connect-timeout');var express=require(_0xd266('0x2'));var router=express['Router']();var fs_extra=require(_0xd266('0x3'));var auth=require(_0xd266('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xd266('0x5'));router[_0xd266('0x6')](_0xd266('0x7'),auth[_0xd266('0x8')](),controller[_0xd266('0x9')]);router[_0xd266('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xd266('0xb')]);module['exports']=router;