5f1de5e9c70d067bf6f08c2cb46b3ea44fdf2912
[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 _0x86d0=['UpdateFaxMessage','../client','update','Request'];(function(_0x26425a,_0x1b4d6f){var _0x12802a=function(_0x5db8a7){while(--_0x5db8a7){_0x26425a['push'](_0x26425a['shift']());}};_0x12802a(++_0x1b4d6f);}(_0x86d0,0x1d1));var _0x086d=function(_0x563af1,_0x37924c){_0x563af1=_0x563af1-0x0;var _0x58fccb=_0x86d0[_0x563af1];return _0x58fccb;};'use strict';var client=require(_0x086d('0x0'));exports[_0x086d('0x1')]=function(_0x521c9b,_0x265594){return client[_0x086d('0x2')]('UpdateFaxMessage',{'body':_0x265594,'options':{'where':{'AttachmentId':_0x521c9b}},'log':_0x086d('0x3')});};