5dd4c61e2aa8c747a10d64b7ba31cba1ef9d0d09
[motion2.git] / server / api / intSalesforceField / 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 _0xa7fa=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./intSalesforceField.controller','get','isAuthenticated','/:id','post','create','put','update','delete','multer','util'];(function(_0x2f1114,_0x4561f1){var _0x2fe856=function(_0x8397f8){while(--_0x8397f8){_0x2f1114['push'](_0x2f1114['shift']());}};_0x2fe856(++_0x4561f1);}(_0xa7fa,0x196));var _0xaa7f=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xa7fa[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xaa7f('0x0'));var util=require(_0xaa7f('0x1'));var path=require(_0xaa7f('0x2'));var timeout=require(_0xaa7f('0x3'));var express=require(_0xaa7f('0x4'));var router=express[_0xaa7f('0x5')]();var fs_extra=require(_0xaa7f('0x6'));var auth=require(_0xaa7f('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xaa7f('0x8'));router[_0xaa7f('0x9')]('/',auth[_0xaa7f('0xa')](),controller['index']);router[_0xaa7f('0x9')](_0xaa7f('0xb'),auth[_0xaa7f('0xa')](),controller['show']);router[_0xaa7f('0xc')]('/',auth[_0xaa7f('0xa')](),controller[_0xaa7f('0xd')]);router[_0xaa7f('0xe')](_0xaa7f('0xb'),auth[_0xaa7f('0xa')](),controller[_0xaa7f('0xf')]);router[_0xaa7f('0x10')](_0xaa7f('0xb'),auth[_0xaa7f('0xa')](),controller['destroy']);module['exports']=router;