Built motion from commit efa66e19.|2.6.22
[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 _0x9e3f=['path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Account.controller','get','isAuthenticated','/:id','show','/:id/configurations','getConfigurations','post','create','addConfiguration','put','update','delete','multer'];(function(_0x49ca18,_0x5e6d05){var _0x145d54=function(_0x30b9be){while(--_0x30b9be){_0x49ca18['push'](_0x49ca18['shift']());}};_0x145d54(++_0x5e6d05);}(_0x9e3f,0x1cd));var _0xf9e3=function(_0x470e5f,_0x35e00c){_0x470e5f=_0x470e5f-0x0;var _0x5a9679=_0x9e3f[_0x470e5f];return _0x5a9679;};'use strict';var multer=require(_0xf9e3('0x0'));var util=require('util');var path=require(_0xf9e3('0x1'));var timeout=require(_0xf9e3('0x2'));var express=require('express');var router=express[_0xf9e3('0x3')]();var fs_extra=require(_0xf9e3('0x4'));var auth=require(_0xf9e3('0x5'));var interaction=require(_0xf9e3('0x6'));var config=require(_0xf9e3('0x7'));var controller=require(_0xf9e3('0x8'));router[_0xf9e3('0x9')]('/',auth[_0xf9e3('0xa')](),controller['index']);router[_0xf9e3('0x9')](_0xf9e3('0xb'),auth[_0xf9e3('0xa')](),controller[_0xf9e3('0xc')]);router[_0xf9e3('0x9')](_0xf9e3('0xd'),auth[_0xf9e3('0xa')](),controller[_0xf9e3('0xe')]);router[_0xf9e3('0x9')]('/:id/fields',auth[_0xf9e3('0xa')](),controller['getFields']);router[_0xf9e3('0xf')]('/',auth[_0xf9e3('0xa')](),controller[_0xf9e3('0x10')]);router[_0xf9e3('0xf')](_0xf9e3('0xd'),auth[_0xf9e3('0xa')](),controller[_0xf9e3('0x11')]);router[_0xf9e3('0x12')]('/:id',auth[_0xf9e3('0xa')](),controller[_0xf9e3('0x13')]);router[_0xf9e3('0x14')](_0xf9e3('0xb'),auth[_0xf9e3('0xa')](),controller['destroy']);module['exports']=router;