Built motion from commit 1fa89557.|2.6.10
[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 _0x7d3a=['../../components/interaction/service','./intZendeskAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','/:id/fields','post','create','addConfiguration','put','update','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service'];(function(_0x30f110,_0x3eede6){var _0x42088f=function(_0x54298a){while(--_0x54298a){_0x30f110['push'](_0x30f110['shift']());}};_0x42088f(++_0x3eede6);}(_0x7d3a,0x17a));var _0xa7d3=function(_0x492c43,_0x23c932){_0x492c43=_0x492c43-0x0;var _0x8c100b=_0x7d3a[_0x492c43];return _0x8c100b;};'use strict';var multer=require(_0xa7d3('0x0'));var util=require(_0xa7d3('0x1'));var path=require(_0xa7d3('0x2'));var timeout=require('connect-timeout');var express=require(_0xa7d3('0x3'));var router=express[_0xa7d3('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa7d3('0x5'));var interaction=require(_0xa7d3('0x6'));var config=require('../../config/environment');var controller=require(_0xa7d3('0x7'));router[_0xa7d3('0x8')]('/',auth[_0xa7d3('0x9')](),controller[_0xa7d3('0xa')]);router['get'](_0xa7d3('0xb'),auth[_0xa7d3('0x9')](),controller[_0xa7d3('0xc')]);router[_0xa7d3('0x8')](_0xa7d3('0xd'),auth[_0xa7d3('0x9')](),controller[_0xa7d3('0xe')]);router[_0xa7d3('0x8')](_0xa7d3('0xf'),auth[_0xa7d3('0x9')](),controller['getFields']);router[_0xa7d3('0x10')]('/',auth[_0xa7d3('0x9')](),controller[_0xa7d3('0x11')]);router['post'](_0xa7d3('0xd'),auth[_0xa7d3('0x9')](),controller[_0xa7d3('0x12')]);router[_0xa7d3('0x13')](_0xa7d3('0xb'),auth[_0xa7d3('0x9')](),controller[_0xa7d3('0x14')]);router[_0xa7d3('0x15')](_0xa7d3('0xb'),auth[_0xa7d3('0x9')](),controller[_0xa7d3('0x16')]);module[_0xa7d3('0x17')]=router;