35c506ca57fefd92c3f40af67a8a54d9fa45ec32
[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 _0x70f9=['get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','fs-extra','../../components/interaction/service','./cmHopperAdditionalPhone.controller'];(function(_0x1ae5ab,_0xc5d441){var _0x1ce001=function(_0x5ef96d){while(--_0x5ef96d){_0x1ae5ab['push'](_0x1ae5ab['shift']());}};_0x1ce001(++_0xc5d441);}(_0x70f9,0x14e));var _0x970f=function(_0x2e2eab,_0x2e609a){_0x2e2eab=_0x2e2eab-0x0;var _0x2357bc=_0x70f9[_0x2e2eab];return _0x2357bc;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x970f('0x0'));var timeout=require(_0x970f('0x1'));var express=require(_0x970f('0x2'));var router=express['Router']();var fs_extra=require(_0x970f('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x970f('0x4'));var config=require('../../config/environment');var controller=require(_0x970f('0x5'));router[_0x970f('0x6')]('/',auth[_0x970f('0x7')](),controller['index']);router[_0x970f('0x6')](_0x970f('0x8'),auth[_0x970f('0x7')](),controller[_0x970f('0x9')]);router[_0x970f('0xa')]('/',auth['isAuthenticated'](),controller[_0x970f('0xb')]);router[_0x970f('0xc')](_0x970f('0x8'),auth[_0x970f('0x7')](),controller[_0x970f('0xd')]);router[_0x970f('0xe')](_0x970f('0x8'),auth[_0x970f('0x7')](),controller[_0x970f('0xf')]);module[_0x970f('0x10')]=router;