a9af6daa675adf943cf4d4e5db8e25d1d41d16af
[motion2.git] / server / api / intZendeskField / 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 _0x6e8b=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','get','isAuthenticated','index','show','post','create','put','/:id','delete','destroy'];(function(_0x42b05f,_0x180e1e){var _0x320112=function(_0x2e7f9f){while(--_0x2e7f9f){_0x42b05f['push'](_0x42b05f['shift']());}};_0x320112(++_0x180e1e);}(_0x6e8b,0x6a));var _0xb6e8=function(_0x40f991,_0x576819){_0x40f991=_0x40f991-0x0;var _0x38eca2=_0x6e8b[_0x40f991];return _0x38eca2;};'use strict';var multer=require(_0xb6e8('0x0'));var util=require(_0xb6e8('0x1'));var path=require(_0xb6e8('0x2'));var timeout=require(_0xb6e8('0x3'));var express=require(_0xb6e8('0x4'));var router=express[_0xb6e8('0x5')]();var auth=require(_0xb6e8('0x6'));var interaction=require(_0xb6e8('0x7'));var config=require(_0xb6e8('0x8'));var controller=require(_0xb6e8('0x9'));router[_0xb6e8('0xa')]('/',auth[_0xb6e8('0xb')](),controller[_0xb6e8('0xc')]);router[_0xb6e8('0xa')]('/:id',auth[_0xb6e8('0xb')](),controller[_0xb6e8('0xd')]);router[_0xb6e8('0xe')]('/',auth[_0xb6e8('0xb')](),controller[_0xb6e8('0xf')]);router[_0xb6e8('0x10')](_0xb6e8('0x11'),auth[_0xb6e8('0xb')](),controller['update']);router[_0xb6e8('0x12')](_0xb6e8('0x11'),auth['isAuthenticated'](),controller[_0xb6e8('0x13')]);module[_0xb6e8('0x14')]=router;