Built motion from commit (unavailable).|2.4.20
[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 _0x958a=['isAuthenticated','index','get','/:id','show','post','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intZohoField.controller'];(function(_0x5dcac6,_0x16c78e){var _0x2b156d=function(_0x10cab6){while(--_0x10cab6){_0x5dcac6['push'](_0x5dcac6['shift']());}};_0x2b156d(++_0x16c78e);}(_0x958a,0x128));var _0xa958=function(_0x4eb81e,_0x83189f){_0x4eb81e=_0x4eb81e-0x0;var _0x30eab8=_0x958a[_0x4eb81e];return _0x30eab8;};'use strict';var multer=require(_0xa958('0x0'));var util=require(_0xa958('0x1'));var path=require('path');var timeout=require(_0xa958('0x2'));var express=require(_0xa958('0x3'));var router=express[_0xa958('0x4')]();var auth=require(_0xa958('0x5'));var interaction=require(_0xa958('0x6'));var config=require('../../config/environment');var controller=require(_0xa958('0x7'));router['get']('/',auth[_0xa958('0x8')](),controller[_0xa958('0x9')]);router[_0xa958('0xa')](_0xa958('0xb'),auth[_0xa958('0x8')](),controller[_0xa958('0xc')]);router[_0xa958('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0xa958('0xe')](_0xa958('0xb'),auth[_0xa958('0x8')](),controller[_0xa958('0xf')]);router[_0xa958('0x10')](_0xa958('0xb'),auth[_0xa958('0x8')](),controller[_0xa958('0x11')]);module[_0xa958('0x12')]=router;