e590edecab355420fb9209eb8305d529cf67d7b4
[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 _0x66ad=['UpdateFaxMessage','../client','Request'];(function(_0x52e9e3,_0xe465a7){var _0x960a8d=function(_0x572a0d){while(--_0x572a0d){_0x52e9e3['push'](_0x52e9e3['shift']());}};_0x960a8d(++_0xe465a7);}(_0x66ad,0x19f));var _0xd66a=function(_0x22f923,_0x57281c){_0x22f923=_0x22f923-0x0;var _0x33b0c7=_0x66ad[_0x22f923];return _0x33b0c7;};'use strict';var client=require(_0xd66a('0x0'));exports['update']=function(_0x823d8d,_0x296ab9){return client[_0xd66a('0x1')](_0xd66a('0x2'),{'body':_0x296ab9,'options':{'where':{'AttachmentId':_0x823d8d}},'log':_0xd66a('0x2')});};