Built motion from commit (unavailable).|2.5.22
[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 _0x520c=['../client','getFaxAccounts','Request','GetFaxAccount','name','description','ecm','headerinfo','localstationid','minrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','callerid','active','notify','NotifyFaxAccount'];(function(_0x19202b,_0x4dc8c6){var _0x48a7df=function(_0x41451a){while(--_0x41451a){_0x19202b['push'](_0x19202b['shift']());}};_0x48a7df(++_0x4dc8c6);}(_0x520c,0x12b));var _0xc520=function(_0x233716,_0x346676){_0x233716=_0x233716-0x0;var _0x302298=_0x520c[_0x233716];return _0x302298;};'use strict';var client=require(_0xc520('0x0'));exports[_0xc520('0x1')]=function(){return function(){return client[_0xc520('0x2')](_0xc520('0x3'),{'options':{'raw':![],'attributes':['id',_0xc520('0x4'),_0xc520('0x5'),_0xc520('0x6'),_0xc520('0x7'),_0xc520('0x8'),_0xc520('0x9'),'maxrate',_0xc520('0xa'),_0xc520('0xb'),_0xc520('0xc'),_0xc520('0xd'),_0xc520('0xe'),_0xc520('0xf'),_0xc520('0x10'),_0xc520('0x11')],'include':[{'model':_0xc520('0x12'),'as':_0xc520('0x12'),'attributes':['id',_0xc520('0x4'),_0xc520('0x13'),_0xc520('0x14')]}]},'log':'getFaxAccount'});};};exports[_0xc520('0x15')]=function(_0x1bd932,_0x28f96d){return client[_0xc520('0x2')](_0xc520('0x16'),{'account':{'id':_0x1bd932},'body':_0x28f96d,'log':_0xc520('0x16')});};