Built motion from commit 10af8726.|2.6.34
[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 _0x8eb3=['../../config/environment','./intZendeskField.controller','isAuthenticated','index','get','/:id','show','create','put','delete','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x49434b,_0x5779f7){var _0x435188=function(_0x3600db){while(--_0x3600db){_0x49434b['push'](_0x49434b['shift']());}};_0x435188(++_0x5779f7);}(_0x8eb3,0x1ad));var _0x38eb=function(_0x4ae684,_0x3e0ff1){_0x4ae684=_0x4ae684-0x0;var _0x310b5a=_0x8eb3[_0x4ae684];return _0x310b5a;};'use strict';var multer=require(_0x38eb('0x0'));var util=require(_0x38eb('0x1'));var path=require(_0x38eb('0x2'));var timeout=require(_0x38eb('0x3'));var express=require(_0x38eb('0x4'));var router=express['Router']();var fs_extra=require(_0x38eb('0x5'));var auth=require(_0x38eb('0x6'));var interaction=require(_0x38eb('0x7'));var config=require(_0x38eb('0x8'));var controller=require(_0x38eb('0x9'));router['get']('/',auth[_0x38eb('0xa')](),controller[_0x38eb('0xb')]);router[_0x38eb('0xc')](_0x38eb('0xd'),auth[_0x38eb('0xa')](),controller[_0x38eb('0xe')]);router['post']('/',auth[_0x38eb('0xa')](),controller[_0x38eb('0xf')]);router[_0x38eb('0x10')](_0x38eb('0xd'),auth[_0x38eb('0xa')](),controller['update']);router[_0x38eb('0x11')]('/:id',auth[_0x38eb('0xa')](),controller[_0x38eb('0x12')]);module['exports']=router;