Built motion from commit (unavailable).|2.5.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 _0x41c8=['put','update','delete','destroy','multer','path','connect-timeout','express','fs-extra','../../config/environment','./pause.controller','get','isAuthenticated','index','/:id','post','create'];(function(_0x273c39,_0x1052e6){var _0x46d6b5=function(_0x44f1fb){while(--_0x44f1fb){_0x273c39['push'](_0x273c39['shift']());}};_0x46d6b5(++_0x1052e6);}(_0x41c8,0x158));var _0x841c=function(_0x36e848,_0x433ab0){_0x36e848=_0x36e848-0x0;var _0x4b1a94=_0x41c8[_0x36e848];return _0x4b1a94;};'use strict';var multer=require(_0x841c('0x0'));var util=require('util');var path=require(_0x841c('0x1'));var timeout=require(_0x841c('0x2'));var express=require(_0x841c('0x3'));var router=express['Router']();var fs_extra=require(_0x841c('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x841c('0x5'));var controller=require(_0x841c('0x6'));router[_0x841c('0x7')]('/',auth[_0x841c('0x8')](),controller[_0x841c('0x9')]);router[_0x841c('0x7')](_0x841c('0xa'),auth[_0x841c('0x8')](),controller['show']);router[_0x841c('0xb')]('/',auth[_0x841c('0x8')](),controller[_0x841c('0xc')]);router[_0x841c('0xd')]('/:id',auth[_0x841c('0x8')](),controller[_0x841c('0xe')]);router[_0x841c('0xf')](_0x841c('0xa'),auth[_0x841c('0x8')](),controller[_0x841c('0x10')]);module['exports']=router;