Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / intZendeskField / 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 _0x13cf=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZendeskField.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','destroy','exports','multer'];(function(_0x37ded3,_0x371ebb){var _0x51e49e=function(_0x30cc78){while(--_0x30cc78){_0x37ded3['push'](_0x37ded3['shift']());}};_0x51e49e(++_0x371ebb);}(_0x13cf,0x13a));var _0xf13c=function(_0x3511d3,_0x4107ae){_0x3511d3=_0x3511d3-0x0;var _0x5d6321=_0x13cf[_0x3511d3];return _0x5d6321;};'use strict';var multer=require(_0xf13c('0x0'));var util=require(_0xf13c('0x1'));var path=require(_0xf13c('0x2'));var timeout=require(_0xf13c('0x3'));var express=require(_0xf13c('0x4'));var router=express[_0xf13c('0x5')]();var fs_extra=require(_0xf13c('0x6'));var auth=require(_0xf13c('0x7'));var interaction=require(_0xf13c('0x8'));var config=require('../../config/environment');var controller=require(_0xf13c('0x9'));router[_0xf13c('0xa')]('/',auth[_0xf13c('0xb')](),controller[_0xf13c('0xc')]);router[_0xf13c('0xa')](_0xf13c('0xd'),auth[_0xf13c('0xb')](),controller[_0xf13c('0xe')]);router[_0xf13c('0xf')]('/',auth[_0xf13c('0xb')](),controller[_0xf13c('0x10')]);router[_0xf13c('0x11')]('/:id',auth[_0xf13c('0xb')](),controller[_0xf13c('0x12')]);router['delete'](_0xf13c('0xd'),auth['isAuthenticated'](),controller[_0xf13c('0x13')]);module[_0xf13c('0x14')]=router;