Built motion from commit (unavailable).|2.5.8
[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 _0x4ccf=['./intZendeskField.controller','get','isAuthenticated','index','/:id','post','create','put','update','destroy','exports','util','path','connect-timeout','express','../../components/auth/service','../../config/environment'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0x4ccf,0x170));var _0xf4cc=function(_0x131cec,_0x61e8bf){_0x131cec=_0x131cec-0x0;var _0x307785=_0x4ccf[_0x131cec];return _0x307785;};'use strict';var multer=require('multer');var util=require(_0xf4cc('0x0'));var path=require(_0xf4cc('0x1'));var timeout=require(_0xf4cc('0x2'));var express=require(_0xf4cc('0x3'));var router=express['Router']();var auth=require(_0xf4cc('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xf4cc('0x5'));var controller=require(_0xf4cc('0x6'));router[_0xf4cc('0x7')]('/',auth[_0xf4cc('0x8')](),controller[_0xf4cc('0x9')]);router[_0xf4cc('0x7')](_0xf4cc('0xa'),auth[_0xf4cc('0x8')](),controller['show']);router[_0xf4cc('0xb')]('/',auth[_0xf4cc('0x8')](),controller[_0xf4cc('0xc')]);router[_0xf4cc('0xd')]('/:id',auth[_0xf4cc('0x8')](),controller[_0xf4cc('0xe')]);router['delete'](_0xf4cc('0xa'),auth[_0xf4cc('0x8')](),controller[_0xf4cc('0xf')]);module[_0xf4cc('0x10')]=router;