Built motion from commit (unavailable).|2.3.7
[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 _0x5fab=['ecm','headerinfo','localstationid','minrate','maxrate','modem','gateway','tech','TrunkId','ListId','Trunk','getFaxAccount','notify','Request','NotifyFaxAccount','../client','getFaxAccounts','GetFaxAccount','name','description'];(function(_0x581cbe,_0x36b230){var _0x57e008=function(_0x389eb6){while(--_0x389eb6){_0x581cbe['push'](_0x581cbe['shift']());}};_0x57e008(++_0x36b230);}(_0x5fab,0x177));var _0xb5fa=function(_0x2aa91d,_0x1b4ef5){_0x2aa91d=_0x2aa91d-0x0;var _0x204079=_0x5fab[_0x2aa91d];return _0x204079;};'use strict';var client=require(_0xb5fa('0x0'));exports[_0xb5fa('0x1')]=function(){return function(){return client['Request'](_0xb5fa('0x2'),{'options':{'raw':![],'attributes':['id',_0xb5fa('0x3'),_0xb5fa('0x4'),_0xb5fa('0x5'),_0xb5fa('0x6'),_0xb5fa('0x7'),_0xb5fa('0x8'),_0xb5fa('0x9'),_0xb5fa('0xa'),_0xb5fa('0xb'),'faxdetect','t38timeout',_0xb5fa('0xc'),_0xb5fa('0xd'),_0xb5fa('0xe'),'key'],'include':[{'model':_0xb5fa('0xf'),'as':_0xb5fa('0xf'),'attributes':['id',_0xb5fa('0x3'),'callerid','active']}]},'log':_0xb5fa('0x10')});};};exports[_0xb5fa('0x11')]=function(_0xe46b26,_0x44e6c8){return client[_0xb5fa('0x12')](_0xb5fa('0x13'),{'account':{'id':_0xe46b26},'body':_0x44e6c8,'log':_0xb5fa('0x13')});};