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 _0xc02d=['update','delete','destroy','exports','multer','util','connect-timeout','fs-extra','../../components/interaction/service','get','isAuthenticated','index','post','/:id'];(function(_0x34eca1,_0x470049){var _0x491bb3=function(_0x22fc4c){while(--_0x22fc4c){_0x34eca1['push'](_0x34eca1['shift']());}};_0x491bb3(++_0x470049);}(_0xc02d,0xc8));var _0xdc02=function(_0x50e3b3,_0x26b6ba){_0x50e3b3=_0x50e3b3-0x0;var _0x25fc64=_0xc02d[_0x50e3b3];return _0x25fc64;};'use strict';var multer=require(_0xdc02('0x0'));var util=require(_0xdc02('0x1'));var path=require('path');var timeout=require(_0xdc02('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xdc02('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xdc02('0x4'));var config=require('../../config/environment');var controller=require('./cmHopperAdditionalPhone.controller');router[_0xdc02('0x5')]('/',auth[_0xdc02('0x6')](),controller[_0xdc02('0x7')]);router[_0xdc02('0x5')]('/:id',auth[_0xdc02('0x6')](),controller['show']);router[_0xdc02('0x8')]('/',auth[_0xdc02('0x6')](),controller['create']);router['put'](_0xdc02('0x9'),auth[_0xdc02('0x6')](),controller[_0xdc02('0xa')]);router[_0xdc02('0xb')](_0xdc02('0x9'),auth[_0xdc02('0x6')](),controller[_0xdc02('0xc')]);module[_0xdc02('0xd')]=router;