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 _0xb091=['Subjects','content','variableName','Variable','Descriptions','type','key','keyType','GetFreshsalesccount','getFreshsalesAccounts','Request','GetFreshsalesAccount','username','serverUrl','FreshsalesConfiguration','name','FreshsalesField'];(function(_0x43f643,_0x6acb80){var _0x275246=function(_0x3d5d1a){while(--_0x3d5d1a){_0x43f643['push'](_0x43f643['shift']());}};_0x275246(++_0x6acb80);}(_0xb091,0x16e));var _0x1b09=function(_0x1bea3f,_0x5c4490){_0x1bea3f=_0x1bea3f-0x0;var _0x4f8265=_0xb091[_0x1bea3f];return _0x4f8265;};'use strict';var client=require('../../client');exports[_0x1b09('0x0')]=function(){return function(_0x12cc7c){return client[_0x1b09('0x1')](_0x1b09('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x1b09('0x3'),'apiKey','remoteUri',_0x1b09('0x4')],'include':[{'model':_0x1b09('0x5'),'as':'Configurations','attributes':['id',_0x1b09('0x6')],'include':[{'model':_0x1b09('0x7'),'as':_0x1b09('0x8'),'attributes':['id','type',_0x1b09('0x9'),_0x1b09('0xa')],'include':[{'model':_0x1b09('0xb'),'as':_0x1b09('0xb'),'attributes':['id',_0x1b09('0x6')]}]},{'model':_0x1b09('0x7'),'as':_0x1b09('0xc'),'attributes':['id',_0x1b09('0xd'),_0x1b09('0x9'),_0x1b09('0xe'),_0x1b09('0xf'),'keyContent',_0x1b09('0xa')],'include':[{'model':_0x1b09('0xb'),'as':'Variable','attributes':['id','name']}]}]}]},'log':_0x1b09('0x10')});};};