Built motion from commit (unavailable).|2.5.21
[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 _0xed79=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmField.controller','get','isAuthenticated','index','/:id','show','post','create','update','destroy','exports','multer','util','path','connect-timeout'];(function(_0x25e10c,_0x49596a){var _0x5dfd94=function(_0x2f4bfb){while(--_0x2f4bfb){_0x25e10c['push'](_0x25e10c['shift']());}};_0x5dfd94(++_0x49596a);}(_0xed79,0xb0));var _0x9ed7=function(_0x516eeb,_0x105a65){_0x516eeb=_0x516eeb-0x0;var _0x5601e2=_0xed79[_0x516eeb];return _0x5601e2;};'use strict';var multer=require(_0x9ed7('0x0'));var util=require(_0x9ed7('0x1'));var path=require(_0x9ed7('0x2'));var timeout=require(_0x9ed7('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x9ed7('0x4'));var interaction=require(_0x9ed7('0x5'));var config=require(_0x9ed7('0x6'));var controller=require(_0x9ed7('0x7'));router[_0x9ed7('0x8')]('/',auth[_0x9ed7('0x9')](),controller[_0x9ed7('0xa')]);router[_0x9ed7('0x8')](_0x9ed7('0xb'),auth[_0x9ed7('0x9')](),controller[_0x9ed7('0xc')]);router[_0x9ed7('0xd')]('/',auth[_0x9ed7('0x9')](),controller[_0x9ed7('0xe')]);router['put'](_0x9ed7('0xb'),auth[_0x9ed7('0x9')](),controller[_0x9ed7('0xf')]);router['delete'](_0x9ed7('0xb'),auth[_0x9ed7('0x9')](),controller[_0x9ed7('0x10')]);module[_0x9ed7('0x11')]=router;