Built motion from commit 9d0783e6.|2.6.13
[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 _0xb9f8=['post','create','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intZohoField.controller','get','isAuthenticated','/:id','show'];(function(_0x43b06b,_0x1929c7){var _0x2c555b=function(_0x30fa8c){while(--_0x30fa8c){_0x43b06b['push'](_0x43b06b['shift']());}};_0x2c555b(++_0x1929c7);}(_0xb9f8,0x15b));var _0x8b9f=function(_0xcbe321,_0x43fd9d){_0xcbe321=_0xcbe321-0x0;var _0x43b66c=_0xb9f8[_0xcbe321];return _0x43b66c;};'use strict';var multer=require(_0x8b9f('0x0'));var util=require(_0x8b9f('0x1'));var path=require(_0x8b9f('0x2'));var timeout=require('connect-timeout');var express=require(_0x8b9f('0x3'));var router=express[_0x8b9f('0x4')]();var fs_extra=require(_0x8b9f('0x5'));var auth=require(_0x8b9f('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x8b9f('0x7'));var controller=require(_0x8b9f('0x8'));router[_0x8b9f('0x9')]('/',auth[_0x8b9f('0xa')](),controller['index']);router[_0x8b9f('0x9')](_0x8b9f('0xb'),auth['isAuthenticated'](),controller[_0x8b9f('0xc')]);router[_0x8b9f('0xd')]('/',auth[_0x8b9f('0xa')](),controller[_0x8b9f('0xe')]);router[_0x8b9f('0xf')](_0x8b9f('0xb'),auth[_0x8b9f('0xa')](),controller[_0x8b9f('0x10')]);router[_0x8b9f('0x11')](_0x8b9f('0xb'),auth['isAuthenticated'](),controller[_0x8b9f('0x12')]);module[_0x8b9f('0x13')]=router;