Files
calendar/packages/app-store
Joe Au-YeungGitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
bb9c4bb8f3 feat: Update HubSpot meetings to CANCELLED status instead of archiving on booking cancellation (#24478)
* feat: Update HubSpot meetings to CANCELLED status instead of archiving

When a booking is cancelled in Cal.com, preserve the meeting record
in HubSpot by updating it to a CANCELLED status rather than archiving
it. This maintains the meeting history for better tracking and reporting.

Changes:
- Renamed hubspotDeleteMeeting to hubspotCancelMeeting
- Updated the method to set hs_meeting_outcome to CANCELLED
- Changed from archive() to update() API call
- Removed unused CustomPublicObjectInput interface

Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>

* fix: Remove return statement to match void return type in deleteEvent

Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>

* refactor: Remove hs_timestamp from cancel meeting to keep it minimal

Only update the meeting outcome status when cancelling,
without modifying the timestamp field.

Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>

* fix: Use correct HubSpot API value for canceled meetings

Changed hs_meeting_outcome from "CANCELLED" to "CANCELED" to match
HubSpot API specification. HubSpot uses lowercase American spelling
"CANCELED" as the valid enum value for canceled meeting outcomes.

Co-Authored-By: joe@cal.com <j.auyeung419@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-10-16 03:38:10 +00:00
..
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-10-14 22:09:50 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-10-07 14:42:29 +00:00
2025-10-07 15:12:22 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-10-07 14:42:29 +00:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00
2025-09-24 22:20:49 +09:00