Built motion from commit (unavailable).|2.5.4
[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 _0x853e=['tech','TrunkId','key','Trunk','callerid','active','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','description','ecm','headerinfo','localstationid','minrate','maxrate','faxdetect','t38timeout'];(function(_0x3048ea,_0x3838c2){var _0x1a13c4=function(_0x2c6a6b){while(--_0x2c6a6b){_0x3048ea['push'](_0x3048ea['shift']());}};_0x1a13c4(++_0x3838c2);}(_0x853e,0x1e9));var _0xe853=function(_0xd9f3eb,_0x5ed630){_0xd9f3eb=_0xd9f3eb-0x0;var _0xd42acc=_0x853e[_0xd9f3eb];return _0xd42acc;};'use strict';var client=require(_0xe853('0x0'));exports[_0xe853('0x1')]=function(){return function(){return client[_0xe853('0x2')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id','name',_0xe853('0x3'),_0xe853('0x4'),_0xe853('0x5'),_0xe853('0x6'),_0xe853('0x7'),_0xe853('0x8'),'modem','gateway',_0xe853('0x9'),_0xe853('0xa'),_0xe853('0xb'),_0xe853('0xc'),'ListId',_0xe853('0xd')],'include':[{'model':_0xe853('0xe'),'as':'Trunk','attributes':['id','name',_0xe853('0xf'),_0xe853('0x10')]}]},'log':_0xe853('0x11')});};};exports[_0xe853('0x12')]=function(_0x184fca,_0x4257c8){return client[_0xe853('0x2')](_0xe853('0x13'),{'account':{'id':_0x184fca},'body':_0x4257c8,'log':'NotifyFaxAccount'});};