Built motion from commit 3e059bc2.|2.5.32
[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 _0x38ec=['exports','multer','util','path','connect-timeout','fs-extra','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','update','delete','isAuthenticated','destroy'];(function(_0x589f74,_0x1b5087){var _0x2b0634=function(_0x12c5f8){while(--_0x12c5f8){_0x589f74['push'](_0x589f74['shift']());}};_0x2b0634(++_0x1b5087);}(_0x38ec,0xa6));var _0xc38e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x38ec[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xc38e('0x0'));var util=require(_0xc38e('0x1'));var path=require(_0xc38e('0x2'));var timeout=require(_0xc38e('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xc38e('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xc38e('0x5'));var config=require(_0xc38e('0x6'));var controller=require(_0xc38e('0x7'));router[_0xc38e('0x8')](_0xc38e('0x9'),auth['isAuthenticated'](),controller[_0xc38e('0xa')]);router[_0xc38e('0xb')](_0xc38e('0x9'),auth[_0xc38e('0xc')](),controller[_0xc38e('0xd')]);module[_0xc38e('0xe')]=router;