dbd93ddf3e2a372f61704af4e41e86bb3ee68f97
[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 _0xa8ed=['update','UpdateFaxMessage','../client'];(function(_0x227c59,_0x575c83){var _0x35aeac=function(_0x477179){while(--_0x477179){_0x227c59['push'](_0x227c59['shift']());}};_0x35aeac(++_0x575c83);}(_0xa8ed,0x10a));var _0xda8e=function(_0x56482c,_0x16118d){_0x56482c=_0x56482c-0x0;var _0x5aae7a=_0xa8ed[_0x56482c];return _0x5aae7a;};'use strict';var client=require(_0xda8e('0x0'));exports[_0xda8e('0x1')]=function(_0x30a6ab,_0x418cbf){return client['Request'](_0xda8e('0x2'),{'body':_0x418cbf,'options':{'where':{'AttachmentId':_0x30a6ab}},'log':_0xda8e('0x2')});};