Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / intFreshdeskAccount / 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 _0x390b=['connect-timeout','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','/:id','update','delete','destroy','exports','util','path'];(function(_0x43cec8,_0x319431){var _0x351f73=function(_0xa44cd0){while(--_0xa44cd0){_0x43cec8['push'](_0x43cec8['shift']());}};_0x351f73(++_0x319431);}(_0x390b,0x1e2));var _0xb390=function(_0x5dfc6b,_0x1a3d70){_0x5dfc6b=_0x5dfc6b-0x0;var _0x312c28=_0x390b[_0x5dfc6b];return _0x312c28;};'use strict';var multer=require('multer');var util=require(_0xb390('0x0'));var path=require(_0xb390('0x1'));var timeout=require(_0xb390('0x2'));var express=require('express');var router=express[_0xb390('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xb390('0x4'));var config=require(_0xb390('0x5'));var controller=require('./intFreshdeskAccount.controller');router[_0xb390('0x6')]('/',auth[_0xb390('0x7')](),controller['index']);router[_0xb390('0x6')]('/:id',auth[_0xb390('0x7')](),controller[_0xb390('0x8')]);router[_0xb390('0x6')](_0xb390('0x9'),auth[_0xb390('0x7')](),controller[_0xb390('0xa')]);router[_0xb390('0x6')](_0xb390('0xb'),auth[_0xb390('0x7')](),controller[_0xb390('0xc')]);router[_0xb390('0xd')]('/',auth[_0xb390('0x7')](),controller[_0xb390('0xe')]);router[_0xb390('0xd')](_0xb390('0x9'),auth[_0xb390('0x7')](),controller[_0xb390('0xf')]);router[_0xb390('0x10')](_0xb390('0x11'),auth[_0xb390('0x7')](),controller[_0xb390('0x12')]);router[_0xb390('0x13')](_0xb390('0x11'),auth[_0xb390('0x7')](),controller[_0xb390('0x14')]);module[_0xb390('0x15')]=router;