18ac192e0ebdcbc759d60703baa2531043c4c3ff
[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 _0x5c05=['UpdateFaxInteraction','updateFaxInteraction','Request','addTagsToFaxInteraction','../client'];(function(_0x2a7298,_0x54b9df){var _0xbc7a81=function(_0x506cb2){while(--_0x506cb2){_0x2a7298['push'](_0x2a7298['shift']());}};_0xbc7a81(++_0x54b9df);}(_0x5c05,0x1a3));var _0x55c0=function(_0x2d057e,_0x4130fc){_0x2d057e=_0x2d057e-0x0;var _0x4fed62=_0x5c05[_0x2d057e];return _0x4fed62;};'use strict';var client=require(_0x55c0('0x0'));exports['update']=function(_0x5f1d63,_0x3a9c98){return client['Request'](_0x55c0('0x1'),{'body':_0x3a9c98,'options':{'where':{'id':_0x5f1d63}},'log':_0x55c0('0x2')});};exports['addTags']=function(_0x1ca7ce,_0x2f6cc1){return client[_0x55c0('0x3')]('AddTagsToFaxInteraction',{'body':_0x2f6cc1,'options':{'where':{'id':_0x1ca7ce}},'log':_0x55c0('0x4')});};