Built motion from commit (unavailable).|2.0.73
[motion2.git] / server / api / faxInteraction / 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 _0x4c59=['faxinteraction:addtags','addTags','put','faxinteraction:update','update','delete','faxinteraction:destroy','destroy','/:id/tags','removeTags','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','addMessage','tracked','fax'];(function(_0x10d256,_0x540738){var _0x22d088=function(_0xe0facf){while(--_0xe0facf){_0x10d256['push'](_0x10d256['shift']());}};_0x22d088(++_0x540738);}(_0x4c59,0x1eb));var _0x94c5=function(_0x48fb10,_0xa50a89){_0x48fb10=_0x48fb10-0x0;var _0x534251=_0x4c59[_0x48fb10];return _0x534251;};'use strict';var multer=require(_0x94c5('0x0'));var util=require(_0x94c5('0x1'));var path=require(_0x94c5('0x2'));var express=require(_0x94c5('0x3'));var router=express[_0x94c5('0x4')]();var auth=require(_0x94c5('0x5'));var interaction=require(_0x94c5('0x6'));var config=require(_0x94c5('0x7'));var controller=require(_0x94c5('0x8'));router[_0x94c5('0x9')]('/',auth[_0x94c5('0xa')](),controller[_0x94c5('0xb')]);router[_0x94c5('0x9')](_0x94c5('0xc'),auth[_0x94c5('0xa')](),controller[_0x94c5('0xd')]);router[_0x94c5('0x9')](_0x94c5('0xe'),auth['isAuthenticated'](),controller[_0x94c5('0xf')]);router['get']('/:id/messages',auth[_0x94c5('0xa')](),controller['getMessages']);router[_0x94c5('0x10')]('/',auth['isAuthenticated'](),controller[_0x94c5('0x11')]);router[_0x94c5('0x10')]('/:id/messages',auth[_0x94c5('0xa')](),controller[_0x94c5('0x12')]);router[_0x94c5('0x10')]('/:id/tags',auth[_0x94c5('0xa')](),interaction[_0x94c5('0x13')](_0x94c5('0x14'),_0x94c5('0x15')),controller[_0x94c5('0x16')]);router[_0x94c5('0x17')](_0x94c5('0xe'),auth['isAuthenticated'](),interaction[_0x94c5('0x13')](_0x94c5('0x14'),_0x94c5('0x18')),controller[_0x94c5('0x19')]);router[_0x94c5('0x1a')](_0x94c5('0xe'),auth[_0x94c5('0xa')](),interaction[_0x94c5('0x13')](_0x94c5('0x14'),_0x94c5('0x1b')),controller[_0x94c5('0x1c')]);router[_0x94c5('0x1a')](_0x94c5('0x1d'),auth[_0x94c5('0xa')](),controller[_0x94c5('0x1e')]);module[_0x94c5('0x1f')]=router;