Built motion from commit 092f8824.|2.5.49
[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 _0xe916=['isAuthenticated','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./pause.controller','get','index','/:id'];(function(_0x51b19b,_0x5015d2){var _0x1a3cd6=function(_0x495134){while(--_0x495134){_0x51b19b['push'](_0x51b19b['shift']());}};_0x1a3cd6(++_0x5015d2);}(_0xe916,0x112));var _0x6e91=function(_0x38e543,_0x4e2074){_0x38e543=_0x38e543-0x0;var _0x5459a5=_0xe916[_0x38e543];return _0x5459a5;};'use strict';var multer=require(_0x6e91('0x0'));var util=require(_0x6e91('0x1'));var path=require('path');var timeout=require(_0x6e91('0x2'));var express=require(_0x6e91('0x3'));var router=express[_0x6e91('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x6e91('0x5'));var config=require(_0x6e91('0x6'));var controller=require(_0x6e91('0x7'));router[_0x6e91('0x8')]('/',auth['isAuthenticated'](),controller[_0x6e91('0x9')]);router[_0x6e91('0x8')](_0x6e91('0xa'),auth[_0x6e91('0xb')](),controller['show']);router[_0x6e91('0xc')]('/',auth['isAuthenticated'](),controller[_0x6e91('0xd')]);router[_0x6e91('0xe')]('/:id',auth[_0x6e91('0xb')](),controller[_0x6e91('0xf')]);router[_0x6e91('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x6e91('0x11')]);module[_0x6e91('0x12')]=router;