1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xfc17=['Variable','Descriptions','keyContent','GetFreshsalesccount','../../client','getFreshsalesAccounts','Request','name','username','apiKey','remoteUri','serverUrl','FreshsalesConfiguration','FreshsalesField','Subjects','type','content','variableName'];(function(_0x30b701,_0x462383){var _0x2c89eb=function(_0x575520){while(--_0x575520){_0x30b701['push'](_0x30b701['shift']());}};_0x2c89eb(++_0x462383);}(_0xfc17,0x1b4));var _0x7fc1=function(_0x2c6cf2,_0x1905ae){_0x2c6cf2=_0x2c6cf2-0x0;var _0x1206ba=_0xfc17[_0x2c6cf2];return _0x1206ba;};'use strict';var client=require(_0x7fc1('0x0'));exports[_0x7fc1('0x1')]=function(){return function(_0x29db51){return client[_0x7fc1('0x2')]('GetFreshsalesAccount',{'options':{'raw':![],'attributes':['id',_0x7fc1('0x3'),_0x7fc1('0x4'),_0x7fc1('0x5'),_0x7fc1('0x6'),_0x7fc1('0x7')],'include':[{'model':_0x7fc1('0x8'),'as':'Configurations','attributes':['id',_0x7fc1('0x3')],'include':[{'model':_0x7fc1('0x9'),'as':_0x7fc1('0xa'),'attributes':['id',_0x7fc1('0xb'),_0x7fc1('0xc'),_0x7fc1('0xd')],'include':[{'model':_0x7fc1('0xe'),'as':'Variable','attributes':['id',_0x7fc1('0x3')]}]},{'model':_0x7fc1('0x9'),'as':_0x7fc1('0xf'),'attributes':['id','type',_0x7fc1('0xc'),'key','keyType',_0x7fc1('0x10'),_0x7fc1('0xd')],'include':[{'model':_0x7fc1('0xe'),'as':_0x7fc1('0xe'),'attributes':['id',_0x7fc1('0x3')]}]}]}]},'log':_0x7fc1('0x11')});};};