Built motion from commit (unavailable).|2.5.27
[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 _0xfc18=['/:id','show','post','isAuthenticated','create','put','update','delete','destroy','multer','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./pause.controller','get','index'];(function(_0x37fb65,_0x5ea982){var _0x594307=function(_0x3b0fd7){while(--_0x3b0fd7){_0x37fb65['push'](_0x37fb65['shift']());}};_0x594307(++_0x5ea982);}(_0xfc18,0x100));var _0x8fc1=function(_0x88cd7b,_0x4c884c){_0x88cd7b=_0x88cd7b-0x0;var _0x56fcc8=_0xfc18[_0x88cd7b];return _0x56fcc8;};'use strict';var multer=require(_0x8fc1('0x0'));var util=require('util');var path=require(_0x8fc1('0x1'));var timeout=require('connect-timeout');var express=require(_0x8fc1('0x2'));var router=express[_0x8fc1('0x3')]();var fs_extra=require(_0x8fc1('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x8fc1('0x5'));var config=require(_0x8fc1('0x6'));var controller=require(_0x8fc1('0x7'));router[_0x8fc1('0x8')]('/',auth['isAuthenticated'](),controller[_0x8fc1('0x9')]);router[_0x8fc1('0x8')](_0x8fc1('0xa'),auth['isAuthenticated'](),controller[_0x8fc1('0xb')]);router[_0x8fc1('0xc')]('/',auth[_0x8fc1('0xd')](),controller[_0x8fc1('0xe')]);router[_0x8fc1('0xf')](_0x8fc1('0xa'),auth[_0x8fc1('0xd')](),controller[_0x8fc1('0x10')]);router[_0x8fc1('0x11')](_0x8fc1('0xa'),auth[_0x8fc1('0xd')](),controller[_0x8fc1('0x12')]);module['exports']=router;