Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / intZendeskConfiguration / 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 _0xa420=['./intZendeskConfiguration.controller','index','get','/:id','show','isAuthenticated','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','post','create','setTags','put','update','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../config/environment'];(function(_0x3a7b0c,_0x89f976){var _0x26ef80=function(_0x349baf){while(--_0x349baf){_0x3a7b0c['push'](_0x3a7b0c['shift']());}};_0x26ef80(++_0x89f976);}(_0xa420,0x96));var _0x0a42=function(_0x2f6971,_0x13c977){_0x2f6971=_0x2f6971-0x0;var _0x47d50a=_0xa420[_0x2f6971];return _0x47d50a;};'use strict';var multer=require(_0x0a42('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x0a42('0x1'));var express=require(_0x0a42('0x2'));var router=express[_0x0a42('0x3')]();var auth=require(_0x0a42('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x0a42('0x5'));var controller=require(_0x0a42('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x0a42('0x7')]);router[_0x0a42('0x8')](_0x0a42('0x9'),auth['isAuthenticated'](),controller[_0x0a42('0xa')]);router['get']('/:id/fields',auth[_0x0a42('0xb')](),controller[_0x0a42('0xc')]);router[_0x0a42('0x8')](_0x0a42('0xd'),auth[_0x0a42('0xb')](),controller[_0x0a42('0xe')]);router[_0x0a42('0x8')](_0x0a42('0xf'),auth[_0x0a42('0xb')](),controller[_0x0a42('0x10')]);router[_0x0a42('0x8')](_0x0a42('0x11'),auth[_0x0a42('0xb')](),controller[_0x0a42('0x12')]);router[_0x0a42('0x13')]('/',auth[_0x0a42('0xb')](),controller[_0x0a42('0x14')]);router['post'](_0x0a42('0x11'),auth['isAuthenticated'](),controller[_0x0a42('0x15')]);router[_0x0a42('0x16')](_0x0a42('0x9'),auth[_0x0a42('0xb')](),controller[_0x0a42('0x17')]);router['delete']('/:id',auth[_0x0a42('0xb')](),controller[_0x0a42('0x18')]);module[_0x0a42('0x19')]=router;