191d894ea80503137d821583880f2c1f90904d33
[motion2.git] / server / api / intDynamics365Field / 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 _0xc520=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intDynamics365Field.controller','get','isAuthenticated','index','/:id','show','post','put','update','delete','destroy','exports','multer','util','connect-timeout','express'];(function(_0x39fb6a,_0x8b07ae){var _0x1452a1=function(_0x391804){while(--_0x391804){_0x39fb6a['push'](_0x39fb6a['shift']());}};_0x1452a1(++_0x8b07ae);}(_0xc520,0x1f0));var _0x0c52=function(_0x473e96,_0x5855e8){_0x473e96=_0x473e96-0x0;var _0x2d8da5=_0xc520[_0x473e96];return _0x2d8da5;};'use strict';var multer=require(_0x0c52('0x0'));var util=require(_0x0c52('0x1'));var path=require('path');var timeout=require(_0x0c52('0x2'));var express=require(_0x0c52('0x3'));var router=express[_0x0c52('0x4')]();var fs_extra=require(_0x0c52('0x5'));var auth=require(_0x0c52('0x6'));var interaction=require(_0x0c52('0x7'));var config=require('../../config/environment');var controller=require(_0x0c52('0x8'));router[_0x0c52('0x9')]('/',auth[_0x0c52('0xa')](),controller[_0x0c52('0xb')]);router[_0x0c52('0x9')](_0x0c52('0xc'),auth['isAuthenticated'](),controller[_0x0c52('0xd')]);router[_0x0c52('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x0c52('0xf')](_0x0c52('0xc'),auth[_0x0c52('0xa')](),controller[_0x0c52('0x10')]);router[_0x0c52('0x11')](_0x0c52('0xc'),auth[_0x0c52('0xa')](),controller[_0x0c52('0x12')]);module[_0x0c52('0x13')]=router;