-
Notifications
You must be signed in to change notification settings - Fork 228
feat: add support for apps.user.connection.update #1561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
WilliamBergamin
merged 5 commits into
main
from
add-support-for-apps-user-connection-update-method
Mar 4, 2026
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ce1655a
chore: add AGENTS.md
WilliamBergamin e0dd32a
Improve the aganets.md
WilliamBergamin cd18963
feat: add support for apps.user.connection.update
WilliamBergamin 4dbd680
Merge branch 'main' into add-support-for-apps-user-connection-update-…
WilliamBergamin 4e13f79
Merge branch 'main' into add-support-for-apps-user-connection-update-…
WilliamBergamin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| CLAUDE.local.md | ||
| settings.local.json | ||
| worktrees/ | ||
| plans/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| @../AGENTS.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| { | ||
| "permissions": { | ||
| "allow": [ | ||
| "Bash(./mvnw:*)", | ||
| "Bash(./scripts/check_dependency_updates.sh:*)", | ||
| "Bash(./scripts/install_local.sh:*)", | ||
| "Bash(./scripts/run_all_bolt_tests.sh:*)", | ||
| "Bash(./scripts/run_all_client_tests.sh:*)", | ||
| "Bash(./scripts/run_no_prep_tests.sh:*)", | ||
| "Bash(./scripts/set_version.sh:*)", | ||
| "Bash(gh issue view:*)", | ||
| "Bash(gh label list:*)", | ||
| "Bash(gh pr checks:*)", | ||
| "Bash(gh pr diff:*)", | ||
| "Bash(gh pr list:*)", | ||
| "Bash(gh pr status:*)", | ||
| "Bash(gh pr update-branch:*)", | ||
| "Bash(gh pr view:*)", | ||
| "Bash(gh search code:*)", | ||
| "Bash(git diff:*)", | ||
| "Bash(git grep:*)", | ||
| "Bash(git log:*)", | ||
| "Bash(git show:*)", | ||
| "Bash(git status:*)", | ||
| "Bash(grep:*)", | ||
| "Bash(ls:*)", | ||
| "Bash(tree:*)", | ||
| "WebFetch(domain:central.sonatype.com)", | ||
| "WebFetch(domain:docs.slack.dev)", | ||
| "WebFetch(domain:github.com)" | ||
| ] | ||
| } | ||
| } |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "ok": false, | ||
| "error": "", | ||
| "needed": "", | ||
| "provided": "", | ||
| "warning": "" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...a/com/slack/api/methods/request/apps/user/connection/AppsUserConnectionUpdateRequest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| package com.slack.api.methods.request.apps.user.connection; | ||
|
|
||
| import com.slack.api.methods.SlackApiRequest; | ||
| import lombok.Builder; | ||
| import lombok.Data; | ||
|
|
||
| /** | ||
| * https://docs.slack.dev/reference/methods/apps.user.connection.update | ||
| */ | ||
| @Data | ||
| @Builder | ||
| public class AppsUserConnectionUpdateRequest implements SlackApiRequest { | ||
|
|
||
| private String token; | ||
|
|
||
| /** | ||
| * The user ID to update the connection status for. | ||
| */ | ||
| private String userId; | ||
|
|
||
| /** | ||
| * The connection status to set. | ||
| */ | ||
| private String status; | ||
| } |
21 changes: 21 additions & 0 deletions
21
...com/slack/api/methods/response/apps/user/connection/AppsUserConnectionUpdateResponse.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| package com.slack.api.methods.response.apps.user.connection; | ||
|
|
||
| import com.slack.api.methods.SlackApiTextResponse; | ||
| import lombok.Data; | ||
|
|
||
| import java.util.List; | ||
| import java.util.Map; | ||
|
|
||
| /** | ||
| * https://docs.slack.dev/reference/methods/apps.user.connection.update | ||
| */ | ||
| @Data | ||
| public class AppsUserConnectionUpdateResponse implements SlackApiTextResponse { | ||
|
|
||
| private boolean ok; | ||
| private String warning; | ||
| private String error; | ||
| private String needed; | ||
| private String provided; | ||
| private transient Map<String, List<String>> httpResponseHeaders; | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📚 quibble: Moving this toward another PR might make later
diffeasier but no blocker!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👾 edit: I now find #1559! Apologies!