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 _0xa2e0=['../../components/interaction/service','./cannedAnswer.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','destroy','exports','util','path','connect-timeout','Router','fs-extra'];(function(_0x2c70f5,_0x24f8fe){var _0x12ade5=function(_0x481605){while(--_0x481605){_0x2c70f5['push'](_0x2c70f5['shift']());}};_0x12ade5(++_0x24f8fe);}(_0xa2e0,0x12d));var _0x0a2e=function(_0x4e3a4a,_0x4e8e47){_0x4e3a4a=_0x4e3a4a-0x0;var _0x585b6f=_0xa2e0[_0x4e3a4a];return _0x585b6f;};'use strict';var multer=require('multer');var util=require(_0x0a2e('0x0'));var path=require(_0x0a2e('0x1'));var timeout=require(_0x0a2e('0x2'));var express=require('express');var router=express[_0x0a2e('0x3')]();var fs_extra=require(_0x0a2e('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x0a2e('0x5'));var config=require('../../config/environment');var controller=require(_0x0a2e('0x6'));router[_0x0a2e('0x7')]('/',auth[_0x0a2e('0x8')](),controller[_0x0a2e('0x9')]);router['get'](_0x0a2e('0xa'),auth[_0x0a2e('0x8')](),controller[_0x0a2e('0xb')]);router[_0x0a2e('0xc')]('/',auth[_0x0a2e('0x8')](),controller[_0x0a2e('0xd')]);router[_0x0a2e('0xe')](_0x0a2e('0xa'),auth[_0x0a2e('0x8')](),controller[_0x0a2e('0xf')]);router['delete'](_0x0a2e('0xa'),auth[_0x0a2e('0x8')](),controller[_0x0a2e('0x10')]);module[_0x0a2e('0x11')]=router;