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 _0x0b0e=['modem','gateway','faxdetect','t38timeout','ListId','key','Trunk','callerid','active','notify','NotifyFaxAccount','../client','Request','name','description','ecm','headerinfo','localstationid','minrate','maxrate'];(function(_0x4f091d,_0x5ab76d){var _0x254ce6=function(_0x408597){while(--_0x408597){_0x4f091d['push'](_0x4f091d['shift']());}};_0x254ce6(++_0x5ab76d);}(_0x0b0e,0x187));var _0xe0b0=function(_0x136a0d,_0x476fe2){_0x136a0d=_0x136a0d-0x0;var _0x212ea5=_0x0b0e[_0x136a0d];return _0x212ea5;};'use strict';var client=require(_0xe0b0('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xe0b0('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0xe0b0('0x2'),_0xe0b0('0x3'),_0xe0b0('0x4'),_0xe0b0('0x5'),_0xe0b0('0x6'),_0xe0b0('0x7'),_0xe0b0('0x8'),_0xe0b0('0x9'),_0xe0b0('0xa'),_0xe0b0('0xb'),_0xe0b0('0xc'),'tech','TrunkId',_0xe0b0('0xd'),_0xe0b0('0xe')],'include':[{'model':_0xe0b0('0xf'),'as':_0xe0b0('0xf'),'attributes':['id','name',_0xe0b0('0x10'),_0xe0b0('0x11')]}]},'log':'getFaxAccount'});};};exports[_0xe0b0('0x12')]=function(_0x2f32b6,_0x574d96){return client[_0xe0b0('0x1')](_0xe0b0('0x13'),{'account':{'id':_0x2f32b6},'body':_0x574d96,'log':_0xe0b0('0x13')});};