Built motion from commit (unavailable).|2.5.9
[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 _0x5144=['put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','./intZendeskField.controller','get','isAuthenticated','/:id','show','post'];(function(_0x57774f,_0x4ae760){var _0x20ba05=function(_0x4e6337){while(--_0x4e6337){_0x57774f['push'](_0x57774f['shift']());}};_0x20ba05(++_0x4ae760);}(_0x5144,0xe2));var _0x4514=function(_0xdb2e3c,_0x2f4644){_0xdb2e3c=_0xdb2e3c-0x0;var _0x55e38d=_0x5144[_0xdb2e3c];return _0x55e38d;};'use strict';var multer=require('multer');var util=require(_0x4514('0x0'));var path=require(_0x4514('0x1'));var timeout=require(_0x4514('0x2'));var express=require(_0x4514('0x3'));var router=express[_0x4514('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x4514('0x5'));var config=require('../../config/environment');var controller=require(_0x4514('0x6'));router[_0x4514('0x7')]('/',auth[_0x4514('0x8')](),controller['index']);router[_0x4514('0x7')](_0x4514('0x9'),auth[_0x4514('0x8')](),controller[_0x4514('0xa')]);router[_0x4514('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0x4514('0xc')](_0x4514('0x9'),auth[_0x4514('0x8')](),controller[_0x4514('0xd')]);router[_0x4514('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x4514('0xf')]);module[_0x4514('0x10')]=router;