c4a862fb6c0eac5c7f4e54231aa7afd69fd868e3
[motion2.git] / server / services / ami / rpc / faxMessage.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 _0x7bb0=['Request','UpdateFaxMessage','../client'];(function(_0x51e6b9,_0x4ab028){var _0x3fbd51=function(_0x2e1071){while(--_0x2e1071){_0x51e6b9['push'](_0x51e6b9['shift']());}};_0x3fbd51(++_0x4ab028);}(_0x7bb0,0x10d));var _0x07bb=function(_0x2e36fc,_0x1acf4e){_0x2e36fc=_0x2e36fc-0x0;var _0x36db23=_0x7bb0[_0x2e36fc];return _0x36db23;};'use strict';var client=require(_0x07bb('0x0'));exports['update']=function(_0x250999,_0x35848d){return client[_0x07bb('0x1')](_0x07bb('0x2'),{'body':_0x35848d,'options':{'where':{'AttachmentId':_0x250999}},'log':'UpdateFaxMessage'});};