851561327a654e1cd896bf5b80f52be3761f4e5b
[motion2.git] / server / api / intDynamics365Account / 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 _0x9ad9=['get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','post','create','addConfiguration','put','update','delete','destroy','multer','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Account.controller'];(function(_0x5f5167,_0x11774b){var _0x4bcbf2=function(_0x1ac352){while(--_0x1ac352){_0x5f5167['push'](_0x5f5167['shift']());}};_0x4bcbf2(++_0x11774b);}(_0x9ad9,0x1f2));var _0x99ad=function(_0x5857a7,_0x3f8601){_0x5857a7=_0x5857a7-0x0;var _0x2c35e4=_0x9ad9[_0x5857a7];return _0x2c35e4;};'use strict';var multer=require(_0x99ad('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x99ad('0x1'));var express=require(_0x99ad('0x2'));var router=express['Router']();var fs_extra=require(_0x99ad('0x3'));var auth=require(_0x99ad('0x4'));var interaction=require(_0x99ad('0x5'));var config=require(_0x99ad('0x6'));var controller=require(_0x99ad('0x7'));router[_0x99ad('0x8')]('/',auth[_0x99ad('0x9')](),controller[_0x99ad('0xa')]);router[_0x99ad('0x8')](_0x99ad('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x99ad('0x8')](_0x99ad('0xc'),auth['isAuthenticated'](),controller[_0x99ad('0xd')]);router[_0x99ad('0x8')](_0x99ad('0xe'),auth[_0x99ad('0x9')](),controller['getFields']);router[_0x99ad('0xf')]('/',auth[_0x99ad('0x9')](),controller[_0x99ad('0x10')]);router[_0x99ad('0xf')](_0x99ad('0xc'),auth['isAuthenticated'](),controller[_0x99ad('0x11')]);router[_0x99ad('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x99ad('0x13')]);router[_0x99ad('0x14')](_0x99ad('0xb'),auth[_0x99ad('0x9')](),controller[_0x99ad('0x15')]);module['exports']=router;