6f04ea085336fb00560f8916d831d737238b1a91
[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 _0x745e=['update','UpdateFaxMessage','../client'];(function(_0x238830,_0x545f75){var _0x5917f0=function(_0x12f821){while(--_0x12f821){_0x238830['push'](_0x238830['shift']());}};_0x5917f0(++_0x545f75);}(_0x745e,0x1a9));var _0xe745=function(_0x381fac,_0x2c7e36){_0x381fac=_0x381fac-0x0;var _0xdb89c4=_0x745e[_0x381fac];return _0xdb89c4;};'use strict';var client=require(_0xe745('0x0'));exports[_0xe745('0x1')]=function(_0x4762dd,_0x32085f){return client['Request'](_0xe745('0x2'),{'body':_0x32085f,'options':{'where':{'AttachmentId':_0x4762dd}},'log':_0xe745('0x2')});};