500110d0618bdc6d570d67f9a916764f0bb4b3c5
[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 _0x540f=['/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','./intDynamics365Account.controller','get','index','/:id','isAuthenticated','show'];(function(_0x127ff1,_0x28d497){var _0x203489=function(_0x3915b8){while(--_0x3915b8){_0x127ff1['push'](_0x127ff1['shift']());}};_0x203489(++_0x28d497);}(_0x540f,0x108));var _0xf540=function(_0x59d89e,_0x55edf5){_0x59d89e=_0x59d89e-0x0;var _0x554e93=_0x540f[_0x59d89e];return _0x554e93;};'use strict';var multer=require(_0xf540('0x0'));var util=require(_0xf540('0x1'));var path=require(_0xf540('0x2'));var timeout=require(_0xf540('0x3'));var express=require('express');var router=express[_0xf540('0x4')]();var auth=require(_0xf540('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf540('0x6'));router[_0xf540('0x7')]('/',auth['isAuthenticated'](),controller[_0xf540('0x8')]);router[_0xf540('0x7')](_0xf540('0x9'),auth[_0xf540('0xa')](),controller[_0xf540('0xb')]);router[_0xf540('0x7')](_0xf540('0xc'),auth[_0xf540('0xa')](),controller[_0xf540('0xd')]);router[_0xf540('0x7')](_0xf540('0xe'),auth[_0xf540('0xa')](),controller[_0xf540('0xf')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xf540('0x10')](_0xf540('0xc'),auth['isAuthenticated'](),controller[_0xf540('0x11')]);router[_0xf540('0x12')](_0xf540('0x9'),auth[_0xf540('0xa')](),controller[_0xf540('0x13')]);router[_0xf540('0x14')](_0xf540('0x9'),auth[_0xf540('0xa')](),controller[_0xf540('0x15')]);module[_0xf540('0x16')]=router;