Built motion from commit (unavailable).|2.5.23
[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 _0x21d4=['t38timeout','tech','TrunkId','key','Trunk','callerid','active','getFaxAccount','notify','Request','NotifyFaxAccount','../client','getFaxAccounts','GetFaxAccount','name','description','ecm','headerinfo','localstationid','maxrate','modem','gateway','faxdetect'];(function(_0x2e2f84,_0x24e46f){var _0x448191=function(_0x336e06){while(--_0x336e06){_0x2e2f84['push'](_0x2e2f84['shift']());}};_0x448191(++_0x24e46f);}(_0x21d4,0x14d));var _0x421d=function(_0x8b0648,_0x3a2f98){_0x8b0648=_0x8b0648-0x0;var _0x1f41b8=_0x21d4[_0x8b0648];return _0x1f41b8;};'use strict';var client=require(_0x421d('0x0'));exports[_0x421d('0x1')]=function(){return function(){return client['Request'](_0x421d('0x2'),{'options':{'raw':![],'attributes':['id',_0x421d('0x3'),_0x421d('0x4'),_0x421d('0x5'),_0x421d('0x6'),_0x421d('0x7'),'minrate',_0x421d('0x8'),_0x421d('0x9'),_0x421d('0xa'),_0x421d('0xb'),_0x421d('0xc'),_0x421d('0xd'),_0x421d('0xe'),'ListId',_0x421d('0xf')],'include':[{'model':_0x421d('0x10'),'as':'Trunk','attributes':['id','name',_0x421d('0x11'),_0x421d('0x12')]}]},'log':_0x421d('0x13')});};};exports[_0x421d('0x14')]=function(_0x23ddf1,_0x4ea443){return client[_0x421d('0x15')](_0x421d('0x16'),{'account':{'id':_0x23ddf1},'body':_0x4ea443,'log':'NotifyFaxAccount'});};