1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x680a=['CreateFaxQueueReport','UpdateFaxQueueReport','../client','Request'];(function(_0x46dd19,_0x13770e){var _0x1d7bff=function(_0x1b45a3){while(--_0x1b45a3){_0x46dd19['push'](_0x46dd19['shift']());}};_0x1d7bff(++_0x13770e);}(_0x680a,0xde));var _0xa680=function(_0x19b465,_0x3cc208){_0x19b465=_0x19b465-0x0;var _0x52420a=_0x680a[_0x19b465];return _0x52420a;};'use strict';var client=require(_0xa680('0x0'));exports['create']=function(_0x145ad2){return client[_0xa680('0x1')](_0xa680('0x2'),{'body':_0x145ad2,'log':_0xa680('0x2')});};exports['update']=function(_0x140268,_0x1b68fd){return client[_0xa680('0x1')](_0xa680('0x3'),{'body':_0x1b68fd,'options':{'where':{'uniqueid':_0x140268},'order':[['id','DESC']],'limit':0x1},'log':_0xa680('0x3')});};