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 _0x61bc=['show','post','put','update','delete','multer','path','Router','fs-extra','../../components/auth/service','../../config/environment','./cannedAnswer.controller','isAuthenticated','/:id'];(function(_0x8885cb,_0x3f000e){var _0x25ba05=function(_0xb10e25){while(--_0xb10e25){_0x8885cb['push'](_0x8885cb['shift']());}};_0x25ba05(++_0x3f000e);}(_0x61bc,0x67));var _0xc61b=function(_0x13a973,_0xacdf00){_0x13a973=_0x13a973-0x0;var _0x115e08=_0x61bc[_0x13a973];return _0x115e08;};'use strict';var multer=require(_0xc61b('0x0'));var util=require('util');var path=require(_0xc61b('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc61b('0x2')]();var fs_extra=require(_0xc61b('0x3'));var auth=require(_0xc61b('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xc61b('0x5'));var controller=require(_0xc61b('0x6'));router['get']('/',auth[_0xc61b('0x7')](),controller['index']);router['get'](_0xc61b('0x8'),auth[_0xc61b('0x7')](),controller[_0xc61b('0x9')]);router[_0xc61b('0xa')]('/',auth[_0xc61b('0x7')](),controller['create']);router[_0xc61b('0xb')](_0xc61b('0x8'),auth[_0xc61b('0x7')](),controller[_0xc61b('0xc')]);router[_0xc61b('0xd')](_0xc61b('0x8'),auth[_0xc61b('0x7')](),controller['destroy']);module['exports']=router;