876c48bf9e3cb2bd73b645aea2194b58cac7c346
[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 _0x8bca=['./intDeskField.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x36d809,_0x36bf6c){var _0x15561d=function(_0x53c0ae){while(--_0x53c0ae){_0x36d809['push'](_0x36d809['shift']());}};_0x15561d(++_0x36bf6c);}(_0x8bca,0x12b));var _0xa8bc=function(_0x7e2eb0,_0x17cd58){_0x7e2eb0=_0x7e2eb0-0x0;var _0xd92de4=_0x8bca[_0x7e2eb0];return _0xd92de4;};'use strict';var multer=require(_0xa8bc('0x0'));var util=require(_0xa8bc('0x1'));var path=require(_0xa8bc('0x2'));var timeout=require('connect-timeout');var express=require(_0xa8bc('0x3'));var router=express[_0xa8bc('0x4')]();var fs_extra=require(_0xa8bc('0x5'));var auth=require(_0xa8bc('0x6'));var interaction=require(_0xa8bc('0x7'));var config=require(_0xa8bc('0x8'));var controller=require(_0xa8bc('0x9'));router[_0xa8bc('0xa')]('/',auth[_0xa8bc('0xb')](),controller[_0xa8bc('0xc')]);router[_0xa8bc('0xa')]('/:id',auth[_0xa8bc('0xb')](),controller[_0xa8bc('0xd')]);router[_0xa8bc('0xe')]('/',auth[_0xa8bc('0xb')](),controller[_0xa8bc('0xf')]);router[_0xa8bc('0x10')](_0xa8bc('0x11'),auth[_0xa8bc('0xb')](),controller[_0xa8bc('0x12')]);router[_0xa8bc('0x13')](_0xa8bc('0x11'),auth[_0xa8bc('0xb')](),controller[_0xa8bc('0x14')]);module[_0xa8bc('0x15')]=router;