Built motion from commit b5413ace.|2.6.9
[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 _0x754c=['get','isAuthenticated','index','/:id','show','post','create','update','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','./pause.controller'];(function(_0x1ae9b6,_0x37a51c){var _0x4f613e=function(_0xc90ebe){while(--_0xc90ebe){_0x1ae9b6['push'](_0x1ae9b6['shift']());}};_0x4f613e(++_0x37a51c);}(_0x754c,0x109));var _0xc754=function(_0x393d62,_0x343477){_0x393d62=_0x393d62-0x0;var _0x522d5f=_0x754c[_0x393d62];return _0x522d5f;};'use strict';var multer=require(_0xc754('0x0'));var util=require(_0xc754('0x1'));var path=require('path');var timeout=require(_0xc754('0x2'));var express=require(_0xc754('0x3'));var router=express[_0xc754('0x4')]();var fs_extra=require(_0xc754('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc754('0x6'));router[_0xc754('0x7')]('/',auth[_0xc754('0x8')](),controller[_0xc754('0x9')]);router[_0xc754('0x7')](_0xc754('0xa'),auth[_0xc754('0x8')](),controller[_0xc754('0xb')]);router[_0xc754('0xc')]('/',auth[_0xc754('0x8')](),controller[_0xc754('0xd')]);router['put'](_0xc754('0xa'),auth[_0xc754('0x8')](),controller[_0xc754('0xe')]);router['delete']('/:id',auth[_0xc754('0x8')](),controller[_0xc754('0xf')]);module[_0xc754('0x10')]=router;