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 _0x2f92=['post','create','put','update','delete','exports','util','path','express','../../components/auth/service','../../config/environment','./cmHopperAdditionalPhone.controller','get','isAuthenticated','index','/:id','show'];(function(_0x4b1c73,_0x1a4207){var _0xfab919=function(_0x423a33){while(--_0x423a33){_0x4b1c73['push'](_0x4b1c73['shift']());}};_0xfab919(++_0x1a4207);}(_0x2f92,0x1d1));var _0x22f9=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x2f92[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require('multer');var util=require(_0x22f9('0x0'));var path=require(_0x22f9('0x1'));var timeout=require('connect-timeout');var express=require(_0x22f9('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x22f9('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x22f9('0x4'));var controller=require(_0x22f9('0x5'));router[_0x22f9('0x6')]('/',auth[_0x22f9('0x7')](),controller[_0x22f9('0x8')]);router[_0x22f9('0x6')](_0x22f9('0x9'),auth[_0x22f9('0x7')](),controller[_0x22f9('0xa')]);router[_0x22f9('0xb')]('/',auth[_0x22f9('0x7')](),controller[_0x22f9('0xc')]);router[_0x22f9('0xd')](_0x22f9('0x9'),auth[_0x22f9('0x7')](),controller[_0x22f9('0xe')]);router[_0x22f9('0xf')](_0x22f9('0x9'),auth[_0x22f9('0x7')](),controller['destroy']);module[_0x22f9('0x10')]=router;