f09c2ef928d137ff8cc97a9d5c1c7a867e286417
[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 _0x1ed8=['Request','UpdateFaxMessage','../client','update'];(function(_0x56fa15,_0x90c270){var _0x3746f3=function(_0x40234f){while(--_0x40234f){_0x56fa15['push'](_0x56fa15['shift']());}};_0x3746f3(++_0x90c270);}(_0x1ed8,0x13a));var _0x81ed=function(_0x3116a5,_0x83608a){_0x3116a5=_0x3116a5-0x0;var _0x1505a7=_0x1ed8[_0x3116a5];return _0x1505a7;};'use strict';var client=require(_0x81ed('0x0'));exports[_0x81ed('0x1')]=function(_0x71ddf6,_0x22c3eb){return client[_0x81ed('0x2')](_0x81ed('0x3'),{'body':_0x22c3eb,'options':{'where':{'AttachmentId':_0x71ddf6}},'log':'UpdateFaxMessage'});};