Built motion from commit 08fb8613.|2.6.31
[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 _0x348e=['post','create','put','update','delete','exports','multer','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./pause.controller','get','isAuthenticated','index','/:id','show'];(function(_0x2be1f9,_0x546bf8){var _0x310fa4=function(_0x1e99d9){while(--_0x1e99d9){_0x2be1f9['push'](_0x2be1f9['shift']());}};_0x310fa4(++_0x546bf8);}(_0x348e,0x9f));var _0xe348=function(_0x4dfb08,_0x1650ad){_0x4dfb08=_0x4dfb08-0x0;var _0xf00ce6=_0x348e[_0x4dfb08];return _0xf00ce6;};'use strict';var multer=require(_0xe348('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xe348('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xe348('0x2'));var auth=require(_0xe348('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xe348('0x4'));var controller=require(_0xe348('0x5'));router[_0xe348('0x6')]('/',auth[_0xe348('0x7')](),controller[_0xe348('0x8')]);router[_0xe348('0x6')](_0xe348('0x9'),auth['isAuthenticated'](),controller[_0xe348('0xa')]);router[_0xe348('0xb')]('/',auth[_0xe348('0x7')](),controller[_0xe348('0xc')]);router[_0xe348('0xd')](_0xe348('0x9'),auth[_0xe348('0x7')](),controller[_0xe348('0xe')]);router[_0xe348('0xf')](_0xe348('0x9'),auth[_0xe348('0x7')](),controller['destroy']);module[_0xe348('0x10')]=router;