Built motion from commit b0a9a629.|2.6.33
[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 _0xa058=['express','Router','fs-extra','../../components/auth/service','../../config/environment','./intZendeskField.controller','get','index','/:id','isAuthenticated','show','post','create','put','update','destroy','exports','multer','util','path'];(function(_0x19c3e9,_0x54f261){var _0x55f997=function(_0x20da58){while(--_0x20da58){_0x19c3e9['push'](_0x19c3e9['shift']());}};_0x55f997(++_0x54f261);}(_0xa058,0x179));var _0x8a05=function(_0x1beef3,_0x57c4b8){_0x1beef3=_0x1beef3-0x0;var _0x5af964=_0xa058[_0x1beef3];return _0x5af964;};'use strict';var multer=require(_0x8a05('0x0'));var util=require(_0x8a05('0x1'));var path=require(_0x8a05('0x2'));var timeout=require('connect-timeout');var express=require(_0x8a05('0x3'));var router=express[_0x8a05('0x4')]();var fs_extra=require(_0x8a05('0x5'));var auth=require(_0x8a05('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x8a05('0x7'));var controller=require(_0x8a05('0x8'));router[_0x8a05('0x9')]('/',auth['isAuthenticated'](),controller[_0x8a05('0xa')]);router[_0x8a05('0x9')](_0x8a05('0xb'),auth[_0x8a05('0xc')](),controller[_0x8a05('0xd')]);router[_0x8a05('0xe')]('/',auth[_0x8a05('0xc')](),controller[_0x8a05('0xf')]);router[_0x8a05('0x10')](_0x8a05('0xb'),auth[_0x8a05('0xc')](),controller[_0x8a05('0x11')]);router['delete'](_0x8a05('0xb'),auth[_0x8a05('0xc')](),controller[_0x8a05('0x12')]);module[_0x8a05('0x13')]=router;