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 _0x3e24=['getFreshsalesAccounts','Request','GetFreshsalesAccount','username','apiKey','serverUrl','FreshsalesConfiguration','Configurations','name','FreshsalesField','Subjects','type','variableName','Variable','content','keyType','GetFreshsalesccount','../../client'];(function(_0x26bf51,_0x5e261a){var _0x503415=function(_0x92b028){while(--_0x92b028){_0x26bf51['push'](_0x26bf51['shift']());}};_0x503415(++_0x5e261a);}(_0x3e24,0x167));var _0x43e2=function(_0x6d7060,_0x119c08){_0x6d7060=_0x6d7060-0x0;var _0x195046=_0x3e24[_0x6d7060];return _0x195046;};'use strict';var client=require(_0x43e2('0x0'));exports[_0x43e2('0x1')]=function(){return function(_0x760b07){return client[_0x43e2('0x2')](_0x43e2('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x43e2('0x4'),_0x43e2('0x5'),'remoteUri',_0x43e2('0x6')],'include':[{'model':_0x43e2('0x7'),'as':_0x43e2('0x8'),'attributes':['id',_0x43e2('0x9')],'include':[{'model':_0x43e2('0xa'),'as':_0x43e2('0xb'),'attributes':['id',_0x43e2('0xc'),'content',_0x43e2('0xd')],'include':[{'model':_0x43e2('0xe'),'as':'Variable','attributes':['id',_0x43e2('0x9')]}]},{'model':_0x43e2('0xa'),'as':'Descriptions','attributes':['id',_0x43e2('0xc'),_0x43e2('0xf'),'key',_0x43e2('0x10'),'keyContent','variableName'],'include':[{'model':'Variable','as':_0x43e2('0xe'),'attributes':['id',_0x43e2('0x9')]}]}]}]},'log':_0x43e2('0x11')});};};