Built motion from commit e6806ed6.|2.6.0
[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 _0xeaf6=['update','Request','UpdateFaxMessage','../client'];(function(_0x2f74f1,_0x4ccb69){var _0x1dbb70=function(_0x4deed5){while(--_0x4deed5){_0x2f74f1['push'](_0x2f74f1['shift']());}};_0x1dbb70(++_0x4ccb69);}(_0xeaf6,0x15f));var _0x6eaf=function(_0x39cd90,_0x260ffb){_0x39cd90=_0x39cd90-0x0;var _0x9289c6=_0xeaf6[_0x39cd90];return _0x9289c6;};'use strict';var client=require(_0x6eaf('0x0'));exports[_0x6eaf('0x1')]=function(_0x1be8b7,_0x15224c){return client[_0x6eaf('0x2')](_0x6eaf('0x3'),{'body':_0x15224c,'options':{'where':{'AttachmentId':_0x1be8b7}},'log':_0x6eaf('0x3')});};