cbed222e37f124b9e44ede8ff1b4cd84233b1b07
[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 _0x82b1=['/:id','show','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get'];(function(_0x363b81,_0x81e6ca){var _0x1d92fb=function(_0x129644){while(--_0x129644){_0x363b81['push'](_0x363b81['shift']());}};_0x1d92fb(++_0x81e6ca);}(_0x82b1,0x197));var _0x182b=function(_0x1278f2,_0x39897e){_0x1278f2=_0x1278f2-0x0;var _0x10d71a=_0x82b1[_0x1278f2];return _0x10d71a;};'use strict';var multer=require(_0x182b('0x0'));var util=require(_0x182b('0x1'));var path=require(_0x182b('0x2'));var timeout=require(_0x182b('0x3'));var express=require(_0x182b('0x4'));var router=express[_0x182b('0x5')]();var fs_extra=require(_0x182b('0x6'));var auth=require(_0x182b('0x7'));var interaction=require(_0x182b('0x8'));var config=require(_0x182b('0x9'));var controller=require('./cmHopperAdditionalPhone.controller');router['get']('/',auth[_0x182b('0xa')](),controller[_0x182b('0xb')]);router[_0x182b('0xc')](_0x182b('0xd'),auth[_0x182b('0xa')](),controller[_0x182b('0xe')]);router[_0x182b('0xf')]('/',auth[_0x182b('0xa')](),controller['create']);router[_0x182b('0x10')]('/:id',auth[_0x182b('0xa')](),controller[_0x182b('0x11')]);router[_0x182b('0x12')]('/:id',auth[_0x182b('0xa')](),controller[_0x182b('0x13')]);module[_0x182b('0x14')]=router;