Skip to content

Add missing Web API methods (Java SDK / changelog parity)#64

Open
StephenTangCook wants to merge 1 commit into
slack-edge:mainfrom
StephenTangCook:claude/busy-banach-954e4d
Open

Add missing Web API methods (Java SDK / changelog parity)#64
StephenTangCook wants to merge 1 commit into
slack-edge:mainfrom
StephenTangCook:claude/busy-banach-954e4d

Conversation

@StephenTangCook

Copy link
Copy Markdown
Contributor

Summary

Ports 21 Web API methods that exist in the official Java SDK and the Slack changelog but were missing here. Found by diffing this client's surface against the Java SDK MethodsClient and the changelog (slack-edge needs nothing new from this client; Block Kit & events were already at parity).

Group Methods
Half-ported, now wired admin.analytics.getFile, admin.apps.config.lookup, admin.apps.config.set
AI / agents assistant.search.context, assistant.search.info
Custom functions functions.distributions.permissions.{set,list,add,remove}, functions.workflows.steps.list
Workflows workflows.featured.{add,set,remove,list}
Calls calls.{add,end,info,update}, calls.participants.{add,remove}
Misc apps.user.connection.update

The three admin.* methods already had request interfaces in request.ts that were never wired into api-client.ts (dead types) — this finishes them.

Approach

Each method gets a request interface, a typed response (named types in custom-response/ for payload-bearing methods, generic SlackAPIResponse for ok-only ones), and a #bindApiCall in api-client.ts. Parameter shapes were taken from the live Slack method docs, not guessed. src_deno was regenerated via scripts/generate-deno-source.sh (which also picked up pre-existing underline/formatting drift in the Deno mirror).

Method count: 259 → 280.

Verification

  • tsc --noEmit — clean
  • deno fmt / deno lint / deno check — clean
  • vitest — 35/35 passing

🤖 Generated with Claude Code

Ports 21 Web API methods that exist in the official Java SDK and Slack
changelog but were missing from this client:

- admin.analytics.getFile, admin.apps.config.{lookup,set}
  (request types already existed in request.ts but were never wired)
- assistant.search.{context,info}  (Real-time Search API for AI apps)
- functions.distributions.permissions.{set,list,add,remove},
  functions.workflows.steps.list  (custom-function distribution)
- workflows.featured.{add,set,remove,list}
- calls.{add,end,info,update}, calls.participants.{add,remove}
- apps.user.connection.update

Each method gets a request interface, a typed response (named types for
payload-bearing methods, generic SlackAPIResponse for ok-only ones), and
wiring in api-client.ts. Param shapes taken from the live Slack docs.
src_deno regenerated via scripts/generate-deno-source.sh (also picks up
pre-existing underline/format drift in src_deno).

Verified: tsc --noEmit, deno fmt/lint/check, and vitest (35 tests) all pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@StephenTangCook StephenTangCook requested a review from zhawtof June 26, 2026 20:59
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.

1 participant