Built motion from commit da617fac.|2.6.6
[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 _0xde1a=['../client','Request','UpdateFaxMessage'];(function(_0x1df5c4,_0x14396f){var _0x34387e=function(_0xd3c7b4){while(--_0xd3c7b4){_0x1df5c4['push'](_0x1df5c4['shift']());}};_0x34387e(++_0x14396f);}(_0xde1a,0xfc));var _0xade1=function(_0x55881c,_0x5aeb82){_0x55881c=_0x55881c-0x0;var _0x4d3cbd=_0xde1a[_0x55881c];return _0x4d3cbd;};'use strict';var client=require(_0xade1('0x0'));exports['update']=function(_0x32694b,_0x446ce8){return client[_0xade1('0x1')]('UpdateFaxMessage',{'body':_0x446ce8,'options':{'where':{'AttachmentId':_0x32694b}},'log':_0xade1('0x2')});};