d0b01e2c19247a5f0aaa3359344b3343454dc3f6
[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 _0xf0f1=['../../components/interaction/service','../../config/environment','./condition.controller','put','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x20e7e3,_0x1529be){var _0x14b9de=function(_0xa82925){while(--_0xa82925){_0x20e7e3['push'](_0x20e7e3['shift']());}};_0x14b9de(++_0x1529be);}(_0xf0f1,0x103));var _0x1f0f=function(_0x36c6eb,_0x4fb127){_0x36c6eb=_0x36c6eb-0x0;var _0x30675b=_0xf0f1[_0x36c6eb];return _0x30675b;};'use strict';var multer=require('multer');var util=require(_0x1f0f('0x0'));var path=require(_0x1f0f('0x1'));var timeout=require(_0x1f0f('0x2'));var express=require(_0x1f0f('0x3'));var router=express[_0x1f0f('0x4')]();var fs_extra=require(_0x1f0f('0x5'));var auth=require(_0x1f0f('0x6'));var interaction=require(_0x1f0f('0x7'));var config=require(_0x1f0f('0x8'));var controller=require(_0x1f0f('0x9'));router[_0x1f0f('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x1f0f('0xb')]);router[_0x1f0f('0xc')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x1f0f('0xd')]=router;