e981375836703e266808610f12fa9ef9a05335ac
[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 _0xbc7b=['util','express','Router','../../components/auth/service','../../components/interaction/service','./cmHopperAdditionalPhone.controller','get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports'];(function(_0x25537b,_0xa4df9d){var _0x971069=function(_0x46e745){while(--_0x46e745){_0x25537b['push'](_0x25537b['shift']());}};_0x971069(++_0xa4df9d);}(_0xbc7b,0x1ed));var _0xbbc7=function(_0x250c2e,_0x27642e){_0x250c2e=_0x250c2e-0x0;var _0x153d56=_0xbc7b[_0x250c2e];return _0x153d56;};'use strict';var multer=require('multer');var util=require(_0xbbc7('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xbbc7('0x1'));var router=express[_0xbbc7('0x2')]();var auth=require(_0xbbc7('0x3'));var interaction=require(_0xbbc7('0x4'));var config=require('../../config/environment');var controller=require(_0xbbc7('0x5'));router[_0xbbc7('0x6')]('/',auth[_0xbbc7('0x7')](),controller[_0xbbc7('0x8')]);router[_0xbbc7('0x6')](_0xbbc7('0x9'),auth[_0xbbc7('0x7')](),controller[_0xbbc7('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0xbbc7('0xb')]);router[_0xbbc7('0xc')](_0xbbc7('0x9'),auth[_0xbbc7('0x7')](),controller[_0xbbc7('0xd')]);router[_0xbbc7('0xe')](_0xbbc7('0x9'),auth[_0xbbc7('0x7')](),controller[_0xbbc7('0xf')]);module[_0xbbc7('0x10')]=router;