12720dfd86e1ceae6a73e71aec7ced288db97b37
[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 _0xd385=['Request','UpdateFaxMessage','../client','update'];(function(_0x272e18,_0x75e43c){var _0x572ca9=function(_0xf2b51a){while(--_0xf2b51a){_0x272e18['push'](_0x272e18['shift']());}};_0x572ca9(++_0x75e43c);}(_0xd385,0xae));var _0x5d38=function(_0x369131,_0x221c72){_0x369131=_0x369131-0x0;var _0x3014a2=_0xd385[_0x369131];return _0x3014a2;};'use strict';var client=require(_0x5d38('0x0'));exports[_0x5d38('0x1')]=function(_0x2b94c0,_0x14e24f){return client[_0x5d38('0x2')](_0x5d38('0x3'),{'body':_0x14e24f,'options':{'where':{'AttachmentId':_0x2b94c0}},'log':_0x5d38('0x3')});};