Built motion from commit 753c950e.|2.5.42
[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 _0xdab3=['active','getFaxAccount','Request','NotifyFaxAccount','../client','getFaxAccounts','GetFaxAccount','name','description','ecm','headerinfo','localstationid','modem','gateway','faxdetect','t38timeout','tech','TrunkId','key','Trunk','callerid'];(function(_0x532486,_0x4c327f){var _0x3dab5e=function(_0x29840c){while(--_0x29840c){_0x532486['push'](_0x532486['shift']());}};_0x3dab5e(++_0x4c327f);}(_0xdab3,0xeb));var _0x3dab=function(_0x271c5d,_0x97f343){_0x271c5d=_0x271c5d-0x0;var _0x249b53=_0xdab3[_0x271c5d];return _0x249b53;};'use strict';var client=require(_0x3dab('0x0'));exports[_0x3dab('0x1')]=function(){return function(){return client['Request'](_0x3dab('0x2'),{'options':{'raw':![],'attributes':['id',_0x3dab('0x3'),_0x3dab('0x4'),_0x3dab('0x5'),_0x3dab('0x6'),_0x3dab('0x7'),'minrate','maxrate',_0x3dab('0x8'),_0x3dab('0x9'),_0x3dab('0xa'),_0x3dab('0xb'),_0x3dab('0xc'),_0x3dab('0xd'),'ListId',_0x3dab('0xe')],'include':[{'model':_0x3dab('0xf'),'as':_0x3dab('0xf'),'attributes':['id',_0x3dab('0x3'),_0x3dab('0x10'),_0x3dab('0x11')]}]},'log':_0x3dab('0x12')});};};exports['notify']=function(_0x45f023,_0x2e094d){return client[_0x3dab('0x13')](_0x3dab('0x14'),{'account':{'id':_0x45f023},'body':_0x2e094d,'log':_0x3dab('0x14')});};