Built motion from commit (unavailable).|2.5.4
[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 _0x2454=['isAuthenticated','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./condition.controller','/:id'];(function(_0x4c11f5,_0x2484ea){var _0x51632f=function(_0x57cd0a){while(--_0x57cd0a){_0x4c11f5['push'](_0x4c11f5['shift']());}};_0x51632f(++_0x2484ea);}(_0x2454,0x14a));var _0x4245=function(_0x55bf5e,_0x686f5f){_0x55bf5e=_0x55bf5e-0x0;var _0x48dc91=_0x2454[_0x55bf5e];return _0x48dc91;};'use strict';var multer=require(_0x4245('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x4245('0x1'));var express=require(_0x4245('0x2'));var router=express[_0x4245('0x3')]();var auth=require(_0x4245('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x4245('0x5'));var controller=require(_0x4245('0x6'));router['put'](_0x4245('0x7'),auth[_0x4245('0x8')](),controller[_0x4245('0x9')]);router[_0x4245('0xa')](_0x4245('0x7'),auth[_0x4245('0x8')](),controller[_0x4245('0xb')]);module[_0x4245('0xc')]=router;