49cb83256767ed54410a080a424b6c9ff663c49c
[motion2.git] / server / services / routing / rpc / faxInteraction.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 _0xa7b1=['../client','UpdateFaxInteraction','AddTagsToFaxInteraction'];(function(_0x161bc8,_0x3ece34){var _0x53b039=function(_0x40ef1d){while(--_0x40ef1d){_0x161bc8['push'](_0x161bc8['shift']());}};_0x53b039(++_0x3ece34);}(_0xa7b1,0x1c8));var _0x1a7b=function(_0x1bfd7b,_0x3b7feb){_0x1bfd7b=_0x1bfd7b-0x0;var _0xb4cb03=_0xa7b1[_0x1bfd7b];return _0xb4cb03;};'use strict';var client=require(_0x1a7b('0x0'));exports['update']=function(_0x29bac4,_0x420906){return client['Request'](_0x1a7b('0x1'),{'body':_0x420906,'options':{'where':{'id':_0x29bac4}},'log':'updateFaxInteraction'});};exports['addTags']=function(_0x10b818,_0x16bc96){return client['Request'](_0x1a7b('0x2'),{'body':_0x16bc96,'options':{'where':{'id':_0x10b818}},'log':'addTagsToFaxInteraction'});};