2b0ca2010ccd7a002b5b8658db58d92b85c66057
[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 _0x3b9f=['Request','UpdateFaxMessage','../client','update'];(function(_0x8c762,_0x3eab28){var _0x3dd34b=function(_0x31dd11){while(--_0x31dd11){_0x8c762['push'](_0x8c762['shift']());}};_0x3dd34b(++_0x3eab28);}(_0x3b9f,0x1ce));var _0xf3b9=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x3b9f[_0x321bb2];return _0x9c12ed;};'use strict';var client=require(_0xf3b9('0x0'));exports[_0xf3b9('0x1')]=function(_0x10c72a,_0x3d38c7){return client[_0xf3b9('0x2')]('UpdateFaxMessage',{'body':_0x3d38c7,'options':{'where':{'AttachmentId':_0x10c72a}},'log':_0xf3b9('0x3')});};