84d8e4ef131f213a6ac964f8847b4de85f2c56ca
[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 _0xcafb=['post','create','put','/:id','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','get','isAuthenticated','index','show'];(function(_0x3560a6,_0x59c2f6){var _0x18e7e9=function(_0x43e9d0){while(--_0x43e9d0){_0x3560a6['push'](_0x3560a6['shift']());}};_0x18e7e9(++_0x59c2f6);}(_0xcafb,0x16c));var _0xbcaf=function(_0x46a4b3,_0x42c7fe){_0x46a4b3=_0x46a4b3-0x0;var _0x41640b=_0xcafb[_0x46a4b3];return _0x41640b;};'use strict';var multer=require(_0xbcaf('0x0'));var util=require(_0xbcaf('0x1'));var path=require(_0xbcaf('0x2'));var timeout=require(_0xbcaf('0x3'));var express=require(_0xbcaf('0x4'));var router=express[_0xbcaf('0x5')]();var auth=require(_0xbcaf('0x6'));var interaction=require(_0xbcaf('0x7'));var config=require(_0xbcaf('0x8'));var controller=require(_0xbcaf('0x9'));router[_0xbcaf('0xa')]('/',auth[_0xbcaf('0xb')](),controller[_0xbcaf('0xc')]);router['get']('/:id',auth[_0xbcaf('0xb')](),controller[_0xbcaf('0xd')]);router[_0xbcaf('0xe')]('/',auth[_0xbcaf('0xb')](),controller[_0xbcaf('0xf')]);router[_0xbcaf('0x10')](_0xbcaf('0x11'),auth[_0xbcaf('0xb')](),controller[_0xbcaf('0x12')]);router[_0xbcaf('0x13')](_0xbcaf('0x11'),auth[_0xbcaf('0xb')](),controller[_0xbcaf('0x14')]);module['exports']=router;