a23b83a9a959fb2b4aa7e954f15a1b9b443569f3
[motion2.git] / server / api / cmContactHasPhone / 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 _0xfe30=['put','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmContactHasPhone.controller','get','isAuthenticated','/:id','post','create'];(function(_0x3816c2,_0xb221e1){var _0x144669=function(_0x149c29){while(--_0x149c29){_0x3816c2['push'](_0x3816c2['shift']());}};_0x144669(++_0xb221e1);}(_0xfe30,0xc9));var _0x0fe3=function(_0x124728,_0x463dca){_0x124728=_0x124728-0x0;var _0x8eb20f=_0xfe30[_0x124728];return _0x8eb20f;};'use strict';var multer=require(_0x0fe3('0x0'));var util=require(_0x0fe3('0x1'));var path=require(_0x0fe3('0x2'));var timeout=require(_0x0fe3('0x3'));var express=require(_0x0fe3('0x4'));var router=express[_0x0fe3('0x5')]();var auth=require(_0x0fe3('0x6'));var interaction=require(_0x0fe3('0x7'));var config=require(_0x0fe3('0x8'));var controller=require(_0x0fe3('0x9'));router[_0x0fe3('0xa')]('/',auth[_0x0fe3('0xb')](),controller['index']);router[_0x0fe3('0xa')](_0x0fe3('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x0fe3('0xd')]('/',auth[_0x0fe3('0xb')](),controller[_0x0fe3('0xe')]);router[_0x0fe3('0xf')](_0x0fe3('0xc'),auth[_0x0fe3('0xb')](),controller['update']);router[_0x0fe3('0x10')](_0x0fe3('0xc'),auth[_0x0fe3('0xb')](),controller['destroy']);module[_0x0fe3('0x11')]=router;