Built motion from commit 14588770.|2.5.38
[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 _0x60b1=['../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x4ed520,_0x21be63){var _0x4415a6=function(_0x14b151){while(--_0x14b151){_0x4ed520['push'](_0x4ed520['shift']());}};_0x4415a6(++_0x21be63);}(_0x60b1,0x79));var _0x160b=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x60b1[_0x5b644e];return _0x49c6bf;};'use strict';var multer=require(_0x160b('0x0'));var util=require(_0x160b('0x1'));var path=require(_0x160b('0x2'));var timeout=require(_0x160b('0x3'));var express=require(_0x160b('0x4'));var router=express['Router']();var fs_extra=require(_0x160b('0x5'));var auth=require(_0x160b('0x6'));var interaction=require(_0x160b('0x7'));var config=require(_0x160b('0x8'));var controller=require(_0x160b('0x9'));router[_0x160b('0xa')](_0x160b('0xb'),auth['isAuthenticated'](),controller[_0x160b('0xc')]);router[_0x160b('0xd')](_0x160b('0xb'),auth['isAuthenticated'](),controller[_0x160b('0xe')]);module[_0x160b('0xf')]=router;