Built motion from commit (unavailable).|2.5.3
[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 _0x9297=['/:id','isAuthenticated','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./condition.controller','put'];(function(_0x2c883a,_0x26ebea){var _0x57fbb9=function(_0x5dfe13){while(--_0x5dfe13){_0x2c883a['push'](_0x2c883a['shift']());}};_0x57fbb9(++_0x26ebea);}(_0x9297,0xad));var _0x7929=function(_0x523aef,_0x3d516e){_0x523aef=_0x523aef-0x0;var _0x1befa0=_0x9297[_0x523aef];return _0x1befa0;};'use strict';var multer=require(_0x7929('0x0'));var util=require(_0x7929('0x1'));var path=require(_0x7929('0x2'));var timeout=require(_0x7929('0x3'));var express=require('express');var router=express[_0x7929('0x4')]();var auth=require(_0x7929('0x5'));var interaction=require(_0x7929('0x6'));var config=require('../../config/environment');var controller=require(_0x7929('0x7'));router[_0x7929('0x8')](_0x7929('0x9'),auth[_0x7929('0xa')](),controller['update']);router[_0x7929('0xb')](_0x7929('0x9'),auth[_0x7929('0xa')](),controller[_0x7929('0xc')]);module[_0x7929('0xd')]=router;