Built motion from commit 994c64e1.|2.6.1
[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 _0x02b8=['/:id','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put'];(function(_0x5e4b85,_0x6cf965){var _0x5cd3cb=function(_0x589c9e){while(--_0x589c9e){_0x5e4b85['push'](_0x5e4b85['shift']());}};_0x5cd3cb(++_0x6cf965);}(_0x02b8,0xf4));var _0x802b=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0x02b8[_0x8c43de];return _0xa6591b;};'use strict';var multer=require(_0x802b('0x0'));var util=require(_0x802b('0x1'));var path=require(_0x802b('0x2'));var timeout=require('connect-timeout');var express=require(_0x802b('0x3'));var router=express[_0x802b('0x4')]();var fs_extra=require(_0x802b('0x5'));var auth=require(_0x802b('0x6'));var interaction=require(_0x802b('0x7'));var config=require(_0x802b('0x8'));var controller=require(_0x802b('0x9'));router[_0x802b('0xa')](_0x802b('0xb'),auth['isAuthenticated'](),controller[_0x802b('0xc')]);router[_0x802b('0xd')](_0x802b('0xb'),auth['isAuthenticated'](),controller[_0x802b('0xe')]);module['exports']=router;