Built motion from commit (unavailable).|2.5.13
[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 _0xb2fa=['get','isAuthenticated','/:id','show','post','create','put','update','destroy','multer','util','connect-timeout','express','../../components/interaction/service','./intDeskField.controller'];(function(_0x1b91c7,_0x539acd){var _0xbbe014=function(_0x57ff15){while(--_0x57ff15){_0x1b91c7['push'](_0x1b91c7['shift']());}};_0xbbe014(++_0x539acd);}(_0xb2fa,0x18f));var _0xab2f=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xb2fa[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xab2f('0x0'));var util=require(_0xab2f('0x1'));var path=require('path');var timeout=require(_0xab2f('0x2'));var express=require(_0xab2f('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xab2f('0x4'));var config=require('../../config/environment');var controller=require(_0xab2f('0x5'));router[_0xab2f('0x6')]('/',auth[_0xab2f('0x7')](),controller['index']);router[_0xab2f('0x6')](_0xab2f('0x8'),auth[_0xab2f('0x7')](),controller[_0xab2f('0x9')]);router[_0xab2f('0xa')]('/',auth[_0xab2f('0x7')](),controller[_0xab2f('0xb')]);router[_0xab2f('0xc')](_0xab2f('0x8'),auth[_0xab2f('0x7')](),controller[_0xab2f('0xd')]);router['delete'](_0xab2f('0x8'),auth[_0xab2f('0x7')](),controller[_0xab2f('0xe')]);module['exports']=router;