Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / voiceContext / 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 _0xa05a=['../../components/interaction/service','../../config/environment','./voiceContext.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x23266e,_0x3647e2){var _0x55c2b6=function(_0x32afd4){while(--_0x32afd4){_0x23266e['push'](_0x23266e['shift']());}};_0x55c2b6(++_0x3647e2);}(_0xa05a,0x1b2));var _0xaa05=function(_0x2bbc1f,_0x2f0168){_0x2bbc1f=_0x2bbc1f-0x0;var _0x4c343e=_0xa05a[_0x2bbc1f];return _0x4c343e;};'use strict';var multer=require(_0xaa05('0x0'));var util=require(_0xaa05('0x1'));var path=require(_0xaa05('0x2'));var timeout=require(_0xaa05('0x3'));var express=require(_0xaa05('0x4'));var router=express['Router']();var fs_extra=require(_0xaa05('0x5'));var auth=require(_0xaa05('0x6'));var interaction=require(_0xaa05('0x7'));var config=require(_0xaa05('0x8'));var controller=require(_0xaa05('0x9'));router[_0xaa05('0xa')]('/',auth[_0xaa05('0xb')](),controller['index']);router[_0xaa05('0xa')](_0xaa05('0xc'),auth[_0xaa05('0xb')](),controller[_0xaa05('0xd')]);router[_0xaa05('0xe')]('/',auth[_0xaa05('0xb')](),controller[_0xaa05('0xf')]);router[_0xaa05('0x10')](_0xaa05('0xc'),auth[_0xaa05('0xb')](),controller[_0xaa05('0x11')]);router[_0xaa05('0x12')](_0xaa05('0xc'),auth[_0xaa05('0xb')](),controller[_0xaa05('0x13')]);module[_0xaa05('0x14')]=router;