Built motion from commit 9d0783e6.|2.6.13
[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 _0x62ae=['put','/:id','isAuthenticated','update','delete','destroy','multer','util','path','express','fs-extra','../../components/auth/service','../../config/environment','./condition.controller'];(function(_0x449a5f,_0x101937){var _0x18ba64=function(_0x3ede05){while(--_0x3ede05){_0x449a5f['push'](_0x449a5f['shift']());}};_0x18ba64(++_0x101937);}(_0x62ae,0x172));var _0xe62a=function(_0x2259d8,_0x2abf29){_0x2259d8=_0x2259d8-0x0;var _0x36321b=_0x62ae[_0x2259d8];return _0x36321b;};'use strict';var multer=require(_0xe62a('0x0'));var util=require(_0xe62a('0x1'));var path=require(_0xe62a('0x2'));var timeout=require('connect-timeout');var express=require(_0xe62a('0x3'));var router=express['Router']();var fs_extra=require(_0xe62a('0x4'));var auth=require(_0xe62a('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe62a('0x6'));var controller=require(_0xe62a('0x7'));router[_0xe62a('0x8')](_0xe62a('0x9'),auth[_0xe62a('0xa')](),controller[_0xe62a('0xb')]);router[_0xe62a('0xc')](_0xe62a('0x9'),auth[_0xe62a('0xa')](),controller[_0xe62a('0xd')]);module['exports']=router;