0eedd132b56f42c2cc00c5b1c3614baab6c52a74
[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 _0xaf18=['update','Request','UpdateFaxMessage','../client'];(function(_0x3995e0,_0x13833a){var _0xb9ea5e=function(_0x597289){while(--_0x597289){_0x3995e0['push'](_0x3995e0['shift']());}};_0xb9ea5e(++_0x13833a);}(_0xaf18,0x15f));var _0x8af1=function(_0x7048ce,_0x2358f2){_0x7048ce=_0x7048ce-0x0;var _0x166188=_0xaf18[_0x7048ce];return _0x166188;};'use strict';var client=require(_0x8af1('0x0'));exports[_0x8af1('0x1')]=function(_0x24fad4,_0x19df3e){return client[_0x8af1('0x2')](_0x8af1('0x3'),{'body':_0x19df3e,'options':{'where':{'AttachmentId':_0x24fad4}},'log':_0x8af1('0x3')});};