Built motion from commit 85328c08.|2.5.50
[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 _0x82ff=['update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','isAuthenticated','get','/:id','show','post','create','put'];(function(_0x1ed704,_0x20d261){var _0x50829d=function(_0x2ad87b){while(--_0x2ad87b){_0x1ed704['push'](_0x1ed704['shift']());}};_0x50829d(++_0x20d261);}(_0x82ff,0x11c));var _0xf82f=function(_0x488a6d,_0x20b0f0){_0x488a6d=_0x488a6d-0x0;var _0xf15838=_0x82ff[_0x488a6d];return _0xf15838;};'use strict';var multer=require('multer');var util=require(_0xf82f('0x0'));var path=require('path');var timeout=require(_0xf82f('0x1'));var express=require(_0xf82f('0x2'));var router=express[_0xf82f('0x3')]();var fs_extra=require(_0xf82f('0x4'));var auth=require(_0xf82f('0x5'));var interaction=require(_0xf82f('0x6'));var config=require(_0xf82f('0x7'));var controller=require(_0xf82f('0x8'));router['get']('/',auth[_0xf82f('0x9')](),controller['index']);router[_0xf82f('0xa')](_0xf82f('0xb'),auth[_0xf82f('0x9')](),controller[_0xf82f('0xc')]);router[_0xf82f('0xd')]('/',auth[_0xf82f('0x9')](),controller[_0xf82f('0xe')]);router[_0xf82f('0xf')](_0xf82f('0xb'),auth[_0xf82f('0x9')](),controller[_0xf82f('0x10')]);router[_0xf82f('0x11')](_0xf82f('0xb'),auth[_0xf82f('0x9')](),controller[_0xf82f('0x12')]);module[_0xf82f('0x13')]=router;