b480b227bd59df3df25ff9caa8facbe9e21bbad0
[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 _0x85f2=['isAuthenticated','update','delete','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id'];(function(_0x522310,_0x261d2d){var _0x55bf51=function(_0x47a686){while(--_0x47a686){_0x522310['push'](_0x522310['shift']());}};_0x55bf51(++_0x261d2d);}(_0x85f2,0x1a5));var _0x285f=function(_0x3c40f4,_0x500b8a){_0x3c40f4=_0x3c40f4-0x0;var _0x1209d=_0x85f2[_0x3c40f4];return _0x1209d;};'use strict';var multer=require('multer');var util=require(_0x285f('0x0'));var path=require(_0x285f('0x1'));var timeout=require('connect-timeout');var express=require(_0x285f('0x2'));var router=express[_0x285f('0x3')]();var fs_extra=require(_0x285f('0x4'));var auth=require(_0x285f('0x5'));var interaction=require(_0x285f('0x6'));var config=require(_0x285f('0x7'));var controller=require(_0x285f('0x8'));router[_0x285f('0x9')](_0x285f('0xa'),auth[_0x285f('0xb')](),controller[_0x285f('0xc')]);router[_0x285f('0xd')](_0x285f('0xa'),auth[_0x285f('0xb')](),controller[_0x285f('0xe')]);module[_0x285f('0xf')]=router;