Built motion from commit (unavailable).|2.0.71
[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 _0xc79a=['update','delete','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','./condition.controller','put','/:id','isAuthenticated'];(function(_0x5d6270,_0x83b57a){var _0x168f26=function(_0x258a27){while(--_0x258a27){_0x5d6270['push'](_0x5d6270['shift']());}};_0x168f26(++_0x83b57a);}(_0xc79a,0x162));var _0xac79=function(_0x27f9d3,_0x54ee48){_0x27f9d3=_0x27f9d3-0x0;var _0x1d2c10=_0xc79a[_0x27f9d3];return _0x1d2c10;};'use strict';var multer=require(_0xac79('0x0'));var util=require(_0xac79('0x1'));var path=require(_0xac79('0x2'));var express=require(_0xac79('0x3'));var router=express[_0xac79('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xac79('0x5'));var config=require('../../config/environment');var controller=require(_0xac79('0x6'));router[_0xac79('0x7')](_0xac79('0x8'),auth[_0xac79('0x9')](),controller[_0xac79('0xa')]);router[_0xac79('0xb')](_0xac79('0x8'),auth[_0xac79('0x9')](),controller[_0xac79('0xc')]);module[_0xac79('0xd')]=router;