Built motion from commit (unavailable).|2.5.31
[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 _0x6ffd=['multer','util','connect-timeout','express','../../components/auth/service','../../config/environment','./chatApplication.controller','get','/:id','isAuthenticated','show','put','update','delete','destroy'];(function(_0x22c118,_0x3aae97){var _0x5e3267=function(_0x45cce0){while(--_0x45cce0){_0x22c118['push'](_0x22c118['shift']());}};_0x5e3267(++_0x3aae97);}(_0x6ffd,0x78));var _0xd6ff=function(_0x373adf,_0x23c4cc){_0x373adf=_0x373adf-0x0;var _0x590719=_0x6ffd[_0x373adf];return _0x590719;};'use strict';var multer=require(_0xd6ff('0x0'));var util=require(_0xd6ff('0x1'));var path=require('path');var timeout=require(_0xd6ff('0x2'));var express=require(_0xd6ff('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xd6ff('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xd6ff('0x5'));var controller=require(_0xd6ff('0x6'));router[_0xd6ff('0x7')](_0xd6ff('0x8'),auth[_0xd6ff('0x9')](),controller[_0xd6ff('0xa')]);router[_0xd6ff('0xb')](_0xd6ff('0x8'),auth[_0xd6ff('0x9')](),controller[_0xd6ff('0xc')]);router[_0xd6ff('0xd')]('/:id',auth[_0xd6ff('0x9')](),controller[_0xd6ff('0xe')]);module['exports']=router;