Built motion from commit 9d7072cc.|2.5.39
[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 _0x5cd5=['../../components/interaction/service','../../config/environment','./condition.controller','isAuthenticated','delete','/:id','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x358bb7,_0x3ca301){var _0x2298f4=function(_0xb83b19){while(--_0xb83b19){_0x358bb7['push'](_0x358bb7['shift']());}};_0x2298f4(++_0x3ca301);}(_0x5cd5,0x149));var _0x55cd=function(_0x27b905,_0x3f62c1){_0x27b905=_0x27b905-0x0;var _0x28835f=_0x5cd5[_0x27b905];return _0x28835f;};'use strict';var multer=require(_0x55cd('0x0'));var util=require(_0x55cd('0x1'));var path=require(_0x55cd('0x2'));var timeout=require(_0x55cd('0x3'));var express=require(_0x55cd('0x4'));var router=express['Router']();var fs_extra=require(_0x55cd('0x5'));var auth=require(_0x55cd('0x6'));var interaction=require(_0x55cd('0x7'));var config=require(_0x55cd('0x8'));var controller=require(_0x55cd('0x9'));router['put']('/:id',auth[_0x55cd('0xa')](),controller['update']);router[_0x55cd('0xb')](_0x55cd('0xc'),auth[_0x55cd('0xa')](),controller[_0x55cd('0xd')]);module['exports']=router;