Built motion from commit 449495f6.|2.6.27
[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 _0x152b=['destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller','get','isAuthenticated','index','/:id','show','getConfigurations','/:id/fields','getFields','post','create','/:id/configurations','addConfiguration','put','update'];(function(_0x35d3a8,_0x44406a){var _0x182378=function(_0x298e0b){while(--_0x298e0b){_0x35d3a8['push'](_0x35d3a8['shift']());}};_0x182378(++_0x44406a);}(_0x152b,0x182));var _0xb152=function(_0x21c6b8,_0x16d6f6){_0x21c6b8=_0x21c6b8-0x0;var _0x39d474=_0x152b[_0x21c6b8];return _0x39d474;};'use strict';var multer=require(_0xb152('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xb152('0x1'));var express=require(_0xb152('0x2'));var router=express[_0xb152('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xb152('0x4'));var interaction=require(_0xb152('0x5'));var config=require(_0xb152('0x6'));var controller=require(_0xb152('0x7'));router[_0xb152('0x8')]('/',auth[_0xb152('0x9')](),controller[_0xb152('0xa')]);router[_0xb152('0x8')](_0xb152('0xb'),auth[_0xb152('0x9')](),controller[_0xb152('0xc')]);router[_0xb152('0x8')]('/:id/configurations',auth[_0xb152('0x9')](),controller[_0xb152('0xd')]);router['get'](_0xb152('0xe'),auth[_0xb152('0x9')](),controller[_0xb152('0xf')]);router[_0xb152('0x10')]('/',auth[_0xb152('0x9')](),controller[_0xb152('0x11')]);router['post'](_0xb152('0x12'),auth[_0xb152('0x9')](),controller[_0xb152('0x13')]);router[_0xb152('0x14')](_0xb152('0xb'),auth[_0xb152('0x9')](),controller[_0xb152('0x15')]);router['delete'](_0xb152('0xb'),auth[_0xb152('0x9')](),controller[_0xb152('0x16')]);module[_0xb152('0x17')]=router;