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 _0xf40b=['Descriptions','key','keyContent','variableName','GetFreshsalesccount','getFreshsalesAccounts','Request','GetFreshsalesAccount','username','apiKey','remoteUri','serverUrl','FreshsalesConfiguration','name','FreshsalesField','Subjects','type','content','Variable'];(function(_0x561f79,_0x2bf857){var _0xef104e=function(_0x2c7884){while(--_0x2c7884){_0x561f79['push'](_0x561f79['shift']());}};_0xef104e(++_0x2bf857);}(_0xf40b,0xb0));var _0xbf40=function(_0x4bfb94,_0x57e844){_0x4bfb94=_0x4bfb94-0x0;var _0x55bde6=_0xf40b[_0x4bfb94];return _0x55bde6;};'use strict';var client=require('../../client');exports[_0xbf40('0x0')]=function(){return function(_0x31cc68){return client[_0xbf40('0x1')](_0xbf40('0x2'),{'options':{'raw':![],'attributes':['id','name',_0xbf40('0x3'),_0xbf40('0x4'),_0xbf40('0x5'),_0xbf40('0x6')],'include':[{'model':_0xbf40('0x7'),'as':'Configurations','attributes':['id',_0xbf40('0x8')],'include':[{'model':_0xbf40('0x9'),'as':_0xbf40('0xa'),'attributes':['id',_0xbf40('0xb'),_0xbf40('0xc'),'variableName'],'include':[{'model':_0xbf40('0xd'),'as':_0xbf40('0xd'),'attributes':['id',_0xbf40('0x8')]}]},{'model':_0xbf40('0x9'),'as':_0xbf40('0xe'),'attributes':['id',_0xbf40('0xb'),_0xbf40('0xc'),_0xbf40('0xf'),'keyType',_0xbf40('0x10'),_0xbf40('0x11')],'include':[{'model':_0xbf40('0xd'),'as':_0xbf40('0xd'),'attributes':['id',_0xbf40('0x8')]}]}]}]},'log':_0xbf40('0x12')});};};