Built motion from commit 953226e6.|2.6.32
[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 _0x9b73=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','isAuthenticated','update','destroy','multer','util','path','connect-timeout','express'];(function(_0x2562f3,_0x446102){var _0x396a09=function(_0x2d0061){while(--_0x2d0061){_0x2562f3['push'](_0x2562f3['shift']());}};_0x396a09(++_0x446102);}(_0x9b73,0x17b));var _0x39b7=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x9b73[_0x3b380d];return _0x54502b;};'use strict';var multer=require(_0x39b7('0x0'));var util=require(_0x39b7('0x1'));var path=require(_0x39b7('0x2'));var timeout=require(_0x39b7('0x3'));var express=require(_0x39b7('0x4'));var router=express[_0x39b7('0x5')]();var fs_extra=require(_0x39b7('0x6'));var auth=require(_0x39b7('0x7'));var interaction=require(_0x39b7('0x8'));var config=require(_0x39b7('0x9'));var controller=require(_0x39b7('0xa'));router[_0x39b7('0xb')](_0x39b7('0xc'),auth[_0x39b7('0xd')](),controller[_0x39b7('0xe')]);router['delete']('/:id',auth[_0x39b7('0xd')](),controller[_0x39b7('0xf')]);module['exports']=router;