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 _0x31c2=['Descriptions','content','key','keyType','keyContent','GetFreshsalesccount','../../client','getFreshsalesAccounts','Request','GetFreshsalesAccount','name','username','apiKey','FreshsalesConfiguration','Configurations','FreshsalesField','type','variableName','Variable'];(function(_0x3d4ac8,_0x1ef781){var _0x250096=function(_0x41eedb){while(--_0x41eedb){_0x3d4ac8['push'](_0x3d4ac8['shift']());}};_0x250096(++_0x1ef781);}(_0x31c2,0x1e1));var _0x231c=function(_0x399478,_0x2d0f38){_0x399478=_0x399478-0x0;var _0x1c2ce9=_0x31c2[_0x399478];return _0x1c2ce9;};'use strict';var client=require(_0x231c('0x0'));exports[_0x231c('0x1')]=function(){return function(_0x3bb038){return client[_0x231c('0x2')](_0x231c('0x3'),{'options':{'raw':![],'attributes':['id',_0x231c('0x4'),_0x231c('0x5'),_0x231c('0x6'),'remoteUri','serverUrl'],'include':[{'model':_0x231c('0x7'),'as':_0x231c('0x8'),'attributes':['id',_0x231c('0x4')],'include':[{'model':_0x231c('0x9'),'as':'Subjects','attributes':['id',_0x231c('0xa'),'content',_0x231c('0xb')],'include':[{'model':_0x231c('0xc'),'as':_0x231c('0xc'),'attributes':['id','name']}]},{'model':_0x231c('0x9'),'as':_0x231c('0xd'),'attributes':['id',_0x231c('0xa'),_0x231c('0xe'),_0x231c('0xf'),_0x231c('0x10'),_0x231c('0x11'),'variableName'],'include':[{'model':_0x231c('0xc'),'as':_0x231c('0xc'),'attributes':['id','name']}]}]}]},'log':_0x231c('0x12')});};};