|
Docker DesktopcaltProleteyD Datadogo clientonp© Co Docker DesktopcaltProleteyD Datadogo clientonp© Constants.php• _ Datelime_ Dealinsignts_DealKISKS• ElasticSearchEncodingEncrvptionC ES_ FeatureFlags0 FFMpeg• FileSystemN Gecko• GongD GuzzleHttp• KeyPointsiM Kiock• LanguageDetection• LiveFeedD LocksD Math• MediaPipelineMeetingBotMobileSettingsM ModalD Notification_ Nudae_ ParagraphBreaker_ ParticipantspeechPartitionedCookieaPlavistPropheta Prophet All/a ProsperWorksQueuev OJobC PateLimitAware.omt©RateLimitAwareWra@ RotsQueueConstante, 46© Constants.php(C) ProceccinaQueueConsRouterSam|D SCIMD SeederD SentryD Serializer©MatchActivityCrmData.php© CrmActivityService.phpO Automatedkeponkesultonp© Constants.phpx© CheckAndRetryRemoteMatch.phpRateLimitexception.php© SyncOpportunitiesJob.phpOpportunitysynclrait.ondImportBatchJobTrait.php(c)SyncHubspotObiects.phpC) HydrateCrmDataByExternalCallidJob.php© ConferenceCrmMatcherJob.php© MatchCrmData.php© Activity.php(C) DeraultUpdateCrmDataResolver.ohp© CachedCrmServiceDecorator.phpfinal class Constantsm| x8public const string CUSTOMER_API = 'jiminny.customer_api';lusdgeLusagesLusages1usageZ usagespublic const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';public const string ACTIVITIES_QIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';public const string ASK_LIMINNY_REPORTS = "jiminny.ask_jiminny_reports.usage';1 usagepublic const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring':3 usagespublic const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';4 usagespublic const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';s usagespublic const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';© ProviderRateLimiter.php= custom.logE laravel.logtiò accounts jiminny@localhost]4 SF [iminny@localhost]A console [STAGING] X& ho_local Uiminny@localnostCascade# console [Pkol)# console [eu)Hubspot Rate LimitingHubSpot Rate Limit H• Tx: Auto vSo jiminny020 A 18 X13A# id, vvid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_# crm contiquration1d, crm provider 1d.trom activitles where crm_configuration_1d = 1 and type = "conterence"*and crm orovider 1d Is NO NULLIThought for 1s >Read AutomatedReportsCallbackService.phpThoughts >nl docker.desktop PERSONALQ Searchsupoont Dally • In sn 11m100% LzFri 8 May 11:49:25Datadog Metric Condr+0 ..latedReport->isAskJiminnyReport() we should send it toSign inloa method:Starting the Docker Engine...Docker Engine is the underlying technology that runs containersnew constant:11m1nny.ask 11m1nny_reports.usage';portsCallbackService.php:67-91 - Updated pushToDatadog() method to:p returns trueno report_type or media_type )led reportsGal .Enaine startinalRAMO00 GR CPUJ0.00% Dick•.. GR used (limit • •GR)_575SELECT * FROM automated_reports WHERE uvid_to_bin('18a06a75-afd2-476f-aadc-14d4057bdda2') = uuid;SELECT * FROM automated_report_results WHERE uuid_to_bin('582d4b50-8cd3-42a9-9819-d676ff8f3b43') = uuid;›_ © Update availableAsk anvthina (&4D+ @ CodelC° AdantiveW Windsurf Teamo42:25f 4 spaces...
|
iTerm2
|
NULL
|
NULL
|
|
Docker DesKLopcaltProledey• D Datadogo clientonp© Docker DesKLopcaltProledey• D Datadogo clientonp© Constants.php• _ Datelime_ Dealinsignts_DealKISKSD ElasticSearchencodingEncrvptionD ES_ FeatureFlagsU FFMpeg1 FileSvstemN GeckoGongD GuzzleHttpM KevPointeiM KiockM l anquadeDetectionMliveFoedMlocks1M Math1M Media PinelineiN MootinaRotMobileSettingsM Modal0 Notification_ Nudae_ ParagraphBreaker_ ParticipantspeechPartitionedCookieaPlavista Propheta Prophet All/a ProsperWorksQueuev llobCPateLimitAware.ohtC) Patelimit AwareWral@ RotsQueueConstente, 46© Constants.php(C) ProceccinaQueueConsM RouteSam|IN CAMi CoodorM ContnM Corinlizor© MatchActivityCrmData.php© CrmActivityService.phpO Automatedkeponkesultonp© Constants.php X© CheckAndRetryRemoteMatch.phpRateLimitexception.php© SyncOpportunities.Job.phpOpportunitysynclrait.ondImportBatchJobTrait.php(c) [EMAIL]) HydrateCrmDataByExternalCallidJob.php© ConferenceCrmMatcherJob.php(C) MatchCrmData.phpC) Activity.php(C) DeraultUpdateCrmDataResolver.ohp(C) CachedCrmServiceDecorator.phofinal class Constantsт X.8public const string CUSTOMER_API = 'jiminny.customer_api';lusdgepublic const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';Lusagespublic const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail':Lusagespublic const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests':1usagepublic const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests':Z usagespublic const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync':public const string ACTIVITIES DIALERS STATS = 'jiminny.activities.dialers.stats':public const string ACTIVITIES DIALERS REASON STATS = 'jiminny.activities.dialers.reason.stats':public const string ACTIVITIES DIALERS TRACK IMPORTED = 'jiminny.activities.dialers.track.imported':public const string ACTIVITTES DIALERS TRACK DURATION = 1jiminnv.activities.dialers.track.duration'•public const string AT AUTOMATION CRM WRITE EXECUTED = 'jiminnv.ai automation.com update executed'•public const string AUTOMATED_REPORTS = 'Jiminny.automated_reports.usage';public const string ASK_JIMINNY_REPORTS = 'Jiminny.ask_jiminny_reports.usage';1 usaaenuhiaic const strino HUBSPot WEshoOk SYNe E "iminnv.crm.hubsnot wehhook svnc!.public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';3 usagespublic const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';4 usagespublic const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed':s usagespublic const string ACTIVITY_PROCESSING STEP TIME = 'jiminny.activity.processing.step.time':© ProviderRateLimiter.php= custom.logElaravel.log4 SF jiminny@localhost]A HS_local jiminny@localhost]tiò accounts jiminny@localhost]# console [Pkol)# console [eu)A console [STAGING] X• Tx: Auto vPlavaroundSo jiminny020 A18 V13 ^# id, uvid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity.# crm contiquration1d, crm provider 1d, transcription 1d, statusfrom activities where crm_configuration_id = 1 and type = 'conference"*and crm orovider 1d is NOT NULLIi docker desktoo PERSONALAsk Gordon BETAcontainersGive feedbackContainersImagesContainer CPU usage OVolumesIo contalners are runnino.KubernetesBuilds0 SearchiModelsNameContainer IDMCP Toolkit BETAredis1220ffe7ed?7Dockor HuhД AI 7c3ес7911304Docker scoutA AM 00a86edb2f8dExtensionsblackfire.f3fa652b7054Manaaeuminny ext- 68/5460803e0elasticsearch e802ad473a4fV Resource usagedatadod-10727542fa222SearchContainer memory usage ONo containers are runnindOnlv show runnina containersImagePort(s)redis:56370-6379kibana/kibana:7.10.2 5601:5601ЛАИА-ЛЛИЛwernicnvnolokblackfire/blackfire:1.: 8707:87079200:9200Chaw all narte 2)datadoalaaent:6.121CPU (%) ActionsN/AIN/AN/AN/AN/ATN/Amariach.167064070/202mariadb:11.4.5220You are signed outSian in to share images andcolllahorate with vour teamRAM 047 GR CP|J2 81% Dick•.. GR used (limit • •GR)SELECT * FROM automated_reports WHERE uuid_to_bin('18a06a75-afd2-476f-aadc-14d4057bdda2') = uuid;SELECT * FROM automated_report_results WHERE uuid_to_bin('582d4b50-8cd3-42a9-9819-d676ff8f3b43') = uuid;supoont Dally• In sn 11m100% 2Fri 8 May 11:49:28CascadeHubspot Rate LimitingHubSpot Rate Limit HDatadog Metric Condr+0 ..atedReport->isAsk liminnvReport( we should send it taThought for 1s >Read AutomatedReportsCallbackService.phpThoughts >Sign inloa method:Show charts11m1nny.ask 11m1nny_reports.usage';ortsCallbackService.php:67-91 - Updated pushToDatadog() method to:() returns trueno report_type or media_type )led reportsGal .Sian in>_ ® Update available-575577Ask anvthina (&4DC° Adantivefo 4 spaces...
|
iTerm2
|
NULL
|
NULL
|
|
Docker DeSKLOpCaltVIeww Q0, Chat:= Cowork‹ Code+ N Docker DeSKLOpCaltVIeww Q0, Chat:= Cowork‹ Code+ New chatã Projectso0 Arutacts₴ CustomizeBu garian cit zenshio apolication proces:Dawarich location tracking projectScreenpipe sync script talling arter recelMonthly expense trackingExporting transaction data from Notion® How much have I spent for groc...April 2026 spending by categoryCode diff reviewHuospot rate limit imolementation strateScreenpipe retention policy code locatio!Viewing retention policy in screenpipeClean shot x video recording terminationHubSpot rate limit handling with executeUntitled@ Screen pine. Is there ability…SMB mount access inconsistencv betweWhat is the best switch I can….Permission denied on screenpipe volumeScreenpipe sync database attachment erLast swimming outing with Dan.Chromecast remote volume buttons notilK Lukas. ProMay 2026 Week20Mon (11Chloe Cross (Parental Leave - 256 days)Andrea Llatanova (Parental Leave - Tos days)Michelle Weston (PTO - 5 davs))Mira Lenkova (PTO - 3 davs)Tue 12Plattorm Office Daynl docker.desktop PERSONALThu 14(James Graham (PTO - 2 days)Liz Mulraney (PTO - 1 day)Fri15Q Search* Coffee and Claude timeHow can I help you today?& WriteLearn" Code• Life stuffOpus 4.7 AdQ Claude's c05:0006:00|08:0010:00 Daily11:0012:00|Starting the Docker Engine...Docker Engine is the underlying technology that runs containersRAMO00 GR CPUJ0.00% Dick•.. GR used (limit • •GR)15:00|17.0018:00SatloDally - Platorm • In 3ynWeek vTodaySun 17Sign in.• мon 11 May 9:00.34-a Search eventsDallv - Plattorm09:45-10:05 20minJoin Google MeetUseful shortcutsMenu bar calendarcontrol 2KTogale sidebarGo to dateAll keyboard shortcuts›_ © Update availableGet Calendar to go...
|
Notion Calendar
|
NULL
|
NULL
|
|
Do you want to save the changes you made to screen Do you want to save the changes you made to screenpipe_sync.sh?
Your changes will be lost if you don't save them.
Save
Don't Save
Cancel...
|
Code
|
|
NULL
|
|
Do you want to save the changes you made to screen Do you want to save the changes you made to screenpipe_sync.sh?
Your changes will be lost if you don't save them.
Save
Don't Save
Cancel...
|
Code
|
|
NULL
|
|
Do you want to save the changes you made to Client Do you want to save the changes you made to Client.php?
Your changes will be lost if you don't save them.
Save
Don't Save
Cancel...
|
Code
|
|
NULL
|
|
Do you want to replace the existing video?
Replace Do you want to replace the existing video?
Replace Video
Save as New Video
Cancel
Firefox FileEditView€ <→ C= [1 Google MeetHistoryBookmarksProfilesToolsWindow Help= meet.google.com/landing?authuser=lukas.kovalik@jiminny.com1819476:19 PM • Thu, May 7+Meetings0 CallsSecure video conferencingfor everyoneConnect, collaborate, and celebrate from anywhere withGoogle MeetEk New meetingEnter a code or nicknameJoinGet a link you can shareClick New meeting to get a link you can send to peopleyou want to meet with...
|
CleanShot X
|
|
NULL
|
|
Do you want to replace the existing video?
Replace Do you want to replace the existing video?
Replace Video
Save as New Video
Cancel
ActivityMoreCleanShot XJiminny... v# engineering# general# jiminny-bg# platform-tickets# product launches# random# releases# soha-ofhce# support# thank-vous# the people of jimi..o- Direct messages3 Aneliya Angelova. ...Stovan Tanev €Stefka StoyanovaFal Ves. Galya Dimitrova DAneliva Angelova6 Vasil Vasilev&o James Grahamed Nikolay IvanovLukas Kovalik y...::: ADoS-T lira Cloud• Toast> ih External Librariesv E Scratches and Consolesv O Database ConsolesV AEUA console 1EU.A DEAL RISKS (EU1#EU EUA console fiminnvGlocalho: 1891a 29m 20c4 Di giminny@localhostTrim & encode video (*E) iminny@localhc 187#SE fliminnvAlocalhost]A zoho dev fiiminnvGlocalh 190Q Describe what you are looking forw releases8 22MessagesO Deplos( Files& BookmarksProject:appWhen.05/07/2026 14:29:40lag.View JobCircleCl APP 6:18 PMNew commits deployed to Prophet P[URL_WITH_CREDENTIALS] Token refresh and retry successful'.l'team id' => $client->getConfiq(->qetTeam©->qetIdo.Plattorm Sprint s @2 - Plattorm XSevenShores\Hubspot\ExceptionsService-0 Jy 2080A Illumina•• Pull recU Useroil( JY-2071ProblenDo Search :8 JiminnyL Now Talg For youminny.aulasslan.netlfa/sorware/c/loroecis/cy/ooarass.J JIMINNY• Search|spaces Jiminny (NewGOWOOA100% s2•Thu 7 May 18:19:50+ CreateAsk RovoVideo quality:Dimensions1812 x 1080 (Original)Do you wisting vreplace theReplace VideoSave as New VideoCancellon't change• Convert to moncMuteChance volumeEstimated file size: ~1.4 GBAJ Panorama for CallScorina in ODAUTOMATED AI SCORINGIIn Dev2.5=JY-20361[HubSpot] OptimiseCRM rematchina ondelete hubsoot..PLATFORM STABILITYTn Noul• Active sprintsCalendar • Reports 4 Testing Board W List Forms Components %> Development% CodeMore 8Eoic vType vQuick filters vComplete sprintGrouo: @ueriesICODE REVIEWBLOCKEDQA 1|PO ACCEPTANCEDEPLOY 7Sync opportunitiesIND FAS...owner (user_id is..Al Reports > Emptypage design andpromotionPLATFORM STABILITYAJ REPORTSIn OAlDenloved|3 88 0000 =1 12 •000 =JY-20352•0 JY-20372Grok via AzurelMAINTENANCEDeplovedœe=0 JY-20726Allow ticorc to dolotaSS and Panoramapromots when thos...AJ REPORTSDeployed1 8000·½ JY-20770Release AJPanorama reports tocustomersA.I REpORTSDeniovedt0.5 72 0000=O JY-20740Wrona formattina fosummary in the CRMMAINTENANCEDeployed3Ý•00=...
|
CleanShot X
|
|
NULL
|
|
Do you want to replace the existing video?
Replace Do you want to replace the existing video?
Replace Video
ActivityMoreCleanShot XJiminny... v# engineering# general# jiminny-bg# platform-tickets# product launches# random# releases# soha-ofhce# support# thank-vous# the people of jimi..o- Direct messages3 Aneliya Angelova. ...Stovan Tanev €Stefka StoyanovaFal Ves. Galya Dimitrova DAneliva Angelova6 Vasil Vasilev&o James Grahamed Nikolay IvanovLukas Kovalik y...::: ADoS-T lira Cloud• Toast> ih External Librariesv E Scratches and Consolesv O Database ConsolesV AEUA console 1EU.A DEAL RISKS (EU1#EU EUA console fiminnvGlocalho: 1891a 29m 20c4 Di giminny@localhostTrim & encode video (*E) iminny@localhc 187#SE fliminnvAlocalhost]A zoho dev fiiminnvGlocalh 190Q Describe what you are looking forw releases9 22MessagesO Deplos( Files& BookmarksProject:appWhen.05/07/2026 14:29:40lag.View JobCircleCl APP 6:18 PMNew commits deployed to Prophet P[URL_WITH_CREDENTIALS] Token refresh and retry successful'.l'team id' => $client->getConfiq(->qetTeam©->qetIdo.Plattorm Sprint s @2 - Plattorm XSevenShores\Hubspot\ExceptionsService-0 Jy 2080A Illumina•• Pull rec1 Useroild• JY-2077ProblenDo Search :8 JiminnyL Now TaJ JIMINNYg For youinny.aulasslan.netlfa/sorware/c/loroecis/cy/ooarass.• Search|spaces Jiminny (New)4100Video quality:Dimensions1812 x 1080 Oriaina)]Width. 1912Height:1080|Estimated file size: ~1.4 GB-1 UltraAudio:Don't changea Convert to mono• MuteChange volumeTrim OnivAJ Panorama for CallScorina in ODAUTOMATED AI SCORINGIIn Dev2.5=JY-20361[HubSpot] OptimiseCRM rematchina ondelete hubsoot..PLATFORM STABILITYTn NoulGOWOOA100% s2•Thu 7 May 18:19:47+ CreateAsk RovoActive sprintsCalendar • Reports 4 Testing Board W List Forms Components %> Development% CodeMore 8Eoic vType vQuick filters vComplete sprintGrouo: @ueriesICODE REVIEWBLOCKEDQA 1|PO ACCEPTANCEDEPLOY 7rageSync opportunitiesIND FAS...owner (user_id is..Al Reports > Emptypage design andpromotionPLATFORM STABILITYAJ REPORTSIn OAlDenloved|3 88 0000 =1 12 •000 =JY-20352•0 JY-20372Grok via AzurelMAINTENANCEDeplovedœe=0 JY-20726Allow ticorc to dolotaSS and Panoramapromots when thos...AJ REPORTSDeployed1 8000·½ JY-20770Release AJPanorama reports tocustomersA.I REpORTSDeniovedt0.5 72 0000=O JY-20740Wrona formattina fosummary in the CRMMAINTENANCEDeployed3Ý•00=...
|
CleanShot X
|
|
NULL
|
|
Dimensions:
Width:
Height:
1812
1080
Video quality Dimensions:
Width:
Height:
1812
1080
Video quality:
Ultra
Trim & Convert
Trim Only
Cancel
Estimated file size: ~1,66 GB
play/pause
Audio:
Convert to mono
Don't change
Mute
0%
Change volume
100%
200%
06:09,43...
|
CleanShot X
|
CleanShot
|
NULL
|
|
Dimensions:
Width:
Height:
1812
1080
Video quality Dimensions:
Width:
Height:
1812
1080
Video quality:
Ultra
Trim & Convert
Trim Only
Cancel
Estimated file size: ~1,66 GB
play/pause
Audio:
Convert to mono
Don't change
Mute
0%
Change volume
100%
200%
05:45,93...
|
CleanShot X
|
CleanShot
|
NULL
|
|
Dimensions:
Width:
Height:
1812
1080
Video quality Dimensions:
Width:
Height:
1812
1080
Video quality:
Ultra
Trim & Convert
Trim Only
Cancel
Estimated file size: ~1,66 GB
play/pause
Audio:
Convert to mono
Don't change
Mute
0%
Change volume
100%
200%
03:36,22...
|
CleanShot X
|
CleanShot
|
NULL
|
|
Dimensions:
Width:
Height:
1812
1080
Video quality Dimensions:
Width:
Height:
1812
1080
Video quality:
Ultra
Trim & Convert
Trim Only
Cancel
Estimated file size: ~1,66 GB
play/pause
Audio:
Convert to mono
Don't change
Mute
0%
Change volume
100%
200%
01:21,33...
|
CleanShot X
|
CleanShot
|
NULL
|
|
Dimensions:
Width:
Height:
1812
1080
Video quality Dimensions:
Width:
Height:
1812
1080
Video quality:
Ultra
Convert
Cancel
Estimated file size: ~1,66 GB
play/pause
Audio:
Convert to mono
Don't change
Mute
0%
Change volume
100%
200%...
|
CleanShot X
|
CleanShot
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
iTerm2ShellEditViewSessionScriptsProfilesWindowHelp<$ 0APP (docker)DOCKERO ₴1DEV (docker)₴2APP (docker)H3worker-calendar:worker-calendar_00:stoppedjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedworker-crm-sync:worker-crm-sync_00:worker-audio:worker-audio_00: stoppedstopped rocessing sul stoppecworker-conferences:worker-conferences_00:stoppedworker-es-update:worker-es-update_00:stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: startedworker:worker_00:startedworker-analytics:worker-analytics_00:startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00:startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00: startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00: started-zsh84-zshWhat's next:Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug docker_lamp_1Learn more at [URL_WITH_CREDENTIALS] ~/jiminny/app (JY-20725-handle-HS-search-rate-limit) $ csfixdocker exec -it docker_lamp_1 ./vendor/bin/php-cs-fixer fix--config=.php-cs-fixer.dist.php -v --using-cache=no --diffPHP CS Fixer 3.87.1 Alexander by Fabien Potencier, Dariusz Ruminskiand contributors.PHP runtime: 8.3.30Running analysis on 7 cores with 10 files per process.Parallel runner is an experimental feature and may be unstable, use it at your own risk. Feedback highly appreciated!Loaded config default from ".php-cs-fixer.dist.php".§ Preparation for Refi... 25 m left*5screenpipe"100% <78• Mon 11 May 15:35:53T81O 886-zsh87APP...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
iTerm2ShellEditViewSessionScriptsProfilesWindowHelp<$ 0APP (docker)DOCKER₴81DEV (docker)₴2APP (docker)H3worker-calendar:worker-calendar_00:stoppedjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedworker-crm-sync:worker-crm-sync_00:worker-audio:worker-audio_00: stoppedstopped rocessing sul stoppecworker-conferences:worker-conferences_00:stoppedworker-es-update:worker-es-update_00:stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: startedworker:worker_00:startedworker-analytics:worker-analytics_00:startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00:startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00: startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00: started-zsh84-zshWhat's next:Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug docker_lamp_1Learn more at [URL_WITH_CREDENTIALS] ~/jiminny/app (JY-20725-handle-HS-search-rate-limit) $ csfixdocker exec -it docker_lamp_1 ./vendor/bin/php-cs-fixer fix--config=.php-cs-fixer.dist.php -v --using-cache=no --diffPHP CS Fixer 3.87.1 Alexander by Fabien Potencier, Dariusz Ruminskiand contributors.PHP runtime: 8.3.30Running analysis on 7 cores with 10 files per process.Parallel runner is an experimental feature and may be unstable, use it at your own risk. Feedback highly appreciated!Loaded configdefault from ".php-cs-fixer.dist.php".2591/566645%§ Preparation for Refi... 24 m left100% <7*5screenpipe"O 8868• Mon 11 May 15:36:53-zshT81*7 |+APP...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
PhostormVIewINavicareCodeWindowmelp°9 JY-20725-handle-HS-seProiect vRematchActivityOnCrmObjectDetach.php© ImportOpportunityBa© MatchActivitiesToNehuospotraginatonservice.org• Шасклutоmаteокeрonceneratedeventong©UserAutomatedReportsController.php© Hubspot/service.ongС маchаcuvitycrmDa© SaveActivityTest.ph © JiminnyDebugCon© SaveTranscriptionTeuDeletecrmentity lrait.pnp© VeriseluoLavoutlest.ongC SubscribeForEvents.RateLimitException.pho© SyncActivity Test.phf © CrmObiectsResolver.phpc) SyncHubspotObiects(C) HandleHubspotRateLimit.php© Clien(C) ProviderRateLimiter.php(C) Paqinatic<?phpc) SvncLeadstest.php© SyncObiectsTest.ph:declare(strict tyoessio%c) SvncOpportunitiesJoC SvncOpportunitvTesnamespace Tests Unit obs Crm.c) SuncProflleLeadstresC SvncProfileMetadata› use ...c) SvncProfile@pportunC SvncTeamFields Jobiclass MatchActivityCrmDataTest extends TestCasec) SvncTeamMetadatan( Teaminitia|Svnc lobT20 usagesc UindateProfileRelaterprivate ActivityRepository|Mock0bject SactivitLocal ChangesLog XChanaes 5 files= env.local ano8 44d5678c tests/L© HubspotPaginationServiceTest.php tests/Unit/Services/Crm/Hubspot/Pagin,© JiminnyDebugCommand.php app/Console/Commandsphp logging.php config© MatchActivityCrmDataTest.php tests/Unit/Jobs/CrmUnversioned Files 9 files.env.nikilocal appE.env.other app© CanAccessAiReportsTest.php tests/Unit/Policies© CreateMockAskJiminnyReportResultCommand.php app/Console/Commands/Rera favicon.ico publicE ids.txt appT raw sal_querv.sal app© SimulateWebhooksCommand.php app/Console/Commands/Crm/HubspotM+ WEBHOOK_FILTERING_IMPLEMENTATION.md appSthis-v V M.Jobs/Crm 1 filev © MatchActivityCrmDataTest.phpv D Services/Crm/Hubspot/Pagination 1 file© HubspotPaginationServiceTest.php2 modifiedCommit MessageJY-20725 add HS rate umit nanduino on actuvitles rematchano@ 44d5678c app/Console/Cdectarelstract-lypes-tyrmmanas/JiminnyDeouecommana.ongnamespace Jiminny \Console\Commands:use Illuminate \Console\Command:* Class JiminnyDebugCommand* @packaqe Jiminny\ Console\ Commands* [Platform] Refinemen... 49 m left100% 1• Mon 11 May 16:11:32+0 ..sthis-sassertznotycresults):Sthis-›assertEquals(0, $total);Sthis->assertNul1($lastRecordId):orivate function createHubspotResoonse(arrav Sdata): HubsootResoonsereturn new HubspotResponse(new Response(200, [], json_encode($data)));=custom.log=laravel.log X 4 SF (jiminny@localhost]4 HS_local [jiminny@localhost]# console [PRol)# console [eu)© PlaybackController.phpA console [STAGING]Hubspot Rate Limit Re429x 5 CcW .*231242TV Y:Ok Where is it used, will I break something it is replace LogicException with RuntimeException in RateLimitException?Commit ChanaesChangelist:ChangesSearched RateLimitException in ~/iminnylapp (php) (44)AuthorAmend commitSian-off commitCommit checksUpdate copvriahiPoformat codeRearrange codeOpuimize imporisocuing No aauaf"correlationid": "954d156d-8a4f-45.°l Pollingl Maximum empty results reached, stopping {"empty.l Pollingl Maximum empty results reached, stopping {"empty.lollingl Service ending {"runtime_seconds":57, "total_cyclesPollingl Saved offset to database on cleanup {"offset":"019€'ollingl Released polling lock {"correlation_ id"."954d156đmmands\ Command::run Memory usage before starting command {ARTING batch process {"host": "docker_lamp_1"} {"correlati®INISHED batch process -"host":"docker_lamp_1""processed":0-mmands\Command::run Memory usage for command {"command":mmands Command::run Memory usage before startina commandammands\Command::run Memory usage for command {"command": "GIs Startind sunc <"team":"020115e0-95ce-4010-929c-175757078int not connected for user {"userId":"33e34a7a-1c02-4f04-87Intearation owner is not connected. attemotina team membenNo team members found with active crm connection {"crm_pInoughttor 2s>Searched throw new RateLimit Excention and pertormed 1 other quervY2, 11n0 AM Giiy usage quota is exhausted. Purchase extra usage to continue using premium models. Quota resets Mayal "Your included daily usage quota is eximodels. Quota resets Mav 12, 11:00)Ask anything (&*L)<> CodeS Adaptive6 differences. 0 included• Current versiondeclare(strict_types=1);• 27 differencesnamespace Jiminny\Console\Commands;current version- IEIUUT METOS-withrtfHuhsnot Paaination comnletedi Sthic->anvthina@n•70use Carbon \Carbon;use Carbon\CarbonImmutable;use Illuminate \Console\Command;use Illuminate\Support \Facades \Redis;\Tests|Unit|Services|Crm\Hubspot\Pagination > HubspotPaginationServiceTest > testGetPaginatedDataGeneratorWithEmptyResults() ~~Stype = 'contacts':$total = 0:SlastRecordId = null:use InvalzcArgumencexceptlonuse Jiminny Jobs AutomatedReports\ RequestGenerateAsuse Jiminny Jobs AutomatedReports SendreportmallJobCancelSthis->clientMock->expects(Sthis->onceo)->method ('se->w1LLReturn(l'results' =>=>0%Sthis-> loogerlock->expects(Sthis->once@)->method('info')Sthis->assertEmotv(Sresults):Sthis-sassentsqualls(l StotaibsSthis-›assertNull($lastRecordId);fo 4 spaces...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
iTerm2ShellEditViewSessionScriptsProfilesWindowHelp<$ 0APP (docker)-zsh84§ Preparation for Refi... 24 m leftDOCKER₴81DEV (docker)worker-calendar:worker-calendar_00:stoppedjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedworker-crm-sync:worker-crm-sync_00:worker-audio:worker-audio_00: stoppedstopped rocessing sul stoppecworker-conferences:worker-conferences_00:stoppedworker-es-update:worker-es-update_00:stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: startedworker:worker_00:startedworker-analytics:worker-analytics_00:startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00:startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00: startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00: started₴2APP (docker)H3-zshWhat's next:Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug docker_lamp_1Learn more at [URL_WITH_CREDENTIALS] ~/jiminny/app (JY-20725-handle-HS-search-rate-limit) $ csfixdocker exec -it docker_lamp_1 ./vendor/bin/php-cs-fixer fix--config=.php-cs-fixer.dist.php -v --using-cache=no --diffPHP CS Fixer 3.87.1 Alexander by Fabien Potencier, Dariusz Ruminskiand contributors.PHP runtime: 8.3.30Running analysis on 7 cores with 10 files per process.Parallel runner is an experimental feature and may be unstable, use it at your own risk. Feedback highly appreciated!Loaded config default from ".php-cs-fixer.dist.php".2361/566641%*5screenpipe"100% <78• Mon 11 May 15:36:50T₴1O ₴6-zsh*7 |+APP...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
iTerm2ShellEditViewSessionScriptsProfilesWindowHelp<$ 0APP (docker)-zsh84§ Preparation for Refi... 23 m leftDOCKER₴81DEV (docker)₴2APP (docker)*3worker-calendar:worker-calendar_00:stoppedjiminny-worker-processing-1:jiminny-worker-processing-1_00: stoppedworker-crm-sync:worker-crm-sync_00:worker-audio:worker-audio_00: stoppedstopped rocessing sul stoppecworker-conferences:worker-conferences_00:stoppedworker-es-update:worker-es-update_00:stoppedartisan-schedule:artisan-schedule_00: startedjiminny-worker-processing-1:jiminny-worker-processing-1_00: startedjiminny-worker-processing-2:jiminny-worker-processing-2_00: startedjiminny-worker-processing-3:jiminny-worker-processing-3_00: startedjiminny-worker-processing-4:jiminny-worker-processing-4_00: startedjiminny-worker-processing-5:jiminny-worker-processing-5_00: startedjiminny-worker-processing-delayed: jiminny-worker-processing-delayed_00: startedworker:worker_00:startedworker-analytics:worker-analytics_00:startedworker-audio:worker-audio_00: startedworker-calendar:worker-calendar_00:startedworker-conferences:worker-conferences_00: startedworker-crm-sync:worker-crm-sync_00: startedworker-crm-update:worker-crm-update_00: startedworker-download:worker-download_00:startedworker-emails:worker-emails_00: startedworker-es-update:worker-es-update_00: startedworker-nudges:worker-nudges_00: started-zshWhat's next:Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug docker_lamp_1Learn more at [URL_WITH_CREDENTIALS] ~/jiminny/app (JY-20725-handle-HS-search-rate-limit) $ csfixdocker exec -it docker_lamp_1 ./vendor/bin/php-cs-fixer fix--config=.php-cs-fixer.dist.php -v --using-cache=no --diffPHP CS Fixer 3.87.1 Alexander by Fabien Potencier, Dariusz Ruminskiand contributors.PHP runtime: 8.3.30Running analysis on 7 cores with 10 files per process.Parallel runner is an experimental feature and may be unstable, use it at your own risk. Feedback highly appreciated!Loaded config default from"-php-cs-fixer.dist.php".3591/566663%*5screenpipe"100% <8• Mon 11 May 15:37:11181O 886-zsh*7 |+APP...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
PhostormVIewINavicareCodeLaravelKeractorWindowmelp°9 JY-20725-handle-HS-search-rateProleteyC) TrackAutomated ReportGeneratedzventonp© UserAutomatedReportsController.php© BatchSyncCollectorT SyncCrmEntitiesTrait.phpC) CachedCrmServiceDecorator.ongJiminnyDeougcommana.ongDeleteCrmEntityTrait.phpe balchsynckealsse© CheckAndRetryRemoteMatch.php© ClosedDealStagesS © RateLimitException.phpDealrielasservice.gc)Decorateacuivilv.or© FieldDefinitions.phrclass Cllent extends Baseclient 1mpLements Hubspo• M Exceptions 1 fileC) FieldT vpeconvertepublic const string BASE_URL = 'https:lapi.e HubspotclientinterRateLimitException.phpC Jobs 2 filesc) Hubspot lokenmanC) PavloadBuilder.phppublic const int ASSOCIATIONS_BATCH_SIZE_LIMIv Crm 1 file3 added 6 modifiedC) RemotecrmobiectrP ResponseNormalizeZusagesCommit Messagec) Service.onrprivate HubspotPaginationService SpaginationJY-20725 add nate Umit handuing oniiC)SvncFieldAction.onZusagesC) SvncRelatedActivitprivate HubspotTokenManager $tokenManagerC) WebhookSvncBatclv MintearationAor49 đpublic function -_constructlM AcceccorsSoc1aLAccountservice ssoc1alAccountserV1cv DiftHubspotPaginationService SpaginationServiI@¢→Side-by-side viewerDo notignoreLocal ChangesCancola yLog X8 35f036acy dectarelstrdct-lypes-t)rChanaes 12 files= env.local aor.8 35f036ac app/Senamesnace liminnv Fxcentions.C) Client.oho aon/Services/Crm/Hubsoot© HandleHubspotRateLimit.php app/Jobs/MiddlewareC HandleHubspotRateLimitTest.php tests/Unit/Jobs/Middleware© HubspotClientinterface.php app/Services/Crm/Hubspot© HubspotPaginationService.php app/Services/Crm/Hubspot/Pagination© JiminnyDebugCommand.php app/Console/CommandsUse Hubspot ll1class RateLimitException extends LogicExceptionUse Hubspot ll1use Hubspot ibisuse Jaminny x0use Jaminny Excphp logging.php configuse Jiminny or(©) MatchActivitvCrmData.php app/Joos/cmuuse Jiminny Mod© PaginationState.php app/Services/Crm/Hubspot/PaginationRateLimitException.php app/Exceptions© RateLimitExceptionTest.php tests/Unit/Exceptionsuse Jiminny Seruse SevenShoresUnversioned Files 9 filesuse SevenShones Hubsnot Factory:E.env.nikilocal appSevenShores Hubsnot Httn Resnonse:E.env.other appuse Jiminny\Services\Crm \Hubspot \Pagination \HubspotPaginationService:© CanAccessAiReportsTest.php tests/Unit/Policiesuse Throwable:© CreateMockAskJiminnyReportResultCommand.php app/Console/Commands/Rkravicon.ico puolic=ids.txt a0d* @phpstan-tupe CrmFieldOption arrayfid:string, label:string, value?:string}1araw sal querv sal aool@ SimulateWebhooksCommand.ohn app/Console/Commands/Crm/HubspotCthic-scotRacolin1(colf.•RASE HIPI).M. WEBHOOK FILTERING IMPLEMENTATION.mdaoo.Sthis->setVersion(self::MIN_API_VERSION):public function getMinimumApiVersion(: stringreturn selt::MIN API VEKSTON:C) Hubspot/Service.onp(c) HubSpot/Service.onpoveryaeuvitycrmlaskJoo.pnpc) RateLimitExceptionlest.onp© CrmActivityService.phpCommit ChanaesChangelist:ChangesAuthor:Amend commitSian-off commitCommit checksUpdate copvriahiPoformat codeRearrange codeOpuimize imporisHighlight worasculrent versiondeclare(strict_types=1);namespace Jiminny Exceptions;use Throwable:Lomerencesclass RateLimitException extends RuntimeExceptiorpublic function __construct(private readonly int SretryAfter = 1.CancelCommitPreparation for Refi... 24 m left100% 1?.Mon 11 May 15:36:50=laravel.log *4 SF (jiminny@localhost]4 HS_local [jiminny@localhost]* console PROD1& console (EullA console [STAGING]Q- 429w.*2026-05-11 11•21•451 1ocol TNS0• THuhSnot lounnal Pollinal No datafwponnelation #au.1054d156d_Ra4f-4500-2046-e16e5ddTdZhfi ltnace #du-HlencTachS-ahef m226-05-11 11:21:45] LocaZ.WARNTNG: [HubSpot Journal Polling) Maximum empty results reached, stopping {"empty_results":5, "nax empty-results":5} ("correlation. D14O-UOF1YAN40 LUCULVARwOhoospot Jourat pocenenraxemon empuytesuces teacheur scoppanememstyNesucusmenmaX emguy_results":5} {"correlation w926-05-11 11:21:45] local.INF0: [HubSpot Journal Pollingl Service ending {"runtime_seconds":57,"total_cycles":5,"files_downloaded":0,"empty_files":0,"other_926-05-11 11:21:46] local.INF0: [HubSpot Journal Pollingl Saved offset to database on cleanup {"offset":"019e15a9-9ea0-7da7-87bc-82592e3ccf0d"} {"correlatio20-05-11 11.21.40 LoCaL.INFU. LHUDSpot JournaL PoLLing keLeased poLLing lock1"correlation_1d: У5401500-8a4t-4572-a040-elocsad/as0t,"trace_1d": "ecc/ael926-05-11 11:21:48] local.INF0: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process", "memoryBeforeC126-05-11 11:21:48 LocaL.INFU: Emallschedule STAKlING bacch processockerLamp1" 1 "correlacion 10": 2414210e-/45e-44a5-a05t-5//010502410C126-05-11 11:21.48 LocaL.INrU: cmanuschedulel rinishcu bacchl126-05-11 11:21:48 LocaL.LNFU:Jiminny console conmoryberorecommanolnmd926-05-11 11:21:59] local.INFO: Jiminny\Console\Commands\Command: :run Memory usage before starting command {"command" : "crm: sync-hubspot-objects", "memoryBef]26-05-11 11:22:001 Local.INF0:Jiminny Console commands Conmand::run Memory usage for command "command": "crm:sync-hubspot-obnects", "memoryBeforecommandinMi926-05-11 11:22:00] Local.INFO: [SyncHubspot0bjects] Starting sync {"team": "b2b115eb-93ce-4d1b-929c-173757df8fba", "usage": 23350336, "real_usage" :62914560 , "pit26-05-11 11:22:001 Local.WARNING:Hubspot Account not connected for user luserd': 55es4ara-1002-4104-87aс-22c5as85ebes", "account"AWAminny Wodel sASo326-05-11 11:22:001 Local.INFU: LCrmOwnerResolverJ Integration owner is not connected, attempting team members ?"crm_provider": "hubspot", "crm_owner":109, "te16-05-11 11:22:001 LocoL INF0: crmownerResolverNo team members Found with active erm connection "erm providen"*"hubspot""team 1d":2% "correlation 1d26-05-11 11:22:001 Loc0L.INE0:CrmOwnerResolver]No team member found with active crm connection {"crm_provider": "hubspot", "team_id":29} {"correlation_id"26-05-11 11:22:00] local.INFO: [SyncHubspot0bjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba", "provider":"hubspot","status":"disconnecter4 differencescurrent versionuse HubSpot\ Client\Crm\Pipelines Model\PipelineStage:use Hubspot Lllent Crm Properties Model Propertyuse HubSpot\Discovery\Discovery:use Jaminny xceotions Crmexcentzon:Jiminny\Exceptions\RateLimitExceptionuse Jiminny Excentions SocialAccountTokeninvalidExceotionsuse Jiminny\Jobs\Crm\Note0bject;use Jiminny Models Crm Field:use Jiminny Services\Crm BaseClient;luse SevenShores|Hubsnot\Eycentions|HubsnotExcentionuse SevenShores Hubsnot Factory:use SevenShores\Hubspot\Http\Response;use Jiminnv Services Crm Hubsnot Pagination HubsnotPaginationService:use Tlluminate| Sunnont| Facades| Redis:luce Thnowahle./*** @phpstan-tupe CrmFieldOption array{id:string, label:string, value?:string}Sthis->setBaseUrl(self::BASE_URL):Sthis->setVersion(self::MIN_API_VERSION) :»* Execute a HubSoot APT call with rate limit handlina.fo 4 spaces...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
PhostormVIewINavicareCodeLaravelKeractorWindowmelp°9 JY-20725-handle-HS-search-rateProleteyC) TrackAutomated ReportGeneratedzventonp© UserAutomatedReportsController.phpC) Hubspot/Service.onp(c) HubSpot/Service.onp© BatchSyncCollectolT SyncCrmEntitiesTrait.phpC) CachedCrmServiceDecorator.ongJiminnyDeougcommana.ongDeleteCrmEntityTrait.phpoveryaeuvitycrmlaskJoo.pnpc) RateLimitExceptionlest.onpe balchsynckealsse© CheckAndRetryRemoteMatch.php© CrmActivityService.php© ClosedDealStagesS © RateLimitException.phpCommit ChanaesDealrielasservice.gc)Decorateacuivilv.or© FieldDefinitions.phrChangelist:Changesclass Cllent extends Baseclient 1mpLements Hubspo• M Exceptions 1 fileAuthorC) FieldT vpeconvertepublic const string BASE_URL = 'https:lapi.e Hubspotclientinterc) Hubspot lokenmanC) PavloadBuilder.phppublic const int ASSOCIATIONS_BATCH_SIZE_LIMIRateLimitException.phpC Jobs 2 filesv Crm 1 file3 added 6 modifiedAmend commitSian-off commitC) RemotecrmobiectrP ResponseNormalizec) Service.onrC)SvncFieldAction.onCommit checksCommit MessageZusagesZusagesUpdate copvriahiprivate HubspotPaginationService SpaginationJY-20725 add HS rate Limit handling on activites rematchingPeformat codeC) SvncRelatedActivitprivate HubspotTokenManager $tokenManagerRearrange codeC) WebhookSvncBatclv MintearationAor49 ₫Opuimize imporisM Acceccorspublic function -_constructlSoc1aLAccountservice ssoc1alAccountserV1cv DiftHubspotPaginationService SpaginationServiLocal ChangesCancola yLog X8 35f036acy dectarelstrdct-lypes-t)rSide-by-side viewerDo notignoreHighlight worasX mlêculrent versiondeclare(strict_types=1);LomerencesChanaes 12 files= env.local aor.8 35f036ac app/Senamesnace liminnv Fxcentions.namespace Jiminny Exceptions;C) Client.oho aon/Services/Crm/Hubsoot© HandleHubspotRateLimit.php app/Jobs/MiddlewareC HandleHubspotRateLimitTest.php tests/Unit/Jobs/Middleware© HubspotClientinterface.php app/Services/Crm/Hubspot© HubspotPaginationService.php app/Services/Crm/Hubspot/Pagination© JiminnyDebugCommand.php app/Console/Commandsphp logging.php config© MatchActivityCrmData.php app/Jobs/Crm© PaginationState.php app/Services/Crm/Hubspot/PaginationRateLimitException.php app/Exceptions© RateLimitExceptionTest.php tests/Unit/ExceptionsUnversioned Files 9 filesE.env.nikilocal appE.env.other app© CanAccessAiReportsTest.php tests/Unit/PoliciesUse Hubspot ll1class RateLimitException extends LogicExceptionuse Throwable:Use Hubspot ll1use Hubspot ibisuse Jaminny x0class RateLimitException extends RuntimeExceptioruse Jaminny Excpublic function __construct(use Jiminny oruse Jiminny Modprivate readonly int SretryAfter = 1.use Jiminny SerCancelCommituse SevenShoresuse SevenShones Hubsnot Factory:SevenShores Hubsnot Httn Resnonse:use Jiminny\Services\Crm \Hubspot \Pagination \HubspotPaginationService:use Throwable:© CreateMockAskJiminnyReportResultCommand.php app/Console/Commands/Rkravicon.ico puolic=ids.txt a0d1araw sal querv sal aool@ SimulateWebhooksCommand.ohn app/Console/Commands/Crm/Hubspot* @phpstan-tupe CrmFieldOption arrayfid:string, label:string, value?:string}Cthic-scotRacolin1(colf.•RASE HIPI).M. WEBHOOK FILTERING IMPLEMENTATION.mdaoo.Sthis->setVersion(self::MIN_API_VERSION):public function getMinimumApiVersion(: stringreturn selt::MIN API VEKSTON:Preparation for Refi... 23 m left100% 1Mon 11 May 15:37:11= laravel.log X 4 SF (jiminny@localhost]4 HS_local [jiminny@localhost]- console [PRODI& console lEUllA console [STAGING]Q- 429W.*2026-05-11 11•21•451 1ocol TNS0• THuhSnot lounnal Pollinal No datafwponnelation #au.1054d156d_Ra4f-4500-2046-e16e5ddTdZhfi ltnace #du-HlencTachS-ahef m226-05-11 11:21:45] LocaZ.WARNTNG: [HubSpot Journal Polling) Maximum empty results reached, stopping {"empty_results":5, "nax empty-results":5} ("correlation. D14O-UOF1YAN40 LUCULVARwOhoospot Jourat pocenenraxemon empuytesuces teacheur scoppanememstyNesucusmenmaX emguy_results":5} {"correlation w926-05-11 11:21:45] local.INF0: [HubSpot Journal Pollingl Service ending {"runtime_seconds":57,"total_cycles":5,"files_downloaded":0,"empty_files":0,"other_926-05-11 11:21:46] local.INF0: [HubSpot Journal Pollingl Saved offset to database on cleanup {"offset":"019e15a9-9ea0-7da7-87bc-82592e3ccf0d"} {"correlatio20-05-11 11.21.40 LoCaL.INFU. LHUDSpot JournaL PoLLing keLeased poLLing lock1"correlation_1d: У5401500-8a4t-4572-a040-elocsad/as0t,"trace_1d": "ecc/ael926-05-11 11:21:48] local.INF0: Jiminny\Console\Commands\Command::run Memory usage before starting command {"command":"mailbox:batch:process", "memoryBeforeC126-05-11 11:21:48 LocaL.INFU: Emallschedule STAKlING bacch processockerLamp1" 1 "correlacion 10": 2414210e-/45e-44a5-a05t-5//010502410C126-05-11 11:21.48 LocaL.INrU: cmanuschedulel rinishcu bacchl126-05-11 11:21:48 LocaL.LNFU:Jiminny console conmoryberorecommanolnmd926-05-11 11:21:59] local.INFO: Jiminny\Console\Commands\Command: :run Memory usage before starting command {"command" : "crm: sync-hubspot-objects", "memoryBef]26-05-11 11:22:001 Local.INF0:Jiminny Console commands Conmand::run Memory usage for command "command": "crm:sync-hubspot-obnects", "memoryBeforecommandinMi926-05-11 11:22:00] Local.INFO: [SyncHubspot0bjects] Starting sync {"team": "b2b115eb-93ce-4d1b-929c-173757df8fba", "usage": 23350336, "real_usage" :62914560 , "pit26-05-11 11:22:00 Local.WARNING:Hubspot Account not connected for user luserd': 55es4ara-1002-4104-87aс-22c5as85ebes", "account"AWAminny Wodel sASo326-05-11 11:22:001 Local.INFU: LCrmOwnerResolverJ Integration owner is not connected, attempting team members ?"crm_provider": "hubspot", "crm_owner":109, "te16-05-11 11:22:001 LocoL INF0: crmownerResolverNo team members Found with active erm connection "erm providen"*"hubspot""team 1d":2% "correlation 1dCrmOwnerResolver]No team member found with active crm connection {"crm_provider": "hubspot", "team_id":29} {"correlation_id"26-05-11 11:22:00] local.INFO: [SyncHubspot0bjects] Sync finished {"team":"b2b115eb-93ce-4d1b-929c-173757df8fba", "provider":"hubspot","status":"disconnecter4 differencescurrent versionuse HubSpot\ Client\Crm\Pipelines Model\PipelineStage:use Hubspot Lllent Crm Properties Model Propertyuse HubSpot\Discovery\Discovery:use Jaminny xceotions Crmexceotzon:Jiminny\Exceptions\RateLimitExceptionuse Jiminny Excentions SocialAccountTokeninvalidExceotionsuse Jiminny\Jobs\Crm\Note0bject;use Jiminny Models Crm Field:use JiminnyServices\Crm\BaseClient;luse SevenShores|Hubsnot\Eycentions|HubsnotExcentionuse SevenShores Hubsnot Factory:use SevenShores\Hubspot\Http\Response;use Jiminnv Services Crm Hubsnot Pagination HubsnotPaginationService:use Tlluminate| Sunnont| Facades| Pedis:luce Thnowahle./*** @phpstan-tupe CrmFieldOption array{id:string, label:string, value?:string}Sthis->setBaseUrl(self::BASE_URL):Sthis->setVersion(self::MIN_API_VERSION) :»* Execute a HubSoot APT call with rate limit handlina.fo 4 spaces...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
8 files, folder partially checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
.env.local not checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
Client.php, class checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
ClientTest.php, class checked
.env.local not checked
Unversioned Files 9 files not checked
5 modified
Analyzing…
JY-20725 add more tests
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
8 files, folder partially checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
.env.local not checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
Client.php, class checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
ClientTest.php, class checked
.env.local not checked
Unversioned Files 9 files not checked
5 modified
Analyzing…
JY-20725 add more tests
Commit Message
Commit Message History
Git
Author:
Author:...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
8 files, folder partially checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
.env.local not checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
Client.php, class checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
ClientTest.php, class checked
.env.local not checked
Unversioned Files 9 files not checked
5 modified
Analyzing…
JY-20725 add more tests
Commit Message
Commit Message History
Git...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
8 files, folder partially checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
.env.local not checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
8 files, folder partially checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Middleware 1 file, folder checked
HandleHubspotRateLimitTest.php, class checked
Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
.env.local not checked
app 4 files, folder partially checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmData.php, class checked
Services/Crm/Hubspot 1 file, folder checked
Client.php, class checked
Console/Commands 1 file, folder not checked
Exceptions 1 file, folder checked
RateLimitException.php, exception class checked
RateLimitException.php, exception class checked...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code revuiew suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code revuiew suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
iTerm2ShellEditViewSessionScriptsProfilesWindowHelpDOCKERAPP (-zsh)-zsh+ +- ₴81DEV (docker)₴2APP (-zsh)ScrmService->syncOpportunity('374720564');ScrmService-›matchByName('Robot');-zsh> 0 hhl*5screenpipe"100% <78• Mon 11 May 19:00:49T₴1O ₴6-zsh*7 |+end diffAPPFixed 4 of 5666 files in 146.870 seconds, 60.00 MB memory usedWhat's next:Try Docker Debug for seamless, persistentdebugging tools in any container or image → docker debug docker_lamp_1Learn moreat [URL_WITH_CREDENTIALS] ~/jiminny/app (JY-20725-handle-HS-search-rate-limit) $ csfixdocker exec -it docker_lamp_1 ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --using-cache=no --diffPHP CS Fixer 3.87.1 Alexander by Fabien Potencier, Dariusz Ruminski and contributors.PHP runtime: 8.3.30Running analysis on 7 cores with 10 files per process.Parallel runner is an experimental feature and may be unstable, use it at your own risk. Feedback highly appreciated!Loadedconfig default from".php-cs-fixer.dist.php".5666/5666 [100%Fixed 0 of 5666 files in 66.457 seconds, 60.00 MB memory usedWhat's next:Try Docker Debug for seamless, persistent debugging tools in any container or image » docker debug docker_1amp_1Learn more at https://docs.docker.com/go/debug-cli/lukas@Lukas-Kovaliks-MacBook-Pro-Jiminny ~/jiminny/app (JY-20725-handle-HS-search-rate-limit) $ I...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
PhostormVIewINavigarecodeLaravelKeractorrTavsco.s°9 JY-20725-handle-HS-search-rateProiect>@ Mailbo›C) UserAutomatedReportscontroller.ongv D Middlewareo handleruospotkal>@ Streaming© MatchActivityCrmData.php>D Team_ lelepnony> DUser© ImportRecallAlRecordi<?ohpdeclarelstrict tyoess.o:c) SasVisibilitycontrolTe:v W Listenersnamespace Tests Unit Jobs MiddLeware:> @ Activities>D Audio• AutomatedReports› use ...Autoscore17 Crm#[CoversClass(HandleHubspotRateLimit::class)]18 VAclass HandleluhsnotRatel imitTest extends TecttaseM DealRisks17 ElasticSearchlGrouosprivate HandleHubspotRateLimit $middleware;Import• M MailbosCancola yLocal ChangesLog X• Chanaes & files= env.local aor.8 02d5214b app/ExC) Client.oho aon/Services/Crm/Hubsootc ClientTect nhn tectc/Unit/Services/Crm/Huhsnotuse Ihrowable© HandleHubspotRateLimitTest.php tests/Unit/Jobs/Middleware© JiminnyDebugCommand.php app/Console/Commandsclass ratelimitphp logging.php config© MatchActivityCrmData.php app/Jobs/Crmpublic fun© RateLimitException.php app/Exceptionsstrind• Iinvorcinnod Siloc @ filacE.env.nikilocal appE.env.other app© CanAccessAiReportsTest.php tests/Unit/Policies?Throwanarent© CreateMockAskJiminnyReportResultCommand.php app/Console/Commands/Rli tavicon.ico public=ids.txt apdnublic function aetRetrvAftero. intTa raw sal querv.sal app© SimulateWebhooksCommand.php app/Console/Commands/Crm/Hubspotreturn max(Sthis->retryAfter, 1)M.WEBTOOK FILTERING IMPLEMENTATION.mo a00WindowmelpRematchActivityOnCrmObjectDetach.php© HubspotPaginationService.phpC) TrackAutomated Revori Generaledeventonp© Hubspot/Service.phpOhubspot/service.pnp© SyncCrmEntitiesTrait.phpC) CachedCrmServiceDecorator.ong©) HandleHubspotRateLimitTest.php x© CheckAndRetryRemoteMatch.phpCrmactivityservice.png olCommit ChanaesChangelist: Changes• M Exceptions 1 fileAuthor:RateLimitException.phpvaJobs/Crm 1 fileAmend commitSian-oft commitV © MatchActivityCrmData.php5 modifiedCommit checksCommit MessageJY-20725 code revlew suggestionsUpdate copvriahiPoformat codeRearrange codeOpumize imporisv Diftsideoy-slde viewer@ 02d5214b app/Exceptions/RateLimitException.phyuse InrowablerDo notignoreHighlight woras4 omerencesCurrent versioruse Throwahl p:class RateLimitException extends RuntimeExceptionclass RateLimitException extends RuntimeExceptionpublic function __construct(string Smessage = "'private readonly int SretryAfter = 1?Throwable Sprevious = nullO' 1111 Vprivate readonly int SretryAfter;public function __construct(string $message = "'parent:: construct(Smessage. 0, Sprevious):Int srecryAtter = 1Thnownbla Cnnovioue - nulll17Cance100% Lz• Mon 11 May 19:00:49A SF [jiminny@localhost]4 HS_local [jiminny@localhost]A console [PROD]« console [EU]A console [STAGING]"Set-Cookie":["__cf_bm=SIUrtdQgXVrik50pdqF6hZVYKhzTnQBidvMabeCtm0Y-1778163675-[IP_ADDRESS]-rI.ZggtDKxTge5zr8_2gbBfWMQQ.ufZEXDZyHz2mBUFdzdo2gTHEs0kXi ~07-May-26 14:51:15 GMT: domain=.hubapi.com:Http0nly: Secure: SameSite=None"].w19A"keporc-10"."ppoints":li-":1"https:(VAVa.nel.cloudfLare.com/V/report\V/v4?s=NYALsVTP0fYm52qrsDJxYE4sd2RWRq15p5wHSmd=g<LzoYdx1x2B1XVpHmsKnS0x2BKVA5mFLJ2m/YRECD65M62BW2LYT206FM4/2l vbupl": l"cf-nel!",kage ":604800"n:["€ccess traction":0.01.bort to ": "cf-nel".k ade":604800-"Ven":"cloudflare">elation_id":"95236535-ec98-4541-b92a-adfa73b69eab",he id"."c7ab8365-903f-46d4-9403-0e5b551e3545"}4 differencescurrent versionclass RateLimitException extends RuntimeExceptionprivate readonly int SretrvAfter:public function __construct(strina Smessage = "'int SretryAfter = 1,¿Throwable Sorevious = null.narent.• construet(Smessage. A. Sorevious):Sthis->retrvAften = max(1. SretrvAfter)•public function getRetryAfterQ: intreturn $this->retryAfter:W Windsurf Teamsfo 4 spaces 0...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
02d5214b
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
public function __construct(
string $message = '',
private readonly int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
public function getRetryAfter(): int
{
return max($this->retryAfter, 1);
}
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
private readonly int $retryAfter;
public function __construct(
string $message = '',
int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
$this->retryAfter = max(1, $retryAfter);
}
public function getRetryAfter(): int
{
return $this->retryAfter;
}
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
02d5214b
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
public function __construct(
string $message = '',
private readonly int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
public function getRetryAfter(): int
{
return max($this->retryAfter, 1);
}
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
private readonly int $retryAfter;
public function __construct(
string $message = '',
int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
$this->retryAfter = max(1, $retryAfter);
}
public function getRetryAfter(): int
{
return $this->retryAfter;
}
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
02d5214b
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
public function __construct(
string $message = '',
private readonly int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
public function getRetryAfter(): int
{
return max($this->retryAfter, 1);
}
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
private readonly int $retryAfter;
public function __construct(
string $message = '',
int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
$this->retryAfter = max(1, $retryAfter);
}
public function getRetryAfter(): int
{
return $this->retryAfter;
}
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
02d5214b
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
public function __construct(
string $message = '',
private readonly int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
public function getRetryAfter(): int
{
return max($this->retryAfter, 1);
}
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
private readonly int $retryAfter;
public function __construct(
string $message = '',
int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
$this->retryAfter = max(1, $retryAfter);
}
public function getRetryAfter(): int
{
return $this->retryAfter;
}
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
02d5214b
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
public function __construct(
string $message = '',
private readonly int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
public function getRetryAfter(): int
{
return max($this->retryAfter, 1);
}
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
private readonly int $retryAfter;
public function __construct(
string $message = '',
int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
$this->retryAfter = max(1, $retryAfter);
}
public function getRetryAfter(): int
{
return $this->retryAfter;
}
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
02d5214b
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
public function __construct(
string $message = '',
private readonly int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
public function getRetryAfter(): int
{
return max($this->retryAfter, 1);
}
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
private readonly int $retryAfter;
public function __construct(
string $message = '',
int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
$this->retryAfter = max(1, $retryAfter);
}
public function getRetryAfter(): int
{
return $this->retryAfter;
}
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
02d5214b
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
public function __construct(
string $message = '',
private readonly int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
public function getRetryAfter(): int
{
return max($this->retryAfter, 1);
}
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
private readonly int $retryAfter;
public function __construct(
string $message = '',
int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
$this->retryAfter = max(1, $retryAfter);
}
public function getRetryAfter(): int
{
return $this->retryAfter;
}
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
02d5214b
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
public function __construct(
string $message = '',
private readonly int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
}
public function getRetryAfter(): int
{
return max($this->retryAfter, 1);
}
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Exceptions;
use Throwable;
class RateLimitException extends RuntimeException
{
private readonly int $retryAfter;
public function __construct(
string $message = '',
int $retryAfter = 1,
?Throwable $previous = null,
) {
parent::__construct($message, 0, $previous);
$this->retryAfter = max(1, $retryAfter);
}
public function getRetryAfter(): int
{
return $this->retryAfter;
}
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 modified
Analyzing…
JY-20725 code review suggestions
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
5 files, folder partially checked
app/Console/Commands 1 file, folder not checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmDataTest.php, class checked
Services/Crm/Hubspot/Pagination 1 file, folder checked
HubspotPaginationServiceTest.php, class checked
.env.local not checked
app/Console/Commands 1 file, folder not checked
config 1 file, folder not checked
tests/Unit 2 files, folder checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmDataTest.php, class checked
Services/Crm/Hubspot/Pagination 1 file, folder checked
HubspotPaginationServiceTest.php, class checked
Jobs/Crm 1 file, folder checked
MatchActivityCrmDataTest.php, class checked
MatchActivityCrmDataTest.php, class checked
Services/Crm/Hubspot/Pagination 1 file, folder checked
HubspotPaginationServiceTest.php, class checked
HubspotPaginationServiceTest.php, class checked
.env.local not checked
Unversioned Files 9 files not checked
2 modified
JY-20725 add HS rate limit handling on activities rematching
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
4 differences
44d5678c
<?php
declare(strict_types=1);
namespace Tests\Unit\Jobs\Crm;
use Illuminate\Database\Connection;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Jiminny\Exceptions\InvalidArgumentException;
use Jiminny\Jobs\Crm\MatchActivityCrmData;
use Jiminny\Models\Account;
use Jiminny\Models\Activity;
use Jiminny\Models\Contact;
use Jiminny\Models\Crm\Configuration;
use Jiminny\Models\Lead;
use Jiminny\Models\Opportunity;
use Jiminny\Models\Stage;
use Jiminny\Models\Team;
use Jiminny\Models\User;
use Jiminny\Repositories\ActivityRepository;
use Jiminny\Services\Crm\CrmActivityService;
use PHPUnit\Framework\MockObject\Exception;
use PHPUnit\Framework\MockObject\MockObject;
use Tests\TestCase;
class MatchActivityCrmDataTest extends TestCase
{
private ActivityRepository|MockObject $activityRepository;
private CrmActivityService|MockObject $crmActivityService;
private Connection|MockObject $connection;
protected function setUp(): void
{
parent::setUp();
$this->activityRepository = $this->createMock(ActivityRepository::class);
$this->crmActivityService = $this->createMock(CrmActivityService::class);
$this->connection = $this->createMock(Connection::class);
}
/**
* @throws \Exception|Exception
*/
public function testHandle(): void
{
$fromConfiguration = $this->createMock(Configuration::class);
$fromConfiguration->method('getId')->willReturn(5);
$team = $this->createMock(Team::class);
$user = $this->createMock(User::class);
$user->method('getTeam')->willReturn($team);
$activityConfiguration = $this->createMock(Configuration::class);
$activityConfiguration->method('getId')->willReturn(10);
$participants = $this->createMock(HasMany::class);
$activity = $this->createMock(Activity::class);
$activity->method('getUuid')->willReturn('test');
$activity->method('getProvider')->willReturn('provider');
$activity->method('getUser')->willReturn($user);
$activity->method('getCrm')->willReturn($activityConfiguration);
$activity->method('participants')->willReturn($participants);
$activity->expects($this->exactly(2))->method('update');
$this->activityRepository->expects(($this->once()))
->method('findById')
->with(1)
->willReturn($activity);
$this->activityRepository->expects($this->once())
->method('getActivityParticipants')
->with($activity)
->willReturn(collect([]));
$this->crmActivityService->expects($this->once())
->method('updateCrmData')
->with($activity, false);
$this->connection->expects($this->once())
->method('transaction')
->willReturnCallback(function ($callback) {
return $callback();
});
$job = new MatchActivityCrmData(
activityId: 1,
fromConfiguration: $fromConfiguration,
);
$job->handle(
activityRepository: $this->activityRepository,
crmActivityService: $this->crmActivityService,
connection: $this->connection,
);
}
/**
* @throws \Exception|Exception
*/
public function testHandleNoActivity(): void
{
$this->activityRepository->expects(($this->once()))
->method('findById')
->with(1)
->willReturn(null);
$job = new MatchActivityCrmData(
activityId: 1,
fromConfiguration: null,
);
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('[MatchActivityCrmData] Cannot find activity.');
$job->handle(
activityRepository: $this->activityRepository,
crmActivityService: $this->crmActivityService,
connection: $this->connection,
);
}
public function testSkipsCrmConfigurationSwitchWhenAlreadyMatches(): void
{
$fromConfiguration = $this->createMock(Configuration::class);
$fromConfiguration->method('getId')->willReturn(5);
$activityConfiguration = $this->createMock(Configuration::class);
$activityConfiguration->method('getId')->willReturn(5);
$participants = $this->createMock(HasMany::class);
$activity = $this->createMock(Activity::class);
$activity->method('getCrm')->willReturn($activityConfiguration);
$activity->method('participants')->willReturn($participants);
$activity->expects($this->once())->method('update');
$this->activityRepository->expects($this->once())
->method('findById')
->with(123)
->willReturn($activity);
$this->activityRepository->expects($this->once())
->method('getActivityParticipants')
->with($activity)
->willReturn(collect([]));
$this->crmActivityService->expects($this->once())
->method('updateCrmData')
->with($activity, false);
$this->connection->expects($this->once())
->method('transaction')
->willReturnCallback(function ($callback) {
return $callback();
});
$job = new MatchActivityCrmData(
activityId: 123,
fromConfiguration: $fromConfiguration,
);
$job->handle(
activityRepository: $this->activityRepository,
crmActivityService: $this->crmActivityService,
connection: $this->connection,
);
}
public function testJobConfiguration(): void
{
$job = new MatchActivityCrmData(
activityId: 1,
fromConfiguration: null,
remoteSearch: false,
);
$this->assertSame(3, $job->tries);
$this->assertSame(300, $job->timeout());
$this->assertSame(360, $job->uniqueFor());
$this->assertSame([30, 90, 180], $job->backoff());
}
public function testUniqueId(): void
{
$configuration = $this->createMock(Configuration::class);
$configuration->method('getId')->willReturn(5);
$job1 = new MatchActivityCrmData(
activityId: 123,
fromConfiguration: null,
remoteSearch: false,
);
$this->assertSame('123:0:local', $job1->uniqueId());
$job2 = new MatchActivityCrmData(
activityId: 123,
fromConfiguration: null,
remoteSearch: true,
);
$this->assertSame('123:0:remote', $job2->uniqueId());
$job3 = new MatchActivityCrmData(
activityId: 123,
fromConfiguration: $configuration,
remoteSearch: false,
);
$this->assertSame('123:5:local', $job3->uniqueId());
}
public function testTransactionRollbackOnException(): void
{
$activity = $this->createMock(Activity::class);
$this->activityRepository->expects($this->once())
->method('findById')
->with(1)
->willReturn($activity);
$exception = new \RuntimeException('Test exception');
$this->connection->expects($this->once())
->method('transaction')
->willReturnCallback(function ($callback) use ($exception) {
throw $exception;
});
$job = new MatchActivityCrmData(
activityId: 1,
fromConfiguration: null,
);
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage('Test exception');
$job->handle(
activityRepository: $this->activityRepository,
crmActivityService: $this->crmActivityService,
connection: $this->connection,
);
}
public function testFailedMethodLogsError(): void
{
$exception = new \RuntimeException('Test failure');
$job = new MatchActivityCrmData(
activityId: 123,
fromConfiguration: null,
remoteSearch: true,
);
$job->failed($exception);
$this->assertTrue(true);
}
public function testLogsSuccessWhenMatchFound(): void
{
$participants = $this->createMock(HasMany::class);
$lead = $this->createMock(Lead::class);
$lead->method('getId')->willReturn(456);
$activity = $this->createMock(Activity::class);
$activity->method('participants')->willReturn($participants);
$activity->method('getLead')->willReturn($lead);
$activity->method('getContact')->willReturn(null);
$activity->method('getAccount')->willReturn(null);
$activity->method('getOpportunity')->willReturn(null);
$this->activityRepository->expects($this->once())
->method('findById')
->with(123)
->willReturn($activity);
$this->activityRepository->expects($this->once())
->method('getActivityParticipants')
->with($activity)
->willReturn(collect([]));
$this->crmActivityService->expects($this->once())
->method('updateCrmData')
->with($activity, false);
$this->connection->expects($this->once())
->method('transaction')
->willReturnCallback(function ($callback) {
return $callback();
});
$job = new MatchActivityCrmData(
activityId: 123,
fromConfiguration: null,
remoteSearch: false,
);
$job->handle(
activityRepository: $this->activityRepository,
crmActivityService: $this->crmActivityService,
connection: $this->connection,
);
}
public function testLogsNoMatchWhenNoMatchFound(): void
{
$participants = $this->createMock(HasMany::class);
$activity = $this->createMock(Activity::class);
$activity->method('participants')->willReturn($participants);
$activity->method('getLead')->willReturn(null);
$activity->method('getContact')->willReturn(null);
$activity->method('getAccount')->willReturn(null);
$activity->method('getOpportunity')->willReturn(null);
$this->activityRepository->expects($this->once())
->method('findById')
->with(123)
->willReturn($activity);
$this->activityRepository->expects($this->once())
->method('getActivityParticipants')
->with($activity)
->willReturn(collect([]));
$this->crmActivityService->expects($this->once())
->method('updateCrmData')
->with($activity, true);
$this->connection->expects($this->once())
->method('transaction')
->willReturnCallback(function ($callback) {
return $callback();
});
$job = new MatchActivityCrmData(
activityId: 123,
fromConfiguration: null,
remoteSearch: true,
);
$job->handle(
activityRepository: $this->activityRepository,
crmActivityService: $this->crmActivityService,
connection: $this->connection,
);
}
public function testLogsOldStateBeforeClearing(): void
{
$participant1 = new \stdClass();
$participant1->id = 10;
$participant1->user_id = 100;
$participant1->contact_id = 200;
$participant1->lead_id = null;
$participant2 = new \stdClass();
$participant2->id = 20;
$participant2->user_id = null;
$participant2->contact_id = null;
$participant2->lead_id = 300;
$participantsCollection = collect([$participant1, $participant2]);
$participantsRelation = $this->createMock(HasMany::class);
$lead = $this->createMock(Lead::class);
$lead->method('getId')->willReturn(111);
$contact = $this->createMock(Contact::class);
$contact->method('getId')->willReturn(222);
$account = $this->createMock(Account::class);
$account->method('getId')->willReturn(333);
$opportunity = $this->createMock(Opportunity::class);
$opportunity->method('getId')->willReturn(444);
$stage = $this->createMock(Stage::class);
$stage->method('getId')->willReturn(555);
$activity = $this->createMock(Activity::class);
$activity->method('participants')->willReturn($participantsRelation);
$activity->method('getLead')->willReturn($lead);
$activity->method('getContact')->willReturn($contact);
$activity->method('getAccount')->willReturn($account);
$activity->method('getOpportunity')->willReturn($opportunity);
$activity->method('getStage')->willReturn($stage);
$this->activityRepository->expects($this->once())
->method('findById')
->with(999)
->willReturn($activity);
$this->activityRepository->expects($this->once())
->method('getActivityParticipants')
->with($activity)
->willReturn($participantsCollection);
$this->crmActivityService->expects($this->once())
->method('updateCrmData')
->with($activity, false);
$this->connection->expects($this->once())
->method('transaction')
->willReturnCallback(function ($callback) {
return $callback();
});
$job = new MatchActivityCrmData(
activityId: 999,
fromConfiguration: null,
remoteSearch: false,
);
$job->handle(
activityRepository: $this->activityRepository,
crmActivityService: $this->crmActivityService,
connection: $this->connection,
);
}
}...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
4 files, folder partially checked
app/Console/Commands 1 file, folder not checked
config 1 file, folder not checked
tests/Unit/Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
.env.local not checked
app/Console/Commands 1 file, folder not checked
config 1 file, folder not checked
tests/Unit/Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
ClientTest.php, class checked
.env.local not checked
Unversioned Files 9 files not checked
1 modified
JY-20725 add tests
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
6 differences
cbed2c9a
<?php
declare(strict_types=1);
namespace Tests\Unit\Services\Crm\Hubspot;
use GuzzleHttp\Psr7\Response;
use HubSpot\Client\Crm\Associations\Api\BatchApi;
use HubSpot\Client\Crm\Associations\Model\BatchInputPublicObjectId;
use HubSpot\Client\Crm\Associations\Model\BatchResponsePublicAssociationMulti;
use HubSpot\Client\Crm\Associations\Model\PublicObjectId;
use HubSpot\Client\Crm\Deals\Api\BasicApi as DealsBasicApi;
use HubSpot\Client\Crm\Deals\Model\SimplePublicObjectWithAssociations as DealWithAssociations;
use HubSpot\Client\Crm\Pipelines\Api\PipelinesApi;
use HubSpot\Client\Crm\Pipelines\Model\CollectionResponsePipeline;
use HubSpot\Client\Crm\Pipelines\Model\Error;
use HubSpot\Client\Crm\Pipelines\Model\Pipeline;
use HubSpot\Client\Crm\Pipelines\Model\PipelineStage;
use HubSpot\Client\Crm\Properties\Api\CoreApi;
use HubSpot\Client\Crm\Properties\Model\Property;
use HubSpot\Discovery as HubSpotDiscovery;
use HubSpot\Discovery\Crm\Deals\Discovery as DealsDiscovery;
use Jiminny\Models\Crm\Configuration;
use Jiminny\Models\Crm\Field;
use Jiminny\Models\SocialAccount;
use Jiminny\Services\Crm\Hubspot\Client;
use Jiminny\Services\Crm\Hubspot\HubspotTokenManager;
use Jiminny\Services\Crm\Hubspot\Pagination\HubspotPaginationService;
use Jiminny\Services\SocialAccountService;
use League\OAuth2\Client\Token\AccessToken;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Psr\Log\NullLogger;
use SevenShores\Hubspot\Endpoints\Engagements;
use SevenShores\Hubspot\Factory;
use SevenShores\Hubspot\Http\Client as HubspotClient;
use SevenShores\Hubspot\Http\Response as HubspotResponse;
/**
* @runTestsInSeparateProcesses
*
* @preserveGlobalState disabled
*/
class ClientTest extends TestCase
{
private const string RESPONSE_TYPE_STAGE_FIELD = 'stage';
private const string RESPONSE_TYPE_PIPELINE_FIELD = 'pipeline';
private const string RESPONSE_TYPE_REGULAR_FIELD = 'regular';
/**
* @var Client&MockObject
*/
private Client $client;
private Configuration $config;
/**
* @var SocialAccountService&MockObject
*/
private SocialAccountService $socialAccountServiceMock;
/**
* @var HubspotPaginationService&MockObject
*/
private HubspotPaginationService $paginationServiceMock;
/**
* @var HubspotTokenManager&MockObject
*/
private HubspotTokenManager $tokenManagerMock;
/**
* @var CoreApi&MockObject
*/
private CoreApi $coreApiMock;
/**
* @var PipelinesApi&MockObject
*/
private PipelinesApi $pipelinesApiMock;
/**
* @var BatchApi&MockObject
*/
private BatchApi $associationsBatchApiMock;
/**
* @var DealsBasicApi&MockObject
*/
private DealsBasicApi $dealsBasicApiMock;
/**
* @var Engagements&MockObject
*/
private $engagementsMock;
/**
* @var HubspotClient&MockObject
*/
private HubspotClient $hubspotClientMock;
protected function setUp(): void
{
// Create mocks for dependencies
$this->socialAccountServiceMock = $this->createMock(SocialAccountService::class);
$this->paginationServiceMock = $this->createMock(HubspotPaginationService::class);
$this->tokenManagerMock = $this->createMock(HubspotTokenManager::class);
// Create a real Client instance with mocked dependencies
// Create a partial mock only for the methods we need to mock
$client = $this->createPartialMock(Client::class, ['getInstance', 'getNewInstance', 'makeRequest']);
$client->setLogger(new NullLogger());
// Inject the real dependencies using reflection
$reflection = new \ReflectionClass(Client::class);
$accountServiceProperty = $reflection->getProperty('accountService');
$accountServiceProperty->setAccessible(true);
$accountServiceProperty->setValue($client, $this->socialAccountServiceMock);
$paginationServiceProperty = $reflection->getProperty('paginationService');
$paginationServiceProperty->setAccessible(true);
$paginationServiceProperty->setValue($client, $this->paginationServiceMock);
$tokenManagerProperty = $reflection->getProperty('tokenManager');
$tokenManagerProperty->setAccessible(true);
$tokenManagerProperty->setValue($client, $this->tokenManagerMock);
$factoryMock = $this->createMock(Factory::class);
$hubspotClientMock = $this->createMock(HubspotClient::class);
$engagementsMock = $this->createMock(\SevenShores\Hubspot\Endpoints\Engagements::class);
$factoryMock->method('getClient')->willReturn($hubspotClientMock);
$factoryMock->method('__call')->with('engagements')->willReturn($engagementsMock);
$client->method('getInstance')->willReturn($factoryMock);
$discoveryMock = $this->createMock(HubSpotDiscovery\Discovery::class);
$crmMock = $this->createMock(HubSpotDiscovery\Crm\Discovery::class);
$associationsMock = $this->createMock(HubSpotDiscovery\Crm\Associations\Discovery::class);
$propertiesMock = $this->createMock(HubSpotDiscovery\Crm\Properties\Discovery::class);
$pipelinesMock = $this->createMock(HubSpotDiscovery\Crm\Pipelines\Discovery::class);
$coreApiMock = $this->createMock(CoreApi::class);
$pipelinesApiMock = $this->createMock(PipelinesApi::class);
$associationsBatchApiMock = $this->createMock(BatchApi::class);
$dealsBasicApiMock = $this->createMock(DealsBasicApi::class);
$propertiesMock->method('__call')->with('coreApi')->willReturn($coreApiMock);
$pipelinesMock->method('__call')->with('pipelinesApi')->willReturn($pipelinesApiMock);
$associationsMock->method('__call')->with('batchApi')->willReturn($associationsBatchApiMock);
$dealsDiscoveryMock = $this->createMock(DealsDiscovery::class);
$dealsDiscoveryMock->method('__call')->with('basicApi')->willReturn($dealsBasicApiMock);
$returnMap = ['properties' => $propertiesMock, 'pipelines' => $pipelinesMock, 'associations' => $associationsMock, 'deals' => $dealsDiscoveryMock];
$crmMock->method('__call')
->willReturnCallback(static fn (string $name) => $returnMap[$name])
;
$discoveryMock->method('__call')->with('crm')->willReturn($crmMock);
$client->method('getNewInstance')->willReturn($discoveryMock);
$this->client = $client;
$this->config = $this->createMock(Configuration::class);
$this->client->setConfiguration($this->config);
$this->coreApiMock = $coreApiMock;
$this->pipelinesApiMock = $pipelinesApiMock;
$this->associationsBatchApiMock = $associationsBatchApiMock;
$this->dealsBasicApiMock = $dealsBasicApiMock;
$this->engagementsMock = $engagementsMock;
$this->hubspotClientMock = $hubspotClientMock;
}
public function testGetMinimumApiVersion(): void
{
$this->assertIsString($this->client->getMinimumApiVersion());
}
public function testGetInstance(): void
{
$socialAccountService = $this->createMock(SocialAccountService::class);
$paginationService = $this->createMock(HubspotPaginationService::class);
$tokenManager = $this->createMock(HubspotTokenManager::class);
$client = new Client($socialAccountService, $paginationService, $tokenManager);
$client->setBaseUrl('[URL_WITH_CREDENTIALS] The class CollectionResponsePipeline will be deprecated in the next Hubspot version
*/
$this->pipelinesApiMock
->method('getAll')
->with('deals')
->willReturn(new CollectionResponsePipeline([
'results' => [$this->generatePipeline()],
]))
;
$this->assertEquals(
[
['id' => 'foo', 'label' => 'bar'],
['id' => 'baz', 'label' => 'qux'],
],
$this->client->fetchOpportunityPipelineStages()
);
}
public function testFetchOpportunityPipelineStagesErrorResponse(): void
{
$this->pipelinesApiMock
->method('getAll')
->with('deals')
->willReturn(new Error(['message' => 'test error']))
;
$this->assertEmpty($this->client->fetchOpportunityPipelineStages());
}
#[\PHPUnit\Framework\Attributes\DataProvider('meetingOutcomeFieldProvider')]
public function testFetchMeetingOutcomeFieldOptions(string $fieldId, string $expectedEndpoint): void
{
$field = new Field(['crm_provider_id' => $fieldId]);
$this->hubspotClientMock
->expects($this->once())
->method('request')
->with('GET', $expectedEndpoint)
->willReturn($this->generateHubSpotResponse(
[
'options' => [
['value' => 'option_1', 'label' => 'Option 1', 'displayOrder' => 0],
['value' => 'option_2', 'label' => 'Option 2', 'displayOrder' => 1],
['value' => 'option_3', 'label' => 'Option 3', 'displayOrder' => 2],
],
]
))
;
$this->assertEquals(
[
['id' => 'option_1', 'value' => 'option_1', 'label' => 'Option 1', 'display_order' => 0],
['id' => 'option_2', 'value' => 'option_2', 'label' => 'Option 2', 'display_order' => 1],
['id' => 'option_3', 'value' => 'option_3', 'label' => 'Option 3', 'display_order' => 2],
],
$this->client->fetchMeetingOutcomeFieldOptions($field)
);
}
public static function meetingOutcomeFieldProvider(): array
{
return [
'meeting outcome field' => [
'meetingOutcome',
'[URL_WITH_CREDENTIALS] The class CollectionResponsePipeline will be deprecated in the next Hubspot version
*/
$pipelineStagesResponse = new CollectionResponsePipeline([
'results' => [$this->generatePipeline()],
]);
$this->pipelinesApiMock
->method('getAll')
->willReturn($pipelineStagesResponse);
}
if ($type === self::RESPONSE_TYPE_PIPELINE_FIELD) {
$field->method('isStageField')->willReturn(false);
$field->method('isPipelineField')->willReturn(true);
$pipelineResponse = $this->generateHubSpotResponse([
'results' => [
['id' => '123', 'label' => 'Sales'],
['id' => 'default', 'label' => 'CS'],
],
]);
$this->client
->method('makeRequest')
->with('/crm/v3/pipelines/deals')
->willReturn($pipelineResponse);
}
$this->assertEquals(
$responses[$type],
$this->client->fetchOpportunityFieldOptions($field)
);
}
public static function opportunityFieldOptionsProvider(): array
{
return [
'stage field' => [
'field' => new Field(['crm_provider_id' => 'dealstage']),
'type' => self::RESPONSE_TYPE_STAGE_FIELD,
],
'pipeline field' => [
'field' => new Field(['crm_provider_id' => 'pipeline']),
'type' => self::RESPONSE_TYPE_PIPELINE_FIELD,
],
'regular field' => [
'field' => new Field(['crm_provider_id' => 'some_property']),
'type' => self::RESPONSE_TYPE_REGULAR_FIELD,
],
];
}
private function generateHubSpotResponse(array $data): HubspotResponse
{
return new HubspotResponse(new Response(200, [], json_encode($data)));
}
private function generateProperty(): Property
{
return new Property([
'name' => 'some_property',
'options' => [
[
'label' => 'label_1',
'value' => 'value_1',
],
[
'label' => 'label_2',
'value' => 'value_2',
],
],
]);
}
private function generatePipeline(): Pipeline
{
return new Pipeline(['stages' => [
new PipelineStage(['id' => 'foo', 'label' => 'bar']),
new PipelineStage(['id' => 'baz', 'label' => 'qux']),
]]);
}
public function testFetchOpportunityPipelines(): void
{
$this->client
->method('makeRequest')
->with('/crm/v3/pipelines/deals')
->willReturn($this->generateHubSpotResponse([
'results' => [
['id' => 'id_1', 'label' => 'Option 1', 'displayOrder' => 0],
['id' => 'id_2', 'label' => 'Option 2', 'displayOrder' => 1],
['id' => 'id_3', 'label' => 'Option 3', 'displayOrder' => 2],
],
]));
$this->assertEquals(
[
['id' => 'id_1', 'label' => 'Option 1'],
['id' => 'id_2', 'label' => 'Option 2'],
['id' => 'id_3', 'label' => 'Option 3'],
],
$this->client->fetchOpportunityPipelines()
);
}
public function testGetPaginatedData(): void
{
$expectedResults = [
['id' => 'id_1', 'properties' => []],
['id' => 'id_2', 'properties' => []],
['id' => 'id_3', 'properties' => []],
];
// Mock the pagination service to return a generator and modify reference parameters
$this->paginationServiceMock
->expects($this->once())
->method('getPaginatedDataGenerator')
->with(
$this->client,
['payload_key' => 'payload_value'],
'foobar',
0,
$this->anything(),
$this->anything()
)
->willReturnCallback(function ($client, $payload, $type, $offset, &$total, &$lastRecordId) use ($expectedResults) {
$total = 3;
$lastRecordId = 'id_3';
foreach ($expectedResults as $result) {
yield $result;
}
});
$this->assertEquals(
[
'results' => $expectedResults,
'total' => 3,
'last_record' => 'id_3',
],
$this->client->getPaginatedData(['payload_key' => 'payload_value'], 'foobar')
);
}
public function testGetAssociationsData(): void
{
$ids = ['1', '2', '3'];
$fromObject = 'deals';
$toObject = 'contacts';
$responseResults = [];
foreach ($ids as $id) {
$from = new PublicObjectId();
$from->setId($id);
$to1 = new PublicObjectId();
$to1->setId('contact_' . $id . '_1');
$to2 = new PublicObjectId();
$to2->setId('contact_' . $id . '_2');
$result = new \HubSpot\Client\Crm\Associations\Model\PublicAssociationMulti();
$result->setFrom($from);
$result->setTo([$to1, $to2]);
$responseResults[] = $result;
}
$batchResponse = new BatchResponsePublicAssociationMulti();
$batchResponse->setResults($responseResults);
$this->associationsBatchApiMock->expects($this->once())
->method('read')
->with(
$this->equalTo($fromObject),
$this->equalTo($toObject),
$this->callback(function (BatchInputPublicObjectId $batchInput) use ($ids) {
$inputIds = array_map(
fn ($input) => $input->getId(),
$batchInput->getInputs()
);
return $inputIds === $ids;
})
)
->willReturn($batchResponse);
$result = $this->client->getAssociationsData($ids, $fromObject, $toObject);
$expectedResult = [
'1' => ['contact_1_1', 'contact_1_2'],
'2' => ['contact_2_1', 'contact_2_2'],
'3' => ['contact_3_1', 'contact_3_2'],
];
$this->assertEquals($expectedResult, $result);
}
public function testGetAssociationsDataHandlesException(): void
{
$ids = ['1', '2', '3'];
$fromObject = 'deals';
$toObject = 'contacts';
$exception = new \Exception('API Error');
$this->associationsBatchApiMock->expects($this->once())
->method('read')
->with(
$this->equalTo($fromObject),
$this->equalTo($toObject),
$this->callback(function ($batchInput) use ($ids) {
return $batchInput instanceof \HubSpot\Client\Crm\Associations\Model\BatchInputPublicObjectId
&& count($batchInput->getInputs()) === count($ids);
})
)
->willThrowException($exception);
$loggerMock = $this->createMock(\Psr\Log\LoggerInterface::class);
$loggerMock->expects($this->once())
->method('error')
->with(
'[Hubspot] Failed to fetch associations',
[
'from_object' => $fromObject,
'to_object' => $toObject,
'reason' => 'API Error',
]
);
$this->client->setLogger($loggerMock);
$result = $this->client->getAssociationsData($ids, $fromObject, $toObject);
$this->assertEmpty($result);
$this->assertIsArray($result);
}
public function testGetAssociationsDataWithLargeDataSet(): void
{
$ids = array_map(fn ($i) => (string) $i, range(1, 2500)); // More than 1000 items
$fromObject = 'deals';
$toObject = 'contacts';
$firstBatchResponse = new BatchResponsePublicAssociationMulti();
$firstBatchResults = array_map(function ($id) {
$from = new PublicObjectId();
$from->setId($id);
$to = new PublicObjectId();
$to->setId('contact_' . $id);
$result = new \HubSpot\Client\Crm\Associations\Model\PublicAssociationMulti();
$result->setFrom($from);
$result->setTo([$to]);
return $result;
}, array_slice($ids, 0, Client::ASSOCIATIONS_BATCH_SIZE_LIMIT));
$firstBatchResponse->setResults($firstBatchResults);
$secondBatchResponse = new BatchResponsePublicAssociationMulti();
$secondBatchResults = array_map(function ($id) {
$from = new PublicObjectId();
$from->setId($id);
$to = new PublicObjectId();
$to->setId('contact_' . $id);
$result = new \HubSpot\Client\Crm\Associations\Model\PublicAssociationMulti();
$result->setFrom($from);
$result->setTo([$to]);
return $result;
}, array_slice($ids, Client::ASSOCIATIONS_BATCH_SIZE_LIMIT));
$secondBatchResponse->setResults($secondBatchResults);
$this->associationsBatchApiMock->expects($this->exactly(3))
->method('read')
->willReturnOnConsecutiveCalls($firstBatchResponse, $secondBatchResponse);
$result = $this->client->getAssociationsData($ids, $fromObject, $toObject);
$this->assertCount(2500, $result);
$this->assertArrayHasKey('1', $result);
$this->assertArrayHasKey('2500', $result);
$this->assertEquals(['contact_1'], $result['1']);
$this->assertEquals(['contact_2500'], $result['2500']);
}
public function testGetContactByEmailSuccess(): void
{
$email = '[EMAIL]';
$fields = ['firstname', 'lastname', 'email'];
$contactMock = $this->createMock(\HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectWithAssociations::class);
$contactMock->method('getId')->willReturn('12345');
$contactMock->method('getProperties')->willReturn([
'firstname' => 'John',
'lastname' => 'Doe',
'email' => '[EMAIL]',
]);
$contactsApiMock = $this->createMock(\HubSpot\Client\Crm\Contacts\Api\BasicApi::class);
$contactsApiMock->expects($this->once())
->method('getById')
->with($email, 'firstname,lastname,email', null, false, 'email')
->willReturn($contactMock);
$contactsDiscoveryMock = $this->createMock(\HubSpot\Discovery\Crm\Contacts\Discovery::class);
$contactsDiscoveryMock->method('__call')->with('basicApi')->willReturn($contactsApiMock);
$crmMock = $this->createMock(\HubSpot\Discovery\Crm\Discovery::class);
$crmMock->method('__call')->willReturnCallback(function ($name) use ($contactsDiscoveryMock) {
if ($name === 'contacts') {
return $contactsDiscoveryMock;
}
return $this->createMock(\HubSpot\Discovery\Crm\Properties\Discovery::class);
});
$discoveryMock = $this->createMock(\HubSpot\Discovery\Discovery::class);
$discoveryMock->method('__call')->with('crm')->willReturn($crmMock);
$client = $this->createPartialMock(Client::class, ['getNewInstance']);
$client->method('getNewInstance')->willReturn($discoveryMock);
$client->setLogger(new NullLogger());
$result = $client->getContactByEmail($email, $fields);
$this->assertEquals([
'id' => '12345',
'properties' => [
'firstname' => 'John',
'lastname' => 'Doe',
'email' => '[EMAIL]',
],
], $result);
}
public function testGetContactByEmailWithEmptyFields(): void
{
$email = '[EMAIL]';
$fields = [];
$contactMock = $this->createMock(\HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectWithAssociations::class);
$contactMock->method('getId')->willReturn('12345');
$contactMock->method('getProperties')->willReturn(['email' => '[EMAIL]']);
$contactsApiMock = $this->createMock(\HubSpot\Client\Crm\Contacts\Api\BasicApi::class);
$contactsApiMock->expects($this->once())
->method('getById')
->with($email, '', null, false, 'email')
->willReturn($contactMock);
$contactsDiscoveryMock = $this->createMock(\HubSpot\Discovery\Crm\Contacts\Discovery::class);
$contactsDiscoveryMock->method('__call')->with('basicApi')->willReturn($contactsApiMock);
$crmMock = $this->createMock(\HubSpot\Discovery\Crm\Discovery::class);
$crmMock->method('__call')->willReturnCallback(function ($name) use ($contactsDiscoveryMock) {
if ($name === 'contacts') {
return $contactsDiscoveryMock;
}
return $this->createMock(\HubSpot\Discovery\Crm\Properties\Discovery::class);
});
$discoveryMock = $this->createMock(\HubSpot\Discovery\Discovery::class);
$discoveryMock->method('__call')->with('crm')->willReturn($crmMock);
$client = $this->createPartialMock(Client::class, ['getNewInstance']);
$client->method('getNewInstance')->willReturn($discoveryMock);
$client->setLogger(new NullLogger());
$result = $client->getContactByEmail($email, $fields);
$this->assertEquals([
'id' => '12345',
'properties' => ['email' => '[EMAIL]'],
], $result);
}
public function testGetContactByEmailApiException(): void
{
$email = '[EMAIL]';
$fields = ['firstname', 'lastname'];
$exception = new \HubSpot\Client\Crm\Contacts\ApiException('Contact not found', 404);
$contactsApiMock = $this->createMock(\HubSpot\Client\Crm\Contacts\Api\BasicApi::class);
$contactsApiMock->expects($this->once())
->method('getById')
->with($email, 'firstname,lastname', null, false, 'email')
->willThrowException($exception);
$contactsDiscoveryMock = $this->createMock(\HubSpot\Discovery\Crm\Contacts\Discovery::class);
$contactsDiscoveryMock->method('__call')->with('basicApi')->willReturn($contactsApiMock);
$crmMock = $this->createMock(\HubSpot\Discovery\Crm\Discovery::class);
$crmMock->method('__call')->willReturnCallback(function ($name) use ($contactsDiscoveryMock) {
if ($name === 'contacts') {
return $contactsDiscoveryMock;
}
return $this->createMock(\HubSpot\Discovery\Crm\Properties\Discovery::class);
});
$discoveryMock = $this->createMock(\HubSpot\Discovery\Discovery::class);
$discoveryMock->method('__call')->with('crm')->willReturn($crmMock);
$loggerMock = $this->createMock(\Psr\Log\LoggerInterface::class);
$loggerMock->expects($this->once())
->method('info')
->with(
'[Hubspot] Failed to fetch contact',
[
'email' => $email,
'reason' => 'Contact not found',
]
);
$client = $this->createPartialMock(Client::class, ['getNewInstance']);
$client->method('getNewInstance')->willReturn($discoveryMock);
$client->setLogger($loggerMock);
$result = $client->getContactByEmail($email, $fields);
$this->assertEquals([], $result);
}
public function testGetOpportunityById(): void
{
$opportunityId = '12345';
$expectedProperties = [
'dealname' => 'Test Opportunity',
'amount' => '1000.00',
'closedate' => '2024-12-31T23:59:59.999Z',
'dealstage' => 'presentationscheduled',
'pipeline' => 'default',
];
$mockHubspotOpportunity = $this->createMock(DealWithAssociations::class);
$mockHubspotOpportunity->method('getProperties')->willReturn((object) $expectedProperties);
$mockHubspotOpportunity->method('getId')->willReturn($opportunityId);
$now = new \DateTimeImmutable();
$mockHubspotOpportunity->method('getCreatedAt')->willReturn($now);
$mockHubspotOpportunity->method('getUpdatedAt')->willReturn($now);
$mockHubspotOpportunity->method('getArchived')->willReturn(false);
$this->dealsBasicApiMock
->expects($this->once())
->method('getById')
->willReturn($mockHubspotOpportunity);
// Assuming Client::getOpportunityById processes the SimplePublicObject and returns an associative array.
// The structure might be like: ['id' => ..., 'properties' => [...], 'createdAt' => ..., ...]
// Adjust assertions below based on the actual return structure of your method.
$result = $this->client->getOpportunityById($opportunityId, ['test', 'test']);
$this->assertIsArray($result);
$this->assertArrayHasKey('id', $result);
$this->assertEquals($opportunityId, $result['id']);
}
public function testGetContactById(): void
{
$crmId = 'contact-123';
$fields = ['firstname', 'lastname'];
$expectedProperties = ['firstname' => 'John', 'lastname' => 'Doe'];
$mockContact = $this->createMock(\HubSpot\Client\Crm\Contacts\Model\SimplePublicObjectWithAssociations::class);
$mockContact->method('getId')->willReturn($crmId);
$mockContact->method('getProperties')->willReturn((object) $expectedProperties);
$contactsApiMock = $this->createMock(\HubSpot\Client\Crm\Contacts\Api\BasicApi::class);
$contactsApiMock->expects($this->once())
->method('getById')
->with($crmId, 'firstname,lastname')
->willReturn($mockContact);
$contactsDiscoveryMock = $this->createMock(\HubSpot\Discovery\Crm\Contacts\Discovery::class);
$contactsDiscoveryMock->method('__call')->with('basicApi')->willReturn($contactsApiMock);
$crmMock = $this->createMock(\HubSpot\Discovery\Crm\Discovery::class);
$crmMock->method('__call')->willReturnCallback(function ($name) use ($contactsDiscoveryMock) {
if ($name === 'contacts') {
return $contactsDiscoveryMock;
}
return $this->createMock(\HubSpot\Discovery\Crm\Properties\Discovery::class);
});
$discoveryMock = $this->createMock(\HubSpot\Discovery\Discovery::class);
$discoveryMock->method('__call')->with('crm')->willReturn($crmMock);
$client = $this->createPartialMock(Client::class, ['getNewInstance']);
$client->method('getNewInstance')->willReturn($discoveryMock);
$client->setLogger(new \Psr\Log\NullLogger());
$result = $client->getContactById($crmId, $fields);
$this->assertIsArray($result);
$this->assertArrayHasKey('id', $result);
$this->assertArrayHasKey('properties', $result);
$this->assertEquals($crmId, $result['id']);
$this->assertEquals((object) $expectedProperties, $result['properties']);
}
public function testGetAccountById(): void
{
$crmId = 'account-123';
$fields = ['name', 'industry'];
$expectedProperties = ['name' => 'Acme Corp', 'industry' => 'Technology'];
$mockCompany = $this->createMock(\HubSpot\Client\Crm\Companies\Model\SimplePublicObjectWithAssociations::class);
$mockCompany->method('getId')->willReturn($crmId);
$mockCompany->method('getProperties')->willReturn((object) $expectedProperties);
$companiesApiMock = $this->createMock(\HubSpot\Client\Crm\Companies\Api\BasicApi::class);
$companiesApiMock->expects($this->once())
->method('getById')
->with($crmId, 'name,industry')
->willReturn($mockCompany);
$companiesDiscoveryMock = $this->createMock(\HubSpot\Discovery\Crm\Companies\Discovery::class);
$companiesDiscoveryMock->method('__call')->with('basicApi')->willReturn($companiesApiMock);
$crmMock = $this->createMock(\HubSpot\Discovery\Crm\Discovery::class);
$crmMock->method('__call')->willReturnCallback(function ($name) use ($companiesDiscoveryMock) {
if ($name === 'companies') {
return $companiesDiscoveryMock;
}
return $this->createMock(\HubSpot\Discovery\Crm\Properties\Discovery::class);
});
$discoveryMock = $this->createMock(\HubSpot\Discovery\Discovery::class);
$discoveryMock->method('__call')->with('crm')->willReturn($crmMock);
$client = $this->createPartialMock(Client::class, ['getNewInstance']);
$client->method('getNewInstance')->willReturn($discoveryMock);
$client->setLogger(new \Psr\Log\NullLogger());
$result = $client->getAccountById($crmId, $fields);
$this->assertIsArray($result);
$this->assertArrayHasKey('id', $result);
$this->assertArrayHasKey('properties', $result);
$this->assertEquals($crmId, $result['id']);
$this->assertEquals((object) $expectedProperties, $result['properties']);
}
public function testEnsureValidTokenWithNoTokenUpdate(): void
{
$socialAccountMock = $this->createMock(SocialAccount::class);
// Set up OAuth account
$reflection = new \ReflectionClass($this->client);
$oauthAccountProperty = $reflection->getProperty('oauthAccount');
$oauthAccountProperty->setAccessible(true);
$oauthAccountProperty->setValue($this->client, $socialAccountMock);
$originalToken = 'original_token';
$accessTokenProperty = $reflection->getProperty('accessToken');
$accessTokenProperty->setAccessible(true);
$accessTokenProperty->setValue($this->client, $originalToken);
// Mock token manager to return null (no refresh needed)
$this->tokenManagerMock
->expects($this->once())
->method('ensureValidToken')
->with($socialAccountMock)
->willReturn(null);
// Call ensureValidToken
$this->client->ensureValidToken();
// Verify access token was not changed
$this->assertEquals($originalToken, $accessTokenProperty->getValue($this->client));
}
public function testGetPaginatedDataGeneratorDelegatesToPaginationService(): void
{
$payload = ['filters' => []];
$type = 'contacts';
$offset = 0;
$total = 0;
$lastRecordId = null;
$expectedResults = [
['id' => 'id_1', 'properties' => []],
['id' => 'id_2', 'properties' => []],
];
// Mock the pagination service to return a generator
$this->paginationServiceMock
->expects($this->once())
->method('getPaginatedDataGenerator')
->with(
$this->client,
$payload,
$type,
$offset,
$this->anything(),
$this->anything()
)
->willReturnCallback(function () use ($expectedResults) {
foreach ($expectedResults as $result) {
yield $result;
}
});
// Execute the pagination
$results = [];
foreach ($this->client->getPaginatedDataGenerator($payload, $type, $offset, $total, $lastRecordId) as $result) {
$results[] = $result;
}
$this->assertCount(2, $results);
$this->assertEquals('id_1', $results[0]['id']);
$this->assertEquals('id_2', $results[1]['id']);
}
public function testEnsureValidTokenDelegatesToTokenManager(): void
{
$socialAccountMock = $this->createMock(SocialAccount::class);
// Set up OAuth account
$reflection = new \ReflectionClass($this->client);
$oauthAccountProperty = $reflection->getProperty('oauthAccount');
$oauthAccountProperty->setAccessible(true);
$oauthAccountProperty->setValue($this->client, $socialAccountMock);
// Mock token manager to return new token
$this->tokenManagerMock
->expects($this->once())
->method('ensureValidToken')
->with($socialAccountMock)
->willReturn('new_access_token');
// Call ensureValidToken
$this->client->ensureValidToken();
// Verify access token was updated
$accessTokenProperty = $reflection->getProperty('accessToken');
$accessTokenProperty->setAccessible(true);
$this->assertEquals('new_access_token', $accessTokenProperty->getValue($this->client));
}
public function testGetOwnersArchivedWithValidResponse(): void
{
$responseData = [
'results' => [
[
'id' => '123',
'email' => '[EMAIL]',
'type' => 'PERSON',
'firstName' => 'John',
'lastName' => 'Doe',
'userId' => 456,
'userIdIncludingInactive' => 789,
'createdAt' => '2023-01-01T12:00:00Z',
'updatedAt' => '2023-01-02T12:00:00Z',
'archived' => true,
],
],
];
// Create a mock response object
$response = $this->createMock(\SevenShores\Hubspot\Http\Response::class);
$response->method('toArray')
->willReturn($responseData);
// Set up the client to return our test data
$this->client->method('makeRequest')
->with(
'/crm/v3/owners',
'GET',
[],
'archived=true'
)
->willReturn($response);
// Call the method
$result = $this->client->getOwnersArchived(true);
// Assert the results
$this->assertCount(1, $result);
$this->assertEquals('123', $result[0]->getId());
$this->assertEquals('[EMAIL]', $result[0]->getEmail());
$this->assertEquals('John Doe', $result[0]->getFullName());
$this->assertTrue($result[0]->isArchived());
}
public function testGetOwnersArchivedWithEmptyResponse(): void
{
// Create a mock response object with empty results
$response = $this->createMock(\SevenShores\Hubspot\Http\Response::class);
$response->method('toArray')
->willReturn(['results' => []]);
// Set up the client to return empty results
$this->client->method('makeRequest')
->with(
'/crm/v3/owners',
'GET',
[],
'archived=false'
)
->willReturn($response);
// Call the method
$result = $this->client->getOwnersArchived(false);
// Assert the results
$this->assertIsArray($result);
$this->assertEmpty($result);
}
public function testGetOwnersArchivedWithInvalidResponse(): void
{
// Create a mock response that will throw an exception when toArray is called
$response = $this->createMock(\SevenShores\Hubspot\Http\Response::class);
$response->method('toArray')
->willThrowException(new \InvalidArgumentException('Invalid JSON'));
// Set up the client to return the problematic response
$this->client->method('makeRequest')
->willReturn($response);
// Mock the logger to expect an error message
$loggerMock = $this->createMock(\Psr\Log\LoggerInterface::class);
$loggerMock->expects($this->once())
->method('error')
->with($this->stringContains('Failed to fetch owners'));
$reflection = new \ReflectionClass($this->client);
$loggerProperty = $reflection->getProperty('log');
$loggerProperty->setAccessible(true);
$loggerProperty->setValue($this->client, $loggerMock);
// Call the method and expect an empty array on error
$result = $this->client->getOwnersArchived(true);
$this->assertIsArray($result);
$this->assertEmpty($result);
}
public function testGetOwnersArchivedWithHttpError(): void
{
// Set up the client to throw an exception
$this->client->method('makeRequest')
->willThrowException(new \Exception('HTTP Error'));
// Mock the logger to expect an error message
$loggerMock = $this->createMock(\Psr\Log\LoggerInterface::class);
$loggerMock->expects($this->once())
->method('error')
->with($this->stringContains('Failed to fetch owners'));
$reflection = new \ReflectionClass($this->client);
$loggerProperty = $reflection->getProperty('log');
$loggerProperty->setAccessible(true);
$loggerProperty->setValue($this->client, $loggerMock);
// Call the method and expect an empty array on error
$result = $this->client->getOwnersArchived(false);
$this->assertIsArray($result);
$this->assertEmpty($result);
}
public function testGetOwnersArchivedWithOwnerCreationException(): void
{
$responseData = [
'results' => [
[
'id' => '123',
'email' => '[EMAIL]',
'type' => 'PERSON',
'firstName' => 'John',
'lastName' => 'Doe',
'userId' => 456,
'userIdIncludingInactive' => 789,
'createdAt' => '2023-01-01T12:00:00Z',
'updatedAt' => '2023-01-02T12:00:00Z',
'archived' => false,
],
[
'id' => '456',
'email' => '[EMAIL]',
'type' => 'PERSON',
'createdAt' => 'invalid-date-format',
],
[
'id' => '789',
'email' => '[EMAIL]',
'type' => 'PERSON',
'firstName' => 'Jane',
'lastName' => 'Smith',
'userId' => 999,
'userIdIncludingInactive' => 888,
'createdAt' => '2023-01-03T12:00:00Z',
'updatedAt' => '2023-01-04T12:00:00Z',
'archived' => false,
],
],
];
$response = $this->createMock(\SevenShores\Hubspot\Http\Response::class);
$response->method('toArray')
->willReturn($responseData);
$this->client->method('makeRequest')
->with(
'/crm/v3/owners',
'GET',
[],
'archived=false'
)
->willReturn($response);
$loggerMock = $this->createMock(\Psr\Log\LoggerInterface::class);
$loggerMock->expects($this->once())
->method('error')
->with(
'[HubSpot] Failed to process owner data',
$this->callback(function ($context) {
return isset($context['result']) &&
isset($context['error']) &&
$context['result']['id'] === '456' &&
$context['result']['email'] === '[EMAIL]' &&
str_contains($context['error'], 'invalid-date-format');
})
);
$reflection = new \ReflectionClass($this->client);
$loggerProperty = $reflection->getProperty('log');
$loggerProperty->setAccessible(true);
$loggerProperty->setValue($this->client, $loggerMock);
$result = $this->client->getOwnersArchived(false);
$this->assertIsArray($result);
$this->assertCount(2, $result);
$this->assertEquals('123', $result[0]->getId());
$this->assertEquals('[EMAIL]', $result[0]->getEmail());
$this->assertEquals('789', $result[1]->getId());
$this->assertEquals('[EMAIL]', $result[1]->getEmail());
}
public function testMakeRequestWithGetMethod(): void
{
$socialAccountService = $this->createMock(SocialAccountService::class);
$paginationService = $this->createMock(HubspotPaginationService::class);
$tokenManager = $this->createMock(HubspotTokenManager::class);
$psrResponse = new Response(200, [], json_encode(['status' => 'success']));
$expectedResponse = new HubspotResponse($psrResponse);
$hubspotClientMock = $this->createMock(HubspotClient::class);
$hubspotClientMock->expects($this->once())
->method('request')
->with(
'GET',
'https://api.hubapi.com/crm/v3/objects/contacts',
[],
null,
true
)
->willReturn($expectedResponse);
$factoryMock = $this->createMock(Factory::class);
$factoryMock->method('getClient')->willRetu...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
4 files, folder partially checked
app/Console/Commands 1 file, folder not checked
config 1 file, folder not checked
tests/Unit/Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
.env.local not checked
app/Console/Commands 1 file, folder not checked
config 1 file, folder not checked
tests/Unit/Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
ClientTest.php, class checked
.env.local not checked
Unversioned Files 9 files not checked
1 modified
JY-20725 add tests
Commit Message
Commit Message History
Git
Author:
Author:...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
4 files, folder partially checked
app/Console/Commands 1 file, folder not checked
config 1 file, folder not checked
tests/Unit/Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
.env.local not checked
app/Console/Commands 1 file, folder not checked
config 1 file, folder not checked
tests/Unit/Services/Crm/Hubspot 1 file, folder checked
ClientTest.php, class checked
ClientTest.php, class checked
.env.local not checked...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
4 files, folder partially checked
app 2 files, folder checked
Component/Datadog 1 file, folder checked
Constants.php, final class checked
Services/Kiosk/AutomatedReports 1 file, folder checked
AutomatedReportsCallbackService.php, class checked
tests/Unit/Services/Kiosk/AutomatedReports 1 file, folder checked
AutomatedReportsCallbackServiceTest.php, class checked
.env.local not checked
app 2 files, folder checked
Component/Datadog 1 file, folder checked
Constants.php, final class checked
Services/Kiosk/AutomatedReports 1 file, folder checked
AutomatedReportsCallbackService.php, class checked
Component/Datadog 1 file, folder checked
Constants.php, final class checked
Constants.php, final class checked
Services/Kiosk/AutomatedReports 1 file, folder checked
AutomatedReportsCallbackService.php, class checked
AutomatedReportsCallbackService.php, class checked
tests/Unit/Services/Kiosk/AutomatedReports 1 file, folder checked
AutomatedReportsCallbackServiceTest.php, class checked
AutomatedReportsCallbackServiceTest.php, class checked
.env.local not checked
Unversioned Files 9 files not checked
3 modified
hubspot rate limit temp checkout
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
3 modified
hubspot rate limit temp checkout
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
1 difference
12295204
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string ASK_JIMINNY_REPORTS = 'jiminny.ask_jiminny_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
3 modified
hubspot rate limit temp checkout
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
1 difference
12295204
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string ASK_JIMINNY_REPORTS = 'jiminny.ask_jiminny_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
3 modified
JY-20818 move ask jiminny reports to its own datadog metric
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
1 difference
12295204
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string ASK_JIMINNY_REPORTS = 'jiminny.ask_jiminny_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
3 modified
JY-20818 move ask jiminny reports to its own datadog metric
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
1 difference
12295204
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string ASK_JIMINNY_REPORTS = 'jiminny.ask_jiminny_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|
|
Diff
Changelist:
Changelist:
Changes
Show Diff
Rol Diff
Changelist:
Changelist:
Changes
Show Diff
Rollback...
Refresh
Group By
Expand All
Collapse All
3 modified
JY-20818 move ask jiminny reports event
Commit Message
Commit Message History
Git
Author:
Author:
Amend commit
Sign-off commit
Create extra commit with file movements
Commit Checks
Update copyright
Reformat code
Rearrange code
Optimize imports
Cleanup
Choose profile
Check malicious dependencies
Run external formatter
Configure
Perform SonarQube for IDE analysis
Find unused view files
Run Git hooks
Advanced Commit Checks
Analyze code
Choose profile
Check TODO
Configure
After Commit
Upload files to:
Upload files to:
<None>
Always use selected server or group of servers
Previous Difference
Next Difference
Jump to Source
Compare Previous File
Compare Next File
Go to Changed File…
Side-by-side viewer
Do not ignore
Highlight words
Collapse Unchanged Fragments
Synchronize Scrolling
Disable Editing
Settings
Help
1 difference
12295204
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Current version
<?php
declare(strict_types=1);
namespace Jiminny\Component\Datadog;
final class Constants
{
public const float FULL_SAMPLE_RATE = 1.0;
public const string ELASTICSEARCH_REFRESH_WAITING_TIME = 'jiminny.elasticsearch.refresh.waiting_time';
public const string ELASTICSEARCH_INSTANT_INSERT = 'jiminny.elasticsearch.instant-write';
public const string ELASTICSEARCH_ASYNC_INSERT = 'jiminny.elasticsearch.async-write';
public const string ELASTICSEARCH_ASYNC_DELETE = 'jiminny.elasticsearch.async-delete';
public const string TRACK_IMPORTED = 'jiminny.track.imported';
public const string TRACK_NO_AUDIO = 'jiminny.track.no_audio';
public const string AUTOSCORE_CALCULATED = 'jiminny.autoscore.calculated';
public const string SCORECARD_CREATED = 'jiminny.scorecard.created';
public const string ACTIVITY_TRANSCRIPTION = 'jiminny.activity.transcription';
public const string ACTIVITIES_INSTANT_PROCESSED_COUNT = 'jiminny.activities.instant.processed.count';
public const string ACTIVITIES_PROCESSED_COUNT = 'jiminny.activities.processed.count';
public const string ACTIVITIES_NOT_PROCESSED_COUNT = 'jiminny.activities.not_processed.count';
public const string MEETINGS_CAPTURE_RATE = 'jiminny.conference';
public const string MEETINGS_CAPTURE_RATE_MEETING_STARTED = 'jiminny.conference.started';
public const string MEETINGS_CAPTURE_RATE_MEETING_ENDED = 'jiminny.conference.ended';
public const string MEETINGS_CAPTURE_RATE_FAILURE = 'jiminny.conference.failure';
public const string MEETINGS_CAPTURE_TIMING_BOT_DELAY = 'jiminny.conference.bot_delay';
public const string MEETINGS_CAPTURE_RATE_CAPTURE_RESULT = 'jiminny.conference.capture_result';
public const string CUSTOMER_API = 'jiminny.customer_api';
public const string ACTIVITY_LANGUAGE_DETECTION_SUCCESS = 'jiminny.activity.language_detection.success';
public const string ACTIVITY_LANGUAGE_DETECTION_FAIL = 'jiminny.activity.language_detection.fail';
public const string ASK_JIMINNY_DEAL_TEAM_REQUEST = 'jiminny.ask_jiminny_deals.team_write_requests';
public const string ASK_JIMINNY_DEAL_TEAM_READ_REQUEST = 'jiminny.ask_jiminny_deals.team_read_requests';
public const string CRM_AUTO_SYNC = 'jiminny.crm.auto-sync';
public const string ACTIVITIES_DIALERS_STATS = 'jiminny.activities.dialers.stats';
public const string ACTIVITIES_DIALERS_REASON_STATS = 'jiminny.activities.dialers.reason.stats';
public const string ACTIVITIES_DIALERS_TRACK_IMPORTED = 'jiminny.activities.dialers.track.imported';
public const string ACTIVITIES_DIALERS_TRACK_DURATION = 'jiminny.activities.dialers.track.duration';
public const string AI_AUTOMATION_CRM_WRITE_EXECUTED = 'jiminny.ai_automation.crm_update_executed';
public const string AUTOMATED_REPORTS = 'jiminny.automated_reports.usage';
public const string ASK_JIMINNY_REPORTS = 'jiminny.ask_jiminny_reports.usage';
public const string HUBSPOT_WEBHOOK_SYNC = 'jiminny.crm.hubspot_webhook_sync';
public const string AI_ACTIVITY_TYPE = 'jiminny.ai_activity_type';
public const string AI_CALL_SCORING = 'jiminny.ai_call_scoring';
public const string WEBHOOK_DELIVERY_SUCCESS = 'jiminny.webhook.delivery.success';
public const string WEBHOOK_DELIVERY_FAILED = 'jiminny.webhook.delivery.failed';
public const string ACTIVITY_PROCESSING_STEP_TIME = 'jiminny.activity.processing.step.time';
}
Help
Cancel
Commit
Commit
Commit Changes...
|
PhpStorm
|
Commit Changes
|
NULL
|