c2516f07a0d0b42f48f2e4074e2a89007825bab0
[motion2.git] / server / api / intServicenowAccount / 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 _0xef38=['/:id','show','get','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','isAuthenticated','index'];(function(_0x314166,_0x2dc838){var _0xdb4f1f=function(_0x38361d){while(--_0x38361d){_0x314166['push'](_0x314166['shift']());}};_0xdb4f1f(++_0x2dc838);}(_0xef38,0x122));var _0x8ef3=function(_0x1f7b24,_0x3466f7){_0x1f7b24=_0x1f7b24-0x0;var _0x522873=_0xef38[_0x1f7b24];return _0x522873;};'use strict';var multer=require('multer');var util=require(_0x8ef3('0x0'));var path=require(_0x8ef3('0x1'));var timeout=require(_0x8ef3('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x8ef3('0x3'));var auth=require(_0x8ef3('0x4'));var interaction=require(_0x8ef3('0x5'));var config=require(_0x8ef3('0x6'));var controller=require(_0x8ef3('0x7'));router['get']('/',auth[_0x8ef3('0x8')](),controller[_0x8ef3('0x9')]);router['get'](_0x8ef3('0xa'),auth[_0x8ef3('0x8')](),controller[_0x8ef3('0xb')]);router[_0x8ef3('0xc')](_0x8ef3('0xd'),auth[_0x8ef3('0x8')](),controller[_0x8ef3('0xe')]);router['get'](_0x8ef3('0xf'),auth[_0x8ef3('0x8')](),controller[_0x8ef3('0x10')]);router[_0x8ef3('0x11')]('/',auth[_0x8ef3('0x8')](),controller[_0x8ef3('0x12')]);router[_0x8ef3('0x11')](_0x8ef3('0xd'),auth[_0x8ef3('0x8')](),controller[_0x8ef3('0x13')]);router[_0x8ef3('0x14')](_0x8ef3('0xa'),auth[_0x8ef3('0x8')](),controller[_0x8ef3('0x15')]);router[_0x8ef3('0x16')](_0x8ef3('0xa'),auth[_0x8ef3('0x8')](),controller[_0x8ef3('0x17')]);module[_0x8ef3('0x18')]=router;