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 _0x5075=['GetFreshsalesccount','../../client','getFreshsalesAccounts','Request','GetFreshsalesAccount','name','username','remoteUri','serverUrl','FreshsalesConfiguration','FreshsalesField','Subjects','content','variableName','Variable','Descriptions','type','keyType','keyContent'];(function(_0x2e0cea,_0x22be25){var _0x396470=function(_0x2c75f8){while(--_0x2c75f8){_0x2e0cea['push'](_0x2e0cea['shift']());}};_0x396470(++_0x22be25);}(_0x5075,0x73));var _0x5507=function(_0x68c979,_0x431cff){_0x68c979=_0x68c979-0x0;var _0x4f0001=_0x5075[_0x68c979];return _0x4f0001;};'use strict';var client=require(_0x5507('0x0'));exports[_0x5507('0x1')]=function(){return function(_0x701161){return client[_0x5507('0x2')](_0x5507('0x3'),{'options':{'raw':![],'attributes':['id',_0x5507('0x4'),_0x5507('0x5'),'apiKey',_0x5507('0x6'),_0x5507('0x7')],'include':[{'model':_0x5507('0x8'),'as':'Configurations','attributes':['id','name'],'include':[{'model':_0x5507('0x9'),'as':_0x5507('0xa'),'attributes':['id','type',_0x5507('0xb'),_0x5507('0xc')],'include':[{'model':_0x5507('0xd'),'as':'Variable','attributes':['id','name']}]},{'model':_0x5507('0x9'),'as':_0x5507('0xe'),'attributes':['id',_0x5507('0xf'),_0x5507('0xb'),'key',_0x5507('0x10'),_0x5507('0x11'),'variableName'],'include':[{'model':_0x5507('0xd'),'as':_0x5507('0xd'),'attributes':['id','name']}]}]}]},'log':_0x5507('0x12')});};};