Built motion from commit d5e4af8c.|2.6.23
[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 _0x5ce5=['./condition.controller','/:id','isAuthenticated','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0xa8dcea,_0x1315c4){var _0x1f381f=function(_0x381e29){while(--_0x381e29){_0xa8dcea['push'](_0xa8dcea['shift']());}};_0x1f381f(++_0x1315c4);}(_0x5ce5,0xa0));var _0x55ce=function(_0x54f6f7,_0x192530){_0x54f6f7=_0x54f6f7-0x0;var _0x264e49=_0x5ce5[_0x54f6f7];return _0x264e49;};'use strict';var multer=require(_0x55ce('0x0'));var util=require(_0x55ce('0x1'));var path=require(_0x55ce('0x2'));var timeout=require(_0x55ce('0x3'));var express=require(_0x55ce('0x4'));var router=express[_0x55ce('0x5')]();var fs_extra=require(_0x55ce('0x6'));var auth=require(_0x55ce('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x55ce('0x8'));router['put'](_0x55ce('0x9'),auth[_0x55ce('0xa')](),controller[_0x55ce('0xb')]);router['delete'](_0x55ce('0x9'),auth[_0x55ce('0xa')](),controller[_0x55ce('0xc')]);module[_0x55ce('0xd')]=router;