1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xd03c=['../../components/interaction/service','./chatInternalMessage.controller','isAuthenticated','index','describe','/users','getUsers','get','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','Router'];(function(_0x28b83a,_0x401d6f){var _0x5985d9=function(_0x37d489){while(--_0x37d489){_0x28b83a['push'](_0x28b83a['shift']());}};_0x5985d9(++_0x401d6f);}(_0xd03c,0x1ca));var _0xcd03=function(_0x4d030c,_0x54c36b){_0x4d030c=_0x4d030c-0x0;var _0x216638=_0xd03c[_0x4d030c];return _0x216638;};'use strict';var multer=require(_0xcd03('0x0'));var util=require(_0xcd03('0x1'));var path=require(_0xcd03('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xcd03('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xcd03('0x4'));var config=require('../../config/environment');var controller=require(_0xcd03('0x5'));router['get']('/',auth[_0xcd03('0x6')](),controller[_0xcd03('0x7')]);router['get']('/describe',auth[_0xcd03('0x6')](),controller[_0xcd03('0x8')]);router['get'](_0xcd03('0x9'),auth['isAuthenticated'](),controller[_0xcd03('0xa')]);router[_0xcd03('0xb')]('/:id',auth[_0xcd03('0x6')](),controller[_0xcd03('0xc')]);router[_0xcd03('0xd')]('/',auth[_0xcd03('0x6')](),controller[_0xcd03('0xe')]);router[_0xcd03('0xf')](_0xcd03('0x10'),controller[_0xcd03('0x11')]);router[_0xcd03('0x12')]('/:id',auth[_0xcd03('0x6')](),controller[_0xcd03('0x13')]);module[_0xcd03('0x14')]=router;