Built motion from commit 092f8824.|2.5.49
[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 _0x7b43=['util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller','isAuthenticated','index','get','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','delete','destroy','exports'];(function(_0x513aa5,_0x1fba79){var _0x1a1a7c=function(_0x240e3f){while(--_0x240e3f){_0x513aa5['push'](_0x513aa5['shift']());}};_0x1a1a7c(++_0x1fba79);}(_0x7b43,0xe1));var _0x37b4=function(_0x589fd1,_0x573ca1){_0x589fd1=_0x589fd1-0x0;var _0x38f3d3=_0x7b43[_0x589fd1];return _0x38f3d3;};'use strict';var multer=require('multer');var util=require(_0x37b4('0x0'));var path=require(_0x37b4('0x1'));var timeout=require(_0x37b4('0x2'));var express=require(_0x37b4('0x3'));var router=express[_0x37b4('0x4')]();var fs_extra=require(_0x37b4('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x37b4('0x6'));var config=require(_0x37b4('0x7'));var controller=require(_0x37b4('0x8'));router['get']('/',auth[_0x37b4('0x9')](),controller[_0x37b4('0xa')]);router[_0x37b4('0xb')](_0x37b4('0xc'),auth[_0x37b4('0x9')](),controller[_0x37b4('0xd')]);router['get'](_0x37b4('0xe'),auth[_0x37b4('0x9')](),controller[_0x37b4('0xf')]);router['get'](_0x37b4('0x10'),auth[_0x37b4('0x9')](),controller[_0x37b4('0x11')]);router[_0x37b4('0x12')]('/',auth[_0x37b4('0x9')](),controller[_0x37b4('0x13')]);router[_0x37b4('0x12')](_0x37b4('0xe'),auth[_0x37b4('0x9')](),controller[_0x37b4('0x14')]);router[_0x37b4('0x15')](_0x37b4('0xc'),auth[_0x37b4('0x9')](),controller['update']);router[_0x37b4('0x16')](_0x37b4('0xc'),auth[_0x37b4('0x9')](),controller[_0x37b4('0x17')]);module[_0x37b4('0x18')]=router;