Built motion from commit (unavailable).|2.5.4
[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 _0x6617=['put','destroy','exports','multer','util','connect-timeout','Router','../../config/environment','./pause.controller','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x55bd61,_0x67516e){var _0x3cd1d1=function(_0x435ea8){while(--_0x435ea8){_0x55bd61['push'](_0x55bd61['shift']());}};_0x3cd1d1(++_0x67516e);}(_0x6617,0xd3));var _0x7661=function(_0x2112d4,_0x3c863c){_0x2112d4=_0x2112d4-0x0;var _0x434972=_0x6617[_0x2112d4];return _0x434972;};'use strict';var multer=require(_0x7661('0x0'));var util=require(_0x7661('0x1'));var path=require('path');var timeout=require(_0x7661('0x2'));var express=require('express');var router=express[_0x7661('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7661('0x4'));var controller=require(_0x7661('0x5'));router[_0x7661('0x6')]('/',auth[_0x7661('0x7')](),controller[_0x7661('0x8')]);router[_0x7661('0x6')](_0x7661('0x9'),auth[_0x7661('0x7')](),controller[_0x7661('0xa')]);router[_0x7661('0xb')]('/',auth[_0x7661('0x7')](),controller[_0x7661('0xc')]);router[_0x7661('0xd')](_0x7661('0x9'),auth[_0x7661('0x7')](),controller['update']);router['delete'](_0x7661('0x9'),auth[_0x7661('0x7')](),controller[_0x7661('0xe')]);module[_0x7661('0xf')]=router;