Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / intSalesforceField / 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 _0x5b47=['multer','util','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSalesforceField.controller','get','/:id','show','post','isAuthenticated','create','put','update','delete','exports'];(function(_0x1a286f,_0x374d52){var _0x33e8b0=function(_0xc49f77){while(--_0xc49f77){_0x1a286f['push'](_0x1a286f['shift']());}};_0x33e8b0(++_0x374d52);}(_0x5b47,0x120));var _0x75b4=function(_0x15bdbf,_0x58fa07){_0x15bdbf=_0x15bdbf-0x0;var _0x15bc02=_0x5b47[_0x15bdbf];return _0x15bc02;};'use strict';var multer=require(_0x75b4('0x0'));var util=require(_0x75b4('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x75b4('0x2'));var interaction=require(_0x75b4('0x3'));var config=require(_0x75b4('0x4'));var controller=require(_0x75b4('0x5'));router[_0x75b4('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x75b4('0x7'),auth['isAuthenticated'](),controller[_0x75b4('0x8')]);router[_0x75b4('0x9')]('/',auth[_0x75b4('0xa')](),controller[_0x75b4('0xb')]);router[_0x75b4('0xc')](_0x75b4('0x7'),auth[_0x75b4('0xa')](),controller[_0x75b4('0xd')]);router[_0x75b4('0xe')]('/:id',auth[_0x75b4('0xa')](),controller['destroy']);module[_0x75b4('0xf')]=router;