b01194f4011e996e5975d74a27b7b905b96241c2
[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 _0xfcc8=['/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/interaction/service','./cmHopperAdditionalPhone.controller','isAuthenticated','index','get'];(function(_0x118724,_0x455f58){var _0x3f00f7=function(_0x203f06){while(--_0x203f06){_0x118724['push'](_0x118724['shift']());}};_0x3f00f7(++_0x455f58);}(_0xfcc8,0xb4));var _0x8fcc=function(_0x282b09,_0x4cdc6f){_0x282b09=_0x282b09-0x0;var _0x471ed0=_0xfcc8[_0x282b09];return _0x471ed0;};'use strict';var multer=require(_0x8fcc('0x0'));var util=require(_0x8fcc('0x1'));var path=require(_0x8fcc('0x2'));var timeout=require(_0x8fcc('0x3'));var express=require('express');var router=express[_0x8fcc('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x8fcc('0x5'));var config=require('../../config/environment');var controller=require(_0x8fcc('0x6'));router['get']('/',auth[_0x8fcc('0x7')](),controller[_0x8fcc('0x8')]);router[_0x8fcc('0x9')](_0x8fcc('0xa'),auth[_0x8fcc('0x7')](),controller[_0x8fcc('0xb')]);router[_0x8fcc('0xc')]('/',auth[_0x8fcc('0x7')](),controller[_0x8fcc('0xd')]);router[_0x8fcc('0xe')](_0x8fcc('0xa'),auth[_0x8fcc('0x7')](),controller[_0x8fcc('0xf')]);router[_0x8fcc('0x10')]('/:id',auth[_0x8fcc('0x7')](),controller[_0x8fcc('0x11')]);module[_0x8fcc('0x12')]=router;