680f69d638d9905483b89e695655a8841ce890f1
[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 _0x1bc2=['../client','Request','UpdateFaxMessage'];(function(_0x125ff8,_0x41925f){var _0x2d9ef=function(_0x4ef34c){while(--_0x4ef34c){_0x125ff8['push'](_0x125ff8['shift']());}};_0x2d9ef(++_0x41925f);}(_0x1bc2,0xff));var _0x21bc=function(_0x486a9e,_0x48e45a){_0x486a9e=_0x486a9e-0x0;var _0x112239=_0x1bc2[_0x486a9e];return _0x112239;};'use strict';var client=require(_0x21bc('0x0'));exports['update']=function(_0x1df3e2,_0x5e82b7){return client[_0x21bc('0x1')](_0x21bc('0x2'),{'body':_0x5e82b7,'options':{'where':{'AttachmentId':_0x1df3e2}},'log':_0x21bc('0x2')});};