c3600c2a693fe97457438a41892904a195454d64
[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 _0x6964=['update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./cmHopperAdditionalPhone.controller','isAuthenticated','/:id','show','post','put'];(function(_0x283cce,_0x27ecaf){var _0x2d0667=function(_0x5511c9){while(--_0x5511c9){_0x283cce['push'](_0x283cce['shift']());}};_0x2d0667(++_0x27ecaf);}(_0x6964,0x114));var _0x4696=function(_0x1eda20,_0x1149f4){_0x1eda20=_0x1eda20-0x0;var _0x31b953=_0x6964[_0x1eda20];return _0x31b953;};'use strict';var multer=require(_0x4696('0x0'));var util=require('util');var path=require(_0x4696('0x1'));var timeout=require(_0x4696('0x2'));var express=require('express');var router=express[_0x4696('0x3')]();var fs_extra=require(_0x4696('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x4696('0x5'));var config=require(_0x4696('0x6'));var controller=require(_0x4696('0x7'));router['get']('/',auth[_0x4696('0x8')](),controller['index']);router['get'](_0x4696('0x9'),auth[_0x4696('0x8')](),controller[_0x4696('0xa')]);router[_0x4696('0xb')]('/',auth[_0x4696('0x8')](),controller['create']);router[_0x4696('0xc')](_0x4696('0x9'),auth[_0x4696('0x8')](),controller[_0x4696('0xd')]);router[_0x4696('0xe')](_0x4696('0x9'),auth[_0x4696('0x8')](),controller[_0x4696('0xf')]);module[_0x4696('0x10')]=router;