92328c05c3b4b3fc1d1da72af545748ffe3aa0b2
[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 _0x773a=['update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intSalesforceField.controller','get','isAuthenticated','index','show','post','create','put'];(function(_0x4f5da2,_0x5203f3){var _0x3f401b=function(_0x4b6250){while(--_0x4b6250){_0x4f5da2['push'](_0x4f5da2['shift']());}};_0x3f401b(++_0x5203f3);}(_0x773a,0xe0));var _0xa773=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x773a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xa773('0x0'));var util=require(_0xa773('0x1'));var path=require(_0xa773('0x2'));var timeout=require(_0xa773('0x3'));var express=require(_0xa773('0x4'));var router=express[_0xa773('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xa773('0x6'));var interaction=require(_0xa773('0x7'));var config=require('../../config/environment');var controller=require(_0xa773('0x8'));router[_0xa773('0x9')]('/',auth[_0xa773('0xa')](),controller[_0xa773('0xb')]);router[_0xa773('0x9')]('/:id',auth[_0xa773('0xa')](),controller[_0xa773('0xc')]);router[_0xa773('0xd')]('/',auth[_0xa773('0xa')](),controller[_0xa773('0xe')]);router[_0xa773('0xf')]('/:id',auth[_0xa773('0xa')](),controller[_0xa773('0x10')]);router[_0xa773('0x11')]('/:id',auth[_0xa773('0xa')](),controller[_0xa773('0x12')]);module[_0xa773('0x13')]=router;