6e53a5c3c1744bce947b7b1f3b2420952901a69e
[motion2.git] / server / api / intZohoField / 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 _0x5bfd=['/:id','show','post','create','put','update','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoField.controller','get','isAuthenticated'];(function(_0x284365,_0x205141){var _0x58d9e2=function(_0x597873){while(--_0x597873){_0x284365['push'](_0x284365['shift']());}};_0x58d9e2(++_0x205141);}(_0x5bfd,0x184));var _0xd5bf=function(_0x5c85fb,_0x3fa60e){_0x5c85fb=_0x5c85fb-0x0;var _0x353637=_0x5bfd[_0x5c85fb];return _0x353637;};'use strict';var multer=require(_0xd5bf('0x0'));var util=require('util');var path=require(_0xd5bf('0x1'));var timeout=require(_0xd5bf('0x2'));var express=require(_0xd5bf('0x3'));var router=express[_0xd5bf('0x4')]();var fs_extra=require(_0xd5bf('0x5'));var auth=require(_0xd5bf('0x6'));var interaction=require(_0xd5bf('0x7'));var config=require(_0xd5bf('0x8'));var controller=require(_0xd5bf('0x9'));router[_0xd5bf('0xa')]('/',auth[_0xd5bf('0xb')](),controller['index']);router['get'](_0xd5bf('0xc'),auth[_0xd5bf('0xb')](),controller[_0xd5bf('0xd')]);router[_0xd5bf('0xe')]('/',auth[_0xd5bf('0xb')](),controller[_0xd5bf('0xf')]);router[_0xd5bf('0x10')](_0xd5bf('0xc'),auth[_0xd5bf('0xb')](),controller[_0xd5bf('0x11')]);router['delete'](_0xd5bf('0xc'),auth[_0xd5bf('0xb')](),controller[_0xd5bf('0x12')]);module[_0xd5bf('0x13')]=router;