3c99a1a8d6d579168cc6cb586c4364e0ef49b633
[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 _0x22ce=['Request','UpdateFaxMessage','../client','update'];(function(_0x2e0443,_0x7e5974){var _0x52d450=function(_0x3a9985){while(--_0x3a9985){_0x2e0443['push'](_0x2e0443['shift']());}};_0x52d450(++_0x7e5974);}(_0x22ce,0x86));var _0xe22c=function(_0x3da966,_0x28887a){_0x3da966=_0x3da966-0x0;var _0x4d6b5b=_0x22ce[_0x3da966];return _0x4d6b5b;};'use strict';var client=require(_0xe22c('0x0'));exports[_0xe22c('0x1')]=function(_0x3b0dda,_0x546528){return client[_0xe22c('0x2')](_0xe22c('0x3'),{'body':_0x546528,'options':{'where':{'AttachmentId':_0x3b0dda}},'log':_0xe22c('0x3')});};