Built motion from commit 9d0783e6.|2.6.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 _0x3c5b=['connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','isAuthenticated','/:id','show','post','create','update','delete','destroy','util','path'];(function(_0x544b1f,_0x456faf){var _0x1367ac=function(_0x47ff30){while(--_0x47ff30){_0x544b1f['push'](_0x544b1f['shift']());}};_0x1367ac(++_0x456faf);}(_0x3c5b,0x15e));var _0xb3c5=function(_0x34c8c6,_0x390bb5){_0x34c8c6=_0x34c8c6-0x0;var _0x40b304=_0x3c5b[_0x34c8c6];return _0x40b304;};'use strict';var multer=require('multer');var util=require(_0xb3c5('0x0'));var path=require(_0xb3c5('0x1'));var timeout=require(_0xb3c5('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xb3c5('0x3'));var auth=require(_0xb3c5('0x4'));var interaction=require(_0xb3c5('0x5'));var config=require(_0xb3c5('0x6'));var controller=require(_0xb3c5('0x7'));router['get']('/',auth[_0xb3c5('0x8')](),controller['index']);router['get'](_0xb3c5('0x9'),auth['isAuthenticated'](),controller[_0xb3c5('0xa')]);router[_0xb3c5('0xb')]('/',auth[_0xb3c5('0x8')](),controller[_0xb3c5('0xc')]);router['put'](_0xb3c5('0x9'),auth['isAuthenticated'](),controller[_0xb3c5('0xd')]);router[_0xb3c5('0xe')](_0xb3c5('0x9'),auth[_0xb3c5('0x8')](),controller[_0xb3c5('0xf')]);module['exports']=router;