Built motion from commit (unavailable).|2.4.13
[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 _0xf0db=['isAuthenticated','index','get','/:id','show','post','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment'];(function(_0x46ebfd,_0x4a1b14){var _0x21ee2e=function(_0x1130a3){while(--_0x1130a3){_0x46ebfd['push'](_0x46ebfd['shift']());}};_0x21ee2e(++_0x4a1b14);}(_0xf0db,0x12b));var _0xbf0d=function(_0x4d16c8,_0x17a386){_0x4d16c8=_0x4d16c8-0x0;var _0x22c359=_0xf0db[_0x4d16c8];return _0x22c359;};'use strict';var multer=require(_0xbf0d('0x0'));var util=require(_0xbf0d('0x1'));var path=require('path');var timeout=require(_0xbf0d('0x2'));var express=require(_0xbf0d('0x3'));var router=express[_0xbf0d('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xbf0d('0x5'));var config=require(_0xbf0d('0x6'));var controller=require('./intZendeskField.controller');router['get']('/',auth[_0xbf0d('0x7')](),controller[_0xbf0d('0x8')]);router[_0xbf0d('0x9')](_0xbf0d('0xa'),auth['isAuthenticated'](),controller[_0xbf0d('0xb')]);router[_0xbf0d('0xc')]('/',auth[_0xbf0d('0x7')](),controller[_0xbf0d('0xd')]);router[_0xbf0d('0xe')](_0xbf0d('0xa'),auth[_0xbf0d('0x7')](),controller[_0xbf0d('0xf')]);router['delete']('/:id',auth[_0xbf0d('0x7')](),controller[_0xbf0d('0x10')]);module[_0xbf0d('0x11')]=router;