08954f1838019a85e8b0f1665ba4ffd61e4efc78
[motion2.git] / server / api / intSugarcrmField / 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 _0xae6c=['./intSugarcrmField.controller','index','/:id','isAuthenticated','show','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0xcc919e,_0xaf01e){var _0x8317c3=function(_0x24c189){while(--_0x24c189){_0xcc919e['push'](_0xcc919e['shift']());}};_0x8317c3(++_0xaf01e);}(_0xae6c,0xc9));var _0xcae6=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xae6c[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require('multer');var util=require(_0xcae6('0x0'));var path=require(_0xcae6('0x1'));var timeout=require(_0xcae6('0x2'));var express=require(_0xcae6('0x3'));var router=express[_0xcae6('0x4')]();var fs_extra=require(_0xcae6('0x5'));var auth=require(_0xcae6('0x6'));var interaction=require(_0xcae6('0x7'));var config=require(_0xcae6('0x8'));var controller=require(_0xcae6('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xcae6('0xa')]);router['get'](_0xcae6('0xb'),auth[_0xcae6('0xc')](),controller[_0xcae6('0xd')]);router[_0xcae6('0xe')]('/',auth['isAuthenticated'](),controller[_0xcae6('0xf')]);router[_0xcae6('0x10')](_0xcae6('0xb'),auth[_0xcae6('0xc')](),controller[_0xcae6('0x11')]);router[_0xcae6('0x12')](_0xcae6('0xb'),auth[_0xcae6('0xc')](),controller[_0xcae6('0x13')]);module[_0xcae6('0x14')]=router;