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