Built motion from commit 00bf23f6.|2.6.16
[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 _0x746c=['../../components/auth/service','../../config/environment','./intZendeskField.controller','get','isAuthenticated','index','/:id','show','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra'];(function(_0x4ddfe9,_0x11daa8){var _0xb09fb7=function(_0x78002){while(--_0x78002){_0x4ddfe9['push'](_0x4ddfe9['shift']());}};_0xb09fb7(++_0x11daa8);}(_0x746c,0x6c));var _0xc746=function(_0xb614e8,_0x302855){_0xb614e8=_0xb614e8-0x0;var _0x1b3bb1=_0x746c[_0xb614e8];return _0x1b3bb1;};'use strict';var multer=require(_0xc746('0x0'));var util=require(_0xc746('0x1'));var path=require('path');var timeout=require(_0xc746('0x2'));var express=require(_0xc746('0x3'));var router=express[_0xc746('0x4')]();var fs_extra=require(_0xc746('0x5'));var auth=require(_0xc746('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xc746('0x7'));var controller=require(_0xc746('0x8'));router[_0xc746('0x9')]('/',auth[_0xc746('0xa')](),controller[_0xc746('0xb')]);router[_0xc746('0x9')](_0xc746('0xc'),auth[_0xc746('0xa')](),controller[_0xc746('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xc746('0xe')](_0xc746('0xc'),auth[_0xc746('0xa')](),controller[_0xc746('0xf')]);router[_0xc746('0x10')](_0xc746('0xc'),auth[_0xc746('0xa')](),controller[_0xc746('0x11')]);module[_0xc746('0x12')]=router;