5bd1bccd6bf4d0443a53cde707f6fb2fa7a90b2e
[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 _0x6afa=['UpdateFaxMessage','../client','update'];(function(_0x349a28,_0x4da6e9){var _0x3a95c6=function(_0xeb0ff5){while(--_0xeb0ff5){_0x349a28['push'](_0x349a28['shift']());}};_0x3a95c6(++_0x4da6e9);}(_0x6afa,0x88));var _0xa6af=function(_0x3756a9,_0x38fdf4){_0x3756a9=_0x3756a9-0x0;var _0x44c785=_0x6afa[_0x3756a9];return _0x44c785;};'use strict';var client=require(_0xa6af('0x0'));exports[_0xa6af('0x1')]=function(_0x309ccc,_0x29987a){return client['Request'](_0xa6af('0x2'),{'body':_0x29987a,'options':{'where':{'AttachmentId':_0x309ccc}},'log':_0xa6af('0x2')});};