bd745725bead9c816673559df69bf9debaa8b584
[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 _0x6e14=['util','connect-timeout','Router','fs-extra','../../config/environment','./pause.controller','isAuthenticated','/:id','show','post','put','update','delete','destroy','exports','multer'];(function(_0x274283,_0x2e0d24){var _0x23756a=function(_0x56c153){while(--_0x56c153){_0x274283['push'](_0x274283['shift']());}};_0x23756a(++_0x2e0d24);}(_0x6e14,0x15f));var _0x46e1=function(_0x1c8b8c,_0x742e59){_0x1c8b8c=_0x1c8b8c-0x0;var _0x49bc36=_0x6e14[_0x1c8b8c];return _0x49bc36;};'use strict';var multer=require(_0x46e1('0x0'));var util=require(_0x46e1('0x1'));var path=require('path');var timeout=require(_0x46e1('0x2'));var express=require('express');var router=express[_0x46e1('0x3')]();var fs_extra=require(_0x46e1('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x46e1('0x5'));var controller=require(_0x46e1('0x6'));router['get']('/',auth[_0x46e1('0x7')](),controller['index']);router['get'](_0x46e1('0x8'),auth[_0x46e1('0x7')](),controller[_0x46e1('0x9')]);router[_0x46e1('0xa')]('/',auth[_0x46e1('0x7')](),controller['create']);router[_0x46e1('0xb')](_0x46e1('0x8'),auth[_0x46e1('0x7')](),controller[_0x46e1('0xc')]);router[_0x46e1('0xd')](_0x46e1('0x8'),auth[_0x46e1('0x7')](),controller[_0x46e1('0xe')]);module[_0x46e1('0xf')]=router;