Built motion from commit (unavailable).|2.5.12
[motion2.git] / server / api / intZendeskAccount / 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 _0xc9df=['put','update','destroy','exports','util','path','connect-timeout','isAuthenticated','index','get','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration'];(function(_0x5910df,_0x2d5d60){var _0x4869a3=function(_0xbe8df5){while(--_0xbe8df5){_0x5910df['push'](_0x5910df['shift']());}};_0x4869a3(++_0x2d5d60);}(_0xc9df,0x121));var _0xfc9d=function(_0x238fde,_0x3fbe25){_0x238fde=_0x238fde-0x0;var _0xbf1220=_0xc9df[_0x238fde];return _0xbf1220;};'use strict';var multer=require('multer');var util=require(_0xfc9d('0x0'));var path=require(_0xfc9d('0x1'));var timeout=require(_0xfc9d('0x2'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intZendeskAccount.controller');router['get']('/',auth[_0xfc9d('0x3')](),controller[_0xfc9d('0x4')]);router[_0xfc9d('0x5')](_0xfc9d('0x6'),auth[_0xfc9d('0x3')](),controller[_0xfc9d('0x7')]);router['get'](_0xfc9d('0x8'),auth[_0xfc9d('0x3')](),controller[_0xfc9d('0x9')]);router[_0xfc9d('0x5')](_0xfc9d('0xa'),auth[_0xfc9d('0x3')](),controller[_0xfc9d('0xb')]);router[_0xfc9d('0xc')]('/',auth[_0xfc9d('0x3')](),controller[_0xfc9d('0xd')]);router[_0xfc9d('0xc')](_0xfc9d('0x8'),auth[_0xfc9d('0x3')](),controller[_0xfc9d('0xe')]);router[_0xfc9d('0xf')](_0xfc9d('0x6'),auth['isAuthenticated'](),controller[_0xfc9d('0x10')]);router['delete'](_0xfc9d('0x6'),auth['isAuthenticated'](),controller[_0xfc9d('0x11')]);module[_0xfc9d('0x12')]=router;