53745094395af14c11728c689f915e62ce03808e
[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 _0x1509=['update','UpdateFaxMessage','../client'];(function(_0x202acd,_0x292f85){var _0x4fc4ec=function(_0x154098){while(--_0x154098){_0x202acd['push'](_0x202acd['shift']());}};_0x4fc4ec(++_0x292f85);}(_0x1509,0x14c));var _0x9150=function(_0xb25a81,_0x5297da){_0xb25a81=_0xb25a81-0x0;var _0x65f2d2=_0x1509[_0xb25a81];return _0x65f2d2;};'use strict';var client=require(_0x9150('0x0'));exports[_0x9150('0x1')]=function(_0x211afd,_0x587483){return client['Request']('UpdateFaxMessage',{'body':_0x587483,'options':{'where':{'AttachmentId':_0x211afd}},'log':_0x9150('0x2')});};