cb81894522406b250696461546a1af631a56db92
[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 _0x5a8b=['update','UpdateFaxMessage','../client'];(function(_0x16104b,_0x4ce612){var _0x1e126d=function(_0x57d510){while(--_0x57d510){_0x16104b['push'](_0x16104b['shift']());}};_0x1e126d(++_0x4ce612);}(_0x5a8b,0x197));var _0xb5a8=function(_0x1ae5f5,_0x58ffd8){_0x1ae5f5=_0x1ae5f5-0x0;var _0x550b3d=_0x5a8b[_0x1ae5f5];return _0x550b3d;};'use strict';var client=require(_0xb5a8('0x0'));exports[_0xb5a8('0x1')]=function(_0x1392ef,_0x1c9ce6){return client['Request'](_0xb5a8('0x2'),{'body':_0x1c9ce6,'options':{'where':{'AttachmentId':_0x1392ef}},'log':_0xb5a8('0x2')});};