8c77533a508078c41c19798b821a4381dbc379ed
[motion2.git] / server / services / ami / rpc / faxAccount.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 _0x2015=['gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','active','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','name','description','ecm','headerinfo','minrate','maxrate','modem'];(function(_0x599e00,_0x412706){var _0x569a7f=function(_0x3b5ec6){while(--_0x3b5ec6){_0x599e00['push'](_0x599e00['shift']());}};_0x569a7f(++_0x412706);}(_0x2015,0x193));var _0x5201=function(_0x34f4f2,_0x4f3a7e){_0x34f4f2=_0x34f4f2-0x0;var _0x409574=_0x2015[_0x34f4f2];return _0x409574;};'use strict';var client=require(_0x5201('0x0'));exports[_0x5201('0x1')]=function(){return function(){return client[_0x5201('0x2')](_0x5201('0x3'),{'options':{'raw':![],'attributes':['id',_0x5201('0x4'),_0x5201('0x5'),_0x5201('0x6'),_0x5201('0x7'),'localstationid',_0x5201('0x8'),_0x5201('0x9'),_0x5201('0xa'),_0x5201('0xb'),_0x5201('0xc'),_0x5201('0xd'),_0x5201('0xe'),_0x5201('0xf'),_0x5201('0x10'),_0x5201('0x11')],'include':[{'model':'Trunk','as':_0x5201('0x12'),'attributes':['id',_0x5201('0x4'),'callerid',_0x5201('0x13')]}]},'log':_0x5201('0x14')});};};exports[_0x5201('0x15')]=function(_0x47aa66,_0x129e16){return client[_0x5201('0x2')](_0x5201('0x16'),{'account':{'id':_0x47aa66},'body':_0x129e16,'log':_0x5201('0x16')});};