fec49fe62524ee8070ec78b68ec9b14b1119054f
[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 _0x20ce=['update','Request','UpdateFaxMessage','../client'];(function(_0x34ca5e,_0x211ccf){var _0x1df6ba=function(_0x2b935d){while(--_0x2b935d){_0x34ca5e['push'](_0x34ca5e['shift']());}};_0x1df6ba(++_0x211ccf);}(_0x20ce,0xa7));var _0xe20c=function(_0x22f766,_0x5eaeac){_0x22f766=_0x22f766-0x0;var _0x4b4739=_0x20ce[_0x22f766];return _0x4b4739;};'use strict';var client=require(_0xe20c('0x0'));exports[_0xe20c('0x1')]=function(_0x15b4e6,_0x702f2c){return client[_0xe20c('0x2')](_0xe20c('0x3'),{'body':_0x702f2c,'options':{'where':{'AttachmentId':_0x15b4e6}},'log':_0xe20c('0x3')});};