Built motion from commit (unavailable).|2.5.13
[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 _0x4144=['../client','getFaxAccounts','Request','GetFaxAccount','name','description','ecm','headerinfo','localstationid','minrate','maxrate','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','callerid','active','getFaxAccount','notify'];(function(_0x352891,_0xb62e2f){var _0x79ff0e=function(_0x559e9f){while(--_0x559e9f){_0x352891['push'](_0x352891['shift']());}};_0x79ff0e(++_0xb62e2f);}(_0x4144,0x14a));var _0x4414=function(_0x3a4552,_0x45bb6b){_0x3a4552=_0x3a4552-0x0;var _0x463df3=_0x4144[_0x3a4552];return _0x463df3;};'use strict';var client=require(_0x4414('0x0'));exports[_0x4414('0x1')]=function(){return function(){return client[_0x4414('0x2')](_0x4414('0x3'),{'options':{'raw':![],'attributes':['id',_0x4414('0x4'),_0x4414('0x5'),_0x4414('0x6'),_0x4414('0x7'),_0x4414('0x8'),_0x4414('0x9'),_0x4414('0xa'),'modem','gateway',_0x4414('0xb'),_0x4414('0xc'),_0x4414('0xd'),_0x4414('0xe'),_0x4414('0xf'),_0x4414('0x10')],'include':[{'model':_0x4414('0x11'),'as':_0x4414('0x11'),'attributes':['id',_0x4414('0x4'),_0x4414('0x12'),_0x4414('0x13')]}]},'log':_0x4414('0x14')});};};exports[_0x4414('0x15')]=function(_0x2c5c8f,_0x40eb2c){return client[_0x4414('0x2')]('NotifyFaxAccount',{'account':{'id':_0x2c5c8f},'body':_0x40eb2c,'log':'NotifyFaxAccount'});};