Built motion from commit (unavailable).|2.2.2
[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 _0x0a07=['/:id','isAuthenticated','update','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller'];(function(_0x211175,_0x15f647){var _0x2af97c=function(_0x441b5a){while(--_0x441b5a){_0x211175['push'](_0x211175['shift']());}};_0x2af97c(++_0x15f647);}(_0x0a07,0x1d7));var _0x70a0=function(_0x40a0a6,_0x461602){_0x40a0a6=_0x40a0a6-0x0;var _0x20aad7=_0x0a07[_0x40a0a6];return _0x20aad7;};'use strict';var multer=require(_0x70a0('0x0'));var util=require(_0x70a0('0x1'));var path=require('path');var timeout=require(_0x70a0('0x2'));var express=require(_0x70a0('0x3'));var router=express[_0x70a0('0x4')]();var auth=require(_0x70a0('0x5'));var interaction=require(_0x70a0('0x6'));var config=require(_0x70a0('0x7'));var controller=require(_0x70a0('0x8'));router['put'](_0x70a0('0x9'),auth[_0x70a0('0xa')](),controller[_0x70a0('0xb')]);router['delete'](_0x70a0('0x9'),auth[_0x70a0('0xa')](),controller['destroy']);module['exports']=router;