Built motion from commit 25580385.|2.6.2
[motion2.git] / server / api / cmHopperAdditionalPhone / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xcdf6=['util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperAdditionalPhone.controller','get','index','/:id','show','post','isAuthenticated','put','update','delete','exports','multer'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xcdf6,0xb3));var _0x6cdf=function(_0x564781,_0x396eae){_0x564781=_0x564781-0x0;var _0x2ce20d=_0xcdf6[_0x564781];return _0x2ce20d;};'use strict';var multer=require(_0x6cdf('0x0'));var util=require(_0x6cdf('0x1'));var path=require(_0x6cdf('0x2'));var timeout=require('connect-timeout');var express=require(_0x6cdf('0x3'));var router=express[_0x6cdf('0x4')]();var fs_extra=require(_0x6cdf('0x5'));var auth=require(_0x6cdf('0x6'));var interaction=require(_0x6cdf('0x7'));var config=require(_0x6cdf('0x8'));var controller=require(_0x6cdf('0x9'));router[_0x6cdf('0xa')]('/',auth['isAuthenticated'](),controller[_0x6cdf('0xb')]);router[_0x6cdf('0xa')](_0x6cdf('0xc'),auth['isAuthenticated'](),controller[_0x6cdf('0xd')]);router[_0x6cdf('0xe')]('/',auth[_0x6cdf('0xf')](),controller['create']);router[_0x6cdf('0x10')](_0x6cdf('0xc'),auth['isAuthenticated'](),controller[_0x6cdf('0x11')]);router[_0x6cdf('0x12')](_0x6cdf('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x6cdf('0x13')]=router;