96c80f353f80c6e5b59e7b3b4a7f308362263126
[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 _0xcb6e=['update','Request','UpdateFaxMessage','../client'];(function(_0x195f60,_0x1f527b){var _0x3ed56c=function(_0x31550d){while(--_0x31550d){_0x195f60['push'](_0x195f60['shift']());}};_0x3ed56c(++_0x1f527b);}(_0xcb6e,0x183));var _0xecb6=function(_0x413153,_0x35ece0){_0x413153=_0x413153-0x0;var _0x1f1d2e=_0xcb6e[_0x413153];return _0x1f1d2e;};'use strict';var client=require(_0xecb6('0x0'));exports[_0xecb6('0x1')]=function(_0x429059,_0x22e0bc){return client[_0xecb6('0x2')](_0xecb6('0x3'),{'body':_0x22e0bc,'options':{'where':{'AttachmentId':_0x429059}},'log':_0xecb6('0x3')});};