Built motion from commit (unavailable).|2.5.4
[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 _0x1d7b=['exports','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','isAuthenticated','update','delete','destroy'];(function(_0x220941,_0x29f026){var _0x100994=function(_0x363dfe){while(--_0x363dfe){_0x220941['push'](_0x220941['shift']());}};_0x100994(++_0x29f026);}(_0x1d7b,0x1e2));var _0xb1d7=function(_0xcd25db,_0x1013f2){_0xcd25db=_0xcd25db-0x0;var _0x5ed75c=_0x1d7b[_0xcd25db];return _0x5ed75c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb1d7('0x0'));var timeout=require(_0xb1d7('0x1'));var express=require('express');var router=express[_0xb1d7('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0xb1d7('0x3'));var config=require(_0xb1d7('0x4'));var controller=require(_0xb1d7('0x5'));router[_0xb1d7('0x6')](_0xb1d7('0x7'),auth[_0xb1d7('0x8')](),controller[_0xb1d7('0x9')]);router[_0xb1d7('0xa')]('/:id',auth[_0xb1d7('0x8')](),controller[_0xb1d7('0xb')]);module[_0xb1d7('0xc')]=router;