Built motion from commit 0900f080.|2.5.45
[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 _0x0e8a=['/:id/fields','getFields','post','create','addConfiguration','put','/:id','update','delete','destroy','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller','get','isAuthenticated','index','show','/:id/configurations','getConfigurations'];(function(_0x1eeead,_0x1529c2){var _0x249c52=function(_0x2f24af){while(--_0x2f24af){_0x1eeead['push'](_0x1eeead['shift']());}};_0x249c52(++_0x1529c2);}(_0x0e8a,0x1e6));var _0xa0e8=function(_0x564523,_0x5db1c8){_0x564523=_0x564523-0x0;var _0x404d2a=_0x0e8a[_0x564523];return _0x404d2a;};'use strict';var multer=require(_0xa0e8('0x0'));var util=require(_0xa0e8('0x1'));var path=require(_0xa0e8('0x2'));var timeout=require('connect-timeout');var express=require(_0xa0e8('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa0e8('0x4'));var interaction=require(_0xa0e8('0x5'));var config=require(_0xa0e8('0x6'));var controller=require(_0xa0e8('0x7'));router[_0xa0e8('0x8')]('/',auth[_0xa0e8('0x9')](),controller[_0xa0e8('0xa')]);router[_0xa0e8('0x8')]('/:id',auth[_0xa0e8('0x9')](),controller[_0xa0e8('0xb')]);router[_0xa0e8('0x8')](_0xa0e8('0xc'),auth[_0xa0e8('0x9')](),controller[_0xa0e8('0xd')]);router[_0xa0e8('0x8')](_0xa0e8('0xe'),auth[_0xa0e8('0x9')](),controller[_0xa0e8('0xf')]);router[_0xa0e8('0x10')]('/',auth[_0xa0e8('0x9')](),controller[_0xa0e8('0x11')]);router['post'](_0xa0e8('0xc'),auth[_0xa0e8('0x9')](),controller[_0xa0e8('0x12')]);router[_0xa0e8('0x13')](_0xa0e8('0x14'),auth[_0xa0e8('0x9')](),controller[_0xa0e8('0x15')]);router[_0xa0e8('0x16')]('/:id',auth[_0xa0e8('0x9')](),controller[_0xa0e8('0x17')]);module[_0xa0e8('0x18')]=router;