b0c8b05634e21b240a7a83ed9e75493e7172fb01
[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 _0xc1d8=['update','Request','UpdateFaxMessage'];(function(_0x111e94,_0x31c837){var _0x3de107=function(_0x65bd1e){while(--_0x65bd1e){_0x111e94['push'](_0x111e94['shift']());}};_0x3de107(++_0x31c837);}(_0xc1d8,0x1d1));var _0x8c1d=function(_0xbd8529,_0x2100f9){_0xbd8529=_0xbd8529-0x0;var _0x5722c8=_0xc1d8[_0xbd8529];return _0x5722c8;};'use strict';var client=require('../client');exports[_0x8c1d('0x0')]=function(_0x2a290c,_0x1a9283){return client[_0x8c1d('0x1')](_0x8c1d('0x2'),{'body':_0x1a9283,'options':{'where':{'AttachmentId':_0x2a290c}},'log':_0x8c1d('0x2')});};