|
12537
|
269
|
44
|
2026-04-14T11:23:55.419254+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165835419_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(©) ReportController.phpJiminnybebuecommana.ongC AutomatedReportsCommand.phpc) AutomatedRenorssenccommana.ongueraw.oycyuery.oggM+ README.mdAddLayoutchuitles.onoC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.phpC CreateHeldActivityEvent.phpos sonar-project.properties© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php= test.pyc) AutomatedReoorscalloackoelvce.onvC RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.php(©) AutomatedReportResult.php<> Untitled Diagram.xmlus vetur.config.jsM+ WEBHOOK FILTERING IMPLEMEC AutomatedReport.phpih External Librariesclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. voduv E Scratches and Consoles13411351v _ Database Consoles> LEUvdjiminny@localhostlusaye136privace tuncuion gеtkеportbyla(scring preportla): coLlectiond console liminny@localhostc Di liminny@localhost)111581139фгерогт =фсhі-серогокеробітогулавувамоавeeроrta« HS_local Liminny@localhosd sr yiminny@localhost)d zono_dev Jiminny @localho& PROD1401141142if (Sreport === null) ₫sthis->Loqger->warning(self::L0G_ PREFIX. Report not found for --report-id'.L'reportid' => $reportid);sthis->warn( string: "Report not found: Sreportid");> 40A4 QAireturn collecto;L QAI PRODV L STAGING& console [STAGINGId console_1 STAGING& uranus [STAGING]1451461471148149if (! $report->getStatus)) {$this->logger->warning(self::LOG_PREFIX . ' Report is inactive, processing anyway (manual override)', ['reportId' => SreportId,services(aJ Outputiib jiminny.automated_report_results xv Database1row v5. 0.Tx: Auto y1QE4®V AEUc consoev & jiminny@localhostDid51Wuvid (UUID with time-low and time-high swapped)CT000074-4005-4615-Yt8e-20ar4Senec ho local4SF 1 s 140 msV & PROD« consoleV & STAGINGc console 1 s 251 ms•, DockerW report_1dnameTuesday report - 13 Apr 2026In media tyoepdfparent idCnuLLw statusreasonoay Load_ responseCnuLLW requested_at2026-04-14 11:22:36generated atSnULl>In sent atShuLlI created_at2026-04-14 11:22:36W updated_at2026-04-14 11:22:36A2л> 0hal# Support Daily • in 37 m100%Tue 14 Apr 14:23:55AutomatedReportsCommandTestv= custom.log= laravel.logL SF (iminny@localhostc HS_local fiminny@localhost)& console PROD& console (EU]L console [STAGING0045535545550 556558559566561562563564565566567Tx: Auto vPlayground vSo jiminny vselect * from crm_ layouts cl join playbook layouts pl 1<->1.n: on cl.id = pl.layout id016 A14 V.13 ^where crm_configuration_1d = 1 and pl.playbook_1d = 175:select * from teams:SELECI P.* FRun automaced_reporus rjoin teams t on r.team id = t.idWHERE r.frequency = 'daily'and r.slauusdAND t.status = 'active'AND (r.expires at >= now OR r.expires at IS NULL):select * from automated_report_results where ceport.id IN (18, 33);select * from activity_searches where 1d = 10932:568vselect * from activity_search_filters where activity_search_1d = 10932*select * from automated_reports order by id desc;select * from automated_report_results where report id IN (36, 37)1• :NHide toE"usen questi on"fl"feste,"oolll o.o.H.LLLV4..,5Đ2VI.K32 52V926,92L52452 0, 52 1 4 6.3, 546796623, 5 6.62,3, 546 9 3 ., 5 46 62 6 4 , 4 66 6 4 4 69 9 6 4029Hide the active tool windowW Windsurt Teams 568:62U11F-84 spaces...
|
NULL
|
2084265825257859622
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(©) ReportController.phpJiminnybebuecommana.ongC AutomatedReportsCommand.phpc) AutomatedRenorssenccommana.ongueraw.oycyuery.oggM+ README.mdAddLayoutchuitles.onoC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.phpC CreateHeldActivityEvent.phpos sonar-project.properties© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php= test.pyc) AutomatedReoorscalloackoelvce.onvC RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.php(©) AutomatedReportResult.php<> Untitled Diagram.xmlus vetur.config.jsM+ WEBHOOK FILTERING IMPLEMEC AutomatedReport.phpih External Librariesclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. voduv E Scratches and Consoles13411351v _ Database Consoles> LEUvdjiminny@localhostlusaye136privace tuncuion gеtkеportbyla(scring preportla): coLlectiond console liminny@localhostc Di liminny@localhost)111581139фгерогт =фсhі-серогокеробітогулавувамоавeeроrta« HS_local Liminny@localhosd sr yiminny@localhost)d zono_dev Jiminny @localho& PROD1401141142if (Sreport === null) ₫sthis->Loqger->warning(self::L0G_ PREFIX. Report not found for --report-id'.L'reportid' => $reportid);sthis->warn( string: "Report not found: Sreportid");> 40A4 QAireturn collecto;L QAI PRODV L STAGING& console [STAGINGId console_1 STAGING& uranus [STAGING]1451461471148149if (! $report->getStatus)) {$this->logger->warning(self::LOG_PREFIX . ' Report is inactive, processing anyway (manual override)', ['reportId' => SreportId,services(aJ Outputiib jiminny.automated_report_results xv Database1row v5. 0.Tx: Auto y1QE4®V AEUc consoev & jiminny@localhostDid51Wuvid (UUID with time-low and time-high swapped)CT000074-4005-4615-Yt8e-20ar4Senec ho local4SF 1 s 140 msV & PROD« consoleV & STAGINGc console 1 s 251 ms•, DockerW report_1dnameTuesday report - 13 Apr 2026In media tyoepdfparent idCnuLLw statusreasonoay Load_ responseCnuLLW requested_at2026-04-14 11:22:36generated atSnULl>In sent atShuLlI created_at2026-04-14 11:22:36W updated_at2026-04-14 11:22:36A2л> 0hal# Support Daily • in 37 m100%Tue 14 Apr 14:23:55AutomatedReportsCommandTestv= custom.log= laravel.logL SF (iminny@localhostc HS_local fiminny@localhost)& console PROD& console (EU]L console [STAGING0045535545550 556558559566561562563564565566567Tx: Auto vPlayground vSo jiminny vselect * from crm_ layouts cl join playbook layouts pl 1<->1.n: on cl.id = pl.layout id016 A14 V.13 ^where crm_configuration_1d = 1 and pl.playbook_1d = 175:select * from teams:SELECI P.* FRun automaced_reporus rjoin teams t on r.team id = t.idWHERE r.frequency = 'daily'and r.slauusdAND t.status = 'active'AND (r.expires at >= now OR r.expires at IS NULL):select * from automated_report_results where ceport.id IN (18, 33);select * from activity_searches where 1d = 10932:568vselect * from activity_search_filters where activity_search_1d = 10932*select * from automated_reports order by id desc;select * from automated_report_results where report id IN (36, 37)1• :NHide toE"usen questi on"fl"feste,"oolll o.o.H.LLLV4..,5Đ2VI.K32 52V926,92L52452 0, 52 1 4 6.3, 546796623, 5 6.62,3, 546 9 3 ., 5 46 62 6 4 , 4 66 6 4 4 69 9 6 4029Hide the active tool windowW Windsurt Teams 568:62U11F-84 spaces...
|
12536
|
|
12538
|
268
|
30
|
2026-04-14T11:23:55.421640+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165835421_m1.jpg...
|
PhpStorm
|
faVsco.js – console [STAGING]
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-569865424529139339
|
-9177130382251062462
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily • in 37 mA100% CTue 14 Apr 14:23:55•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 881DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12533
|
|
12539
|
269
|
45
|
2026-04-14T11:23:58.336140+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165838336_m2.jpg...
|
PhpStorm
|
faVsco.js – console [STAGING]
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Code changed:
Hide...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.03046875,"top":0.017361112,"width":0.0453125,"height":0.022222223},"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"bounds":{"left":0.07578125,"top":0.017361112,"width":0.14257812,"height":0.022222223},"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.78515625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"bounds":{"left":0.803125,"top":0.017361112,"width":0.09765625,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9007813,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9140625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9273437,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96015626,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9734375,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9867188,"top":0.017361112,"width":0.013281226,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"bounds":{"left":0.5480469,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"bounds":{"left":0.5582031,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"bounds":{"left":0.57109374,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"bounds":{"left":0.58125,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"bounds":{"left":0.5914062,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"bounds":{"left":0.60429686,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"bounds":{"left":0.6171875,"top":0.06458333,"width":0.028515626,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"bounds":{"left":0.6484375,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"bounds":{"left":0.66132814,"top":0.06458333,"width":0.034765624,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"bounds":{"left":0.9515625,"top":0.06458333,"width":0.033203125,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"16","depth":4,"bounds":{"left":0.92890626,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"14","depth":4,"bounds":{"left":0.94257814,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"13","depth":4,"bounds":{"left":0.95625,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.96953124,"top":0.08472222,"width":0.00859375,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.978125,"top":0.08472222,"width":0.008203125,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","depth":4,"value":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
610227527933209649
|
6686649039917069389
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Code changed:
Hide...
|
NULL
|
|
12540
|
268
|
31
|
2026-04-14T11:23:58.723991+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165838723_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily • in 37 mlA100% CTue 14 Apr 14:23:58•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
4972891348285848882
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily • in 37 mlA100% CTue 14 Apr 14:23:58•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12541
|
269
|
46
|
2026-04-14T11:24:01.318449+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165841318_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(©) ReportController.phpJiminnybebuecommana.ongC AutomatedReportsCommand.phpc) AutomatedRenorssenccommana.ongueraw.oycyuery.oggM+ README.mdAddLayoutchuitles.onoC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.phpC CreateHeldActivityEvent.phpos sonar-project.properties© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php= test.pyc)AutomatedReoorscalloackoervce.onC RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.php(©) AutomatedReportResult.php<> Untitled Diagram.xmlus vetur.config.jsM+ WEBHOOK FILTERING IMPLEMEC AutomatedReport.phpih External Librariesclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. voduv E Scratches and Consoles13411351v _ Database Consoles> LEUvdjiminny@localhostlusaye136privace tuncuion gеtkеportbyla(scring preportla): coLlectiond console fiminny@localhostc Di liminny@localhost)111581139фгерогт =фсhі-серогокеробітогулавувамоавeeроrta« HS_local Liminny@localhos1401if (Sreport === null) ₫d sr yiminny@localhost)d zono_dev Jiminny @localho& PROD1141142$this->Logger->warning(self::LOG_PREFIX •" Report not found for --report-id', L'reportid' = $reportidi);sthis->warn( string: "Report not found: Sreportid");> 40A4 QAireturn collecto;L QAI PRODV L STAGING& console [STAGINGId console_1 STAGING& uranus [STAGING]14514614711480149if (! $report->getStatus)) {$this->logger->warning(self::LOG_PREFIX . ' Report is inactive, processing anyway (manual override)', ['reportId' => SreportId,services(aJ Outputiib jiminny.automated_report_results xIx,v DatabaseTrow yTx: Autov1QE4®V AEUc consoev 4iiminny@localhostDid51Wuvid (UUID with time-low and time-high swapped)CT000074-4005-4615-Yt8e-20ar4Senec ho local4SF 1 s 140 msV & PROD« consoleV & STAGING* console 1s 22 ms•, DockerW report_1dnameTuesday report - 13 Apr 2026In media tyoepdfparent idCnuLLw statusreasonoay Load_ responseCnuLLW requested_at2026-04-14 11:22:36generated atSnULl>In sent atShuLlI created_at2026-04-14 11:22:36W updated_at2026-04-14 11:22:36A2лSupport Daily • in 36 m100% (Tue 14 Apr 14:24:01AutomatedReportsCommandTestv= custom.log= laravel.logL SF (iminny@localhostc HS_local fiminny@localhost)& console PROD& console (EU]L console (STAGING X0045535545550 556558559566561562563564565566567568 ÷,5Tx: AutoPlaygroundvSo jiminny vselect * from crm_ layouts cl join playbook layouts pl 1<->1.n: on cl.id = pl.layout id016 A14 X13 ^where crm_configuration_1d = 1 and pl.playbook_1d = 175:select * from teams:SELECI P.* FRun automaced_reporus rjoin teams t on r.team id = t.idWHERE r.frequency = 'daily'and r.slauusdAND t.status = 'active'AND (r.expires at >= now OR r.expires at IS NULL):select * from automated_report_results where cepont.id IN (18, 33);select * from activity_searches where 1d = 10952*select * from activity_search_filters where activity_search_1d = 10932*select * from automated_reports order by id desc;select * from automated_report_results where report id IN (36); 1 s71 msE"usen questi on"fl"feste,"oolll o.o.H.LLLV4..,5Đ2VI.K32 52V926,92L52452 0, 52 1 4 6.3, 546796623, 5 6.62,3, 546 9 3 ., 5 46 62 6 4 , 4 66 6 4 4 69 9 6 4029Unable to resolve table automated_report_results"W Windsurt Teams 568:29 UTF-84 spaces...
|
NULL
|
5609726695182072650
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(©) ReportController.phpJiminnybebuecommana.ongC AutomatedReportsCommand.phpc) AutomatedRenorssenccommana.ongueraw.oycyuery.oggM+ README.mdAddLayoutchuitles.onoC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.phpC CreateHeldActivityEvent.phpos sonar-project.properties© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php= test.pyc)AutomatedReoorscalloackoervce.onC RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.php(©) AutomatedReportResult.php<> Untitled Diagram.xmlus vetur.config.jsM+ WEBHOOK FILTERING IMPLEMEC AutomatedReport.phpih External Librariesclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. voduv E Scratches and Consoles13411351v _ Database Consoles> LEUvdjiminny@localhostlusaye136privace tuncuion gеtkеportbyla(scring preportla): coLlectiond console fiminny@localhostc Di liminny@localhost)111581139фгерогт =фсhі-серогокеробітогулавувамоавeeроrta« HS_local Liminny@localhos1401if (Sreport === null) ₫d sr yiminny@localhost)d zono_dev Jiminny @localho& PROD1141142$this->Logger->warning(self::LOG_PREFIX •" Report not found for --report-id', L'reportid' = $reportidi);sthis->warn( string: "Report not found: Sreportid");> 40A4 QAireturn collecto;L QAI PRODV L STAGING& console [STAGINGId console_1 STAGING& uranus [STAGING]14514614711480149if (! $report->getStatus)) {$this->logger->warning(self::LOG_PREFIX . ' Report is inactive, processing anyway (manual override)', ['reportId' => SreportId,services(aJ Outputiib jiminny.automated_report_results xIx,v DatabaseTrow yTx: Autov1QE4®V AEUc consoev 4iiminny@localhostDid51Wuvid (UUID with time-low and time-high swapped)CT000074-4005-4615-Yt8e-20ar4Senec ho local4SF 1 s 140 msV & PROD« consoleV & STAGING* console 1s 22 ms•, DockerW report_1dnameTuesday report - 13 Apr 2026In media tyoepdfparent idCnuLLw statusreasonoay Load_ responseCnuLLW requested_at2026-04-14 11:22:36generated atSnULl>In sent atShuLlI created_at2026-04-14 11:22:36W updated_at2026-04-14 11:22:36A2лSupport Daily • in 36 m100% (Tue 14 Apr 14:24:01AutomatedReportsCommandTestv= custom.log= laravel.logL SF (iminny@localhostc HS_local fiminny@localhost)& console PROD& console (EU]L console (STAGING X0045535545550 556558559566561562563564565566567568 ÷,5Tx: AutoPlaygroundvSo jiminny vselect * from crm_ layouts cl join playbook layouts pl 1<->1.n: on cl.id = pl.layout id016 A14 X13 ^where crm_configuration_1d = 1 and pl.playbook_1d = 175:select * from teams:SELECI P.* FRun automaced_reporus rjoin teams t on r.team id = t.idWHERE r.frequency = 'daily'and r.slauusdAND t.status = 'active'AND (r.expires at >= now OR r.expires at IS NULL):select * from automated_report_results where cepont.id IN (18, 33);select * from activity_searches where 1d = 10952*select * from activity_search_filters where activity_search_1d = 10932*select * from automated_reports order by id desc;select * from automated_report_results where report id IN (36); 1 s71 msE"usen questi on"fl"feste,"oolll o.o.H.LLLV4..,5Đ2VI.K32 52V926,92L52452 0, 52 1 4 6.3, 546796623, 5 6.62,3, 546 9 3 ., 5 46 62 6 4 , 4 66 6 4 4 69 9 6 4029Unable to resolve table automated_report_results"W Windsurt Teams 568:29 UTF-84 spaces...
|
12539
|
|
12542
|
269
|
47
|
2026-04-14T11:24:10.601179+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165850601_m2.jpg...
|
PhpStorm
|
faVsco.js – console [STAGING]
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Code changed:...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.03046875,"top":0.017361112,"width":0.0453125,"height":0.022222223},"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"bounds":{"left":0.07578125,"top":0.017361112,"width":0.14257812,"height":0.022222223},"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.78515625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"bounds":{"left":0.803125,"top":0.017361112,"width":0.09765625,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9007813,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9140625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9273437,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96015626,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9734375,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9867188,"top":0.017361112,"width":0.013281226,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"bounds":{"left":0.5480469,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"bounds":{"left":0.5582031,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"bounds":{"left":0.57109374,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"bounds":{"left":0.58125,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"bounds":{"left":0.5914062,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"bounds":{"left":0.60429686,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"bounds":{"left":0.6171875,"top":0.06458333,"width":0.028515626,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"bounds":{"left":0.6484375,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"bounds":{"left":0.66132814,"top":0.06458333,"width":0.034765624,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"bounds":{"left":0.9515625,"top":0.06458333,"width":0.033203125,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"16","depth":4,"bounds":{"left":0.92890626,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"14","depth":4,"bounds":{"left":0.94257814,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"13","depth":4,"bounds":{"left":0.95625,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.96953124,"top":0.08472222,"width":0.00859375,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.978125,"top":0.08472222,"width":0.008203125,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","depth":4,"value":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-5111372043796428973
|
6686649039917069389
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Code changed:...
|
NULL
|
|
12543
|
268
|
32
|
2026-04-14T11:24:10.630509+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165850630_m1.jpg...
|
PhpStorm
|
faVsco.js – console [STAGING]
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"16","depth":4,"role_description":"text"},{"role":"AXStaticText","text":"14","depth":4,"role_description":"text"},{"role":"AXStaticText","text":"13","depth":4,"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
1266968734157092466
|
-9159098125250770104
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:10•ec2-user@ip-10-30-93-249:~DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12540
|
|
12544
|
268
|
33
|
2026-04-14T11:24:13.175240+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165853175_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:12•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
4798331530743138430
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:12•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12545
|
269
|
48
|
2026-04-14T11:24:13.197964+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165853197_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorFV PhpStormFileEditViewNavigateCodeLaravelRefactorFV faVsco.js v• #11894 on JY-18909-automated-reports-ask-jiminny ~Project v© ReportController.php= .env.production-euAddLayoutchuitles.ono=.env.qa=.env.qai© TrackProviderInstalledEvent.php—env.rooE.env.stagingC AutomatedReport.php=.gitattributes.gitignore=.php-cs-fixer.cache134php.php-cs-fixer.dist.phpphp.phpstorm.meta.phplusaye=.phpunit.result.cache= prettierignore= wind sunrulesphp_ide_helper.phppnpce neloermoces.onepnp aruisani composer.ison13613711158113914011141142i composer.lockdependency-checker.json0 dev.json= ids.txt= infection.json.distM+ INSTALL.mdM-INIERNAL WE.nOOK S-IUP.mojiminny_storageMvcenses.meM MakefileO package-lock.json= phpstan.neon.distE phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM.README.molsonar-project.properties= test.py‹> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEMEI› iib External LibrariesE® Scratches and Consolesv D Database Consoles> A EU~ & jiminny@localhostA console [jiminny@localhost4 DI [jiminny@localhost]A HS_local [iminny@localhosSF [jiminny@localhost]d zoho_dev [jiminny@localhaCPROD> L QAI4 QAI PRODV A STAGINGA console [STAGING]A console_1 [STAGING]« uranus [STAGING]_Extensions> D Scratches1451461471481491501511521531541551561571581591601611621631641651661671681691701711721741751761771781791801):1):1):ToolsWindowHelp100% |45]Tue 14 Apr 14:24:13JiminnyDeouecommana.ong© AutomatedReportsCommand.phpAutomatedReportsSendCommand.phpC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.php© CreateHeldActivityEvent.phpCreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.phpclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. vosuprivate function getReportById(string $reportid): CollectionSreport = $this->reportRepository->findById0rUvid($reportId);if ($report === null) {scnls->loocer->warhinoselt..Luo FkcrLx.'Report not found for --report-id',['reportid' => $reportIdl);$this->warn( string:"Report not found: {$reportId}");return collect();if (! Sreport->getStatus()) {$this->logger->warning(self::LOG_PREFIX'Report is inactive, processing anyway (manual override)', ['reportId' = SreportId,'reportUuid' => $report->getUuid(),$this->warn( string: 'Report is inactive - processing anyway (manual override).');$team = $report->getTeam();if ($team->getStatus() !== Team: :STATUS_ACTIVE) {$this->logger->warning(self::LOG_PREFIX'Team is not active, processing anyway (manual override)', ['reportId' = SreportId,'reportuuid' = $report->getUvid(),'teamId' => $report->getTeamId(),"teamstatus" => pteam-›getstacuso),$this->warn( string: "Team #[$report->getTeamId()} is not active - processing anyway (manual override).");if ($report-›isExpired)) {$this->logger->warning(self::LOG_PREFIX'Report is expired, processing anyway (manual override)', ['reportId' => $reportId,'reportUvid' = $report->getUvid(),'expiresAt'=> $report->getExpiresAt()?->toDateString(),j Support Daily • in 36 mAAutomatedReportsCommandTestv= custom.log= aravel.loeA SF [jiminny@localhost]A HS_local [jiminny@localhost]A console [PROD]A console (EU]Tx: Auto vPlayground vAl console [STAGING] Xnunus->warn. stino: "Kevort is exptreo lexotres au."• Sreport->getExpiresAt()?-›toDateString() • ') - processing anyl 562$this->info( string: self::LOG_PREFIX . ' Automated report found' • $report->getCustomName());return collect([$report]);Gajiminny v©16 A 14 X 135185195200 521522U,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t 1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':5235245255265220528530531533534select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;seLect * trom playbooks where ceam_1d = 1:select x Trol•avoooks Vnere 10 =1o.seLect * TromoLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select535536537538539540541542# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMAC543544545546547select p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';548549550SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event' ;SELECT * FROM crm_field_values WHERE crm_field_id = 4;551504553select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;554556557558559560select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idNHERE r.frequency = 'dallyand r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):563select * from automated_ report_results where ceRontaid IN (18, 33);564565select * from activity_searches where id = 10932;566select * from activity_search_filters where activity_search_id = 10932;567select * from automated_reports order by id desc;568 vselect * from automated_report_results where report.ig IN (36);569iew pull request (55 minutes ago)W Windsurf Teams568:29UTF-84 spaces...
|
NULL
|
1783502066119812221
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorFV PhpStormFileEditViewNavigateCodeLaravelRefactorFV faVsco.js v• #11894 on JY-18909-automated-reports-ask-jiminny ~Project v© ReportController.php= .env.production-euAddLayoutchuitles.ono=.env.qa=.env.qai© TrackProviderInstalledEvent.php—env.rooE.env.stagingC AutomatedReport.php=.gitattributes.gitignore=.php-cs-fixer.cache134php.php-cs-fixer.dist.phpphp.phpstorm.meta.phplusaye=.phpunit.result.cache= prettierignore= wind sunrulesphp_ide_helper.phppnpce neloermoces.onepnp aruisani composer.ison13613711158113914011141142i composer.lockdependency-checker.json0 dev.json= ids.txt= infection.json.distM+ INSTALL.mdM-INIERNAL WE.nOOK S-IUP.mojiminny_storageMvcenses.meM MakefileO package-lock.json= phpstan.neon.distE phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM.README.molsonar-project.properties= test.py‹> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEMEI› iib External LibrariesE® Scratches and Consolesv D Database Consoles> A EU~ & jiminny@localhostA console [jiminny@localhost4 DI [jiminny@localhost]A HS_local [iminny@localhosSF [jiminny@localhost]d zoho_dev [jiminny@localhaCPROD> L QAI4 QAI PRODV A STAGINGA console [STAGING]A console_1 [STAGING]« uranus [STAGING]_Extensions> D Scratches1451461471481491501511521531541551561571581591601611621631641651661671681691701711721741751761771781791801):1):1):ToolsWindowHelp100% |45]Tue 14 Apr 14:24:13JiminnyDeouecommana.ong© AutomatedReportsCommand.phpAutomatedReportsSendCommand.phpC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.php© CreateHeldActivityEvent.phpCreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.phpclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. vosuprivate function getReportById(string $reportid): CollectionSreport = $this->reportRepository->findById0rUvid($reportId);if ($report === null) {scnls->loocer->warhinoselt..Luo FkcrLx.'Report not found for --report-id',['reportid' => $reportIdl);$this->warn( string:"Report not found: {$reportId}");return collect();if (! Sreport->getStatus()) {$this->logger->warning(self::LOG_PREFIX'Report is inactive, processing anyway (manual override)', ['reportId' = SreportId,'reportUuid' => $report->getUuid(),$this->warn( string: 'Report is inactive - processing anyway (manual override).');$team = $report->getTeam();if ($team->getStatus() !== Team: :STATUS_ACTIVE) {$this->logger->warning(self::LOG_PREFIX'Team is not active, processing anyway (manual override)', ['reportId' = SreportId,'reportuuid' = $report->getUvid(),'teamId' => $report->getTeamId(),"teamstatus" => pteam-›getstacuso),$this->warn( string: "Team #[$report->getTeamId()} is not active - processing anyway (manual override).");if ($report-›isExpired)) {$this->logger->warning(self::LOG_PREFIX'Report is expired, processing anyway (manual override)', ['reportId' => $reportId,'reportUvid' = $report->getUvid(),'expiresAt'=> $report->getExpiresAt()?->toDateString(),j Support Daily • in 36 mAAutomatedReportsCommandTestv= custom.log= aravel.loeA SF [jiminny@localhost]A HS_local [jiminny@localhost]A console [PROD]A console (EU]Tx: Auto vPlayground vAl console [STAGING] Xnunus->warn. stino: "Kevort is exptreo lexotres au."• Sreport->getExpiresAt()?-›toDateString() • ') - processing anyl 562$this->info( string: self::LOG_PREFIX . ' Automated report found' • $report->getCustomName());return collect([$report]);Gajiminny v©16 A 14 X 135185195200 521522U,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t 1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':5235245255265220528530531533534select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;seLect * trom playbooks where ceam_1d = 1:select x Trol•avoooks Vnere 10 =1o.seLect * TromoLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select535536537538539540541542# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMAC543544545546547select p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';548549550SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event' ;SELECT * FROM crm_field_values WHERE crm_field_id = 4;551504553select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;554556557558559560select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idNHERE r.frequency = 'dallyand r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):563select * from automated_ report_results where ceRontaid IN (18, 33);564565select * from activity_searches where id = 10932;566select * from activity_search_filters where activity_search_id = 10932;567select * from automated_reports order by id desc;568 vselect * from automated_report_results where report.ig IN (36);569iew pull request (55 minutes ago)W Windsurf Teams568:29UTF-84 spaces...
|
12542
|
|
12546
|
269
|
49
|
2026-04-14T11:24:17.603279+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165857603_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorFV PhpStormFileEditViewNavigateCodeLaravelRefactorFV faVsco.js v• #11894 on JY-18909-automated-reports-ask-jiminny ~Project v© ReportController.php= .env.production-euAddLayoutchuitles.ono=.env.qa=.env.qai© TrackProviderInstalledEvent.php—env.rooE.env.stagingC AutomatedReport.php=.gitattributes.gitignore=.php-cs-fixer.cache134php.php-cs-fixer.dist.phpphp.phpstorm.meta.phplusaye=.phpunit.result.cache= prettierignore= wind sunrulesphp_ide_helper.phppnpce neloermoces.onepnp aruisani composer.ison13613711158113914011141142i composer.lockdependency-checker.json0 dev.json= ids.txt=infection.json.distM+ INSTALL.mdM-INIERNAL WE.rOOK S-UP.mojiminny_storageM-censes.moM MakefileO package-lock.json= phpstan.neon.distE phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM.README.molsonar-project.properties= test.py‹> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEMEI› iib External LibrariesE® Scratches and Consolesv D Database Consoles> A EU~ & jiminny@localhostA console [jiminny@localhost4 DI [jiminny@localhost]A HS_local [iminny@localhosSF [jiminny@localhost]d zoho_dev [jiminny@localha7CPROD> L QAI4 QAI PRODV A STAGINGA console [STAGING]A console_1 [STAGING]« uranus [STAGING]_Extensions> D Scratches1451461471481491501511521531541551561571581591601611621631641651661671681691701711721741751761771781791801):1):1):ToolsWindowHelp100% |45]Tue 14 Apr 14:24:17JiminnyDeouecommana.ong© AutomatedReportsCommand.phpAutomatedReportsSendCommand.phpC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.php© CreateHeldActivityEvent.phpCreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.phpclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. vosuprivate function getReportById(string $reportid): CollectionSreport = $this->reportRepository->findById0rUvid($reportId);if ($report === null) {scnls->loocer->warhinoselt..Luo FkcrLx.'Report not found for --report-id',['reportid' => $reportIdl);$this->warn( string:"Report not found: {$reportId}");return collect();if (! Sreport->getStatus()) {$this->logger->warning(self::LOG_PREFIX'Report is inactive, processing anyway (manual override)', ['reportId' = SreportId,'reportUuid' => $report->getUuid(),$this->warn( string: 'Report is inactive - processing anyway (manual override).');$team = $report->getTeam();if ($team->getStatus() !== Team: :STATUS_ACTIVE) {$this->logger->warning(self::LOG_PREFIX'Team is not active, processing anyway (manual override)', ['reportId' = SreportId,'reportuuid' = $report->getUvid(),'teamId' => $report->getTeamId(),"teamstatus" => pteam-›getstacust).$this->warn( string: "Team #[$report->getTeamId()} is not active - processing anyway (manual override).");if ($report-›isExpired)) {$this->logger->warning(self::LOG_PREFIX'Report is expired, processing anyway (manual override)', ['reportId' => $reportId,'reportUvid' = $report->getUvid(),'expiresAt'=> $report->getExpiresAt()?->toDateString(),j Support Daily • in 36 mAAutomatedReportsCommandTestv= custom.log= aravel.loeA SF [jiminny@localhost]A HS_local [jiminny@localhost]A console [PROD]A console (EU]Tx: Auto vPlayground vAl console [STAGING] >nunus->warn. stino: "Kevort is exptreo lexotres au."• Sreport->getExpiresAt()?-›toDateString() • ') - processing anyl 562$this->info( string: self::LOG_PREFIX . ' Automated report found' • $report->getCustomName());return collect([$report]);5185195200 5215225235245255265220528530531533534535536537538539540541542543544545546547548549550551504553554556557558559560563564565566567568 v569570Gajiminny v016 A14 V.13 ^U,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t 1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;seLect * trom playbooks where ceam_1d = 1:select x Trol•avoooks Vnere 10 =1o.seLect * TromoLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;*tI to Cascade, aI to Comselect * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where report_id IN (36);iew pull request (55 minutes ago)W Windsurf Teams570:1UTF-84 spaces...
|
NULL
|
-858220103246406189
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorFV PhpStormFileEditViewNavigateCodeLaravelRefactorFV faVsco.js v• #11894 on JY-18909-automated-reports-ask-jiminny ~Project v© ReportController.php= .env.production-euAddLayoutchuitles.ono=.env.qa=.env.qai© TrackProviderInstalledEvent.php—env.rooE.env.stagingC AutomatedReport.php=.gitattributes.gitignore=.php-cs-fixer.cache134php.php-cs-fixer.dist.phpphp.phpstorm.meta.phplusaye=.phpunit.result.cache= prettierignore= wind sunrulesphp_ide_helper.phppnpce neloermoces.onepnp aruisani composer.ison13613711158113914011141142i composer.lockdependency-checker.json0 dev.json= ids.txt=infection.json.distM+ INSTALL.mdM-INIERNAL WE.rOOK S-UP.mojiminny_storageM-censes.moM MakefileO package-lock.json= phpstan.neon.distE phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM.README.molsonar-project.properties= test.py‹> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEMEI› iib External LibrariesE® Scratches and Consolesv D Database Consoles> A EU~ & jiminny@localhostA console [jiminny@localhost4 DI [jiminny@localhost]A HS_local [iminny@localhosSF [jiminny@localhost]d zoho_dev [jiminny@localha7CPROD> L QAI4 QAI PRODV A STAGINGA console [STAGING]A console_1 [STAGING]« uranus [STAGING]_Extensions> D Scratches1451461471481491501511521531541551561571581591601611621631641651661671681691701711721741751761771781791801):1):1):ToolsWindowHelp100% |45]Tue 14 Apr 14:24:17JiminnyDeouecommana.ong© AutomatedReportsCommand.phpAutomatedReportsSendCommand.phpC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.php© CreateHeldActivityEvent.phpCreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.phpclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. vosuprivate function getReportById(string $reportid): CollectionSreport = $this->reportRepository->findById0rUvid($reportId);if ($report === null) {scnls->loocer->warhinoselt..Luo FkcrLx.'Report not found for --report-id',['reportid' => $reportIdl);$this->warn( string:"Report not found: {$reportId}");return collect();if (! Sreport->getStatus()) {$this->logger->warning(self::LOG_PREFIX'Report is inactive, processing anyway (manual override)', ['reportId' = SreportId,'reportUuid' => $report->getUuid(),$this->warn( string: 'Report is inactive - processing anyway (manual override).');$team = $report->getTeam();if ($team->getStatus() !== Team: :STATUS_ACTIVE) {$this->logger->warning(self::LOG_PREFIX'Team is not active, processing anyway (manual override)', ['reportId' = SreportId,'reportuuid' = $report->getUvid(),'teamId' => $report->getTeamId(),"teamstatus" => pteam-›getstacust).$this->warn( string: "Team #[$report->getTeamId()} is not active - processing anyway (manual override).");if ($report-›isExpired)) {$this->logger->warning(self::LOG_PREFIX'Report is expired, processing anyway (manual override)', ['reportId' => $reportId,'reportUvid' = $report->getUvid(),'expiresAt'=> $report->getExpiresAt()?->toDateString(),j Support Daily • in 36 mAAutomatedReportsCommandTestv= custom.log= aravel.loeA SF [jiminny@localhost]A HS_local [jiminny@localhost]A console [PROD]A console (EU]Tx: Auto vPlayground vAl console [STAGING] >nunus->warn. stino: "Kevort is exptreo lexotres au."• Sreport->getExpiresAt()?-›toDateString() • ') - processing anyl 562$this->info( string: self::LOG_PREFIX . ' Automated report found' • $report->getCustomName());return collect([$report]);5185195200 5215225235245255265220528530531533534535536537538539540541542543544545546547548549550551504553554556557558559560563564565566567568 v569570Gajiminny v016 A14 V.13 ^U,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t 1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;seLect * trom playbooks where ceam_1d = 1:select x Trol•avoooks Vnere 10 =1o.seLect * TromoLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;*tI to Cascade, aI to Comselect * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where report_id IN (36);iew pull request (55 minutes ago)W Windsurf Teams570:1UTF-84 spaces...
|
NULL
|
|
12547
|
268
|
34
|
2026-04-14T11:24:17.587907+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165857587_m1.jpg...
|
PhpStorm
|
faVsco.js – console [STAGING]
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"role_description":"button","is_enabled":true,"is_focused":false}]...
|
5394732587608764655
|
-9213158904392119484
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:17•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"'}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12544
|
|
12548
|
269
|
50
|
2026-04-14T11:24:19.816678+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165859816_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v• #11894 on JY-18909-automated-reports-ask-jiminny ~Project v• ReportController.phpJiminnybeouecommana.ong= custom.log= laravel.logA SF [jiminny@localhost]= .env.production-euAutomareakeporscommand.ongxC AutomatedReportsSendCommand.php4 HS_local [jiminny@localhost]console PROD< console LUiconsole slAGing=.env.qa© Team.php© AutomatedReportsRepository.phpIx: AUtO VHaycroundv=.env.qaiSa jiminny ~—env.roo© CreateHeldActivityEvent.php016 A14 X13 A VE.env.stagingC CreateActivityLoggedEvent.php518sa.*,T.owner 1o rkur social accounus sa=.gitattributes(C) User?llorActvtvuistener.ono.gitignore© ActivityLogged.phpJulr users u on unio - sarsoclaote 7o=.php-cs-fixer.cache© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.phpJuir reals t1..n<->1: on t.id = u.team idphp.php-cs-fixer.dist.php(©) RequestGenerateReportJob.php(C) AutomatedReportResult.php523WHERE U. team_id = 1 and sa.provider = 'salesforce':php.phpstorm.meta.php=.phpunit.result.cache© AutomatedReport.php524select * from teams where id = 1;= prettierignoreclass AutomatedReportsCommandA2 A525select * from groups g JOIN playbooks p 1.n<->1: on g.playbook_id = p.id wprivate tunccion processkeportsistring errequency,.select * from groups where id = 565;= wino sunrules134php_ide_helper.phppnpce neloermoces.one135527select * from playbooks where team_id = 1;528select * from playbooks where id = 175;529select * from playbook_categories where playbook_id = 175;pnp aruisan136private function getReportById(string $reportId): Collection530i composer.ison137select * from users where team_id = 1;0 composer.lock531select x TroIusers where id = 7160;138$report = $this->reportRepository->findById0rUuid($reportId);select * from crm_profiles where user_id = 7160;dependency-checker.json139053select * from features;0 dev.json140if ($report === null) {534= ids.txtseueuu141=infection.json.dist142$this->logger->warning(self::LOG_PREFIX . ' Report not fou535$this->warn( string: "Report not found: {$reportId}");M+ INSTALL.mdM-INIERNAL WE.nOOK S-IUP.mo143# id, uvid, type, provider, playbook_category_id, user_id,lead_id, contac144return collect();537# crm_configuration_id, crm_provider_id, transcription_id, statusjiminny_storage145538from activities where crm_configuration_id = 1 and type = 'conference'Mvcenses.me146539M Makefile540# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULL147if (! $report->getStatus()) {541O package-lock.jsonORDER by id desc;148$this->logger->warning(self::LOG_PREFIX'Report is inac542select * from activities where id = 54747783; # 00U0400000pCzojMAC= phpstan.neon.dist149'reportId' => $reportId,543E phpstan-baseline.neon150'reportUvid' = $report->getUvid(),544select p.id, p.activity_type, pc.id, pc.name<phpunit.xml1511);545FROM playbooks pTe raw_sql_query.sql152M.README.mol$this->warn( string: 'Report is inactive - processing anyway 546join playbook_categories pc 1<->1.n: on p.id = pc.playbook_id153547where p.team_id = 1 and p.activity_type = 'event';sonar-project.properties154= test.py155$team = $report->getTeam();548<> Untitled Diagram.xml156if ($team->getStatus() !== Team: :STATUS_ACTIVE) {549SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type =550SELECT * FROM crm_field_values WHERE crm_field_id = 4;T vetur.config.js157$this->Logger->warning(self::LOG_PREFIX• Team is not ac 551M+ WEBHOOK_FILTERING_IMPLEMEI158'reportId' => $reportId,elect * tron cen lavours cl oin avoook LavoUis 0l1<->1.n: on cl.id =› iib External Libraries159'reportUuid' => $report->getUvid(),where crm_configuration_id = 1 and pl.playbook_id = 175;E® Scratches and Consoles160'teamId' => $report->getTeamId(),554v D Database Consoles161=> $team->getStatus(),555select * from teams;> A EU162I);SELECT r.* FROM automated_reports r~ & jiminny@localhost163$this-›warn ( string: "Team #($report->getTeamId()} is not ac' 557A console [jiminny@localhost164join teams t on r.team.id = t.id4 DI [jiminny@localhost]165WHERE r. freguency = 'daily'A HS_local [iminny@localhos166and r.status = 1if ($report->isExpired)) {560AND + status = lactive!SF [jiminny@localhost]167$this->logger->warning(self::LOG_PREFIX• Report is expis61d zoho_dev [jiminny@localha'reportid' => Sreportid,5647CPROD168AND (r.expires.at >= now() OR r.expires.at IS NULL);169'reportUvid' => $report->getUvid(),563select * from automated_report_results where repontaid IN (18, 33);170'expiresAt'=> $report->getExpiresAt()?->toDateString(564Á QAI1711):565select * fromactivity_searches where id = 10932;4 QAI PROD172$this->warn( string: 'Report is expired (expires_at:.Srel566select * fromactivity_search_filters where activity_search_id = 10932;V A STAGING173567select * fromA console [STAGING]174568 vautomated_reports order by id desc;A console_1 [STAGING]175select * from automated_report_results where cepontoid IN (36);$this->info( string: self::LOG_PREFIX . ' Automated report found 569« uranus [STAGING]176570select * from activity_searches where id = 10932;SPT to CascaddExtensions> D Scratches177recurn colteccllereportsselect * from activity_search_f1lters where activity_search_1d = 10952:select * from automated_reports order by 1d desc:ny // View pull request (55 minutes ago)CascadeNew Cascadeliblj Support Daily • in 36 mAAutomatedReportsCommandTestv100% CS8Tue 14 Apr 14:24:19+D ...WCascade Code (*•.Kick off a new project. Make changesacross your entire codeoase© Fix Automated Reports Command Test, Fixing Ask Jiminny Report Activity Count© Automated Report Manual TriggerAsk anything (24-L)+ <>CodeClaude Sonnet 4.6W Windsurf Teams570:1UTF-84 spaces...
|
NULL
|
-5470534737253330037
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v• #11894 on JY-18909-automated-reports-ask-jiminny ~Project v• ReportController.phpJiminnybeouecommana.ong= custom.log= laravel.logA SF [jiminny@localhost]= .env.production-euAutomareakeporscommand.ongxC AutomatedReportsSendCommand.php4 HS_local [jiminny@localhost]console PROD< console LUiconsole slAGing=.env.qa© Team.php© AutomatedReportsRepository.phpIx: AUtO VHaycroundv=.env.qaiSa jiminny ~—env.roo© CreateHeldActivityEvent.php016 A14 X13 A VE.env.stagingC CreateActivityLoggedEvent.php518sa.*,T.owner 1o rkur social accounus sa=.gitattributes(C) User?llorActvtvuistener.ono.gitignore© ActivityLogged.phpJulr users u on unio - sarsoclaote 7o=.php-cs-fixer.cache© AutomatedReportsCallbackService.php© RequestGenerateAskJiminnyReportJob.phpJuir reals t1..n<->1: on t.id = u.team idphp.php-cs-fixer.dist.php(©) RequestGenerateReportJob.php(C) AutomatedReportResult.php523WHERE U. team_id = 1 and sa.provider = 'salesforce':php.phpstorm.meta.php=.phpunit.result.cache© AutomatedReport.php524select * from teams where id = 1;= prettierignoreclass AutomatedReportsCommandA2 A525select * from groups g JOIN playbooks p 1.n<->1: on g.playbook_id = p.id wprivate tunccion processkeportsistring errequency,.select * from groups where id = 565;= wino sunrules134php_ide_helper.phppnpce neloermoces.one135527select * from playbooks where team_id = 1;528select * from playbooks where id = 175;529select * from playbook_categories where playbook_id = 175;pnp aruisan136private function getReportById(string $reportId): Collection530i composer.ison137select * from users where team_id = 1;0 composer.lock531select x TroIusers where id = 7160;138$report = $this->reportRepository->findById0rUuid($reportId);select * from crm_profiles where user_id = 7160;dependency-checker.json139053select * from features;0 dev.json140if ($report === null) {534= ids.txtseueuu141=infection.json.dist142$this->logger->warning(self::LOG_PREFIX . ' Report not fou535$this->warn( string: "Report not found: {$reportId}");M+ INSTALL.mdM-INIERNAL WE.nOOK S-IUP.mo143# id, uvid, type, provider, playbook_category_id, user_id,lead_id, contac144return collect();537# crm_configuration_id, crm_provider_id, transcription_id, statusjiminny_storage145538from activities where crm_configuration_id = 1 and type = 'conference'Mvcenses.me146539M Makefile540# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULL147if (! $report->getStatus()) {541O package-lock.jsonORDER by id desc;148$this->logger->warning(self::LOG_PREFIX'Report is inac542select * from activities where id = 54747783; # 00U0400000pCzojMAC= phpstan.neon.dist149'reportId' => $reportId,543E phpstan-baseline.neon150'reportUvid' = $report->getUvid(),544select p.id, p.activity_type, pc.id, pc.name<phpunit.xml1511);545FROM playbooks pTe raw_sql_query.sql152M.README.mol$this->warn( string: 'Report is inactive - processing anyway 546join playbook_categories pc 1<->1.n: on p.id = pc.playbook_id153547where p.team_id = 1 and p.activity_type = 'event';sonar-project.properties154= test.py155$team = $report->getTeam();548<> Untitled Diagram.xml156if ($team->getStatus() !== Team: :STATUS_ACTIVE) {549SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type =550SELECT * FROM crm_field_values WHERE crm_field_id = 4;T vetur.config.js157$this->Logger->warning(self::LOG_PREFIX• Team is not ac 551M+ WEBHOOK_FILTERING_IMPLEMEI158'reportId' => $reportId,elect * tron cen lavours cl oin avoook LavoUis 0l1<->1.n: on cl.id =› iib External Libraries159'reportUuid' => $report->getUvid(),where crm_configuration_id = 1 and pl.playbook_id = 175;E® Scratches and Consoles160'teamId' => $report->getTeamId(),554v D Database Consoles161=> $team->getStatus(),555select * from teams;> A EU162I);SELECT r.* FROM automated_reports r~ & jiminny@localhost163$this-›warn ( string: "Team #($report->getTeamId()} is not ac' 557A console [jiminny@localhost164join teams t on r.team.id = t.id4 DI [jiminny@localhost]165WHERE r. freguency = 'daily'A HS_local [iminny@localhos166and r.status = 1if ($report->isExpired)) {560AND + status = lactive!SF [jiminny@localhost]167$this->logger->warning(self::LOG_PREFIX• Report is expis61d zoho_dev [jiminny@localha'reportid' => Sreportid,5647CPROD168AND (r.expires.at >= now() OR r.expires.at IS NULL);169'reportUvid' => $report->getUvid(),563select * from automated_report_results where repontaid IN (18, 33);170'expiresAt'=> $report->getExpiresAt()?->toDateString(564Á QAI1711):565select * fromactivity_searches where id = 10932;4 QAI PROD172$this->warn( string: 'Report is expired (expires_at:.Srel566select * fromactivity_search_filters where activity_search_id = 10932;V A STAGING173567select * fromA console [STAGING]174568 vautomated_reports order by id desc;A console_1 [STAGING]175select * from automated_report_results where cepontoid IN (36);$this->info( string: self::LOG_PREFIX . ' Automated report found 569« uranus [STAGING]176570select * from activity_searches where id = 10932;SPT to CascaddExtensions> D Scratches177recurn colteccllereportsselect * from activity_search_f1lters where activity_search_1d = 10952:select * from automated_reports order by 1d desc:ny // View pull request (55 minutes ago)CascadeNew Cascadeliblj Support Daily • in 36 mAAutomatedReportsCommandTestv100% CS8Tue 14 Apr 14:24:19+D ...WCascade Code (*•.Kick off a new project. Make changesacross your entire codeoase© Fix Automated Reports Command Test, Fixing Ask Jiminny Report Activity Count© Automated Report Manual TriggerAsk anything (24-L)+ <>CodeClaude Sonnet 4.6W Windsurf Teams570:1UTF-84 spaces...
|
12546
|
|
12549
|
269
|
51
|
2026-04-14T11:24:22.845098+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165862845_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v• #11894 on JY-18909-automated-reports-ask-jiminny ~Project v© ReportController.phpJiminnybebuecommana.ong© AutomatedReportsCommand.phpAutomatedReportsSendCommand.php= .env.production-euAddLayoutchuitles.onoC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.php© CreateHeldActivityEvent.php=.env.qa© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php= .env.qai—env.roo© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.phpE.env.stagingC AutomatedReport.php=.gitattributes.gitignoreclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. vosu=.php-cs-fixer.cache134php.php-cs-fixer.dist.phpphp.phpstorm.meta.phplusaye=.phpunit.result.cache= prettierignore= wind sunrulesphp_ide_helper.phppnpce neloermoces.onepnp aruisani composer.ison1361371115811391461141142private function getReportById(string $reportid): CollectionSreport = $this->reportRepository->findById0rUvid($reportId);if ($report === null) {scnls->loocer->warhinoselt..Luo FkcrLx.'Report not found for --report-id',['reportid' => $reportIdl);$this->warn( string:"Report not found: {$reportId}");i composer.lockdependency-checker.jsonreturn collect();0 dev.json=ids.txt= infection.json.distM+ INSTALL.mdM-INIERNAL WE.rOOK S-UP.moEjiminny_storageM-censes.moM MakefileO package-lock.json= phpstan.neon.distE phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM.README.molsonar-project.properties= test.py‹> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEMEI› iib External LibrariesE® Scratches and Consolesv D Database Consoles> A EU~ & jiminny@localhostA console [jiminny@localhost4 DI [jiminny@localhost]A HS_local [iminny@localhosSF [jiminny@localhost]d zoho_dev [jiminny@localha7CPROD> L QAI4 QAI PRODV A STAGINGA console [STAGING]A console_1 [STAGING]« uranus [STAGING]_Extensions> D Scratches1451461471481491501511521531541551561571581591601611O 4163164165166167168169170171172174175176177178179180if (! Sreport->getStatus()) {$this->logger->warning(self::LOG_PREFIX'Report is inactive, processing anyway (manual override)', ['reportId' = SreportId,'reportUuid' => $report->getUuid(),1):$this->warn( string: 'Report is inactive - processing anyway (manual override).');$team = $report->getTeam();if ($team->getStatus() !== Team: :STATUS_ACTIVE) {$this->logger->warning(self::LOG_PREFIX'Team is not active, processing anyway (manual override)', ['reportId' = SreportId,'reportuuid' = $report->getUvid(),'teamId' => $report->getTeamId(),"teamstatus" => pteam-›getstacust).1):$this->warn( string: "Team #[$report->getTeamId()} is not active - processing anyway (manual override).");if ($report-›isExpired)) {$this->logger->warning(self::LOG_PREFIX'Report is expired, processing anyway (manual override)', ['reportId' => $reportId,'reportUvid' = $report->getUvid(),'expiresAt'=> $report->getExpiresAt()?->toDateString(),1):nunus->warn. stino: "Kevort is exptreo lexotres au."• Sreport->getExpiresAt()?-›toDateString() • ') - processing anyl 562$this->info( string: self::LOG_PREFIX . ' Automated report found' • $report->getCustomName());return collect([$report]);5185195200 5215225235245255265220528530531533534535536537538539540541542543544545546547548549550551504553554556557558559560563564565566567568 v569570100% |45]Tue 14 Apr 14:24:22j Support Daily • in 36 mAAutomatedReportsCommandTestv= custom.log= aravel.loeA SF [jiminny@localhost]A HS_local [jiminny@localhost]A console [PROD]A console (EU]Tx: Auto vPlayground vAl console [STAGING] XGajiminny v©16 A 14 X 13U,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t 1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;seLect * trom playbooks where ceam_1d = 1:select x Trol•avoooks Vnere 10 =1o.seLect * TromoLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;*tI to Cascade, aI to Comselect * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where report_id IN (36);iew pull request (55 minutes ago)W Windsurf Teams570:1UTF-84 spaces...
|
NULL
|
-6641450970754548707
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFV faVsco.js v• #11894 on JY-18909-automated-reports-ask-jiminny ~Project v© ReportController.phpJiminnybebuecommana.ong© AutomatedReportsCommand.phpAutomatedReportsSendCommand.php= .env.production-euAddLayoutchuitles.onoC Team.phpC AutomatedReportsRepository.phpC) AutomatedReportsService.php© CreateHeldActivityEvent.php=.env.qa© TrackProviderInstalledEvent.php© CreateActivityLoggedEvent.php© UserPilotActivityListener.php© ActivityLogged.php= .env.qai—env.roo© RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.phpE.env.stagingC AutomatedReport.php=.gitattributes.gitignoreclass Auronaredreoorysconnano excenos conmanoMrevale tunccron drocessnesortsistane erteuuency. vosu=.php-cs-fixer.cache134php.php-cs-fixer.dist.phpphp.phpstorm.meta.phplusaye=.phpunit.result.cache= prettierignore= wind sunrulesphp_ide_helper.phppnpce neloermoces.onepnp aruisani composer.ison1361371115811391461141142private function getReportById(string $reportid): CollectionSreport = $this->reportRepository->findById0rUvid($reportId);if ($report === null) {scnls->loocer->warhinoselt..Luo FkcrLx.'Report not found for --report-id',['reportid' => $reportIdl);$this->warn( string:"Report not found: {$reportId}");i composer.lockdependency-checker.jsonreturn collect();0 dev.json=ids.txt= infection.json.distM+ INSTALL.mdM-INIERNAL WE.rOOK S-UP.moEjiminny_storageM-censes.moM MakefileO package-lock.json= phpstan.neon.distE phpstan-baseline.neon<phpunit.xmlTe raw_sql_query.sqlM.README.molsonar-project.properties= test.py‹> Untitled Diagram.xmlIs vetur.config.jsM+ WEBHOOK_FILTERING_IMPLEMEI› iib External LibrariesE® Scratches and Consolesv D Database Consoles> A EU~ & jiminny@localhostA console [jiminny@localhost4 DI [jiminny@localhost]A HS_local [iminny@localhosSF [jiminny@localhost]d zoho_dev [jiminny@localha7CPROD> L QAI4 QAI PRODV A STAGINGA console [STAGING]A console_1 [STAGING]« uranus [STAGING]_Extensions> D Scratches1451461471481491501511521531541551561571581591601611O 4163164165166167168169170171172174175176177178179180if (! Sreport->getStatus()) {$this->logger->warning(self::LOG_PREFIX'Report is inactive, processing anyway (manual override)', ['reportId' = SreportId,'reportUuid' => $report->getUuid(),1):$this->warn( string: 'Report is inactive - processing anyway (manual override).');$team = $report->getTeam();if ($team->getStatus() !== Team: :STATUS_ACTIVE) {$this->logger->warning(self::LOG_PREFIX'Team is not active, processing anyway (manual override)', ['reportId' = SreportId,'reportuuid' = $report->getUvid(),'teamId' => $report->getTeamId(),"teamstatus" => pteam-›getstacust).1):$this->warn( string: "Team #[$report->getTeamId()} is not active - processing anyway (manual override).");if ($report-›isExpired)) {$this->logger->warning(self::LOG_PREFIX'Report is expired, processing anyway (manual override)', ['reportId' => $reportId,'reportUvid' = $report->getUvid(),'expiresAt'=> $report->getExpiresAt()?->toDateString(),1):nunus->warn. stino: "Kevort is exptreo lexotres au."• Sreport->getExpiresAt()?-›toDateString() • ') - processing anyl 562$this->info( string: self::LOG_PREFIX . ' Automated report found' • $report->getCustomName());return collect([$report]);5185195200 5215225235245255265220528530531533534535536537538539540541542543544545546547548549550551504553554556557558559560563564565566567568 v569570100% |45]Tue 14 Apr 14:24:22j Support Daily • in 36 mAAutomatedReportsCommandTestv= custom.log= aravel.loeA SF [jiminny@localhost]A HS_local [jiminny@localhost]A console [PROD]A console (EU]Tx: Auto vPlayground vAl console [STAGING] XGajiminny v©16 A 14 X 13U,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t 1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;seLect * trom playbooks where ceam_1d = 1:select x Trol•avoooks Vnere 10 =1o.seLect * TromoLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;*tI to Cascade, aI to Comselect * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where report_id IN (36);iew pull request (55 minutes ago)W Windsurf Teams570:1UTF-84 spaces...
|
NULL
|
|
12550
|
268
|
35
|
2026-04-14T11:24:24.646048+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165864646_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:24•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...-*8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
4514146646392565558
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:24•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...-*8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12551
|
268
|
36
|
2026-04-14T11:24:26.443818+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165866443_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 36 mA100% CTue 14 Apr 14:24:26ec2-user@ip-10-30-93-249:~L₴81DOCKER© 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
3571737473227383328
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 36 mA100% CTue 14 Apr 14:24:26ec2-user@ip-10-30-93-249:~L₴81DOCKER© 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12550
|
|
12552
|
269
|
52
|
2026-04-14T11:24:26.459633+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165866459_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRefactonToo PhpStormFileFditViewNavigateCodeLaravelRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project v=.env.production-eu=.env.qaE env.dailE env.rootE.env.staging=.gitattributes.gitignore=.php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignore= wino sunrulespnp_Ide_helper.phppnpce neloermoces.onepnp aruisani composer.isoni composer.lockI dependency-checker.ison" dev.json= ids.txt= infection.json.distM+INSIALL.mdM-INIERNAL WE.nOOK S-IUP.moE jiminny_storageMvcenses.meM MakefileU package-lock.ison= phostan.neon.dist=phostan-baseline.neon<» phpunit.xmlleraw_sql_query.sqlM.README.molsonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.confia.isM+ WEBHOOK FILTERING IMPLEME› iib External Libraries=Scratches and Consolesv _ Database Consoles> LEUvd iminny@localhostd console liminny@localhost« DI Liminny@localhost]d Hs_local Jiminny@localhosd sr yiminny@localhost)« zoho dev lminnva ocalho7CPROD> LQAL QAI PRODV L STAGINGd console STAGINGd console_1 STAGINGd uranus STAGING_ExtensionsMScratches(©) ReportController.php XAutomateakeponscommana.ongcAutomatedRenorissenocommana.ono©) AddLayoutEntities.phpC) Team.php© AutomatedReportsRepository.phoAulomaleakeporisservice.onp© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php© CreateActivityLoggedevent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeport.onpclass AutomatedReportsCommand extends Command1105private function processReports(string $frequency): void13411351136privace tuncuion gеtkеportbyla(scring preportla): coLlection115/138nrevort = .uhis->reoortrerostcorv->t.nobvlouruulooreoortlou.1391140if (Sreport === null) 11141sthis->Loqger->warningself::LOG_PREFIX.'' Report not found for --report-id', l'reportid => Sreportido:142sthis->warn( string: "Report not found: "Sreportid"):1451461148114915111521531541551561571581591601O11162163116411651661671681691701/1172return collecto;if (! $report->getStatus)) {puhis->logger->warninglselt::Loo_PREFLX•' Report is inactive, processing anyway (manual override)', ["reporcia" = sreporcia,'reportluid' => Sreport-›getUuido.I):sthis->warn( string: 'Report is inactive - processing anyway (manual override).':steam = sreport->getteam*if ($team->getStatus() !== Team::STATUS_ACTIVE) {sthis->Logger->warning(self::LOG_PREFIX• Team 1s not active, processing anyway (manual override)', L"reporcld → sreporuld,reporcuuld = фeроги-geсuula."teamid" = report-›gecleanta),'teamStatus' => Steam-›gerscacus.1):$this->warn( string: "Team #{$report->getTeamIdO} is not active - processing anyway (manual override)."):if (Sreport->isExpiredO) {$this->logger->warning(self::LOG_PREFIX. ' Report is expired, processing anyway (manual override)'. ['reportid => Sreportid,'reportuuld'= Sreport->getuuid)'explresAt" = sreport->geutxplresat()?->couatestringo,J9H$this->warn( string: 'Report is expired (expires_at: ' . Sreport->getExpiresAtO?->toDateString . ') - processing anyw561117411751176117717817911801$this->info( string: self::LOG_PREFIX • ' Automated report found" • $report->getCustomName);return collect Sreporto:Support Daily • in 36 m100% |45]Tue 14 Apr 14:24:26AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v916 A14 V 13= custom.log= aravel.loeL SF (iminny@localhostc HS_local fiminny@localhost)510519~@ 5205215225235245235265220528153€5315325345335565515385571540541542543544545546547548549550551552553554556557558559560563564565566567568 VTx: Auto vPlayground vu.email.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.seLect * trom playbooks where ceam_1d = 1:select x t'oi oavoooks Vnere 10 =1o.seLect x TromoLaydook cacecorles where playbook 10 = 1/51select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1a, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader' and actual start time IS NOT NULUORDER by id desc:select * from activities where 1d = 54747783: # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175;select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.stauus = 1AND t.status = 'active'AND (r.expires at >= now OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity_searches where id = 10932;select * from activity search_ filters where activity search_ id = 10932;select * from automated_reports order by za desc;select * from automated_report_results where report 1d IN (36)*569570select * trom acuivity_searcnes where 1d = 109521all to cascade, &l to Loiselect * trom acuivity_searcn_tilters where aculvity_search_1d = 10%52,select * trom aucomaced_reports order dy 1d desc;select * from automated report results where report id IN (36):W Windsurt Teams570UTF-84 spaces...
|
NULL
|
8577901200980735751
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRefactonToo PhpStormFileFditViewNavigateCodeLaravelRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project v=.env.production-eu=.env.qaE env.dailE env.rootE.env.staging=.gitattributes.gitignore=.php-cs-fixer.cachephp.php-cs-fixer.dist.phpphp.phpstorm.meta.php=.phpunit.result.cache=.prettierignore= wino sunrulespnp_Ide_helper.phppnpce neloermoces.onepnp aruisani composer.isoni composer.lockI dependency-checker.ison" dev.json= ids.txt= infection.json.distM+INSIALL.mdM-INIERNAL WE.nOOK S-IUP.moE jiminny_storageMvcenses.meM MakefileU package-lock.ison= phostan.neon.dist=phostan-baseline.neon<» phpunit.xmlleraw_sql_query.sqlM.README.molsonar-project.properties= test.py<> Untitled Diagram.xmlus vetur.confia.isM+ WEBHOOK FILTERING IMPLEME› iib External Libraries=Scratches and Consolesv _ Database Consoles> LEUvd iminny@localhostd console liminny@localhost« DI Liminny@localhost]d Hs_local Jiminny@localhosd sr yiminny@localhost)« zoho dev lminnva ocalho7CPROD> LQAL QAI PRODV L STAGINGd console STAGINGd console_1 STAGINGd uranus STAGING_ExtensionsMScratches(©) ReportController.php XAutomateakeponscommana.ongcAutomatedRenorissenocommana.ono©) AddLayoutEntities.phpC) Team.php© AutomatedReportsRepository.phoAulomaleakeporisservice.onp© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php© CreateActivityLoggedevent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeport.onpclass AutomatedReportsCommand extends Command1105private function processReports(string $frequency): void13411351136privace tuncuion gеtkеportbyla(scring preportla): coLlection115/138nrevort = .uhis->reoortrerostcorv->t.nobvlouruulooreoortlou.1391140if (Sreport === null) 11141sthis->Loqger->warningself::LOG_PREFIX.'' Report not found for --report-id', l'reportid => Sreportido:142sthis->warn( string: "Report not found: "Sreportid"):1451461148114915111521531541551561571581591601O11162163116411651661671681691701/1172return collecto;if (! $report->getStatus)) {puhis->logger->warninglselt::Loo_PREFLX•' Report is inactive, processing anyway (manual override)', ["reporcia" = sreporcia,'reportluid' => Sreport-›getUuido.I):sthis->warn( string: 'Report is inactive - processing anyway (manual override).':steam = sreport->getteam*if ($team->getStatus() !== Team::STATUS_ACTIVE) {sthis->Logger->warning(self::LOG_PREFIX• Team 1s not active, processing anyway (manual override)', L"reporcld → sreporuld,reporcuuld = фeроги-geсuula."teamid" = report-›gecleanta),'teamStatus' => Steam-›gerscacus.1):$this->warn( string: "Team #{$report->getTeamIdO} is not active - processing anyway (manual override)."):if (Sreport->isExpiredO) {$this->logger->warning(self::LOG_PREFIX. ' Report is expired, processing anyway (manual override)'. ['reportid => Sreportid,'reportuuld'= Sreport->getuuid)'explresAt" = sreport->geutxplresat()?->couatestringo,J9H$this->warn( string: 'Report is expired (expires_at: ' . Sreport->getExpiresAtO?->toDateString . ') - processing anyw561117411751176117717817911801$this->info( string: self::LOG_PREFIX • ' Automated report found" • $report->getCustomName);return collect Sreporto:Support Daily • in 36 m100% |45]Tue 14 Apr 14:24:26AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v916 A14 V 13= custom.log= aravel.loeL SF (iminny@localhostc HS_local fiminny@localhost)510519~@ 5205215225235245235265220528153€5315325345335565515385571540541542543544545546547548549550551552553554556557558559560563564565566567568 VTx: Auto vPlayground vu.email.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.seLect * trom playbooks where ceam_1d = 1:select x t'oi oavoooks Vnere 10 =1o.seLect x TromoLaydook cacecorles where playbook 10 = 1/51select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1a, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader' and actual start time IS NOT NULUORDER by id desc:select * from activities where 1d = 54747783: # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175;select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.stauus = 1AND t.status = 'active'AND (r.expires at >= now OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity_searches where id = 10932;select * from activity search_ filters where activity search_ id = 10932;select * from automated_reports order by za desc;select * from automated_report_results where report 1d IN (36)*569570select * trom acuivity_searcnes where 1d = 109521all to cascade, &l to Loiselect * trom acuivity_searcn_tilters where aculvity_search_1d = 10%52,select * trom aucomaced_reports order dy 1d desc;select * from automated report results where report id IN (36):W Windsurt Teams570UTF-84 spaces...
|
12549
|
|
12553
|
268
|
37
|
2026-04-14T11:24:28.075513+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165868075_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:27ec2-user@ip-10-30-93-249:~L₴81DOCKER© 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"'}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
4179695707557417001
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:27ec2-user@ip-10-30-93-249:~L₴81DOCKER© 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"'}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12554
|
268
|
38
|
2026-04-14T11:24:35.686143+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165875686_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 36 mA100% CTue 14 Apr 14:24:35•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
-1291235828334938101
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 36 mA100% CTue 14 Apr 14:24:35•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12553
|
|
12555
|
269
|
53
|
2026-04-14T11:24:35.697228+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165875697_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelPetactonToo PhpStormFileFditViewNavigateCodeLaravelPetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(C) BaseController.php(C) CalendarController.p© ReportController.phpSoftphoneWebhookCC AbstractController.phpCommentContextinterfac Conterencesoot noureg controller.phpC) ExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.C LiveCoachController.phi(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpPusnercontroller.php(C SlackController.pnp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources_Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRec› _ IntegrationsInteractionslllohs_ Activity• AlAutomationD AjReports> MAudiov M AutomatedReportsc recuestoenerreask.in(c reuestcenertereoone senareoonJoo.ono(©) SendReportMailJob.php• CalendarD Crm_ DealRisksMailbox_ MeetingBot→ Micclleware_ Streaming>MTeam> M Telephonv> D UserC BaseProcessingJob.phpc) DummyJob.php© ReportController.php XAutomaleakeporscommana.ongC AutomatedReportsSendCommand.php©) AddLayoutEntities.php(C) Team.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php) CreateActivityLoggedevent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeportonpclass ReportController extends AbstractControllerpublic function ready Request Srequest): JsonResponse100110410310410510610710810911011211511151161171181191201211122110 51112411251261127128112913013113211541115%'child_uuld' => sreportPodcast?->getuu1d),1):if (! $this->callbackService->isSuccess($payload)) ‹$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload):return responseO->ison(l'status' => 'ok'):/ If one-off, send the report immediately, lf not leave 1t for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary reportstnas->a15patcher-saaspagen tnew sendreportuoblereportuusad)i1/ send the podcast report it it set and generacedif SreportPodcast && SreportPodcast->getStatusO === AutomatedReportResult::STATUS GENERATED) «Sthis->dispatcher->dispatchnew SendReportJobCreportUuid: SreportPodcast->getU[URL_WITH_CREDENTIALS] HS_local fiminny@localhost)Tx: Auto vPlayground vU.ellan teSa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.select * troiplaybooks wnere team_1d = 1;select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles where playbook 10 = 1/51select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1a, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader' and actual start time IS NOT NULUORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJo1n playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm fields WHERE crm configuration id = 1 and obiect tvpe = 'event'•SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175;select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.Stauus = 1AND t.status = 'active'AND (r.expires at >= now) OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity searches where id = 10932:select * from activity search_filters where activity search_ id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*569570select * trom acuivity_searcnes where 1d = 109521select * from activity_ search_ filters where activity search id = 10932:select * trom aucomaced_reports order dy 1d desc;select * fromautomated report results where report id IN (36):W Windsurf Teams112:40UTF-8f 4 spaces...
|
NULL
|
2962368954090133445
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelPetactonToo PhpStormFileFditViewNavigateCodeLaravelPetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(C) BaseController.php(C) CalendarController.p© ReportController.phpSoftphoneWebhookCC AbstractController.phpCommentContextinterfac Conterencesoot noureg controller.phpC) ExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.C LiveCoachController.phi(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpPusnercontroller.php(C SlackController.pnp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources_Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRec› _ IntegrationsInteractionslllohs_ Activity• AlAutomationD AjReports> MAudiov M AutomatedReportsc recuestoenerreask.in(c reuestcenertereoone senareoonJoo.ono(©) SendReportMailJob.php• CalendarD Crm_ DealRisksMailbox_ MeetingBot→ Micclleware_ Streaming>MTeam> M Telephonv> D UserC BaseProcessingJob.phpc) DummyJob.php© ReportController.php XAutomaleakeporscommana.ongC AutomatedReportsSendCommand.php©) AddLayoutEntities.php(C) Team.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php) CreateActivityLoggedevent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeportonpclass ReportController extends AbstractControllerpublic function ready Request Srequest): JsonResponse100110410310410510610710810911011211511151161171181191201211122110 51112411251261127128112913013113211541115%'child_uuld' => sreportPodcast?->getuu1d),1):if (! $this->callbackService->isSuccess($payload)) ‹$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload):return responseO->ison(l'status' => 'ok'):/ If one-off, send the report immediately, lf not leave 1t for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary reportstnas->a15patcher-saaspagen tnew sendreportuoblereportuusad)i1/ send the podcast report it it set and generacedif SreportPodcast && SreportPodcast->getStatusO === AutomatedReportResult::STATUS GENERATED) «Sthis->dispatcher->dispatchnew SendReportJobCreportUuid: SreportPodcast->getU[URL_WITH_CREDENTIALS] HS_local fiminny@localhost)Tx: Auto vPlayground vU.ellan teSa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.select * troiplaybooks wnere team_1d = 1;select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles where playbook 10 = 1/51select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1a, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader' and actual start time IS NOT NULUORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJo1n playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm fields WHERE crm configuration id = 1 and obiect tvpe = 'event'•SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175;select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.Stauus = 1AND t.status = 'active'AND (r.expires at >= now) OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity searches where id = 10932:select * from activity search_filters where activity search_ id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*569570select * trom acuivity_searcnes where 1d = 109521select * from activity_ search_ filters where activity search id = 10932:select * trom aucomaced_reports order dy 1d desc;select * fromautomated report results where report id IN (36):W Windsurf Teams112:40UTF-8f 4 spaces...
|
NULL
|
|
12556
|
269
|
54
|
2026-04-14T11:24:47.542765+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165887542_m2.jpg...
|
PhpStorm
|
faVsco.js – ReportController.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Sync Changes
Hide This Notification
Code changed:
Hide
3
Previous Highlighted Error
Next Highlighted Error
<?php
declare(strict_types=1);
namespace Jiminny\Http\Controllers\Webhook;
use Carbon\Carbon;
use Illuminate\Contracts\Bus\Dispatcher as BusDispatcher;
use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Jiminny\Events\AutomatedReports\AutomatedReportGenerated;
use Jiminny\Exceptions\ModelNotFoundException;
use Jiminny\Http\Controllers\AbstractController;
use Jiminny\Jobs\AutomatedReports\SendReportJob;
use Jiminny\Models\AutomatedReportResult;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsCallbackService;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsService;
use Psr\Log\LoggerInterface;
use Throwable;
class ReportController extends AbstractController
{
/**
* Log prefix for all log messages
*/
private const string LOG_PREFIX = '[Report Ready]';
public function __construct(
private readonly AutomatedReportsService $automatedReportsService,
private readonly BusDispatcher $dispatcher,
private readonly LoggerInterface $logger,
private readonly AutomatedReportsCallbackService $callbackService,
private readonly EventDispatcher $eventDispatcher,
) {
}
public function ready(Request $request): JsonResponse
{
$payload = $request->all();
$now = Carbon::now();
$this->logger->info(self::LOG_PREFIX . ' Webhook received', [
'payload' => $payload,
]);
// validate
$reportUuid = $this->callbackService->getResultUuid($payload);
if (empty($reportUuid)) {
return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);
}
try {
$report = $this->automatedReportsService->getReportResult($reportUuid);
// validate
if ($this->callbackService->isProcessed($report)) {
$this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [
'uuid' => $reportUuid,
'currentStatus' => $report->getStatusLabel(),
]);
return response()->json(['status' => 'already_processed']);
}
// always try to get a child podcast cause report configuration cannot be trusted
$reportPodcast = $this->automatedReportsService->findChildResult(
result: $report,
type: AutomatedReportsService::MEDIA_TYPE_PODCAST
);
// update results
$report->update([
'status' => $this->callbackService->getPrimaryStatus($report, $payload),
'response' => $payload,
'generated_at' => $now,
]);
// if a podcast is set, update it
$reportPodcast?->update([
'status' => $this->callbackService->getPodcastStatus($payload),
'response' => $payload,
'generated_at' => $now,
]);
$this->logger->info(self::LOG_PREFIX . ' Report has been processed', [
'uuid' => $reportUuid,
'child_uuid' => $reportPodcast?->getUuid(),
]);
if (! $this->callbackService->isSuccess($payload)) {
$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);
return response()->json(['status' => 'ok']);
}
// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)
if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {
// send the primary report
$this->dispatcher->dispatch(new SendReportJob($reportUuid));
// send the podcast report if it set and generated
if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {
$this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));
}
}
// Track Datadog metrics for automated reports
$automatedReport = $report->getReport();
$this->callbackService->pushToDatadog($automatedReport, $report);
if ($reportPodcast) {
$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);
}
$this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));
} catch (ModelNotFoundException $exception) {
$this->logger->error(self::LOG_PREFIX . ' Report not found', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);
} catch (Throwable $exception) {
$this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);
}
return response()->json(['status' => 'ok']);
}
}
Project
Project
New File or Directory…
Expand Selected
Collapse All
Options
Hide...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.03046875,"top":0.017361112,"width":0.0453125,"height":0.022222223},"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"bounds":{"left":0.07578125,"top":0.017361112,"width":0.14257812,"height":0.022222223},"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.78515625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"bounds":{"left":0.803125,"top":0.017361112,"width":0.09765625,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9007813,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9140625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9273437,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96015626,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9734375,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9867188,"top":0.017361112,"width":0.013281226,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"bounds":{"left":0.5480469,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"bounds":{"left":0.5582031,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"bounds":{"left":0.57109374,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"bounds":{"left":0.58125,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"bounds":{"left":0.5914062,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"bounds":{"left":0.60429686,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"bounds":{"left":0.6171875,"top":0.06458333,"width":0.028515626,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"bounds":{"left":0.6484375,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"bounds":{"left":0.66132814,"top":0.06458333,"width":0.034765624,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"bounds":{"left":0.9515625,"top":0.06458333,"width":0.033203125,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"16","depth":4,"bounds":{"left":0.92890626,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"14","depth":4,"bounds":{"left":0.94257814,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"13","depth":4,"bounds":{"left":0.95625,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.96953124,"top":0.08472222,"width":0.00859375,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.978125,"top":0.08472222,"width":0.008203125,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","depth":4,"value":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"3","depth":4,"bounds":{"left":0.5179688,"top":0.13055556,"width":0.009375,"height":0.013194445},"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.5292969,"top":0.12916666,"width":0.00859375,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.5378906,"top":0.12916666,"width":0.008203125,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\ndeclare(strict_types=1);\n\nnamespace Jiminny\\Http\\Controllers\\Webhook;\n\nuse Carbon\\Carbon;\nuse Illuminate\\Contracts\\Bus\\Dispatcher as BusDispatcher;\nuse Illuminate\\Contracts\\Events\\Dispatcher as EventDispatcher;\nuse Illuminate\\Http\\JsonResponse;\nuse Illuminate\\Http\\Request;\nuse Jiminny\\Events\\AutomatedReports\\AutomatedReportGenerated;\nuse Jiminny\\Exceptions\\ModelNotFoundException;\nuse Jiminny\\Http\\Controllers\\AbstractController;\nuse Jiminny\\Jobs\\AutomatedReports\\SendReportJob;\nuse Jiminny\\Models\\AutomatedReportResult;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsCallbackService;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsService;\nuse Psr\\Log\\LoggerInterface;\nuse Throwable;\n\nclass ReportController extends AbstractController\n{\n /**\n * Log prefix for all log messages\n */\n private const string LOG_PREFIX = '[Report Ready]';\n\n public function __construct(\n private readonly AutomatedReportsService $automatedReportsService,\n private readonly BusDispatcher $dispatcher,\n private readonly LoggerInterface $logger,\n private readonly AutomatedReportsCallbackService $callbackService,\n private readonly EventDispatcher $eventDispatcher,\n ) {\n }\n\n public function ready(Request $request): JsonResponse\n {\n $payload = $request->all();\n $now = Carbon::now();\n\n $this->logger->info(self::LOG_PREFIX . ' Webhook received', [\n 'payload' => $payload,\n ]);\n\n // validate\n $reportUuid = $this->callbackService->getResultUuid($payload);\n if (empty($reportUuid)) {\n return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);\n }\n\n try {\n $report = $this->automatedReportsService->getReportResult($reportUuid);\n\n // validate\n if ($this->callbackService->isProcessed($report)) {\n $this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [\n 'uuid' => $reportUuid,\n 'currentStatus' => $report->getStatusLabel(),\n ]);\n\n return response()->json(['status' => 'already_processed']);\n }\n\n // always try to get a child podcast cause report configuration cannot be trusted\n $reportPodcast = $this->automatedReportsService->findChildResult(\n result: $report,\n type: AutomatedReportsService::MEDIA_TYPE_PODCAST\n );\n\n // update results\n $report->update([\n 'status' => $this->callbackService->getPrimaryStatus($report, $payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n // if a podcast is set, update it\n $reportPodcast?->update([\n 'status' => $this->callbackService->getPodcastStatus($payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n\n $this->logger->info(self::LOG_PREFIX . ' Report has been processed', [\n 'uuid' => $reportUuid,\n 'child_uuid' => $reportPodcast?->getUuid(),\n ]);\n\n if (! $this->callbackService->isSuccess($payload)) {\n $this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);\n\n return response()->json(['status' => 'ok']);\n }\n\n // If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)\n if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {\n // send the primary report\n $this->dispatcher->dispatch(new SendReportJob($reportUuid));\n\n // send the podcast report if it set and generated\n if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {\n $this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));\n }\n }\n\n // Track Datadog metrics for automated reports\n $automatedReport = $report->getReport();\n $this->callbackService->pushToDatadog($automatedReport, $report);\n\n if ($reportPodcast) {\n $this->callbackService->pushToDatadog($automatedReport, $reportPodcast);\n }\n\n $this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));\n } catch (ModelNotFoundException $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Report not found', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);\n } catch (Throwable $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);\n }\n\n return response()->json(['status' => 'ok']);\n }\n}","depth":4,"value":"<?php\n\ndeclare(strict_types=1);\n\nnamespace Jiminny\\Http\\Controllers\\Webhook;\n\nuse Carbon\\Carbon;\nuse Illuminate\\Contracts\\Bus\\Dispatcher as BusDispatcher;\nuse Illuminate\\Contracts\\Events\\Dispatcher as EventDispatcher;\nuse Illuminate\\Http\\JsonResponse;\nuse Illuminate\\Http\\Request;\nuse Jiminny\\Events\\AutomatedReports\\AutomatedReportGenerated;\nuse Jiminny\\Exceptions\\ModelNotFoundException;\nuse Jiminny\\Http\\Controllers\\AbstractController;\nuse Jiminny\\Jobs\\AutomatedReports\\SendReportJob;\nuse Jiminny\\Models\\AutomatedReportResult;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsCallbackService;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsService;\nuse Psr\\Log\\LoggerInterface;\nuse Throwable;\n\nclass ReportController extends AbstractController\n{\n /**\n * Log prefix for all log messages\n */\n private const string LOG_PREFIX = '[Report Ready]';\n\n public function __construct(\n private readonly AutomatedReportsService $automatedReportsService,\n private readonly BusDispatcher $dispatcher,\n private readonly LoggerInterface $logger,\n private readonly AutomatedReportsCallbackService $callbackService,\n private readonly EventDispatcher $eventDispatcher,\n ) {\n }\n\n public function ready(Request $request): JsonResponse\n {\n $payload = $request->all();\n $now = Carbon::now();\n\n $this->logger->info(self::LOG_PREFIX . ' Webhook received', [\n 'payload' => $payload,\n ]);\n\n // validate\n $reportUuid = $this->callbackService->getResultUuid($payload);\n if (empty($reportUuid)) {\n return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);\n }\n\n try {\n $report = $this->automatedReportsService->getReportResult($reportUuid);\n\n // validate\n if ($this->callbackService->isProcessed($report)) {\n $this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [\n 'uuid' => $reportUuid,\n 'currentStatus' => $report->getStatusLabel(),\n ]);\n\n return response()->json(['status' => 'already_processed']);\n }\n\n // always try to get a child podcast cause report configuration cannot be trusted\n $reportPodcast = $this->automatedReportsService->findChildResult(\n result: $report,\n type: AutomatedReportsService::MEDIA_TYPE_PODCAST\n );\n\n // update results\n $report->update([\n 'status' => $this->callbackService->getPrimaryStatus($report, $payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n // if a podcast is set, update it\n $reportPodcast?->update([\n 'status' => $this->callbackService->getPodcastStatus($payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n\n $this->logger->info(self::LOG_PREFIX . ' Report has been processed', [\n 'uuid' => $reportUuid,\n 'child_uuid' => $reportPodcast?->getUuid(),\n ]);\n\n if (! $this->callbackService->isSuccess($payload)) {\n $this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);\n\n return response()->json(['status' => 'ok']);\n }\n\n // If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)\n if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {\n // send the primary report\n $this->dispatcher->dispatch(new SendReportJob($reportUuid));\n\n // send the podcast report if it set and generated\n if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {\n $this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));\n }\n }\n\n // Track Datadog metrics for automated reports\n $automatedReport = $report->getReport();\n $this->callbackService->pushToDatadog($automatedReport, $report);\n\n if ($reportPodcast) {\n $this->callbackService->pushToDatadog($automatedReport, $reportPodcast);\n }\n\n $this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));\n } catch (ModelNotFoundException $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Report not found', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);\n } catch (Throwable $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);\n }\n\n return response()->json(['status' => 'ok']);\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"Project","depth":3,"role_description":"text"},{"role":"AXButton","text":"Project","depth":3,"bounds":{"left":0.0140625,"top":0.041666668,"width":0.028515626,"height":0.021527778},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"New File or Directory…","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Expand Selected","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Collapse All","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Options","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-8011625077326189080
|
6686649160176153677
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Sync Changes
Hide This Notification
Code changed:
Hide
3
Previous Highlighted Error
Next Highlighted Error
<?php
declare(strict_types=1);
namespace Jiminny\Http\Controllers\Webhook;
use Carbon\Carbon;
use Illuminate\Contracts\Bus\Dispatcher as BusDispatcher;
use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Jiminny\Events\AutomatedReports\AutomatedReportGenerated;
use Jiminny\Exceptions\ModelNotFoundException;
use Jiminny\Http\Controllers\AbstractController;
use Jiminny\Jobs\AutomatedReports\SendReportJob;
use Jiminny\Models\AutomatedReportResult;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsCallbackService;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsService;
use Psr\Log\LoggerInterface;
use Throwable;
class ReportController extends AbstractController
{
/**
* Log prefix for all log messages
*/
private const string LOG_PREFIX = '[Report Ready]';
public function __construct(
private readonly AutomatedReportsService $automatedReportsService,
private readonly BusDispatcher $dispatcher,
private readonly LoggerInterface $logger,
private readonly AutomatedReportsCallbackService $callbackService,
private readonly EventDispatcher $eventDispatcher,
) {
}
public function ready(Request $request): JsonResponse
{
$payload = $request->all();
$now = Carbon::now();
$this->logger->info(self::LOG_PREFIX . ' Webhook received', [
'payload' => $payload,
]);
// validate
$reportUuid = $this->callbackService->getResultUuid($payload);
if (empty($reportUuid)) {
return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);
}
try {
$report = $this->automatedReportsService->getReportResult($reportUuid);
// validate
if ($this->callbackService->isProcessed($report)) {
$this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [
'uuid' => $reportUuid,
'currentStatus' => $report->getStatusLabel(),
]);
return response()->json(['status' => 'already_processed']);
}
// always try to get a child podcast cause report configuration cannot be trusted
$reportPodcast = $this->automatedReportsService->findChildResult(
result: $report,
type: AutomatedReportsService::MEDIA_TYPE_PODCAST
);
// update results
$report->update([
'status' => $this->callbackService->getPrimaryStatus($report, $payload),
'response' => $payload,
'generated_at' => $now,
]);
// if a podcast is set, update it
$reportPodcast?->update([
'status' => $this->callbackService->getPodcastStatus($payload),
'response' => $payload,
'generated_at' => $now,
]);
$this->logger->info(self::LOG_PREFIX . ' Report has been processed', [
'uuid' => $reportUuid,
'child_uuid' => $reportPodcast?->getUuid(),
]);
if (! $this->callbackService->isSuccess($payload)) {
$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);
return response()->json(['status' => 'ok']);
}
// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)
if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {
// send the primary report
$this->dispatcher->dispatch(new SendReportJob($reportUuid));
// send the podcast report if it set and generated
if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {
$this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));
}
}
// Track Datadog metrics for automated reports
$automatedReport = $report->getReport();
$this->callbackService->pushToDatadog($automatedReport, $report);
if ($reportPodcast) {
$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);
}
$this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));
} catch (ModelNotFoundException $exception) {
$this->logger->error(self::LOG_PREFIX . ' Report not found', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);
} catch (Throwable $exception) {
$this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);
}
return response()->json(['status' => 'ok']);
}
}
Project
Project
New File or Directory…
Expand Selected
Collapse All
Options
Hide...
|
12555
|
|
12557
|
268
|
39
|
2026-04-14T11:24:47.542856+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165887542_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:47•ec2-user@ip-10-30-93-249:~L₴81DOCKERC *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce..88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"'}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
-5204839447105011933
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:47•ec2-user@ip-10-30-93-249:~L₴81DOCKERC *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce..88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"'}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12558
|
268
|
40
|
2026-04-14T11:24:54.355414+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165894355_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 36 mA100% CTue 14 Apr 14:24:53ec2-user@ip-10-30-93-249:~L₴81DOCKER© 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...*8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
6740817803061273909
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 36 mA100% CTue 14 Apr 14:24:53ec2-user@ip-10-30-93-249:~L₴81DOCKER© 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...*8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12557
|
|
12559
|
269
|
55
|
2026-04-14T11:24:54.365231+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165894365_m2.jpg...
|
PhpStorm
|
faVsco.js – ReportController.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.03046875,"top":0.017361112,"width":0.0453125,"height":0.022222223},"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"bounds":{"left":0.07578125,"top":0.017361112,"width":0.14257812,"height":0.022222223},"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.78515625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"bounds":{"left":0.803125,"top":0.017361112,"width":0.09765625,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9007813,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9140625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9273437,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96015626,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9734375,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9867188,"top":0.017361112,"width":0.013281226,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"bounds":{"left":0.5480469,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"bounds":{"left":0.5582031,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"bounds":{"left":0.57109374,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"bounds":{"left":0.58125,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"bounds":{"left":0.5914062,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"bounds":{"left":0.60429686,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"bounds":{"left":0.6171875,"top":0.06458333,"width":0.028515626,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"bounds":{"left":0.6484375,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"bounds":{"left":0.66132814,"top":0.06458333,"width":0.034765624,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"bounds":{"left":0.9515625,"top":0.06458333,"width":0.033203125,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-1052195985141148625
|
-9120817793632351416
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(C) BaseController.php(C) CalendarController.p© ReportController.phpSoftphoneWebhookCC AbstractController.phpCommentContextinterfac Conterencesoot noureg controller.phpC) ExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.(C LiveCoachController.phi(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpPusnercontroller.php(C SlackController.pnp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources> D Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRec› _ IntegrationsInteractionslllohs_ ActivityA AutomationD AjReports> M Audiov M AutomatedReportsc recuestoenerreask.in(c recuestcenertere.oae senareoonJoo.ono(©) SendReportMailJob.php• CalendarD Crm_ DealRisksMailbox_ MeetingBotMidd lewareStreaming>MTeam> M Telephonv> D UserC BaseProcessingJob.phpc) DummyJob.php© ReportController.php XAutomaleakeporscommana.ongC AutomatedReportsSendCommand.php©) AddLayoutEntities.phpC) Team.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeport.onpclass ReportController extends AbstractControllerpublic function ready Request Srequest): JsonResponse11001011021031041051 el61ML0/I10911101111121131141151161171181always try to get a child podcast cause report confiquration cannot be trusted$reportPodcast = $this->automatedReportsService->findChildResult(result: sreporttype: AutomatedReportsservice::MEDLA_TYPE_PODCAST):// update resultsSreport->uodatedl'status' = $this->callbackService-›getPrimaryStatus($report, $payload),"response = spayloda,'generated at' => Snow.1):if a podcast is set, update itsreportPodcast?->updatell'status' => sthis->callbackservice->getPodcastStatus(spayload),'response' => Spayload,generaced_at"= show,1);$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid.'child vuid' => $reportPodcast?-›getUuido.1):1f (: sthis->callbackservice->1ssuccess(spayload)) %sth1s->Logger->warning(self::LOG_PREFIX.Error creating report', spayload);return response()->json(l'status' => '0k"J);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if (Sreport->getReportO->getFrequencv@ === AutomatedReportsService::FREOUENCY ONE OFF) {send the primary reportSthis->dispatcher→>dyspatch(new SendReportJob(Sreportuuid))/ send the podcast report if it set and generated1f (SreportPodcast xx sreportPodcast->getstatus) === AutomatedReportResuLt::STATUS_GENERATED) %sthis->dispatcher->d1spatch(new SendReportJob(reportuu1d: sreportPodcast->getuuid0J):Track Datadog metrics for automated reportsnaurolareoreoort = "redor-roerreoorrSthis->callbackService->pushToDatadog(SautomatedReport. Sreport):if SreportPodcast)Sthis->callbackService->pushToDatadoqSautomatedReport, $reportPodcast):sthis->eventD1spatcher->d1spatch(new AutomatedReportGenerated(sautomatedReport, sreport):} catch (ModelNotFoundException $exception) {puhis->logger->error(selt::Luo_PREFLX•keport not round, L'uulo => redorcuulo.'error' => Sexcention->getMessageO.Support Daily • in 36 m100% |45]Tue 14 Apr 14:24:54AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v:16 14 V.13= custom.log= laravel.logL SF (iminny@localhostc HS_local fiminny@localhost)510-51952052152252352652205285245305315325335345335385571540— 54154254354454554654754854955055100455455555655755855915605611D045635641- 565566567568 v5695791Tx: Auto vPlayground vu.email.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.seLect * trom playbooks where ceam_1d = 1:select x Trol•avoooks Vnere 10 =1o.seLect * TromoLaydook cacecorles where playbook 10 = 1/51select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1d, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_contiguracion_1a, crm_provider_1d, cranscripcion_1d, scacusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader'and actual start time IS NOT NULIORDER by id desc:select * from activities where 1d = 54747783: # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175:select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.Stauus = 1AND t.status = 'active'AND (r.expires at >= now) OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity_searches where id = 10932;select * from activity search_ filters where activity search_id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*select * trom acuivity_searcnes where 1d = 109521select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated report results where report id IN (36):W Windsurf Teams54:63UTF-8f 4 spaces...
|
NULL
|
|
12560
|
268
|
41
|
2026-04-14T11:24:57.220225+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165897220_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:56•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce... →88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
-3750961226331087793
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:56•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce... →88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12561
|
269
|
56
|
2026-04-14T11:24:57.216423+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165897216_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-liminny ~Project v(C) BaseController.php(C) CalendarController.pSoftphoneWebhookCC AbstractController.phpCommentContextinterfac Conterencesoot noureg controller.phpC ExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.(C LiveCoachController.phi(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpPusnercontroller.php(C SlackController.pnp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources_Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRec› _ IntegrationsInteractionsJ Jobs_ ActivityA AutomationC AjReports> M Audiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoon(©) SendReportJob.php(©) SendReportMailJob.php• CalendarD Crm_ DealRisksMailbox_ MeetingBotMidd leware_ Streaming>MTeam> M Telephonv> D UserC BaseProcessingJob.phpc) DummyJob.php© ReportController.php XAutomaleakeporscommana.ongC AutomatedReportsSendCommand.php©) AddLayoutEntities.php(©) Team.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php© CreateActivityLoggedevent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeportonpclass ReportController extends AbstractControllerpublic function ready Request Srequest): JsonResponse991001031104105106107108109111113114115116117118119120121112511124112011L/128'denerared at"1):// if a podcast is set, update itSreportPodcast?->updatedf"Suacus → schis->calloackservice-›getroacascoracussoay loaa)''response' => Spayload.'generated at' => Snow.I);$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['UUld' => $reportuuid,'child_uuid' => $reportPodcast?->getUuid(),1);if @ Sthis->callbackService->isSuccess(Spavload))<$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload):return responseO->ison(l'status' => 'ok'):// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)1f (sreport->getReporto->getFrequency === AutomatedReportsservice::FREQUENCY_ONE_OFF)%1/ send the primary reporuSthis->dispatcher->dispatchnew SendReportJob(Sreportuu1d))hsend the podcast report ifit set and generatedif (SreportPodcast && $reportPodcast->getStatus( === AutomatedReportResult::STATUS_GENERATED) *Sthis->dispatcher->dispatch(new SendReportJob(reportUuid: SreportPodcast->qetUuidO:// Track Datadog metrics for automated reportssautomatedRenort = srenort->detrenodo.sth1s->callbackservice->pushlobatadog(sautomatedReport, sreport):if (SreportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);sthis->eventDispatcher->dispatch.new AutomatedReportGeneratedSautomatedReport, $reporto:catch (ModelNotFoundException Sexception <sthis->loqger->error(self::L06_PREFIX .Report not found','uuld' = sreportuuld'error' => sexception->getMessageo,return responsel)->ysonul'stacus → "error,messade' so 'reoort nor tound", starus: 4044} catch (Throwable $exception) 1$this->logger->error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' => SreportUuid.''error' => Sexception->qetMessage0.1):netunn racnonsele>contctatus' => 'ennon'"mASSANA => "FATleN tA undaTe nenont Status'lSupport Daily • in 36 m100% |45]Tue 14 Apr 14:24:56AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v:16 14 V.13= custom.log= aravel.loe510519|5205215225235265285305315345395565385571540541542543544545546—541548154955055100455455555655755855915605611D045635641000566567568 VL SF (iminny@localhostc HS_local fiminny@localhost)Tx: Auto vPlayground vU,ellant.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.select * troiplaybooks wnere team_1d = 1;select x Trol•avoooks Vnere 10 =1o.seLect x TrompLaydook cacecorles where playbook 10 = 1/51select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1d, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader' and actual start time IS NOT NULIORDER by id desc:select * from activities where id = 54747783; # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm fields WHERE crm configuration id = 1 and obiect tvpe = 'event'•SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175;select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.Stauus = 1AND t.status = 'active'AND (r.expires at >= now OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity_searches where id = 10932;select * from activity search_ filters where activity search_id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*569select * trom acuivity_searcnes where 1d = 109521select * from activitv search filters where activity search id = 10932:select * trom aucomaced_reports order dy 1d desc;select * from automated report results where report id IN (36):W Windsurf Teamsg//sUTF-8f 4 spaces...
|
NULL
|
2808576433505714455
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRetactonToo PhpStormFileFditViewNavigateCodeLaravelRetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-liminny ~Project v(C) BaseController.php(C) CalendarController.pSoftphoneWebhookCC AbstractController.phpCommentContextinterfac Conterencesoot noureg controller.phpC ExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.(C LiveCoachController.phi(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpPusnercontroller.php(C SlackController.pnp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources_Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRec› _ IntegrationsInteractionsJ Jobs_ ActivityA AutomationC AjReports> M Audiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoon(©) SendReportJob.php(©) SendReportMailJob.php• CalendarD Crm_ DealRisksMailbox_ MeetingBotMidd leware_ Streaming>MTeam> M Telephonv> D UserC BaseProcessingJob.phpc) DummyJob.php© ReportController.php XAutomaleakeporscommana.ongC AutomatedReportsSendCommand.php©) AddLayoutEntities.php(©) Team.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php© CreateActivityLoggedevent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeportonpclass ReportController extends AbstractControllerpublic function ready Request Srequest): JsonResponse991001031104105106107108109111113114115116117118119120121112511124112011L/128'denerared at"1):// if a podcast is set, update itSreportPodcast?->updatedf"Suacus → schis->calloackservice-›getroacascoracussoay loaa)''response' => Spayload.'generated at' => Snow.I);$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['UUld' => $reportuuid,'child_uuid' => $reportPodcast?->getUuid(),1);if @ Sthis->callbackService->isSuccess(Spavload))<$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload):return responseO->ison(l'status' => 'ok'):// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)1f (sreport->getReporto->getFrequency === AutomatedReportsservice::FREQUENCY_ONE_OFF)%1/ send the primary reporuSthis->dispatcher->dispatchnew SendReportJob(Sreportuu1d))hsend the podcast report ifit set and generatedif (SreportPodcast && $reportPodcast->getStatus( === AutomatedReportResult::STATUS_GENERATED) *Sthis->dispatcher->dispatch(new SendReportJob(reportUuid: SreportPodcast->qetUuidO:// Track Datadog metrics for automated reportssautomatedRenort = srenort->detrenodo.sth1s->callbackservice->pushlobatadog(sautomatedReport, sreport):if (SreportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);sthis->eventDispatcher->dispatch.new AutomatedReportGeneratedSautomatedReport, $reporto:catch (ModelNotFoundException Sexception <sthis->loqger->error(self::L06_PREFIX .Report not found','uuld' = sreportuuld'error' => sexception->getMessageo,return responsel)->ysonul'stacus → "error,messade' so 'reoort nor tound", starus: 4044} catch (Throwable $exception) 1$this->logger->error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' => SreportUuid.''error' => Sexception->qetMessage0.1):netunn racnonsele>contctatus' => 'ennon'"mASSANA => "FATleN tA undaTe nenont Status'lSupport Daily • in 36 m100% |45]Tue 14 Apr 14:24:56AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v:16 14 V.13= custom.log= aravel.loe510519|5205215225235265285305315345395565385571540541542543544545546—541548154955055100455455555655755855915605611D045635641000566567568 VL SF (iminny@localhostc HS_local fiminny@localhost)Tx: Auto vPlayground vU,ellant.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.select * troiplaybooks wnere team_1d = 1;select x Trol•avoooks Vnere 10 =1o.seLect x TrompLaydook cacecorles where playbook 10 = 1/51select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1d, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader' and actual start time IS NOT NULIORDER by id desc:select * from activities where id = 54747783; # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm fields WHERE crm configuration id = 1 and obiect tvpe = 'event'•SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175;select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.Stauus = 1AND t.status = 'active'AND (r.expires at >= now OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity_searches where id = 10932;select * from activity search_ filters where activity search_id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*569select * trom acuivity_searcnes where 1d = 109521select * from activitv search filters where activity search id = 10932:select * trom aucomaced_reports order dy 1d desc;select * from automated report results where report id IN (36):W Windsurf Teamsg//sUTF-8f 4 spaces...
|
12559
|
|
12562
|
268
|
42
|
2026-04-14T11:24:59.334783+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165899334_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:58•ec2-user@ip-10-30-93-249:~181DOCKER© 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...-88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
2162977103078447974
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 36 mA100% CTue 14 Apr 14:24:58•ec2-user@ip-10-30-93-249:~181DOCKER© 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...-88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12560
|
|
12563
|
268
|
43
|
2026-04-14T11:25:03.906227+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165903906_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 35 mlA100% CTue 14 Apr 14:25:03•ec2-user@ip-10-30-93-249:~L881DOCKER0 *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
6815654087377196386
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 35 mlA100% CTue 14 Apr 14:25:03•ec2-user@ip-10-30-93-249:~L881DOCKER0 *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12564
|
269
|
57
|
2026-04-14T11:25:03.916157+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165903916_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFV faVsco.js vViewNavigateCodeLaravelR PhpStormFileFV faVsco.js vViewNavigateCodeLaravelRefactorToolsWindow#11894 on JY-18909-automated-reports-ask-iminny ~HelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTrait© GeocodingController.ph© HealthCheckController.;LiveCoachController.phj© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpc rusnercontoleroneSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M TransformersC Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD Activity( AiAutomationC AjReports> M Audiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMid dlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.php© DummyJob.php© ReportController.php xAutomatedReportsCommand.php© AutomatedReportsSendCommand.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© AddLayoutEntities.php© TrackProviderInstalledEvent.php© Team.php) CreateActivityLoggedEvent.php) ActivityLogged.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportsCallbackService.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),''response' => Spayload.'generated_at' => $now,100101102103104105106107108109110111112113114115116118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {// send the primary reportSthis-›dispatcher- dispatch Gaew SendReportJob (Sreportuuid));// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispat|ch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),ew pull request (55 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:03A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny v:16 14 V.13= custom.logE laravel.log518519520521522523524525526527528524530531533534535536537538539540541542543544545546547548549550551004554556557558559560561D04563564-565566567568 v569570A SF [jiminny@localhost]Tx: Auto vPlaygroundvU,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1;select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<-›1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf Teams115:45UTF-84 spaces...
|
NULL
|
1043286805218726946
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFV faVsco.js vViewNavigateCodeLaravelR PhpStormFileFV faVsco.js vViewNavigateCodeLaravelRefactorToolsWindow#11894 on JY-18909-automated-reports-ask-iminny ~HelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTrait© GeocodingController.ph© HealthCheckController.;LiveCoachController.phj© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpc rusnercontoleroneSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M TransformersC Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD Activity( AiAutomationC AjReports> M Audiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMid dlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.php© DummyJob.php© ReportController.php xAutomatedReportsCommand.php© AutomatedReportsSendCommand.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© AddLayoutEntities.php© TrackProviderInstalledEvent.php© Team.php) CreateActivityLoggedEvent.php) ActivityLogged.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportsCallbackService.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),''response' => Spayload.'generated_at' => $now,100101102103104105106107108109110111112113114115116118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {// send the primary reportSthis-›dispatcher- dispatch Gaew SendReportJob (Sreportuuid));// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispat|ch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),ew pull request (55 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:03A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny v:16 14 V.13= custom.logE laravel.log518519520521522523524525526527528524530531533534535536537538539540541542543544545546547548549550551004554556557558559560561D04563564-565566567568 v569570A SF [jiminny@localhost]Tx: Auto vPlaygroundvU,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1;select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<-›1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf Teams115:45UTF-84 spaces...
|
NULL
|
|
12565
|
268
|
44
|
2026-04-14T11:25:05.463828+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165905463_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 35 mlA100% CTue 14 Apr 14:25:05•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
89368634287196955
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 35 mlA100% CTue 14 Apr 14:25:05•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12563
|
|
12566
|
268
|
45
|
2026-04-14T11:25:15.284805+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165915284_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 35 mlA100% CTue 14 Apr 14:25:14•ec2-user@ip-10-30-93-249:~181DOCKER0 881DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
3985777621595863330
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 35 mlA100% CTue 14 Apr 14:25:14•ec2-user@ip-10-30-93-249:~181DOCKER0 881DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12567
|
269
|
58
|
2026-04-14T11:25:15.247552+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165915247_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTrait© GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpc rusnercontoleroneSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M Transformers© Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD Activity(J AiAutomationC AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMid dlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.php© DummyJob.php• AutomatedReportsCommand.php© ReportController.php xC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© AutomatedReportsSendCommand.phpCreateHeldActivityEvent.php© AddLayoutEntities.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),'response' => $payload,'generated_at' => $now,© Team.php100101102103104105106107108109110111112113114115116117118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary reportSthis→>dispatcher→>dispatch(new SendReportJob(Srepggtuvid):|// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:14A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny v:16 14 V.13= custom.logE laravel.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004553554556557558559560561D04563564- 565566567568 v569570A SF [jiminny@localhost]Tx: Auto vPlaygroundvU.ellan teSa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1;select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<-›1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.teamaid = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf TeamsUTF-84 spaces...
|
NULL
|
3417355520948297967
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTrait© GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpc rusnercontoleroneSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M Transformers© Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD Activity(J AiAutomationC AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMid dlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.php© DummyJob.php• AutomatedReportsCommand.php© ReportController.php xC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© AutomatedReportsSendCommand.phpCreateHeldActivityEvent.php© AddLayoutEntities.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),'response' => $payload,'generated_at' => $now,© Team.php100101102103104105106107108109110111112113114115116117118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary reportSthis→>dispatcher→>dispatch(new SendReportJob(Srepggtuvid):|// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:14A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny v:16 14 V.13= custom.logE laravel.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004553554556557558559560561D04563564- 565566567568 v569570A SF [jiminny@localhost]Tx: Auto vPlaygroundvU.ellan teSa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1;select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<-›1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.teamaid = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf TeamsUTF-84 spaces...
|
12564
|
|
12568
|
268
|
46
|
2026-04-14T11:25:20.547548+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165920547_m1.jpg...
|
PhpStorm
|
faVsco.js – ReportController.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.018055556,"height":0.026666667},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.0,"top":0.0,"width":0.088194445,"height":0.027777778},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-4635435813162748285
|
-9192875389012997304
|
click
|
hybrid
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:20•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...÷ 88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12566
|
|
12569
|
269
|
59
|
2026-04-14T11:25:20.529064+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165920529_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phpC FrontendController.phpT) FrontendControllerTrait© GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpc rusnercontoleroneSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M Transformers© Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD Activity( AiAutomationC AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD Crm_ DealRisks• MailboxMeetingBotMiddlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.php© DummyJob.php© ReportController.php x• AutomatedReportsCommand.php© AutomatedReportsSendCommand.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onpc CrealenelaAcuiviyevent.ono© AddLayoutEntities.php© TrackProviderInstalledEvent.php© Team.php) CreateActivityLoggedEvent.php© ActivityLogged.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportsCallbackService.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),'response' => $payload,'generated_at' => $now,99100101102103104105106107108109110111112113114115116117118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary report$this->dispatcher->dispatch(new SendReportJob($reportUvid));// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:20A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny v:16 14 V.13= custom.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004553554555556557558559560561D04563564- 565566567568 v569570= laravel.logA SF [jiminny@localhost]Tx: Auto vPlaygroundvU,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf Teams99:55UTF-84 spaces...
|
NULL
|
3363510183281060885
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phpC FrontendController.phpT) FrontendControllerTrait© GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpc rusnercontoleroneSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M Transformers© Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD Activity( AiAutomationC AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD Crm_ DealRisks• MailboxMeetingBotMiddlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.php© DummyJob.php© ReportController.php x• AutomatedReportsCommand.php© AutomatedReportsSendCommand.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onpc CrealenelaAcuiviyevent.ono© AddLayoutEntities.php© TrackProviderInstalledEvent.php© Team.php) CreateActivityLoggedEvent.php© ActivityLogged.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportsCallbackService.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),'response' => $payload,'generated_at' => $now,99100101102103104105106107108109110111112113114115116117118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary report$this->dispatcher->dispatch(new SendReportJob($reportUvid));// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:20A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny v:16 14 V.13= custom.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004553554555556557558559560561D04563564- 565566567568 v569570= laravel.logA SF [jiminny@localhost]Tx: Auto vPlaygroundvU,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf Teams99:55UTF-84 spaces...
|
NULL
|
|
12570
|
268
|
47
|
2026-04-14T11:25:22.085371+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165922085_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:21•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...- *8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
5089422584933744278
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:21•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...- *8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12571
|
268
|
48
|
2026-04-14T11:25:24.470456+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165924470_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:24•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...÷ 88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
-1474987602963914573
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:24•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...÷ 88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12570
|
|
12572
|
269
|
60
|
2026-04-14T11:25:24.470498+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165924470_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTrait© GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpc rusnercontoleroneSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M Transformers© Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD Activity(J AiAutomationC AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMid dlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.php© DummyJob.php• AutomatedReportsCommand.php© ReportController.php xC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© AutomatedReportsSendCommand.phpCreateHeldActivityEvent.php© AddLayoutEntities.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),'response' => $payload,'generated_at' => $now,© Team.php100101102103104105106107108109110111112113114115116117118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary report$this->dispatcher->dispatch(new SendReportJob($reportUvid)):|// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:24A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny v:16 14 V.13= custom.logE laravel.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004553554556557558559560561D04563564- 565566567568 v569570A SF [jiminny@localhost]Tx: Auto vPlaygroundvU.ellan teSa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1;select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<-›1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.teamaid = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf TeamsUTF-84 spaces...
|
NULL
|
7651309284963480040
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTrait© GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpc rusnercontoleroneSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M Transformers© Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD Activity(J AiAutomationC AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMid dlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.php© DummyJob.php• AutomatedReportsCommand.php© ReportController.php xC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© AutomatedReportsSendCommand.phpCreateHeldActivityEvent.php© AddLayoutEntities.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),'response' => $payload,'generated_at' => $now,© Team.php100101102103104105106107108109110111112113114115116117118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary report$this->dispatcher->dispatch(new SendReportJob($reportUvid)):|// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:24A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny v:16 14 V.13= custom.logE laravel.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004553554556557558559560561D04563564- 565566567568 v569570A SF [jiminny@localhost]Tx: Auto vPlaygroundvU.ellan teSa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1;select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<-›1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.teamaid = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf TeamsUTF-84 spaces...
|
12569
|
|
12573
|
268
|
49
|
2026-04-14T11:25:26.142680+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165926142_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:25•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...-*8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
-8576203920782994525
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:25•ec2-user@ip-10-30-93-249:~L₴81DOCKER0 81DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...-*8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12574
|
269
|
61
|
2026-04-14T11:25:29.374439+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165929374_m2.jpg...
|
PhpStorm
|
faVsco.js – ReportController.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Sync Changes
Hide This Notification
Code changed:
Hide
3
Previous Highlighted Error
Next Highlighted Error
<?php
declare(strict_types=1);
namespace Jiminny\Http\Controllers\Webhook;
use Carbon\Carbon;
use Illuminate\Contracts\Bus\Dispatcher as BusDispatcher;
use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Jiminny\Events\AutomatedReports\AutomatedReportGenerated;
use Jiminny\Exceptions\ModelNotFoundException;
use Jiminny\Http\Controllers\AbstractController;
use Jiminny\Jobs\AutomatedReports\SendReportJob;
use Jiminny\Models\AutomatedReportResult;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsCallbackService;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsService;
use Psr\Log\LoggerInterface;
use Throwable;
class ReportController extends AbstractController
{
/**
* Log prefix for all log messages
*/
private const string LOG_PREFIX = '[Report Ready]';
public function __construct(
private readonly AutomatedReportsService $automatedReportsService,
private readonly BusDispatcher $dispatcher,
private readonly LoggerInterface $logger,
private readonly AutomatedReportsCallbackService $callbackService,
private readonly EventDispatcher $eventDispatcher,
) {
}
public function ready(Request $request): JsonResponse
{
$payload = $request->all();
$now = Carbon::now();
$this->logger->info(self::LOG_PREFIX . ' Webhook received', [
'payload' => $payload,
]);
// validate
$reportUuid = $this->callbackService->getResultUuid($payload);
if (empty($reportUuid)) {
return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);
}
try {
$report = $this->automatedReportsService->getReportResult($reportUuid);
// validate
if ($this->callbackService->isProcessed($report)) {
$this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [
'uuid' => $reportUuid,
'currentStatus' => $report->getStatusLabel(),
]);
return response()->json(['status' => 'already_processed']);
}
// always try to get a child podcast cause report configuration cannot be trusted
$reportPodcast = $this->automatedReportsService->findChildResult(
result: $report,
type: AutomatedReportsService::MEDIA_TYPE_PODCAST
);
// update results
$report->update([
'status' => $this->callbackService->getPrimaryStatus($report, $payload),
'response' => $payload,
'generated_at' => $now,
]);
// if a podcast is set, update it
$reportPodcast?->update([
'status' => $this->callbackService->getPodcastStatus($payload),
'response' => $payload,
'generated_at' => $now,
]);
$this->logger->info(self::LOG_PREFIX . ' Report has been processed', [
'uuid' => $reportUuid,
'child_uuid' => $reportPodcast?->getUuid(),
]);
if (! $this->callbackService->isSuccess($payload)) {
$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);
return response()->json(['status' => 'ok']);
}
// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)
if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {
// send the primary report
$this->dispatcher->dispatch(new SendReportJob($reportUuid));
// send the podcast report if it set and generated
if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {
$this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));
}
}
// Track Datadog metrics for automated reports
$automatedReport = $report->getReport();
$this->callbackService->pushToDatadog($automatedReport, $report);
if ($reportPodcast) {
$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);
}
$this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));
} catch (ModelNotFoundException $exception) {
$this->logger->error(self::LOG_PREFIX . ' Report not found', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);
} catch (Throwable $exception) {
$this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);
}
return response()->json(['status' => 'ok']);
}
}
Project
Project
New File or Directory…
Expand Selected
Collapse All
Options
Hide...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.03046875,"top":0.017361112,"width":0.0453125,"height":0.022222223},"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"bounds":{"left":0.07578125,"top":0.017361112,"width":0.14257812,"height":0.022222223},"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.78515625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"bounds":{"left":0.803125,"top":0.017361112,"width":0.09765625,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9007813,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9140625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9273437,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96015626,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9734375,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9867188,"top":0.017361112,"width":0.013281226,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"bounds":{"left":0.5480469,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"bounds":{"left":0.5582031,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"bounds":{"left":0.57109374,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"bounds":{"left":0.58125,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"bounds":{"left":0.5914062,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"bounds":{"left":0.60429686,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"bounds":{"left":0.6171875,"top":0.06458333,"width":0.028515626,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"bounds":{"left":0.6484375,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"bounds":{"left":0.66132814,"top":0.06458333,"width":0.034765624,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"bounds":{"left":0.9515625,"top":0.06458333,"width":0.033203125,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"16","depth":4,"bounds":{"left":0.92890626,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"14","depth":4,"bounds":{"left":0.94257814,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"13","depth":4,"bounds":{"left":0.95625,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.96953124,"top":0.08472222,"width":0.00859375,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.978125,"top":0.08472222,"width":0.008203125,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","depth":4,"value":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"3","depth":4,"bounds":{"left":0.5179688,"top":0.13055556,"width":0.009375,"height":0.013194445},"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.5292969,"top":0.12916666,"width":0.00859375,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.5378906,"top":0.12916666,"width":0.008203125,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\ndeclare(strict_types=1);\n\nnamespace Jiminny\\Http\\Controllers\\Webhook;\n\nuse Carbon\\Carbon;\nuse Illuminate\\Contracts\\Bus\\Dispatcher as BusDispatcher;\nuse Illuminate\\Contracts\\Events\\Dispatcher as EventDispatcher;\nuse Illuminate\\Http\\JsonResponse;\nuse Illuminate\\Http\\Request;\nuse Jiminny\\Events\\AutomatedReports\\AutomatedReportGenerated;\nuse Jiminny\\Exceptions\\ModelNotFoundException;\nuse Jiminny\\Http\\Controllers\\AbstractController;\nuse Jiminny\\Jobs\\AutomatedReports\\SendReportJob;\nuse Jiminny\\Models\\AutomatedReportResult;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsCallbackService;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsService;\nuse Psr\\Log\\LoggerInterface;\nuse Throwable;\n\nclass ReportController extends AbstractController\n{\n /**\n * Log prefix for all log messages\n */\n private const string LOG_PREFIX = '[Report Ready]';\n\n public function __construct(\n private readonly AutomatedReportsService $automatedReportsService,\n private readonly BusDispatcher $dispatcher,\n private readonly LoggerInterface $logger,\n private readonly AutomatedReportsCallbackService $callbackService,\n private readonly EventDispatcher $eventDispatcher,\n ) {\n }\n\n public function ready(Request $request): JsonResponse\n {\n $payload = $request->all();\n $now = Carbon::now();\n\n $this->logger->info(self::LOG_PREFIX . ' Webhook received', [\n 'payload' => $payload,\n ]);\n\n // validate\n $reportUuid = $this->callbackService->getResultUuid($payload);\n if (empty($reportUuid)) {\n return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);\n }\n\n try {\n $report = $this->automatedReportsService->getReportResult($reportUuid);\n\n // validate\n if ($this->callbackService->isProcessed($report)) {\n $this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [\n 'uuid' => $reportUuid,\n 'currentStatus' => $report->getStatusLabel(),\n ]);\n\n return response()->json(['status' => 'already_processed']);\n }\n\n // always try to get a child podcast cause report configuration cannot be trusted\n $reportPodcast = $this->automatedReportsService->findChildResult(\n result: $report,\n type: AutomatedReportsService::MEDIA_TYPE_PODCAST\n );\n\n // update results\n $report->update([\n 'status' => $this->callbackService->getPrimaryStatus($report, $payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n // if a podcast is set, update it\n $reportPodcast?->update([\n 'status' => $this->callbackService->getPodcastStatus($payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n\n $this->logger->info(self::LOG_PREFIX . ' Report has been processed', [\n 'uuid' => $reportUuid,\n 'child_uuid' => $reportPodcast?->getUuid(),\n ]);\n\n if (! $this->callbackService->isSuccess($payload)) {\n $this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);\n\n return response()->json(['status' => 'ok']);\n }\n\n // If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)\n if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {\n // send the primary report\n $this->dispatcher->dispatch(new SendReportJob($reportUuid));\n\n // send the podcast report if it set and generated\n if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {\n $this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));\n }\n }\n\n // Track Datadog metrics for automated reports\n $automatedReport = $report->getReport();\n $this->callbackService->pushToDatadog($automatedReport, $report);\n\n if ($reportPodcast) {\n $this->callbackService->pushToDatadog($automatedReport, $reportPodcast);\n }\n\n $this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));\n } catch (ModelNotFoundException $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Report not found', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);\n } catch (Throwable $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);\n }\n\n return response()->json(['status' => 'ok']);\n }\n}","depth":4,"value":"<?php\n\ndeclare(strict_types=1);\n\nnamespace Jiminny\\Http\\Controllers\\Webhook;\n\nuse Carbon\\Carbon;\nuse Illuminate\\Contracts\\Bus\\Dispatcher as BusDispatcher;\nuse Illuminate\\Contracts\\Events\\Dispatcher as EventDispatcher;\nuse Illuminate\\Http\\JsonResponse;\nuse Illuminate\\Http\\Request;\nuse Jiminny\\Events\\AutomatedReports\\AutomatedReportGenerated;\nuse Jiminny\\Exceptions\\ModelNotFoundException;\nuse Jiminny\\Http\\Controllers\\AbstractController;\nuse Jiminny\\Jobs\\AutomatedReports\\SendReportJob;\nuse Jiminny\\Models\\AutomatedReportResult;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsCallbackService;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsService;\nuse Psr\\Log\\LoggerInterface;\nuse Throwable;\n\nclass ReportController extends AbstractController\n{\n /**\n * Log prefix for all log messages\n */\n private const string LOG_PREFIX = '[Report Ready]';\n\n public function __construct(\n private readonly AutomatedReportsService $automatedReportsService,\n private readonly BusDispatcher $dispatcher,\n private readonly LoggerInterface $logger,\n private readonly AutomatedReportsCallbackService $callbackService,\n private readonly EventDispatcher $eventDispatcher,\n ) {\n }\n\n public function ready(Request $request): JsonResponse\n {\n $payload = $request->all();\n $now = Carbon::now();\n\n $this->logger->info(self::LOG_PREFIX . ' Webhook received', [\n 'payload' => $payload,\n ]);\n\n // validate\n $reportUuid = $this->callbackService->getResultUuid($payload);\n if (empty($reportUuid)) {\n return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);\n }\n\n try {\n $report = $this->automatedReportsService->getReportResult($reportUuid);\n\n // validate\n if ($this->callbackService->isProcessed($report)) {\n $this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [\n 'uuid' => $reportUuid,\n 'currentStatus' => $report->getStatusLabel(),\n ]);\n\n return response()->json(['status' => 'already_processed']);\n }\n\n // always try to get a child podcast cause report configuration cannot be trusted\n $reportPodcast = $this->automatedReportsService->findChildResult(\n result: $report,\n type: AutomatedReportsService::MEDIA_TYPE_PODCAST\n );\n\n // update results\n $report->update([\n 'status' => $this->callbackService->getPrimaryStatus($report, $payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n // if a podcast is set, update it\n $reportPodcast?->update([\n 'status' => $this->callbackService->getPodcastStatus($payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n\n $this->logger->info(self::LOG_PREFIX . ' Report has been processed', [\n 'uuid' => $reportUuid,\n 'child_uuid' => $reportPodcast?->getUuid(),\n ]);\n\n if (! $this->callbackService->isSuccess($payload)) {\n $this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);\n\n return response()->json(['status' => 'ok']);\n }\n\n // If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)\n if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {\n // send the primary report\n $this->dispatcher->dispatch(new SendReportJob($reportUuid));\n\n // send the podcast report if it set and generated\n if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {\n $this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));\n }\n }\n\n // Track Datadog metrics for automated reports\n $automatedReport = $report->getReport();\n $this->callbackService->pushToDatadog($automatedReport, $report);\n\n if ($reportPodcast) {\n $this->callbackService->pushToDatadog($automatedReport, $reportPodcast);\n }\n\n $this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));\n } catch (ModelNotFoundException $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Report not found', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);\n } catch (Throwable $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);\n }\n\n return response()->json(['status' => 'ok']);\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"Project","depth":3,"role_description":"text"},{"role":"AXButton","text":"Project","depth":3,"bounds":{"left":0.0140625,"top":0.041666668,"width":0.028515626,"height":0.021527778},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"New File or Directory…","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Expand Selected","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Collapse All","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Options","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-8011625077326189080
|
6686649160176153677
|
click
|
accessibility
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Sync Changes
Hide This Notification
Code changed:
Hide
3
Previous Highlighted Error
Next Highlighted Error
<?php
declare(strict_types=1);
namespace Jiminny\Http\Controllers\Webhook;
use Carbon\Carbon;
use Illuminate\Contracts\Bus\Dispatcher as BusDispatcher;
use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Jiminny\Events\AutomatedReports\AutomatedReportGenerated;
use Jiminny\Exceptions\ModelNotFoundException;
use Jiminny\Http\Controllers\AbstractController;
use Jiminny\Jobs\AutomatedReports\SendReportJob;
use Jiminny\Models\AutomatedReportResult;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsCallbackService;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsService;
use Psr\Log\LoggerInterface;
use Throwable;
class ReportController extends AbstractController
{
/**
* Log prefix for all log messages
*/
private const string LOG_PREFIX = '[Report Ready]';
public function __construct(
private readonly AutomatedReportsService $automatedReportsService,
private readonly BusDispatcher $dispatcher,
private readonly LoggerInterface $logger,
private readonly AutomatedReportsCallbackService $callbackService,
private readonly EventDispatcher $eventDispatcher,
) {
}
public function ready(Request $request): JsonResponse
{
$payload = $request->all();
$now = Carbon::now();
$this->logger->info(self::LOG_PREFIX . ' Webhook received', [
'payload' => $payload,
]);
// validate
$reportUuid = $this->callbackService->getResultUuid($payload);
if (empty($reportUuid)) {
return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);
}
try {
$report = $this->automatedReportsService->getReportResult($reportUuid);
// validate
if ($this->callbackService->isProcessed($report)) {
$this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [
'uuid' => $reportUuid,
'currentStatus' => $report->getStatusLabel(),
]);
return response()->json(['status' => 'already_processed']);
}
// always try to get a child podcast cause report configuration cannot be trusted
$reportPodcast = $this->automatedReportsService->findChildResult(
result: $report,
type: AutomatedReportsService::MEDIA_TYPE_PODCAST
);
// update results
$report->update([
'status' => $this->callbackService->getPrimaryStatus($report, $payload),
'response' => $payload,
'generated_at' => $now,
]);
// if a podcast is set, update it
$reportPodcast?->update([
'status' => $this->callbackService->getPodcastStatus($payload),
'response' => $payload,
'generated_at' => $now,
]);
$this->logger->info(self::LOG_PREFIX . ' Report has been processed', [
'uuid' => $reportUuid,
'child_uuid' => $reportPodcast?->getUuid(),
]);
if (! $this->callbackService->isSuccess($payload)) {
$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);
return response()->json(['status' => 'ok']);
}
// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)
if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {
// send the primary report
$this->dispatcher->dispatch(new SendReportJob($reportUuid));
// send the podcast report if it set and generated
if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {
$this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));
}
}
// Track Datadog metrics for automated reports
$automatedReport = $report->getReport();
$this->callbackService->pushToDatadog($automatedReport, $report);
if ($reportPodcast) {
$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);
}
$this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));
} catch (ModelNotFoundException $exception) {
$this->logger->error(self::LOG_PREFIX . ' Report not found', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);
} catch (Throwable $exception) {
$this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);
}
return response()->json(['status' => 'ok']);
}
}
Project
Project
New File or Directory…
Expand Selected
Collapse All
Options
Hide...
|
NULL
|
|
12575
|
NULL
|
0
|
2026-04-14T11:25:29.357367+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165929357_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 35 mlA100% CTue 14 Apr 14:25:28•ec2-user@ip-10-30-93-249:~L₴81DOCKER© *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
1913356096668575636
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol= Support Daily • in 35 mlA100% CTue 14 Apr 14:25:28•ec2-user@ip-10-30-93-249:~L₴81DOCKER© *1DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily", "type": "ask_jiminny"} {"correlation_id":"246a1ala-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12573
|
|
12576
|
NULL
|
0
|
2026-04-14T11:25:30.055339+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165930055_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpPusnercontroller.phpSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M Transformers© Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD ActivityA AutomationC AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMiddlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.phpc) DummyJob.php© ReportController.php xAutomaleakeporscommana.ong© AutomatedReportsSendCommand.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onpCreateHeldActivityEvent.php© AddLayoutEntities.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),''response' => Spayload.'generated_at' => $now,© Team.php100101102103104105106108109110111112113114115116117118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {// send the primary reportSthis→>dispatcher→>dispatch(new SendReportJob (Sreportuvid));// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) €$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:29A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny:16 14 V.13= custom.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004554555556557558559560561D04563564-565566567568 v569570= laravel.logA SF [jiminny@localhost]Tx: Auto vPlaygroundvU,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf Teams99:58UTF-84 spaces...
|
NULL
|
1517785982946377240
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCr© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpPusnercontroller.phpSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M Transformers© Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD ActivityA AutomationC AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMiddlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.phpc) DummyJob.php© ReportController.php xAutomaleakeporscommana.ong© AutomatedReportsSendCommand.phpC AutomatedReportsRepository.phpAulomaleakeporisservice.onpCreateHeldActivityEvent.php© AddLayoutEntities.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),''response' => Spayload.'generated_at' => $now,© Team.php100101102103104105106108109110111112113114115116117118119120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX' Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {// send the primary reportSthis→>dispatcher→>dispatch(new SendReportJob (Sreportuvid));// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) €$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily • in 35 mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:29A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny:16 14 V.13= custom.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004554555556557558559560561D04563564-565566567568 v569570= laravel.logA SF [jiminny@localhost]Tx: Auto vPlaygroundvU,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf Teams99:58UTF-84 spaces...
|
12574
|
|
12577
|
271
|
0
|
2026-04-14T11:25:54.340475+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165954340_m2.jpg...
|
PhpStorm
|
faVsco.js – ReportController.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Sync Changes
Hide This Notification
Code changed:
Hide
3
Previous Highlighted Error
Next Highlighted Error
<?php
declare(strict_types=1);
namespace Jiminny\Http\Controllers\Webhook;
use Carbon\Carbon;
use Illuminate\Contracts\Bus\Dispatcher as BusDispatcher;
use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Jiminny\Events\AutomatedReports\AutomatedReportGenerated;
use Jiminny\Exceptions\ModelNotFoundException;
use Jiminny\Http\Controllers\AbstractController;
use Jiminny\Jobs\AutomatedReports\SendReportJob;
use Jiminny\Models\AutomatedReportResult;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsCallbackService;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsService;
use Psr\Log\LoggerInterface;
use Throwable;
class ReportController extends AbstractController
{
/**
* Log prefix for all log messages
*/
private const string LOG_PREFIX = '[Report Ready]';
public function __construct(
private readonly AutomatedReportsService $automatedReportsService,
private readonly BusDispatcher $dispatcher,
private readonly LoggerInterface $logger,
private readonly AutomatedReportsCallbackService $callbackService,
private readonly EventDispatcher $eventDispatcher,
) {
}
public function ready(Request $request): JsonResponse
{
$payload = $request->all();
$now = Carbon::now();
$this->logger->info(self::LOG_PREFIX . ' Webhook received', [
'payload' => $payload,
]);
// validate
$reportUuid = $this->callbackService->getResultUuid($payload);
if (empty($reportUuid)) {
return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);
}
try {
$report = $this->automatedReportsService->getReportResult($reportUuid);
// validate
if ($this->callbackService->isProcessed($report)) {
$this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [
'uuid' => $reportUuid,
'currentStatus' => $report->getStatusLabel(),
]);
return response()->json(['status' => 'already_processed']);
}
// always try to get a child podcast cause report configuration cannot be trusted
$reportPodcast = $this->automatedReportsService->findChildResult(
result: $report,
type: AutomatedReportsService::MEDIA_TYPE_PODCAST
);
// update results
$report->update([
'status' => $this->callbackService->getPrimaryStatus($report, $payload),
'response' => $payload,
'generated_at' => $now,
]);
// if a podcast is set, update it
$reportPodcast?->update([
'status' => $this->callbackService->getPodcastStatus($payload),
'response' => $payload,
'generated_at' => $now,
]);
$this->logger->info(self::LOG_PREFIX . ' Report has been processed', [
'uuid' => $reportUuid,
'child_uuid' => $reportPodcast?->getUuid(),
]);
if (! $this->callbackService->isSuccess($payload)) {
$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);
return response()->json(['status' => 'ok']);
}
// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)
if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {
// send the primary report
$this->dispatcher->dispatch(new SendReportJob($reportUuid));
// send the podcast report if it set and generated
if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {
$this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));
}
}
// Track Datadog metrics for automated reports
$automatedReport = $report->getReport();
$this->callbackService->pushToDatadog($automatedReport, $report);
if ($reportPodcast) {
$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);
}
$this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));
} catch (ModelNotFoundException $exception) {
$this->logger->error(self::LOG_PREFIX . ' Report not found', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);
} catch (Throwable $exception) {
$this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);
}
return response()->json(['status' => 'ok']);
}
}
Project
Project
New File or Directory…
Expand Selected
Collapse All
Options
Hide...
|
[{"role":"AXButton","text" [{"role":"AXButton","text":"Project: faVsco.js, menu","depth":5,"bounds":{"left":0.03046875,"top":0.017361112,"width":0.0453125,"height":0.022222223},"help_text":"~/jiminny/app","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"#11894 on JY-18909-automated-reports-ask-jiminny, menu","depth":5,"bounds":{"left":0.07578125,"top":0.017361112,"width":0.14257812,"height":0.022222223},"help_text":"Pull request #11894 exists for current branch JY-18909-automated-reports-ask-jiminny","role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Start Listening for PHP Debug Connections","depth":5,"bounds":{"left":0.78515625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"AutomatedReportsCommandTest","depth":6,"bounds":{"left":0.803125,"top":0.017361112,"width":0.09765625,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Run 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9007813,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Debug 'AutomatedReportsCommandTest'","depth":6,"bounds":{"left":0.9140625,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"More Actions","depth":6,"bounds":{"left":0.9273437,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"JetBrains AI","depth":5,"bounds":{"left":0.96015626,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Search Everywhere","depth":5,"bounds":{"left":0.9734375,"top":0.017361112,"width":0.01328125,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"IDE and Project Settings","depth":5,"bounds":{"left":0.9867188,"top":0.017361112,"width":0.013281226,"height":0.022222223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Execute","depth":4,"bounds":{"left":0.5480469,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Explain Plan","depth":4,"bounds":{"left":0.5582031,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Browse Query History","depth":4,"bounds":{"left":0.57109374,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"View Parameters","depth":4,"bounds":{"left":0.58125,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Open Query Execution Settings…","depth":4,"bounds":{"left":0.5914062,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"In-Editor Results","depth":4,"bounds":{"left":0.60429686,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Tx: Auto","depth":4,"bounds":{"left":0.6171875,"top":0.06458333,"width":0.028515626,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Cancel Running Statements","depth":4,"bounds":{"left":0.6484375,"top":0.06458333,"width":0.01015625,"height":0.016666668},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Playground","depth":4,"bounds":{"left":0.66132814,"top":0.06458333,"width":0.034765624,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"jiminny","depth":4,"bounds":{"left":0.9515625,"top":0.06458333,"width":0.033203125,"height":0.016666668},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"16","depth":4,"bounds":{"left":0.92890626,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"14","depth":4,"bounds":{"left":0.94257814,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXStaticText","text":"13","depth":4,"bounds":{"left":0.95625,"top":0.08611111,"width":0.011328125,"height":0.013194445},"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.96953124,"top":0.08472222,"width":0.00859375,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.978125,"top":0.08472222,"width":0.008203125,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","depth":4,"value":"SELECT * FROM teams WHERE id = 1;\n\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;\nSELECT * FROM crm_fields WHERE id = 2234;\nSELECT * FROM crm_field_values WHERE crm_field_id = 2234;\n\nselect * from crm_profiles where user_id = 143;\n\nselect * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO\nselect * from business_processes where crm_configuration_id = 39;\n# 01941000000H669AAC, 01941000000H66JAAS\n\nselect * from record_type_field_values\n where record_type_id IN (24);\n\nselect * from crm_field_values where id IN (2730);\n\nselect * from crm_configurations where id = 39;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce'; #1035\n\n\nselect * from users where team_id = 1; # 222 group 3\nSELECT * FROM activities WHERE user_id = 222 order by id desc;\nselect * from sidekick_settings where team_id = 1;\nselect * from teams where id = 1;\nselect * from team_features where team_id = 1;\n\nselect * from activities where crm_configuration_id = 2\nand provider = 'ms-teams' and id = 608765;\n\nSELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';\n\nselect * from sidekick_settings where team_id = 2;\n\nSELECT * FROM activities WHERE id = 608660;\nselect * from activity_summary_logs where activity_id = 608660;\nselect * from ai_prompts where transcription_id = 11214;\n\n# ********************************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;\n# id: 608818, crm: 59628809737\nSELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;\n# id: 608821, crm: 59632069252\nSELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,\nplaybook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,\nscheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at\nFROM activities a\njoin calendar_events ce on a.calendar_event_id = ce.id\nWHERE a.id IN (608818, 608821);\n\nselect * from users where team_id = 1;\nselect * from team_settings where team_id = 1;\nselect * from crm_profiles where crm_configuration_id = 39 order by user_id;\n\nselect * from team_features where team_id = 1;\n\nselect * from users where team_id = 2;\n\nSELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639\n# Preslava N. Ivanova, grou id 3\n\nSELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;\n\nselect * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';\n\nselect\n a.id,\n a.type,\n a.scheduled_start_time,\n a.actual_start_time,\n a.created_at,\n a.opportunity_id,\n a.status\nFROM activities a\nWHERE opportunity_id = 344\nand status IN ('completed', 'received', 'delivered')\nand (\n (a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')\nOR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))\n;\n\nSELECT * FROM users WHERE id = 222;\n\nSELECT * FROM crm_profiles WHERE user_id = 222;\nselect * from crm_layouts where crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;\n\nselect * from group_deal_risk_types;\n\nselect * from opportunities where team_id = 1;\n\nSELECT * FROM opportunities WHERE id = 315;\nSELECT * FROM crm_field_data WHERE object_id = 315;\nselect * from crm_field_data where object_id = 260;\n\nselect * from generic_ai_prompts where subject_id = 315;\n\nselect * from teams; # 36, 21, 121, james.graham@bullhorn.jiminny.com\nSELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';\n\n# ************************************************************************************\nselect * from teams where id = 1;\nselect * from crm_configurations where id = 39;\nselect * from users where team_id = 1;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 1;\n# 1 - 00541000004281rAAA\n# 204 - 0052g000003freeAAA\n# 429 - 0052g000003qGOiAAM\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\nselect * from activities where type = 'softphone'\nand created_at > '2024-12-11 15:24:36' order by id desc;\n\nselect * from activity_providers where team_id = 1;\nselect * from activity_provider_users where activity_provider_id = 328;\n\nselect * from opportunities where crm_configuration_id = 39\nAND account_id = 178 AND is_closed = false\norder by created_at DESC;\n\nselect * from contacts where id = 3952;\nselect * from accounts where id = 178;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations where id = 21;\nselect * from users where team_id = 36;\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 36;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 36\nand sa.provider = 'bullhorn';\n\nselect * from social_accounts where id = 348;\nUPDATE social_accounts SET\nprovider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',\nprovider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',\nexpires = 1733998131,\nstate = 'connected'\nWHERE id = 348;\n\n# ************************************************************************************\nselect * from teams where id = 31;\nselect * from crm_configurations where id = 18;\n\nselect * from users where team_id = 31; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 31;\n\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 31\nand sa.provider = 'close';\n\nselect * from contacts where crm_configuration_id = 18;\n\n# ********************** NEPTUNE **************************************************************\nselect * from teams;\nselect * from users where id IN (1030, 1035, 1052);\nselect * from crm_configurations;\n\nselect * from users where team_id = 65; # 257\nselect * from team_settings where team_id = 65; # 257\nselect * from invitations where team_id = 65; # 257\nselect * from users where email = 'integration-account@jiminny.com'; # 257\nselect u.email, cp.* from users u\njoin crm_profiles cp on u.id = cp.user_id\nwhere u.team_id = 65;\n\nselect * from crm_configurations where id = 53;\nselect * from accounts where crm_configuration_id = 53 order by id desc;\nselect * from leads where crm_configuration_id = 53 order by id desc;\nselect * from contacts where crm_configuration_id = 53 order by id desc;\nselect * from opportunities where crm_configuration_id = 53 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 53 order by id desc;\nselect * from crm_fields where crm_configuration_id = 53 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 53 order by id desc;\nselect * from stages where crm_configuration_id = 53 order by id desc;\n\n\nselect * from crm_profiles where crm_configuration_id = 13;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\nand sa.provider = 'integration-app';\n\nselect * from contacts where crm_configuration_id = 13;\n\nselect * from social_accounts where sociable_id = 283;\n\nSELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';\n\nselect * from activity_providers where team_id = 65;\nSELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 65\n;\n\n# ***************************** STAGING ********************************************\nSELECT * FROM teams;\nSELECT * FROM teams WHERE id = 88;\nSELECT * FROM teams WHERE id = 89;\nselect * from team_settings where team_id = 89;\nSELECT * FROM users WHERE team_id = 89;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 89;\n\nselect * from users;\nSELECT * FROM social_accounts WHERE sociable_id = 1761;\nSELECT * FROM crm_configurations WHERE id = 70;\nselect * from accounts where crm_configuration_id = 70 order by id desc;\nselect * from leads where crm_configuration_id = 70 order by id desc;\nselect * from contacts where crm_configuration_id = 70 order by id desc;\nselect * from opportunities where crm_configuration_id = 70 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 70 order by id desc;\nselect * from crm_fields where crm_configuration_id = 70 order by id desc;\nselect * from crm_field_values where crm_field_id = 3536 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 70 order by id desc;\nselect * from stages where crm_configuration_id = 70 order by id desc;\nselect * from business_processes where crm_configuration_id = 70 order by id desc;\nselect * from business_process_stages where business_process_id = 34;\n\nselect * from contacts where id = 10468;\n\nselect * from crm_layouts where crm_configuration_id = 70;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;\nSELECT * FROM crm_fields WHERE id IN (3533,3534,3535);\n\nselect * from activities where crm_configuration_id = 70\nand (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;\n\nSELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;\nSELECT * FROM activities where crm_configuration_id = 69 ;\n\nSELECT * FROM users WHERE email LIKE '%jiminny_web_sa2@jiminny.com%';\nSELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;\nSELECT * FROM opportunities WHERE id = 385;\n\nselect * from participants p\njoin activities a on p.activity_id = a.id\nwhere a.crm_configuration_id = 70\nand (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);\nSELECT * FROM participants WHERE id = 1013638;\n\nselect * from teams where id = 90;\nselect * from users where team_id = 90;\nselect * from social_accounts where social_accounts.sociable_id IN (1960,1760);\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 71;\nselect * from invitations where team_id = 90;\n\nselect * from crm_configurations where id = 71;\nselect * from accounts where crm_configuration_id = 71 order by id desc;\nselect * from leads where crm_configuration_id = 71 order by id desc;\nselect * from contacts where crm_configuration_id = 71 order by id desc;\nselect * from opportunities where crm_configuration_id = 71 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 71 order by id desc;\nselect * from crm_fields where crm_configuration_id = 71 order by id desc;\nselect * from crm_field_values where crm_field_id = 3341 order by id desc;\nselect * from crm_layouts where crm_configuration_id = 71 order by id desc;\nselect * from stages where crm_configuration_id = 71 order by id desc;\n\nselect * from users order by secondary_email desc;\nselect u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa\n join users u on sa.sociable_id = u.id\nwhere sa.provider = 'google' and u.email LIKE 'aneliya%';\n\nselect * from failed_jobs order by id desc;\n\nselect * from users where email = 'ben.allwright@learningpeople.co.uk' or secondary_email = 'ben.allwright@learningpeople.co.uk';\n\nselect * from teams;\nSELECT * FROM crm_profiles WHERE crm_configuration_id = 39;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 1\nand sa.provider = 'salesforce';\n\n# ************************************************************************************\nSELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;\nSELECT * FROM crm_configurations WHERE id = 70;\n\nselect * from teams where id = 1;\nselect * from groups where team_id = 1;\nselect * from users where team_id = 1;\n\nselect o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o\njoin users u on o.user_id = u.id\njoin groups g on u.group_id = g.id\njoin role_user ru on u.id = ru.user_id\njoin roles r on ru.role_id = r.id\nwhere o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';\n\nselect * from role_user where user_id = 143;\nselect * from roles;\n\nselect * from role_user;\nselect * from groups where id = 9;\nselect * from scope_groups where group_id = 9;\n\n# ************************************************************************************\nselect * from teams where id = 36;\nselect * from crm_configurations;\nSELECT * FROM social_accounts WHERE sociable_id = 121;\n\nhttps://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105\nhttps://crmsandbox.zoho.com/crm/\n\nhttps://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080\n https://crm.zoho.com/crm/\n org3469620\n\nSELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;\n\nselect * from users where email LIKE \"%mobile_automation_%\";\nselect * from social_accounts where sociable_id IN (2228);\nselect * from crm_profiles where user_id IN (2222,2223,2226,2227);\n\nselect * from teams order by id desc;\nSELECT * FROM users WHERE id = 2229;\nSELECT * FROM crm_profiles WHERE user_id = 2229;\nselect * from opportunities where crm_configuration_id = 88;\nselect * from crm_fields where crm_configuration_id = 88;\nselect * from crm_profiles where crm_configuration_id = 88;\n\nSELECT * FROM teams WHERE id = 1;\n\nSELECT * FROM users WHERE id = 143;\nSELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;\n\nhttps://app.staging.jiminny.com/ondemand?\n min_duration=1\n &\n only_recorded=1\n &\n user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e\n &\n sequence_number=2\n\n select * from users where team_id = 1 and email like '%stoyan%'\n\nselect * from coaching_feedbacks;\n\nselect * from teams;\nSELECT * FROM users WHERE team_id = 36;\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from users where id = 143;\n\nSELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\nSELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;\n\nselect * from users where team_id = 2;\nselect * from activities where crm_configuration_id = 39\nand activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'\nAND user_id = 143\norder by id desc;\n\n# ************************************************************************************\nselect * from teams where id = 142; # 2312, 126\nselect * from team_settings;\nselect * from users where team_id = 142; # 21642\nSELECT * FROM social_accounts WHERE sociable_id = 21642;\nSELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;\nselect * from crm_profiles where id IN (93);\nselect * from invitations;\nselect * from team_features where team_id = 1;\n\nSELECT * FROM crm_configurations WHERE id = 126;\nselect * from accounts where crm_configuration_id = 126 order by id desc;\nselect * from leads where crm_configuration_id = 126 order by id desc;\nselect * from contacts where crm_configuration_id = 126 order by id desc;\nselect * from opportunities where crm_configuration_id = 126 order by id desc;\nselect * from crm_profiles where crm_configuration_id = 126 order by id desc;\nselect * from crm_fields where crm_configuration_id = 126 # 11060\n# and type IN ('picklist', 'status')\n# and object_type = 'task'\norder by id desc;\n# 5731,5732,5733\nselect DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;\nselect * from crm_layouts where crm_configuration_id = 126 order by id desc;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);\nselect * from stages where crm_configuration_id = 126 order by id desc;\nselect * from business_processes where crm_configuration_id = 126 order by id desc;\nselect * from business_process_stages where business_process_id IN (76,75,74,73);\nselect * from playbooks where team_id = 142;\nselect * from playbook_layouts where playbook_id IN (108);\nSELECT * FROM playbook_categories WHERE playbook_id IN (108);\n\nselect * from teams where id = 130;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 2\nand sa.provider = 'hubspot';\n\nSELECT * FROM activities\n WHERE crm_configuration_id = 110;\n\nselect * from teams;\nselect * from crm_configurations;\n\nSELECT * FROM activities WHERE id = 628773;\nSELECT * FROM crm_profiles WHERE user_id = 1460;\nSELECT * FROM social_accounts WHERE sociable_id = 2291;\n\nselect * from teams;\nselect ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id\njoin permission_role pr on pr.role_id = ru.role_id\n join permissions p on p.id = pr.permission_id\nwhere team_id = 495 and p.name IN ('dial');\n\nselect * from teams where id = 145;\nselect * from crm_configurations where id = 129;\nselect * from social_accounts where sociable_id = 2317;\nSELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;\n\nselect * from teams where id = 1;\nSELECT * FROM crm_layouts WHERE crm_configuration_id = 39;\nSELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;\nSELECT * FROM crm_layout_entities WHERE id = 5507;\nSELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');\n\nselect * from teams;\nselect * from activities where crm_configuration_id = 14;\n\nSELECT * FROM social_accounts where provider = 'copper';\n\nselect * from activities where id = 628467;\nselect * from participants where activity_id = 628467;\n\nSELECT * FROM contacts WHERE id = 3969;\nSELECT * FROM accounts WHERE id = 177;\n\nSELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;\n\n# ********************* BH\nselect * from teams where id = 36;\nSELECT * FROM crm_configurations WHERE id = 21;\nselect * from activities where crm_configuration_id = 21 and id = 607901;\nselect * from activities where crm_configuration_id = 21;\n\nselect * roles;\nselect * from permissions;\nselect * from permission_role where permission_id = 226;\n\nselect * from migrations order by id desc;\n\n# mercury\n# neptune\n# earth\n\nselect * from teams;\nselect * from teams where id = 19;\nselect * from teams where id = 27;\nselect * from users where team_id = 27;\nSELECT * FROM crm_configurations WHERE id = 42;\n\nselect * from social_accounts sa\njoin users u on sa.sociable_id = u.id\nwhere u.team_id = 19\nand sa.provider = 'pipedrive';\n\nselect * from activities where id = 631461;\nSELECT * FROM crm_field_values WHERE crm_field_id = 180;\n\nselect * from teams where id = 2;\nSELECT * FROM social_accounts WHERE sociable_id = 89;\n\nSELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273\nselect * from activity_summary_logs where activity_id = 634273;\n\nselect * from sidekick_settings where team_id = 2;\n\nselect * from teams; # 2, 2\nSELECT * FROM crm_configurations WHERE team_id = 2; # 2\nselect * from team_features where team_id = 2;\nselect * from features;\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';\nSELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;\n\nselect * from automated_reports order by id desc;\nselect * from automated_report_results order by id desc;\nselect * from users where team_id = 1 and id IN (7160, 3248);\nselect * from migrations order by id desc;\n\nSELECT\n CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,\n u.email,\n sa.*,\n t.owner_id FROM social_accounts sa\nJOIN users u on u.id = sa.sociable_id\nJOIN teams t on t.id = u.team_id\nWHERE u.team_id = 1 and sa.provider = 'salesforce';\n\nselect * from teams where id = 1;\nselect * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;\nselect * from groups where id = 565;\nselect * from playbooks where team_id = 1;\nselect * from playbooks where id = 175;\nselect * from playbook_categories where playbook_id = 175;\nselect * from users where team_id = 1;\nselect * from users where id = 7160;\nselect * from crm_profiles where user_id = 7160;\nselect * from features;\nselect\n *\n# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,\n# crm_configuration_id, crm_provider_id, transcription_id, status\nfrom activities where crm_configuration_id = 1 and type = 'conference'\n# and crm_provider_id IS NOT NULL\nand provider != 'uploader' and actual_start_time IS NOT NULL\nORDER by id desc;\nselect * from activities where id = 54747783; # 00UO400000pCzojMAC\n\nselect p.id, p.activity_type, pc.id, pc.name\nFROM playbooks p\njoin playbook_categories pc on p.id = pc.playbook_id\nwhere p.team_id = 1 and p.activity_type = 'event';\n\nSELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';\nSELECT * FROM crm_field_values WHERE crm_field_id = 4;\n\nselect * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id\nwhere crm_configuration_id = 1 and pl.playbook_id = 175;\n\nselect * from teams;\nSELECT r.* FROM automated_reports r\njoin teams t on r.team_id = t.id\nWHERE r.frequency = 'daily'\n and r.status = 1\nAND t.status = 'active'\nAND (r.expires_at >= now() OR r.expires_at IS NULL);\n\nselect * from automated_report_results where report_id IN (18, 33);\n\nselect * from activity_searches where id = 10932;\nselect * from activity_search_filters where activity_search_id = 10932;\nselect * from automated_reports order by id desc;\nselect * from automated_report_results where report_id IN (36);","role_description":"text entry area","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Sync Changes","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide This Notification","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":false,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Code changed:","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.049609374,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"3","depth":4,"bounds":{"left":0.5179688,"top":0.13055556,"width":0.009375,"height":0.013194445},"role_description":"text"},{"role":"AXButton","text":"Previous Highlighted Error","depth":4,"bounds":{"left":0.5292969,"top":0.12916666,"width":0.00859375,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Next Highlighted Error","depth":4,"bounds":{"left":0.5378906,"top":0.12916666,"width":0.008203125,"height":0.015972223},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXTextArea","text":"<?php\n\ndeclare(strict_types=1);\n\nnamespace Jiminny\\Http\\Controllers\\Webhook;\n\nuse Carbon\\Carbon;\nuse Illuminate\\Contracts\\Bus\\Dispatcher as BusDispatcher;\nuse Illuminate\\Contracts\\Events\\Dispatcher as EventDispatcher;\nuse Illuminate\\Http\\JsonResponse;\nuse Illuminate\\Http\\Request;\nuse Jiminny\\Events\\AutomatedReports\\AutomatedReportGenerated;\nuse Jiminny\\Exceptions\\ModelNotFoundException;\nuse Jiminny\\Http\\Controllers\\AbstractController;\nuse Jiminny\\Jobs\\AutomatedReports\\SendReportJob;\nuse Jiminny\\Models\\AutomatedReportResult;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsCallbackService;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsService;\nuse Psr\\Log\\LoggerInterface;\nuse Throwable;\n\nclass ReportController extends AbstractController\n{\n /**\n * Log prefix for all log messages\n */\n private const string LOG_PREFIX = '[Report Ready]';\n\n public function __construct(\n private readonly AutomatedReportsService $automatedReportsService,\n private readonly BusDispatcher $dispatcher,\n private readonly LoggerInterface $logger,\n private readonly AutomatedReportsCallbackService $callbackService,\n private readonly EventDispatcher $eventDispatcher,\n ) {\n }\n\n public function ready(Request $request): JsonResponse\n {\n $payload = $request->all();\n $now = Carbon::now();\n\n $this->logger->info(self::LOG_PREFIX . ' Webhook received', [\n 'payload' => $payload,\n ]);\n\n // validate\n $reportUuid = $this->callbackService->getResultUuid($payload);\n if (empty($reportUuid)) {\n return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);\n }\n\n try {\n $report = $this->automatedReportsService->getReportResult($reportUuid);\n\n // validate\n if ($this->callbackService->isProcessed($report)) {\n $this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [\n 'uuid' => $reportUuid,\n 'currentStatus' => $report->getStatusLabel(),\n ]);\n\n return response()->json(['status' => 'already_processed']);\n }\n\n // always try to get a child podcast cause report configuration cannot be trusted\n $reportPodcast = $this->automatedReportsService->findChildResult(\n result: $report,\n type: AutomatedReportsService::MEDIA_TYPE_PODCAST\n );\n\n // update results\n $report->update([\n 'status' => $this->callbackService->getPrimaryStatus($report, $payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n // if a podcast is set, update it\n $reportPodcast?->update([\n 'status' => $this->callbackService->getPodcastStatus($payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n\n $this->logger->info(self::LOG_PREFIX . ' Report has been processed', [\n 'uuid' => $reportUuid,\n 'child_uuid' => $reportPodcast?->getUuid(),\n ]);\n\n if (! $this->callbackService->isSuccess($payload)) {\n $this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);\n\n return response()->json(['status' => 'ok']);\n }\n\n // If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)\n if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {\n // send the primary report\n $this->dispatcher->dispatch(new SendReportJob($reportUuid));\n\n // send the podcast report if it set and generated\n if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {\n $this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));\n }\n }\n\n // Track Datadog metrics for automated reports\n $automatedReport = $report->getReport();\n $this->callbackService->pushToDatadog($automatedReport, $report);\n\n if ($reportPodcast) {\n $this->callbackService->pushToDatadog($automatedReport, $reportPodcast);\n }\n\n $this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));\n } catch (ModelNotFoundException $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Report not found', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);\n } catch (Throwable $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);\n }\n\n return response()->json(['status' => 'ok']);\n }\n}","depth":4,"value":"<?php\n\ndeclare(strict_types=1);\n\nnamespace Jiminny\\Http\\Controllers\\Webhook;\n\nuse Carbon\\Carbon;\nuse Illuminate\\Contracts\\Bus\\Dispatcher as BusDispatcher;\nuse Illuminate\\Contracts\\Events\\Dispatcher as EventDispatcher;\nuse Illuminate\\Http\\JsonResponse;\nuse Illuminate\\Http\\Request;\nuse Jiminny\\Events\\AutomatedReports\\AutomatedReportGenerated;\nuse Jiminny\\Exceptions\\ModelNotFoundException;\nuse Jiminny\\Http\\Controllers\\AbstractController;\nuse Jiminny\\Jobs\\AutomatedReports\\SendReportJob;\nuse Jiminny\\Models\\AutomatedReportResult;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsCallbackService;\nuse Jiminny\\Services\\Kiosk\\AutomatedReports\\AutomatedReportsService;\nuse Psr\\Log\\LoggerInterface;\nuse Throwable;\n\nclass ReportController extends AbstractController\n{\n /**\n * Log prefix for all log messages\n */\n private const string LOG_PREFIX = '[Report Ready]';\n\n public function __construct(\n private readonly AutomatedReportsService $automatedReportsService,\n private readonly BusDispatcher $dispatcher,\n private readonly LoggerInterface $logger,\n private readonly AutomatedReportsCallbackService $callbackService,\n private readonly EventDispatcher $eventDispatcher,\n ) {\n }\n\n public function ready(Request $request): JsonResponse\n {\n $payload = $request->all();\n $now = Carbon::now();\n\n $this->logger->info(self::LOG_PREFIX . ' Webhook received', [\n 'payload' => $payload,\n ]);\n\n // validate\n $reportUuid = $this->callbackService->getResultUuid($payload);\n if (empty($reportUuid)) {\n return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);\n }\n\n try {\n $report = $this->automatedReportsService->getReportResult($reportUuid);\n\n // validate\n if ($this->callbackService->isProcessed($report)) {\n $this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [\n 'uuid' => $reportUuid,\n 'currentStatus' => $report->getStatusLabel(),\n ]);\n\n return response()->json(['status' => 'already_processed']);\n }\n\n // always try to get a child podcast cause report configuration cannot be trusted\n $reportPodcast = $this->automatedReportsService->findChildResult(\n result: $report,\n type: AutomatedReportsService::MEDIA_TYPE_PODCAST\n );\n\n // update results\n $report->update([\n 'status' => $this->callbackService->getPrimaryStatus($report, $payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n // if a podcast is set, update it\n $reportPodcast?->update([\n 'status' => $this->callbackService->getPodcastStatus($payload),\n 'response' => $payload,\n 'generated_at' => $now,\n ]);\n\n $this->logger->info(self::LOG_PREFIX . ' Report has been processed', [\n 'uuid' => $reportUuid,\n 'child_uuid' => $reportPodcast?->getUuid(),\n ]);\n\n if (! $this->callbackService->isSuccess($payload)) {\n $this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);\n\n return response()->json(['status' => 'ok']);\n }\n\n // If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)\n if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {\n // send the primary report\n $this->dispatcher->dispatch(new SendReportJob($reportUuid));\n\n // send the podcast report if it set and generated\n if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {\n $this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));\n }\n }\n\n // Track Datadog metrics for automated reports\n $automatedReport = $report->getReport();\n $this->callbackService->pushToDatadog($automatedReport, $report);\n\n if ($reportPodcast) {\n $this->callbackService->pushToDatadog($automatedReport, $reportPodcast);\n }\n\n $this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));\n } catch (ModelNotFoundException $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Report not found', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);\n } catch (Throwable $exception) {\n $this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [\n 'uuid' => $reportUuid,\n 'error' => $exception->getMessage(),\n ]);\n\n return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);\n }\n\n return response()->json(['status' => 'ok']);\n }\n}","role_description":"text entry area","is_enabled":true,"is_focused":true,"is_selected":false,"is_expanded":false},{"role":"AXStaticText","text":"Project","depth":3,"role_description":"text"},{"role":"AXButton","text":"Project","depth":3,"bounds":{"left":0.0140625,"top":0.041666668,"width":0.028515626,"height":0.021527778},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"New File or Directory…","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Expand Selected","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Collapse All","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Options","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false},{"role":"AXButton","text":"Hide","depth":4,"bounds":{"left":0.23320313,"top":1.0,"width":0.01015625,"height":0.0},"role_description":"button","is_enabled":true,"is_focused":false,"is_selected":false,"is_expanded":false}]...
|
-8011625077326189080
|
6686649160176153677
|
visual_change
|
accessibility
|
NULL
|
Project: faVsco.js, menu
#11894 on JY-18909-automa Project: faVsco.js, menu
#11894 on JY-18909-automated-reports-ask-jiminny, menu
Start Listening for PHP Debug Connections
AutomatedReportsCommandTest
Run 'AutomatedReportsCommandTest'
Debug 'AutomatedReportsCommandTest'
More Actions
JetBrains AI
Search Everywhere
IDE and Project Settings
Execute
Explain Plan
Browse Query History
View Parameters
Open Query Execution Settings…
In-Editor Results
Tx: Auto
Cancel Running Statements
Playground
jiminny
Sync Changes
Hide This Notification
Code changed:
Hide
16
14
13
Previous Highlighted Error
Next Highlighted Error
SELECT * FROM teams WHERE id = 1;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 283;
SELECT * FROM crm_fields WHERE id = 2234;
SELECT * FROM crm_field_values WHERE crm_field_id = 2234;
select * from crm_profiles where user_id = 143;
select * from record_types where crm_configuration_id = 39; # 0121K000001MHElQAO,0121K000001MHEqQAO
select * from business_processes where crm_configuration_id = 39;
# 01941000000H669AAC, 01941000000H66JAAS
select * from record_type_field_values
where record_type_id IN (24);
select * from crm_field_values where id IN (2730);
select * from crm_configurations where id = 39;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce'; #1035
select * from users where team_id = 1; # 222 group 3
SELECT * FROM activities WHERE user_id = 222 order by id desc;
select * from sidekick_settings where team_id = 1;
select * from teams where id = 1;
select * from team_features where team_id = 1;
select * from activities where crm_configuration_id = 2
and provider = 'ms-teams' and id = 608765;
SELECT * FROM activities WHERE crm_configuration_id = 2 and crm_provider_id = '59523413338';
select * from sidekick_settings where team_id = 2;
SELECT * FROM activities WHERE id = 608660;
select * from activity_summary_logs where activity_id = 608660;
select * from ai_prompts where transcription_id = 11214;
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('ed78a437-2804-450e-ab2f-56ab1c641346') = uuid;
# id: 608818, crm: 59628809737
SELECT * FROM activities WHERE uuid_to_bin('36b06e55-afdd-4782-8dee-c624cd0af191') = uuid;
# id: 608821, crm: 59632069252
SELECT ce.start_time, ce.end_time, a.id, a.uuid, crm_provider_id, calendar_event_id, title,
playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id,
scheduled_start_time, scheduled_end_time, actual_start_time, actual_end_time, a.created_at
FROM activities a
join calendar_events ce on a.calendar_event_id = ce.id
WHERE a.id IN (608818, 608821);
select * from users where team_id = 1;
select * from team_settings where team_id = 1;
select * from crm_profiles where crm_configuration_id = 39 order by user_id;
select * from team_features where team_id = 1;
select * from users where team_id = 2;
SELECT * FROM activities WHERE uuid_to_bin('ec7647e9-5225-458b-b475-f31aa2769204') = uuid; # 612639
# Preslava N. Ivanova, grou id 3
SELECT * FROM opportunities WHERE uuid_to_bin('a2928fe5-aec5-46cb-85d9-7654c89e46a6') = uuid;
select * from activities where opportunity_id = 344 and actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00';
select
a.id,
a.type,
a.scheduled_start_time,
a.actual_start_time,
a.created_at,
a.opportunity_id,
a.status
FROM activities a
WHERE opportunity_id = 344
and status IN ('completed', 'received', 'delivered')
and (
(a.actual_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.created_at between '2024-10-11 00:00:00' and '2024-10-12 00:00:00')
OR (a.scheduled_start_time between '2024-10-11 00:00:00' and '2024-10-12 00:00:00'))
;
SELECT * FROM users WHERE id = 222;
SELECT * FROM crm_profiles WHERE user_id = 222;
select * from crm_layouts where crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 281;
select * from group_deal_risk_types;
select * from opportunities where team_id = 1;
SELECT * FROM opportunities WHERE id = 315;
SELECT * FROM crm_field_data WHERE object_id = 315;
select * from crm_field_data where object_id = 260;
select * from generic_ai_prompts where subject_id = 315;
select * from teams; # 36, 21, 121, [EMAIL]
SELECT * FROM social_accounts WHERE sociable_id = 121 and provider = 'bullhorn';
# [PASSWORD_DOTS]
select * from teams where id = 1;
select * from crm_configurations where id = 39;
select * from users where team_id = 1;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 1;
# 1 - 00541000004281rAAA
# 204 - 0052g000003freeAAA
# 429 - 0052g000003qGOiAAM
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
select * from activities where type = 'softphone'
and created_at > '2024-12-11 15:24:36' order by id desc;
select * from activity_providers where team_id = 1;
select * from activity_provider_users where activity_provider_id = 328;
select * from opportunities where crm_configuration_id = 39
AND account_id = 178 AND is_closed = false
order by created_at DESC;
select * from contacts where id = 3952;
select * from accounts where id = 178;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations where id = 21;
select * from users where team_id = 36;
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 36
and sa.provider = 'bullhorn';
select * from social_accounts where id = 348;
UPDATE social_accounts SET
provider_user_token = '21442_6802599_91:41179a58-21e7-4d7c-ad58-56bb666b2f65',
provider_refresh_token = '21442_6802599_91:01c6b335-3f2a-42e4-85ff-8a08fa65fceb',
expires = 1733998131,
state = 'connected'
WHERE id = 348;
# [PASSWORD_DOTS]
select * from teams where id = 31;
select * from crm_configurations where id = 18;
select * from users where team_id = 31; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 31;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 31
and sa.provider = 'close';
select * from contacts where crm_configuration_id = 18;
# [PASSWORD_DOTS] NEPTUNE [PASSWORD_DOTS]
select * from teams;
select * from users where id IN (1030, 1035, 1052);
select * from crm_configurations;
select * from users where team_id = 65; # 257
select * from team_settings where team_id = 65; # 257
select * from invitations where team_id = 65; # 257
select * from users where email = '[EMAIL]'; # 257
select u.email, cp.* from users u
join crm_profiles cp on u.id = cp.user_id
where u.team_id = 65;
select * from crm_configurations where id = 53;
select * from accounts where crm_configuration_id = 53 order by id desc;
select * from leads where crm_configuration_id = 53 order by id desc;
select * from contacts where crm_configuration_id = 53 order by id desc;
select * from opportunities where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 53 order by id desc;
select * from crm_fields where crm_configuration_id = 53 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 53 order by id desc;
select * from stages where crm_configuration_id = 53 order by id desc;
select * from crm_profiles where crm_configuration_id = 13;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
and sa.provider = 'integration-app';
select * from contacts where crm_configuration_id = 13;
select * from social_accounts where sociable_id = 283;
SELECT * FROM opportunities WHERE crm_provider_id = '006O400000E9bzeIAB';
select * from activity_providers where team_id = 65;
SELECT * FROM activities WHERE crm_configuration_id IN (51, 52, 53);
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 65
;
# [PASSWORD_DOTS] STAGING [PASSWORD_DOTS]
SELECT * FROM teams;
SELECT * FROM teams WHERE id = 88;
SELECT * FROM teams WHERE id = 89;
select * from team_settings where team_id = 89;
SELECT * FROM users WHERE team_id = 89;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 89;
select * from users;
SELECT * FROM social_accounts WHERE sociable_id = 1761;
SELECT * FROM crm_configurations WHERE id = 70;
select * from accounts where crm_configuration_id = 70 order by id desc;
select * from leads where crm_configuration_id = 70 order by id desc;
select * from contacts where crm_configuration_id = 70 order by id desc;
select * from opportunities where crm_configuration_id = 70 order by id desc;
select * from crm_profiles where crm_configuration_id = 70 order by id desc;
select * from crm_fields where crm_configuration_id = 70 order by id desc;
select * from crm_field_values where crm_field_id = 3536 order by id desc;
select * from crm_layouts where crm_configuration_id = 70 order by id desc;
select * from stages where crm_configuration_id = 70 order by id desc;
select * from business_processes where crm_configuration_id = 70 order by id desc;
select * from business_process_stages where business_process_id = 34;
select * from contacts where id = 10468;
select * from crm_layouts where crm_configuration_id = 70;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 388;
SELECT * FROM crm_fields WHERE id IN (3533,3534,3535);
select * from activities where crm_configuration_id = 70
and (account_id IS NOT NULL or lead_id IS NOT NULL or contact_id IS NOT NULL or opportunity_id IS NOT NULL) order by id desc;
SELECT * FROM activities WHERE uuid_to_bin('2e10b60f-8a61-41c5-a3d4-28835353dc65') = uuid;
SELECT * FROM activities where crm_configuration_id = 69 ;
SELECT * FROM users WHERE email LIKE '%[EMAIL]%';
SELECT * FROM activities WHERE uuid_to_bin('5a150c93-40fc-42ec-b3bd-c1d328e09f6e') = uuid;
SELECT * FROM opportunities WHERE id = 385;
select * from participants p
join activities a on p.activity_id = a.id
where a.crm_configuration_id = 70
and (p.lead_id IS NOT NULL or p.contact_id IS NOT NULL);
SELECT * FROM participants WHERE id = 1013638;
select * from teams where id = 90;
select * from users where team_id = 90;
select * from social_accounts where social_accounts.sociable_id IN (1960,1760);
SELECT * FROM crm_profiles WHERE crm_configuration_id = 71;
select * from invitations where team_id = 90;
select * from crm_configurations where id = 71;
select * from accounts where crm_configuration_id = 71 order by id desc;
select * from leads where crm_configuration_id = 71 order by id desc;
select * from contacts where crm_configuration_id = 71 order by id desc;
select * from opportunities where crm_configuration_id = 71 order by id desc;
select * from crm_profiles where crm_configuration_id = 71 order by id desc;
select * from crm_fields where crm_configuration_id = 71 order by id desc;
select * from crm_field_values where crm_field_id = 3341 order by id desc;
select * from crm_layouts where crm_configuration_id = 71 order by id desc;
select * from stages where crm_configuration_id = 71 order by id desc;
select * from users order by secondary_email desc;
select u.id, u.email, u.status, sa.id, sa.provider_user_id from social_accounts sa
join users u on sa.sociable_id = u.id
where sa.provider = 'google' and u.email LIKE 'aneliya%';
select * from failed_jobs order by id desc;
select * from users where email = '[EMAIL]' or secondary_email = '[EMAIL]';
select * from teams;
SELECT * FROM crm_profiles WHERE crm_configuration_id = 39;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type = 'task';
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 1
and sa.provider = 'salesforce';
# [PASSWORD_DOTS]
SELECT * FROM activities WHERE uuid_to_bin('c38b3895-fd0f-4b1f-9fb2-c170dba137c6') = uuid;
SELECT * FROM crm_configurations WHERE id = 70;
select * from teams where id = 1;
select * from groups where team_id = 1;
select * from users where team_id = 1;
select o.id, o.name,o.close_date, u.id, u.name, u.group_id, r.id, r.display_name, g.name, g.scope from opportunities o
join users u on o.user_id = u.id
join groups g on u.group_id = g.id
join role_user ru on u.id = ru.user_id
join roles r on ru.role_id = r.id
where o.crm_configuration_id = 39 and close_date > '2024-01-01 00:00:00';
select * from role_user where user_id = 143;
select * from roles;
select * from role_user;
select * from groups where id = 9;
select * from scope_groups where group_id = 9;
# [PASSWORD_DOTS]
select * from teams where id = 36;
select * from crm_configurations;
SELECT * FROM social_accounts WHERE sociable_id = 121;
https://crmsandbox.zoho.com/crm/jiminnyw4/tab/Leads/4776201000005049105
https://crmsandbox.zoho.com/crm/
https://crm.zoho.com/crm/org3469620/tab/Leads/230045000229559080
https://crm.zoho.com/crm/
org3469620
SELECT * FROM activities WHERE uuid_to_bin('03382d20-c8bc-48e7-a3d4-90b52fa5ceab') = uuid;
select * from users where email LIKE "%mobile_automation_%";
select * from social_accounts where sociable_id IN (2228);
select * from crm_profiles where user_id IN (2222,2223,2226,2227);
select * from teams order by id desc;
SELECT * FROM users WHERE id = 2229;
SELECT * FROM crm_profiles WHERE user_id = 2229;
select * from opportunities where crm_configuration_id = 88;
select * from crm_fields where crm_configuration_id = 88;
select * from crm_profiles where crm_configuration_id = 88;
SELECT * FROM teams WHERE id = 1;
SELECT * FROM users WHERE id = 143;
SELECT * FROM users WHERE uuid_to_bin('fde193d3-06a2-4e1a-8895-62b94039215d') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73385071-a756-42ae-9c73-8b53f2309467') = uuid;
https://app.staging.jiminny.com/ondemand?
min_duration=1
&
only_recorded=1
&
user_id%5B%5D=641f1acb-16b8-42d1-8726-df52979dad0e
&
sequence_number=2
select * from users where team_id = 1 and email like '%stoyan%'
select * from coaching_feedbacks;
select * from teams;
SELECT * FROM users WHERE team_id = 36;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from users where id = 143;
SELECT * FROM users WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM teams WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
SELECT * FROM activity_shares WHERE uuid_to_bin('73180eeb-33de-4065-977d-ccbe0e6c94fc') = uuid;
select * from users where team_id = 2;
select * from activities where crm_configuration_id = 39
and activities.scheduled_start_time BETWEEN '2025-04-09 00:00:00' AND '2025-04-09 23:59:59'
AND user_id = 143
order by id desc;
# [PASSWORD_DOTS]
select * from teams where id = 142; # 2312, 126
select * from team_settings;
select * from users where team_id = 142; # 21642
SELECT * FROM social_accounts WHERE sociable_id = 21642;
SELECT * FROM crm_profiles cp join users u ON u.id = cp.user_id WHERE team_id = 142;
select * from crm_profiles where id IN (93);
select * from invitations;
select * from team_features where team_id = 1;
SELECT * FROM crm_configurations WHERE id = 126;
select * from accounts where crm_configuration_id = 126 order by id desc;
select * from leads where crm_configuration_id = 126 order by id desc;
select * from contacts where crm_configuration_id = 126 order by id desc;
select * from opportunities where crm_configuration_id = 126 order by id desc;
select * from crm_profiles where crm_configuration_id = 126 order by id desc;
select * from crm_fields where crm_configuration_id = 126 # 11060
# and type IN ('picklist', 'status')
# and object_type = 'task'
order by id desc;
# 5731,5732,5733
select DISTINCT crm_field_id from crm_field_values where crm_field_id IN (11151,12239,12215,12185,12175,12165,12144,12137,12127,12109,12107,12105,12103,12092,12037,12005,12003,11987,11969,11958,11951,11942,11931,11924,11921,11917,11915,11901,11893,11883,11872,11870,11868,11866,11839,11833,11821,11793,11780,11777,11769,11757,11737,11735,11656,11645,11638,11629,11618,11611,11602,11591,11584,11581,11558,11544,11543,11534,11532,11529,11527,11503,11497,11493,11488,11470,11468,11457,11455,11397,11387,11372,11363,11348,11323,11318,11309,11301,11300,11292,11290,11286,11284,11256,11252,11242,11237,11233,11219,11176,11160) order by id desc;
select * from crm_layouts where crm_configuration_id = 126 order by id desc;
SELECT * FROM crm_layout_entities WHERE crm_layout_id in (300,299,298);
select * from stages where crm_configuration_id = 126 order by id desc;
select * from business_processes where crm_configuration_id = 126 order by id desc;
select * from business_process_stages where business_process_id IN (76,75,74,73);
select * from playbooks where team_id = 142;
select * from playbook_layouts where playbook_id IN (108);
SELECT * FROM playbook_categories WHERE playbook_id IN (108);
select * from teams where id = 130;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 2
and sa.provider = 'hubspot';
SELECT * FROM activities
WHERE crm_configuration_id = 110;
select * from teams;
select * from crm_configurations;
SELECT * FROM activities WHERE id = 628773;
SELECT * FROM crm_profiles WHERE user_id = 1460;
SELECT * FROM social_accounts WHERE sociable_id = 2291;
select * from teams;
select ru.*, pr.*, p.* from users u join role_user ru on ru.user_id = u.id
join permission_role pr on pr.role_id = ru.role_id
join permissions p on p.id = pr.permission_id
where team_id = 495 and p.name IN ('dial');
select * from teams where id = 145;
select * from crm_configurations where id = 129;
select * from social_accounts where sociable_id = 2317;
SELECT * FROM activities WHERE uuid_to_bin('8dbab184-a333-4268-ad57-fb41f8d53a9a') = uuid;
select * from teams where id = 1;
SELECT * FROM crm_layouts WHERE crm_configuration_id = 39;
SELECT * FROM crm_layout_entities WHERE crm_layout_id = 280;
SELECT * FROM crm_layout_entities WHERE id = 5507;
SELECT * FROM crm_fields WHERE crm_configuration_id = 39 and object_type IN ('event');
select * from teams;
select * from activities where crm_configuration_id = 14;
SELECT * FROM social_accounts where provider = 'copper';
select * from activities where id = 628467;
select * from participants where activity_id = 628467;
SELECT * FROM contacts WHERE id = 3969;
SELECT * FROM accounts WHERE id = 177;
SELECT * FROM activities WHERE uuid_to_bin('4eb54c77-cfa3-2bd4-84a7-9ed46a21c988') = uuid;
# [PASSWORD_DOTS] BH
select * from teams where id = 36;
SELECT * FROM crm_configurations WHERE id = 21;
select * from activities where crm_configuration_id = 21 and id = 607901;
select * from activities where crm_configuration_id = 21;
select * roles;
select * from permissions;
select * from permission_role where permission_id = 226;
select * from migrations order by id desc;
# mercury
# neptune
# earth
select * from teams;
select * from teams where id = 19;
select * from teams where id = 27;
select * from users where team_id = 27;
SELECT * FROM crm_configurations WHERE id = 42;
select * from social_accounts sa
join users u on sa.sociable_id = u.id
where u.team_id = 19
and sa.provider = 'pipedrive';
select * from activities where id = 631461;
SELECT * FROM crm_field_values WHERE crm_field_id = 180;
select * from teams where id = 2;
SELECT * FROM social_accounts WHERE sociable_id = 89;
SELECT * FROM activities WHERE uuid_to_bin('ba0c029a-bc14-4e17-8603-64174acebcbb') = uuid; # 634273
select * from activity_summary_logs where activity_id = 634273;
select * from sidekick_settings where team_id = 2;
select * from teams; # 2, 2
SELECT * FROM crm_configurations WHERE team_id = 2; # 2
select * from team_features where team_id = 2;
select * from features;
SELECT * FROM opportunities WHERE crm_configuration_id = 2 and crm_provider_id = '51317301383';
SELECT * FROM opportunities WHERE crm_configuration_id = 2 order by id desc;
select * from automated_reports order by id desc;
select * from automated_report_results order by id desc;
select * from users where team_id = 1 and id IN (7160, 3248);
select * from migrations order by id desc;
SELECT
CONCAT(u.id, CASE WHEN u.id = t.owner_id THEN ' (owner)' ELSE '' END) AS user_id,
u.email,
sa.*,
t.owner_id FROM social_accounts sa
JOIN users u on u.id = sa.sociable_id
JOIN teams t on t.id = u.team_id
WHERE u.team_id = 1 and sa.provider = 'salesforce';
select * from teams where id = 1;
select * from groups g JOIN playbooks p on g.playbook_id = p.id where g.team_id = 1;
select * from groups where id = 565;
select * from playbooks where team_id = 1;
select * from playbooks where id = 175;
select * from playbook_categories where playbook_id = 175;
select * from users where team_id = 1;
select * from users where id = 7160;
select * from crm_profiles where user_id = 7160;
select * from features;
select
*
# id, uuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,
# crm_configuration_id, crm_provider_id, transcription_id, status
from activities where crm_configuration_id = 1 and type = 'conference'
# and crm_provider_id IS NOT NULL
and provider != 'uploader' and actual_start_time IS NOT NULL
ORDER by id desc;
select * from activities where id = 54747783; # 00UO400000pCzojMAC
select p.id, p.activity_type, pc.id, pc.name
FROM playbooks p
join playbook_categories pc on p.id = pc.playbook_id
where p.team_id = 1 and p.activity_type = 'event';
SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = 'event';
SELECT * FROM crm_field_values WHERE crm_field_id = 4;
select * from crm_layouts cl join playbook_layouts pl on cl.id = pl.layout_id
where crm_configuration_id = 1 and pl.playbook_id = 175;
select * from teams;
SELECT r.* FROM automated_reports r
join teams t on r.team_id = t.id
WHERE r.frequency = 'daily'
and r.status = 1
AND t.status = 'active'
AND (r.expires_at >= now() OR r.expires_at IS NULL);
select * from automated_report_results where report_id IN (18, 33);
select * from activity_searches where id = 10932;
select * from activity_search_filters where activity_search_id = 10932;
select * from automated_reports order by id desc;
select * from automated_report_results where report_id IN (36);
Sync Changes
Hide This Notification
Code changed:
Hide
3
Previous Highlighted Error
Next Highlighted Error
<?php
declare(strict_types=1);
namespace Jiminny\Http\Controllers\Webhook;
use Carbon\Carbon;
use Illuminate\Contracts\Bus\Dispatcher as BusDispatcher;
use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Jiminny\Events\AutomatedReports\AutomatedReportGenerated;
use Jiminny\Exceptions\ModelNotFoundException;
use Jiminny\Http\Controllers\AbstractController;
use Jiminny\Jobs\AutomatedReports\SendReportJob;
use Jiminny\Models\AutomatedReportResult;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsCallbackService;
use Jiminny\Services\Kiosk\AutomatedReports\AutomatedReportsService;
use Psr\Log\LoggerInterface;
use Throwable;
class ReportController extends AbstractController
{
/**
* Log prefix for all log messages
*/
private const string LOG_PREFIX = '[Report Ready]';
public function __construct(
private readonly AutomatedReportsService $automatedReportsService,
private readonly BusDispatcher $dispatcher,
private readonly LoggerInterface $logger,
private readonly AutomatedReportsCallbackService $callbackService,
private readonly EventDispatcher $eventDispatcher,
) {
}
public function ready(Request $request): JsonResponse
{
$payload = $request->all();
$now = Carbon::now();
$this->logger->info(self::LOG_PREFIX . ' Webhook received', [
'payload' => $payload,
]);
// validate
$reportUuid = $this->callbackService->getResultUuid($payload);
if (empty($reportUuid)) {
return response()->json(['status' => 'error', 'message' => 'Request ID is empty'], status: 400);
}
try {
$report = $this->automatedReportsService->getReportResult($reportUuid);
// validate
if ($this->callbackService->isProcessed($report)) {
$this->logger->warning(self::LOG_PREFIX . ' Report has been already processed', [
'uuid' => $reportUuid,
'currentStatus' => $report->getStatusLabel(),
]);
return response()->json(['status' => 'already_processed']);
}
// always try to get a child podcast cause report configuration cannot be trusted
$reportPodcast = $this->automatedReportsService->findChildResult(
result: $report,
type: AutomatedReportsService::MEDIA_TYPE_PODCAST
);
// update results
$report->update([
'status' => $this->callbackService->getPrimaryStatus($report, $payload),
'response' => $payload,
'generated_at' => $now,
]);
// if a podcast is set, update it
$reportPodcast?->update([
'status' => $this->callbackService->getPodcastStatus($payload),
'response' => $payload,
'generated_at' => $now,
]);
$this->logger->info(self::LOG_PREFIX . ' Report has been processed', [
'uuid' => $reportUuid,
'child_uuid' => $reportPodcast?->getUuid(),
]);
if (! $this->callbackService->isSuccess($payload)) {
$this->logger->warning(self::LOG_PREFIX . ' Error creating report', $payload);
return response()->json(['status' => 'ok']);
}
// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)
if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {
// send the primary report
$this->dispatcher->dispatch(new SendReportJob($reportUuid));
// send the podcast report if it set and generated
if ($reportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATED) {
$this->dispatcher->dispatch(new SendReportJob(reportUuid: $reportPodcast->getUuid()));
}
}
// Track Datadog metrics for automated reports
$automatedReport = $report->getReport();
$this->callbackService->pushToDatadog($automatedReport, $report);
if ($reportPodcast) {
$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);
}
$this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));
} catch (ModelNotFoundException $exception) {
$this->logger->error(self::LOG_PREFIX . ' Report not found', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Report not found'], status: 404);
} catch (Throwable $exception) {
$this->logger->error(self::LOG_PREFIX . ' Failed to update report status', [
'uuid' => $reportUuid,
'error' => $exception->getMessage(),
]);
return response()->json(['status' => 'error', 'message' => 'Failed to update report status'], status: 500);
}
return response()->json(['status' => 'ok']);
}
}
Project
Project
New File or Directory…
Expand Selected
Collapse All
Options
Hide...
|
NULL
|
|
12578
|
270
|
0
|
2026-04-14T11:25:58.272246+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165958272_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2Shell|EditViewSessionScriptsProfilesWindowHe iTerm2Shell|EditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:58ec2-user@ip-10-30-93-249:~181DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...-88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
1042248493853748926
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2Shell|EditViewSessionScriptsProfilesWindowHe iTerm2Shell|EditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:25:58ec2-user@ip-10-30-93-249:~181DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...-88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12579
|
271
|
1
|
2026-04-14T11:25:58.260721+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165958260_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCi© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpPusnercontroller.phpSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M TransformersC Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD ActivityA AutomationC AjReports> MAudiov M AutomatedReportsc recuestoenerreask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMiddlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.phpc) DummyJob.php• AutomatedReportsCommand.php© ReportController.php xC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© AutomatedReportsSendCommand.phpCreateHeldActivityEvent.php© AddLayoutEntities.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),''response' => Spayload.'generated_at' => $now,© Team.php99100101102103104105106108109110111112113114115116117118120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX'Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary reportSthis- dispatcher- dispatch (new SendRegertJob (Sreportuuid));// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily - in 35mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:57A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny:16 14 V.13= custom.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004554555556557558559560561D04563564= laravel.logA SF [jiminny@localhost]Tx: Auto vPlaygroundvU,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);566567568 v569570select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf Teams99:58UTF-84 spaces...
|
NULL
|
486023767324630975
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditFV faVsco.js vViewNavigateCodeLara PhpStormFileEditFV faVsco.js vViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject v© BaseController.php© CalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.php• CommentContextlnterfa© ConferencesOptlnOutCi© Controller.phpExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph© HealthCheckController.;LiveCoachController.ph/© MissingTeamController.© MobileController.php© NotificationController.pt© NotificationProviderConPlaybackController.phpPlaylistController.phpPusnercontroller.phpSlackController.phpSupportController.php© TeamSetupController.pt© UserAutomatedReports© WelcomeController.php> C Middleware> D Requests> D Resources> D Responses> MSerializers> M TransformersC Kernel.php€ PlaylistTrackResourceTrait€ ValidateCrmConnectionRes> D IntegrationsD InteractionsO JobsD ActivityA AutomationC AjReports> MAudiov M AutomatedReportsc recuestoenerreask.in(c reuestcenertereoone senareoonJoo.ono© SendReportMailJob.phpD CalendarD CrmDealRisks• MailboxMeetingBotMiddlleware_ Streaming>MTeam> M Telephonv> D User© BaseProcessingJob.phpc) DummyJob.php• AutomatedReportsCommand.php© ReportController.php xC AutomatedReportsRepository.phpAulomaleakeporisservice.onp© AutomatedReportsSendCommand.phpCreateHeldActivityEvent.php© AddLayoutEntities.php© TrackProviderInstalledEvent.php) CreateActivityLoggedEvent.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C) RequestGenerateAskJiminnyReportJob.php© RequestGenerateReportJob.php© AutomatedReportResult.php© AutomatedReport.phpclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'status' => $this->callbackService->getPrimaryStatus($report, $payload),''response' => Spayload.'generated_at' => $now,© Team.php99100101102103104105106108109110111112113114115116117118120121122123124125126I);// if a podcast is set, update it$reportPodcast?->update(['status' = $this->callbackService->getPodcastStatus($payload),'response' = $payload,'generated_at'= $now,1):$this->logger->info(self::LOG_PREFIX . ' Report has been processed', ['uuid' => SreportUuid,'child_uvid' => $reportPodcast?->getUvid(),I);if (! $this->callbackService-›isSuccess($payload)) €$this->logger->warning(self::LOG_PREFIX'Error creating report', $payload);return response()->json(['status' →> 'ok']);// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:send)if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {send the primary reportSthis- dispatcher- dispatch (new SendRegertJob (Sreportuuid));// send the podcast report if it set and generatedif (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult: : STATUS_GENERATED) €Sthis->dispatcher->dispatch(new SendReportJob(reportUvid: $reportPodcast->getUvid()));// Track Datadog metrics for automated reportsSautomatedReport = Sreport->getReportO:$this->callbackService->pushToDatadog($automatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast):$this->eventDispatcher-›dispatch(new AutomatedReportGenerated($automatedReport, $report));} catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX' Report not found', ["Uuo = Dredorcuurlor'error' => Sexception->getMessageO.I):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['uuid' = $reportUuid,'error' = $exception->getMessage(),I/ View pull request (56 minutes ago)Support Daily - in 35mAAutomatedReportsCommandTestv100% |45]Tue 14 Apr 14:25:57A HS_local [jiminny@localhost]A console [PROD]A console (EU]Al console [STAGING] XGajiminny:16 14 V.13= custom.log5185195205215225235245255265275285245305315335345355365375385571540541542543544545546547548549550551004554555556557558559560561D04563564= laravel.logA SF [jiminny@localhost]Tx: Auto vPlaygroundvU,ellant.Sa.xt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE u.team_id = 1 and sa.provider = 'salesforce':select * from teams where id = 1;select * from groups g JOIN playbooks p 1.n<-›1: on g.playbook_id = p.id where g.team_id = 1;select * from groups where id = 565;select * fromplaybookswhere team_ld = 1select x ToIoavoooks Vnere 10 =1o.seLect x TrOlpLaydook cacecorles wnere playbook 10 = 1/51select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact_id, account_id, opportunity_id, stage_id,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm_configuration_id = 1 and type = 'conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc 1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1..n: on cl.id = pl. layout_idwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reports rjoin teams t on r.team.id = t.idWHERE r.frequency = 'daily"and r.status = 1AND t.status = 'active'AND (r.exRines.at >= now() OR r.expires.at IS NULL):select * from automated_ report_results where ceRontaid IN (18, 33);566567568 v569570select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where cepont.ig IN (36);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results where report_id IN (36);W Windsurf Teams99:58UTF-84 spaces...
|
12577
|
|
12580
|
270
|
1
|
2026-04-14T11:26:00.203564+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165960203_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2Shell|EditViewSessionScriptsProfilesWindowHe iTerm2Shell|EditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:26:00ec2-user@ip-10-30-93-249:~L₴81DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
-1059890145260962497
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2Shell|EditViewSessionScriptsProfilesWindowHe iTerm2Shell|EditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 35 mA100% CTue 14 Apr 14:26:00ec2-user@ip-10-30-93-249:~L₴81DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12578
|
|
12581
|
270
|
2
|
2026-04-14T11:26:04.978503+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165964978_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2Shell|EditViewSessionScriptsProfilesWindowHe iTerm2Shell|EditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 34 mA100% CTue 14 Apr 14:26:04ec2-user@ip-10-30-93-249:~L₴81DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
5881917014902250036
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2Shell|EditViewSessionScriptsProfilesWindowHe iTerm2Shell|EditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 34 mA100% CTue 14 Apr 14:26:04ec2-user@ip-10-30-93-249:~L₴81DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]Found 1 daily reports to process9-b635-2aa52627f c27"}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12582
|
271
|
2
|
2026-04-14T11:26:05.000385+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165965000_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(©) ReportController.phpC SendReportJob.php X(©) AutomatedReportsCommand.phpcAutomatedRenorssenocommana.onAddLayoutEntities.php(C) BaseController.phpC Team.phpC AutomatedReportsRepository.phpC AutomatedReportsService.php© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php(C) CalendarController.p© CreateActivityLoggedevent.php© UserPilotActivityListener.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C ReportController.phpSoftphoneWebhookC(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.phpC Automatedkeport.onpC AbstractController.phpclass SendReportJob implements ShouldQueue, ShouldBeUnique1 Commentconteyfintenac Conterencesoot noureg controller.phpC) ExportController.phpC FrontendController.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.C LiveCoachController.phi(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpc rusnercontolerone(C) SlackController.ohp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources>_Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRe› _ IntegrationsInteractionsJ Jobs>D Activity> M AiAutomationCJ AjReports> MAudiov M AutomatedReportsc recuestcenerareask.in(c reuestcenertereoone senareoonJoo.ono(©) SendReportMailJob.php164Calendar165D Crm166l Dea RicksMailbox11081_ MeetingBot111621• MiddllewareStreaming>MTeam1175> M Telephonv> D UselC BaseProcessingJob.phpc) DummyJob.phpuse usparchaole.use Irerac smcnuveueruse uueveable/*** Log prefix for all loq messageso usagesprivate const string LOG_PREFIX = '[Send ReportJ':* Ine number of times the joo may be actempred.* @var intpublic int Stries = 2:/*** The maximum number of seconds the job should be allowed to run.* avar 1nupuouc inr saneour = 120* Create a new job instance.* dparam string SreportUuid The UUID of the report to sendpublic function L_construct(private readonly string sreportuu1d)puhis->onquevel queue: constants::QUEUE_ANALYIICS_LUW):public function handledLoggerincerrace ologger,JobDispatcherInterface S7obDispatcher.AutomatedReportsService sautomatedReportsService): void m* Get a unique Ib for the job.* dreturh suringououc runcmon un oueron, sumnos...n44 M1 ASupport Daily • in 34 m100% |45]Tue 14 Apr 14:26:04AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v916 A14 V 13= custom.log= aravel.loeL SF (iminny@localhostc HS_local fiminny@localhost)510-51952152257315265220050558557154054154254355055115045535545585595605611D04563564565566567568 VTx: Auto vPlayground vu.email.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.seLect * trom playbooks where ceam_1d = 1:select x t'oi oavoooks Vnere 10 =1o.select x Tron playbook cacecorles where playbook 10 = 1/5.select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1a, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_contiguration_1d, crm_provider_1d, cranscripcion_1a, suatusfrom activities where crm confiquration id = 1 and tvoe = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader'and actual start time IS NOT NULIORDER by id desc:select * from activities where 1d = 54747783: # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175:select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.Stauus = 1AND t.status = 'active'AND (r.expires at >= now) OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity searches where id = 10932:select * from activity search_filters where activity search_ id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*569576select * trom acuivity_searcnes where 1d = 109521select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where report_id IN (36);winasun leams512UTF-8f 4 spaces...
|
NULL
|
-8466527693659695409
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project v(©) ReportController.phpC SendReportJob.php X(©) AutomatedReportsCommand.phpcAutomatedRenorssenocommana.onAddLayoutEntities.php(C) BaseController.phpC Team.phpC AutomatedReportsRepository.phpC AutomatedReportsService.php© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php(C) CalendarController.p© CreateActivityLoggedevent.php© UserPilotActivityListener.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C ReportController.phpSoftphoneWebhookC(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.phpC Automatedkeport.onpC AbstractController.phpclass SendReportJob implements ShouldQueue, ShouldBeUnique1 Commentconteyfintenac Conterencesoot noureg controller.phpC) ExportController.phpC FrontendController.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.C LiveCoachController.phi(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpc rusnercontolerone(C) SlackController.ohp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources>_Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRe› _ IntegrationsInteractionsJ Jobs>D Activity> M AiAutomationCJ AjReports> MAudiov M AutomatedReportsc recuestcenerareask.in(c reuestcenertereoone senareoonJoo.ono(©) SendReportMailJob.php164Calendar165D Crm166l Dea RicksMailbox11081_ MeetingBot111621• MiddllewareStreaming>MTeam1175> M Telephonv> D UselC BaseProcessingJob.phpc) DummyJob.phpuse usparchaole.use Irerac smcnuveueruse uueveable/*** Log prefix for all loq messageso usagesprivate const string LOG_PREFIX = '[Send ReportJ':* Ine number of times the joo may be actempred.* @var intpublic int Stries = 2:/*** The maximum number of seconds the job should be allowed to run.* avar 1nupuouc inr saneour = 120* Create a new job instance.* dparam string SreportUuid The UUID of the report to sendpublic function L_construct(private readonly string sreportuu1d)puhis->onquevel queue: constants::QUEUE_ANALYIICS_LUW):public function handledLoggerincerrace ologger,JobDispatcherInterface S7obDispatcher.AutomatedReportsService sautomatedReportsService): void m* Get a unique Ib for the job.* dreturh suringououc runcmon un oueron, sumnos...n44 M1 ASupport Daily • in 34 m100% |45]Tue 14 Apr 14:26:04AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v916 A14 V 13= custom.log= aravel.loeL SF (iminny@localhostc HS_local fiminny@localhost)510-51952152257315265220050558557154054154254355055115045535545585595605611D04563564565566567568 VTx: Auto vPlayground vu.email.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.seLect * trom playbooks where ceam_1d = 1:select x t'oi oavoooks Vnere 10 =1o.select x Tron playbook cacecorles where playbook 10 = 1/5.select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1a, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_contiguration_1d, crm_provider_1d, cranscripcion_1a, suatusfrom activities where crm confiquration id = 1 and tvoe = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader'and actual start time IS NOT NULIORDER by id desc:select * from activities where 1d = 54747783: # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175:select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.Stauus = 1AND t.status = 'active'AND (r.expires at >= now) OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity searches where id = 10932:select * from activity search_filters where activity search_ id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*569576select * trom acuivity_searcnes where 1d = 109521select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results where report_id IN (36);winasun leams512UTF-8f 4 spaces...
|
NULL
|
|
12583
|
270
|
3
|
2026-04-14T11:26:09.553958+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165969553_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 34 mA100% CTue 14 Apr 14:26:09ec2-user@ip-10-30-93-249:~L₴81DOCKER- 281DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...- *8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]9-b635-2aa52627f c27"}Found 1 daily reports to process{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
5194361185268484155
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 34 mA100% CTue 14 Apr 14:26:09ec2-user@ip-10-30-93-249:~L₴81DOCKER- 281DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...₴4-zsh|885-zsh86-zsh0 87* Unable to acce...- *8[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]9-b635-2aa52627f c27"}Found 1 daily reports to process{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12581
|
|
12584
|
271
|
3
|
2026-04-14T11:26:09.598998+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165969598_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodelaravelRefactonToo PhpStormFileFditViewNavigateCodelaravelRefactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project vc) RenortController.ongysenakeporsoo.onp x(©) AutomatedReportsCommand.php© AutomatedRep|ytsSendCommand.php >AddLayoutEntities.php(C) BaseController.phpC Team.phpC AutomatedReportsRepository.phpC AutomatedReportsService.php© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php(C) CalendarController.p© CreateActivityLoggedevent.php© UserPilotActivityListener.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C ReportController.phpSoftphoneWebhookC(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeport.onpC AbstractController.phpclass SendReportJob implements ShouldQueue, ShouldBeUnique44 M1 A1 Commentconteyfintenac Conterencesoot noureg controller.phpC) ExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.C LiveCoachController.ph(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpPusnercontroller.php(C) SlackController.ohp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources>_Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRec› _ IntegrationsInteractions→ Jobs_ ActivityA AutomationD AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono(©) SendReportMailJob.php• CalendarD Crm_ DealRisks| Mailbox_ MeetingBotMiddlleware_ Streaming> MTeamM Telephonv> D UserC BaseProcessingJob.phpc) DummyJob.phpprivate const string LOG_PREFIX = '[Send Reportl';* Ine number of times the joo may be actempred.*ovar Inupublic int Stries = 2* The maximum number of seconds the job should be allowed to run* avar int*/muo uent saneour =10* Create a new iob instance.* @param string $reportUuid The UUID of the report to sendpublic function -_construct(private readonly string $reportUuid)sthis->onQueuel queue: Constants::QUEUE_ANALYTICS_LOW)*ouo uc tuncton nandueuiLoggerintertace slogger,Jobuispaccherincertace +Jobuispaccher,Auronareoreoor soeruce naurolateoredortsoervceD: void Hlltry "$report = $automatedReportsService->getReportResult(Sthis->reportUuid:scatch (Throwable se)sLogger->error(self::LOG_PREFIX.Error getting report result', [= sthis->reportuuid,"excepcion" = se-›gecMessage).uanow фe,$Loqger->info(self::LOG_PREFIX.Processing report', l'uuid' => sthis->reportUuid,'status" => Sreport->getStatusLabelo,I);$s3Path = sautomatedReportsservice->getMediaPath(sreport):// verity the tile exisus in ssif « Storage::diskd name: 'client-data-cloud')->exists($s3Path) <$logger->error(self::LOG_PREFIX . ' Report file not found in S3', [→ sunls->repor cuura,Support Daily • in 34 m100%Tue 14 Apr 14:26:09AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v:16 14 V.13= custom.log= aravel.loeL SF (iminny@localhostc HS_local fiminny@localhost)510519|52152252352452652205285305335385571540541542543544— 543546547548-556551553554556558559560561562563564565566567568 V569570Tx: Auto vPlayground vu.email.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.seLect * trom playbooks where ceam_1d = 1:select x troi oavoooks Vnere 1o =1o.select x Tron playbook cacecorles where playbook 10 = 1/5.select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1a, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm configuration id = 1 and tvoe = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader'and actual start time IS NOT NULIORDER by id desc:select * from activities where id = 54747783; # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm fields WHERE crm configuration id = 1 and obiect tvpe = 'event'•SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175;select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.stauus = 1AND t.status = 'active'AND (r.expires at >= now) OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity searches where id = 10932:select * from activity search_ filters where activity search_id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*select * trom acuivity_searcnes where 1d = 109521select * trom activity_search_filters where activity search_id = 10932:select * from automated_reports order by id desc;select * fromautomated report results where report id IN (36):W Windsurf Teams60:14UTF-8f 4 spaces...
|
NULL
|
7307034667433596503
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodelaravelRefactonToo PhpStormFileFditViewNavigateCodelaravelRefactonToolsWindowHelpFV faVsco.s v#11894 on JY-18909-automated-reports-ask-iminny ~Project vc) RenortController.ongysenakeporsoo.onp x(©) AutomatedReportsCommand.php© AutomatedRep|ytsSendCommand.php >AddLayoutEntities.php(C) BaseController.phpC Team.phpC AutomatedReportsRepository.phpC AutomatedReportsService.php© CreateHeldActivityEvent.php© TrackProviderInstalledEvent.php(C) CalendarController.p© CreateActivityLoggedevent.php© UserPilotActivityListener.php© ActivityLogged.php© AutomatedReportsCallbackService.php(C ReportController.phpSoftphoneWebhookC(C) RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.phpC) AutomatedReportResult.php(C) Automateakeport.onpC AbstractController.phpclass SendReportJob implements ShouldQueue, ShouldBeUnique44 M1 A1 Commentconteyfintenac Conterencesoot noureg controller.phpC) ExportController.phprrontenacontroller.phpT) FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.C LiveCoachController.ph(©) MissingTeamController.(©) MobileController.php©) NotificationController.pl© NotificationProviderconC PlavbackController.phpC PlavlistController.phpPusnercontroller.php(C) SlackController.ohp(C SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReportsC WelcomeController.php>_ Middleware> D Requests›_ Resources>_Responses> MSerializers> M TransformersC Kernel.phpT, PlavlistTrackResourceTraitT ValidateCrmConnectionRec› _ IntegrationsInteractions→ Jobs_ ActivityA AutomationD AjReports> MAudiov M AutomatedReportsc recuestceneareask.in(c reuestcenertereoone senareoonJoo.ono(©) SendReportMailJob.php• CalendarD Crm_ DealRisks| Mailbox_ MeetingBotMiddlleware_ Streaming> MTeamM Telephonv> D UserC BaseProcessingJob.phpc) DummyJob.phpprivate const string LOG_PREFIX = '[Send Reportl';* Ine number of times the joo may be actempred.*ovar Inupublic int Stries = 2* The maximum number of seconds the job should be allowed to run* avar int*/muo uent saneour =10* Create a new iob instance.* @param string $reportUuid The UUID of the report to sendpublic function -_construct(private readonly string $reportUuid)sthis->onQueuel queue: Constants::QUEUE_ANALYTICS_LOW)*ouo uc tuncton nandueuiLoggerintertace slogger,Jobuispaccherincertace +Jobuispaccher,Auronareoreoor soeruce naurolateoredortsoervceD: void Hlltry "$report = $automatedReportsService->getReportResult(Sthis->reportUuid:scatch (Throwable se)sLogger->error(self::LOG_PREFIX.Error getting report result', [= sthis->reportuuid,"excepcion" = se-›gecMessage).uanow фe,$Loqger->info(self::LOG_PREFIX.Processing report', l'uuid' => sthis->reportUuid,'status" => Sreport->getStatusLabelo,I);$s3Path = sautomatedReportsservice->getMediaPath(sreport):// verity the tile exisus in ssif « Storage::diskd name: 'client-data-cloud')->exists($s3Path) <$logger->error(self::LOG_PREFIX . ' Report file not found in S3', [→ sunls->repor cuura,Support Daily • in 34 m100%Tue 14 Apr 14:26:09AutomatedReportsCommandTestv& console PROD& console (EU]L console [STAGING XSo jiminny v:16 14 V.13= custom.log= aravel.loeL SF (iminny@localhostc HS_local fiminny@localhost)510519|52152252352452652205285305335385571540541542543544— 543546547548-556551553554556558559560561562563564565566567568 V569570Tx: Auto vPlayground vu.email.Sa.xt.owner id FROM social accounts saJOIN users u on u.id = sa.sociable idJOIN teams t l..n<->1: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = 'salesforce':select * trom teams where 10 = 1;select * from groups g JOIN playbooks p 1..n<->1: on g.playbook_id = p.id where g.team_id = 1;select * tron crouos wnere 1o = 505.seLect * trom playbooks where ceam_1d = 1:select x troi oavoooks Vnere 1o =1o.select x Tron playbook cacecorles where playbook 10 = 1/5.select * from users where team id = 1:select * from users where id = 7160:select * from crm_profiles where user_id = 7160;select * from features:select# 1a, uuid, type, provider, playbook_category_1a, user_1a, Lead_1a, contact_ia, account_ia, opportunity_1a, stage_1a,# crm_configuration_id, crm_provider_id, transcription_id, statusfrom activities where crm configuration id = 1 and tvoe = 'conference'# and crm provider id IS NOT NULLIand provider l= 'uploader'and actual start time IS NOT NULIORDER by id desc:select * from activities where id = 54747783; # 00U0400000pCzo7MACselect p.1d, p.activity_type, pc.1d, pc.nameFROM playbooks pJoln playbook_categories pc 1<->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm fields WHERE crm configuration id = 1 and obiect tvpe = 'event'•SELECT * FROM crm field values WHERE crm field id = 4:select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = pl.layout_idwhere crm confiquration id = 1 and pl.playbook id = 175;select * from teams;SELECT r.* FROM automated_reports rjoln teams t on r.team 1d = t.1dWHERE r.frequency = 'daily"and r.stauus = 1AND t.status = 'active'AND (r.expires at >= now) OR r.expires at IS NULL):select * from automated_report_results where report id IN (18, 33);select * from activity searches where id = 10932:select * from activity search_ filters where activity search_id = 10932:select * from automated_reports order by 1d desc:select * from automated_report_results where report 1d IN (36)*select * trom acuivity_searcnes where 1d = 109521select * trom activity_search_filters where activity search_id = 10932:select * from automated_reports order by id desc;select * fromautomated report results where report id IN (36):W Windsurf Teams60:14UTF-8f 4 spaces...
|
12582
|
|
12585
|
270
|
4
|
2026-04-14T11:26:12.165264+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165972165_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 34 mA100% CTue 14 Apr 14:26:12ec2-user@ip-10-30-93-249:~L₴81DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]9-b635-2aa52627f c27"}Found 1 daily reports to process{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
-5109433344034509515
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 34 mA100% CTue 14 Apr 14:26:12ec2-user@ip-10-30-93-249:~L₴81DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]9-b635-2aa52627f c27"}Found 1 daily reports to process{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
|
12586
|
270
|
5
|
2026-04-14T11:26:14.506647+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776165974506_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 34 mA100% CTue 14 Apr 14:26:14ec2-user@ip-10-30-93-249:~L₴81DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]9-b635-2aa52627f c27"}Found 1 daily reports to process{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
NULL
|
4444322885397768443
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelplalol• Support Daily • in 34 mA100% CTue 14 Apr 14:26:14ec2-user@ip-10-30-93-249:~L₴81DOCKER981DEV (docker)882APP (-zsh)83ec2-user@ip-10-30-...84-zsh|885-zsh86-zsh0 87* Unable to acce...88[2026-04-1410:46:087staging. INFO:[automated-reports]DispatchingGenerate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8"daily", "type": "ask_jiminny"} {"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"'}"teamId" :1, "frequency":"[2026-04-14 10:46:08] staging.INFO: [automated-reports]Completed{"correlation_id":"5c23e861-2ca9-4f92-9f67-773d6bc80ca0", "trace_id":"185df6f6-4327-4609-9cZe-2ab83a0f5432"}root@c78a087b1345:/home/jiminny# php artisan automated-reports --report-id 35[2026-04-14 10:48:42] staging.INFO: [automated-reports] Started{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88", "trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"}[2026-04-1410:48:42]staging.INF0: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth" : true}{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88","trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"'}[2026-04-14 10:48:42]aa52627fc27"}staging.INFO: [automated-reports]Processing daily reports{"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e99-b635-2[automated-reports]Automated report found Test 6[2026-04-1410:48:42]staging. INFO: [automated-reports]9-b635-2aa52627f c27"}Found 1 daily reports to process{"correlation_id":"246alala-7076-458c-bd7d-49d2f5a2db88""trace_id":"1f894bf6-e50d-4e9[2026-04-14 10:48:42] staging.INF0: [automated-reports] Dispatching Generate Report job for report {"reportUuid":"7e7846e2-c0ea-4040-88f4-0ae14b66ade8".,"teamId" :1, "frequency" :"daily","type": "ask_jiminny"} {"correlation_id":"246a1a1a-7076-458c-bd7d-49d2f5a2db88"',"trace_id":"1f894bf6-e50d-4e99-b635-2aa52627fc27"})[2026-04-14 10:48:42] staging.INFO: [automated-reports]Completed{"correlation_id":"246ala1a-7076-458c-bd7d-49d2f5a2db88", "trace_id" : "1f894bf6-e50d-4e99-b635-2aa52627fc27"}root@c78a087b1345:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ docker exec -it $(docker ps --format "{{.ID}}" --filter "name=ecs-worker" | head -1) /bin/bash -c "cd /home/jiminny && bash"root@b79a4bdd6905:/home/jiminny# phpartisan automated-reports --report-id 71b8bbf5-23f4-41df-b637-693765e7aa78[2026-04-14 11:22:33] staging.INFO: [automated-reports] Started{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33]staging.INFO: [automated-reports]Checking conditions {"isMonday":false,"isFirstDay0fMonth":false, "currentMonth":4, "isQuarterlyMonth":true} {"correlation_id": "90a98201-fc6a-45b9-b3bd-2055cfce711b", "trace_id" : "8e05a574-88d0-4475-acd0-86c51b5659a5"}[2026-04-14 11:22:33] staging.INFO: [automated-reports] Processing daily reports{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"}[automated-reports] Automated report found Tuesday report[2026-04-14 11:22:33] staging.INFO: [automated-reports] Found 1 dailyreports to process5-acd0-86c51b5659a5"}{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-447[2026-04-14 11:22:33]staging.INFO: [automated-reports]Dispatching Generate Report job for report {"reportUuid":"71b8bbf5-23f4-41df-b637-693765e7aa78","teamId" :1, "frequency": "daily", "type": "ask_jiminny"} {"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b"|',"trace_id": "8e05a574-88d0-4475-acd0-86c51b5659a5"})[2026-04-14 11:22:33] staging.INFO: [automated-reports]Completed{"correlation_id":"90a98201-fc6a-45b9-b3bd-2055cfce711b","trace_id":"8e05a574-88d0-4475-acd0-86c51b5659a5"})root@b79a4bdd6905:/home/jiminny#l...
|
12585
|