Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / intDeskField / 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 _0xd06d=['multer','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','post','create','put','update','delete','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xd06d,0x1e0));var _0xdd06=function(_0x3ed4d7,_0x3783e0){_0x3ed4d7=_0x3ed4d7-0x0;var _0x2be1a4=_0xd06d[_0x3ed4d7];return _0x2be1a4;};'use strict';var multer=require(_0xdd06('0x0'));var util=require('util');var path=require(_0xdd06('0x1'));var timeout=require('connect-timeout');var express=require(_0xdd06('0x2'));var router=express['Router']();var auth=require(_0xdd06('0x3'));var interaction=require(_0xdd06('0x4'));var config=require(_0xdd06('0x5'));var controller=require('./intDeskField.controller');router[_0xdd06('0x6')]('/',auth[_0xdd06('0x7')](),controller['index']);router['get'](_0xdd06('0x8'),auth[_0xdd06('0x7')](),controller[_0xdd06('0x9')]);router[_0xdd06('0xa')]('/',auth[_0xdd06('0x7')](),controller[_0xdd06('0xb')]);router[_0xdd06('0xc')](_0xdd06('0x8'),auth[_0xdd06('0x7')](),controller[_0xdd06('0xd')]);router[_0xdd06('0xe')](_0xdd06('0x8'),auth[_0xdd06('0x7')](),controller['destroy']);module[_0xdd06('0xf')]=router;