9b32462594c3bf813c75a8cd19f26c6519eacd74
[motion2.git] / server / api / pause / 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 _0x541c=['isAuthenticated','show','post','create','put','update','delete','destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./pause.controller','get','index','/:id'];(function(_0xe7b760,_0x390963){var _0x202cda=function(_0x28d010){while(--_0x28d010){_0xe7b760['push'](_0xe7b760['shift']());}};_0x202cda(++_0x390963);}(_0x541c,0x14b));var _0xc541=function(_0x47f038,_0x68f37b){_0x47f038=_0x47f038-0x0;var _0x211674=_0x541c[_0x47f038];return _0x211674;};'use strict';var multer=require('multer');var util=require(_0xc541('0x0'));var path=require(_0xc541('0x1'));var timeout=require(_0xc541('0x2'));var express=require(_0xc541('0x3'));var router=express[_0xc541('0x4')]();var fs_extra=require(_0xc541('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc541('0x6'));var config=require('../../config/environment');var controller=require(_0xc541('0x7'));router[_0xc541('0x8')]('/',auth['isAuthenticated'](),controller[_0xc541('0x9')]);router['get'](_0xc541('0xa'),auth[_0xc541('0xb')](),controller[_0xc541('0xc')]);router[_0xc541('0xd')]('/',auth[_0xc541('0xb')](),controller[_0xc541('0xe')]);router[_0xc541('0xf')](_0xc541('0xa'),auth[_0xc541('0xb')](),controller[_0xc541('0x10')]);router[_0xc541('0x11')]('/:id',auth[_0xc541('0xb')](),controller[_0xc541('0x12')]);module['exports']=router;