Built motion from commit ddca4d0d.|2.5.47
[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 _0x3a98=['util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./condition.controller','put','/:id','isAuthenticated','update','delete','exports','multer'];(function(_0x55e91d,_0x3262c7){var _0x4dca03=function(_0x527055){while(--_0x527055){_0x55e91d['push'](_0x55e91d['shift']());}};_0x4dca03(++_0x3262c7);}(_0x3a98,0x117));var _0x83a9=function(_0x540dcb,_0x4eacb6){_0x540dcb=_0x540dcb-0x0;var _0x49353c=_0x3a98[_0x540dcb];return _0x49353c;};'use strict';var multer=require(_0x83a9('0x0'));var util=require(_0x83a9('0x1'));var path=require(_0x83a9('0x2'));var timeout=require(_0x83a9('0x3'));var express=require(_0x83a9('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x83a9('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x83a9('0x6'));var controller=require(_0x83a9('0x7'));router[_0x83a9('0x8')](_0x83a9('0x9'),auth[_0x83a9('0xa')](),controller[_0x83a9('0xb')]);router[_0x83a9('0xc')](_0x83a9('0x9'),auth[_0x83a9('0xa')](),controller['destroy']);module[_0x83a9('0xd')]=router;