Built motion from commit f0b1811d.|2.6.6
[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 _0x79fb=['/:id/fields','getFields','post','addConfiguration','put','/:id','update','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./intZendeskAccount.controller','isAuthenticated','index','get','show','/:id/configurations','getConfigurations'];(function(_0x379e66,_0x35293e){var _0x20512c=function(_0x38f5ee){while(--_0x38f5ee){_0x379e66['push'](_0x379e66['shift']());}};_0x20512c(++_0x35293e);}(_0x79fb,0xc2));var _0xb79f=function(_0x4a2c27,_0x5aea8b){_0x4a2c27=_0x4a2c27-0x0;var _0x1e31a9=_0x79fb[_0x4a2c27];return _0x1e31a9;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb79f('0x0'));var timeout=require(_0xb79f('0x1'));var express=require(_0xb79f('0x2'));var router=express[_0xb79f('0x3')]();var fs_extra=require(_0xb79f('0x4'));var auth=require(_0xb79f('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb79f('0x6'));router['get']('/',auth[_0xb79f('0x7')](),controller[_0xb79f('0x8')]);router[_0xb79f('0x9')]('/:id',auth[_0xb79f('0x7')](),controller[_0xb79f('0xa')]);router[_0xb79f('0x9')](_0xb79f('0xb'),auth[_0xb79f('0x7')](),controller[_0xb79f('0xc')]);router[_0xb79f('0x9')](_0xb79f('0xd'),auth['isAuthenticated'](),controller[_0xb79f('0xe')]);router[_0xb79f('0xf')]('/',auth[_0xb79f('0x7')](),controller['create']);router[_0xb79f('0xf')](_0xb79f('0xb'),auth[_0xb79f('0x7')](),controller[_0xb79f('0x10')]);router[_0xb79f('0x11')](_0xb79f('0x12'),auth[_0xb79f('0x7')](),controller[_0xb79f('0x13')]);router[_0xb79f('0x14')](_0xb79f('0x12'),auth[_0xb79f('0x7')](),controller[_0xb79f('0x15')]);module[_0xb79f('0x16')]=router;