eb82c54ac3356982f22800b0f23af490d21e9215
[motion2.git] / server / api / chatApplication / 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 _0x4134=['./chatApplication.controller','get','/:id','isAuthenticated','put','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x85771f,_0x4e291f){var _0x55362e=function(_0x2717a2){while(--_0x2717a2){_0x85771f['push'](_0x85771f['shift']());}};_0x55362e(++_0x4e291f);}(_0x4134,0x1ac));var _0x4413=function(_0x142ebd,_0xf1afe0){_0x142ebd=_0x142ebd-0x0;var _0x5e2f28=_0x4134[_0x142ebd];return _0x5e2f28;};'use strict';var multer=require(_0x4413('0x0'));var util=require(_0x4413('0x1'));var path=require(_0x4413('0x2'));var timeout=require(_0x4413('0x3'));var express=require('express');var router=express[_0x4413('0x4')]();var auth=require(_0x4413('0x5'));var interaction=require(_0x4413('0x6'));var config=require('../../config/environment');var controller=require(_0x4413('0x7'));router[_0x4413('0x8')](_0x4413('0x9'),auth[_0x4413('0xa')](),controller['show']);router[_0x4413('0xb')](_0x4413('0x9'),auth[_0x4413('0xa')](),controller[_0x4413('0xc')]);router[_0x4413('0xd')](_0x4413('0x9'),auth[_0x4413('0xa')](),controller[_0x4413('0xe')]);module['exports']=router;