Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / saPaymentMethod / 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 _0x9320=['put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./saPaymentMethod.controller','isAuthenticated','get','/describe','describe','show','post','create'];(function(_0x17a07e,_0x55f77a){var _0x118926=function(_0x2ed1ad){while(--_0x2ed1ad){_0x17a07e['push'](_0x17a07e['shift']());}};_0x118926(++_0x55f77a);}(_0x9320,0xbe));var _0x0932=function(_0x144c3a,_0x25771a){_0x144c3a=_0x144c3a-0x0;var _0x31aa7b=_0x9320[_0x144c3a];return _0x31aa7b;};'use strict';var multer=require(_0x0932('0x0'));var util=require(_0x0932('0x1'));var path=require(_0x0932('0x2'));var timeout=require(_0x0932('0x3'));var express=require(_0x0932('0x4'));var router=express[_0x0932('0x5')]();var auth=require(_0x0932('0x6'));var interaction=require(_0x0932('0x7'));var config=require(_0x0932('0x8'));var controller=require(_0x0932('0x9'));router['get']('/',auth[_0x0932('0xa')](),controller['index']);router[_0x0932('0xb')](_0x0932('0xc'),auth['isAuthenticated'](),controller[_0x0932('0xd')]);router[_0x0932('0xb')]('/:id',auth[_0x0932('0xa')](),controller[_0x0932('0xe')]);router[_0x0932('0xf')]('/',auth[_0x0932('0xa')](),controller[_0x0932('0x10')]);router[_0x0932('0x11')](_0x0932('0x12'),auth['isAuthenticated'](),controller[_0x0932('0x13')]);router[_0x0932('0x14')](_0x0932('0x12'),auth[_0x0932('0xa')](),controller[_0x0932('0x15')]);module[_0x0932('0x16')]=router;