4c775d5bd16794e4e277579305f7e6bb8ef50009
[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 _0x6ac8=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports'];(function(_0x37eda1,_0x289bc2){var _0x236c66=function(_0x153e74){while(--_0x153e74){_0x37eda1['push'](_0x37eda1['shift']());}};_0x236c66(++_0x289bc2);}(_0x6ac8,0x104));var _0x86ac=function(_0x5317b5,_0x4dfd6e){_0x5317b5=_0x5317b5-0x0;var _0x3b7ce2=_0x6ac8[_0x5317b5];return _0x3b7ce2;};'use strict';var multer=require('multer');var util=require(_0x86ac('0x0'));var path=require(_0x86ac('0x1'));var timeout=require(_0x86ac('0x2'));var express=require(_0x86ac('0x3'));var router=express[_0x86ac('0x4')]();var auth=require(_0x86ac('0x5'));var interaction=require(_0x86ac('0x6'));var config=require(_0x86ac('0x7'));var controller=require(_0x86ac('0x8'));router[_0x86ac('0x9')]('/',auth[_0x86ac('0xa')](),controller[_0x86ac('0xb')]);router[_0x86ac('0x9')](_0x86ac('0xc'),auth[_0x86ac('0xa')](),controller[_0x86ac('0xd')]);router['post']('/',auth[_0x86ac('0xa')](),controller[_0x86ac('0xe')]);router[_0x86ac('0xf')](_0x86ac('0xc'),auth[_0x86ac('0xa')](),controller[_0x86ac('0x10')]);router[_0x86ac('0x11')](_0x86ac('0xc'),auth[_0x86ac('0xa')](),controller[_0x86ac('0x12')]);module[_0x86ac('0x13')]=router;