Skip to content

feat: add Google Calendar resource client#46

Merged
rishikesh-major merged 2 commits intomainfrom
rishikesh/googlecalendar-support
Apr 4, 2026
Merged

feat: add Google Calendar resource client#46
rishikesh-major merged 2 commits intomainfrom
rishikesh/googlecalendar-support

Conversation

@rishikesh-major
Copy link
Copy Markdown
Collaborator

@rishikesh-major rishikesh-major commented Mar 16, 2026

Summary

  • Add GoogleCalendarResourceClient with generic invoke() method for making authenticated Google Calendar API calls
  • Add convenience methods: listCalendars, listEvents, getEvent, createEvent, updateEvent, deleteEvent (matching Google Sheets client pattern)
  • Add Google Calendar payload builder, schemas, and from-extracted-params routing
  • Add normalizeQueryParams utility to ensure query params are string[] (Go backend expects map[string][]string) — also applied to Custom API builder
  • Extend ResourceInvokeError and InvokeFailure with code and metadata fields to support USER_OAUTH_REQUIRED error handling

Test plan

  • Verify buildGoogleCalendarInvokePayload produces correct payload shape
  • Verify generate-clients.mjs recognizes googlecalendar type
  • Verify convenience methods produce correct API paths and query params
  • Verify normalizeQueryParams wraps bare strings in arrays
  • End-to-end test with a Google Calendar resource in the platform

🤖 Generated with Claude Code

…or support

- Add GoogleCalendarResourceClient with invoke method for Google Calendar API v3
- Add api-googlecalendar schema, payload builder, and extracted-params routing
- Add error code and metadata fields to ResourceInvokeError and InvokeFailure
- Add normalizeQueryParams helper for custom API query normalization
- Register googlecalendar in generate-clients CLI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rishikesh-major rishikesh-major force-pushed the rishikesh/googlecalendar-support branch 2 times, most recently from 86fca64 to 1487909 Compare April 4, 2026 00:15
Add listCalendars, listEvents, getEvent, createEvent, updateEvent,
and deleteEvent methods matching the pattern used by Google Sheets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rishikesh-major rishikesh-major force-pushed the rishikesh/googlecalendar-support branch from 1487909 to dac6c32 Compare April 4, 2026 00:19
@rishikesh-major rishikesh-major merged commit 9a27c01 into main Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants