Repository navigation
feat(web-api): add slackbot.skills.update method #2833
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
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2e490ce
feat: add slackbot.skills.create method
zimeg 2a3e5d8
feat: add slackbot.skills.info method
zimeg 9388e22
feat: add slackbot.skills.update method
zimeg d6940d8
chore(web-api): regenerate SlackbotSkillsCreateResponse from the reco…
zimeg 637cb2e
Merge branch 'zimeg-feat-slackbot-skills-create' into zimeg-feat-slac…
zimeg a257224
chore(web-api): regenerate SlackbotSkillsInfoResponse from the record…
zimeg e3fee2d
Merge branch 'zimeg-feat-slackbot-skills-info' into zimeg-feat-slackb…
zimeg ee35711
chore(web-api): regenerate SlackbotSkillsUpdateResponse from the reco…
zimeg 9af13ba
Merge branch 'main' into zimeg-feat-slackbot-skills-create
zimeg 82b3e71
Merge branch 'zimeg-feat-slackbot-skills-create' into zimeg-feat-slac…
zimeg 8ebd971
Merge branch 'zimeg-feat-slackbot-skills-info' into zimeg-feat-slackb…
zimeg f081dce
refactor: accept instructions or canvas_id as optional slackbot.skill…
zimeg 8293ce8
Merge branch 'zimeg-feat-slackbot-skills-create' into zimeg-feat-slac…
zimeg 360decf
Merge branch 'zimeg-feat-slackbot-skills-info' into zimeg-feat-slackb…
zimeg d74ff88
refactor: line-break the slackbot.skills.update mcp_servers object type
zimeg 4e2b317
Merge branch 'main' into zimeg-feat-slackbot-skills-update
zimeg 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,5 @@ | ||
| --- | ||
| "@slack/web-api": minor | ||
| --- | ||
|
|
||
| feat(web-api): add [`slackbot.skills.update`](https://docs.slack.dev/reference/methods/slackbot.skills.update) method |
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
59 changes: 59 additions & 0 deletions
59
packages/web-api/src/types/response/SlackbotSkillsUpdateResponse.ts
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,59 @@ | ||
| ///////////////////////////////////////////////////////////////////////////////////////// | ||
| // // | ||
| // !!! DO NOT EDIT THIS FILE !!! // | ||
| // // | ||
| // This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // | ||
| // Please refer to the script code to learn how to update the source data. // | ||
| // // | ||
| ///////////////////////////////////////////////////////////////////////////////////////// | ||
|
|
||
| import type { WebAPICallResult } from '../../WebClient'; | ||
| export type SlackbotSkillsUpdateResponse = WebAPICallResult & { | ||
| error?: string; | ||
| invalid_mcp_servers?: InvalidmcpServer[]; | ||
| needed?: string; | ||
| ok?: boolean; | ||
| provided?: string; | ||
| response_metadata?: ResponseMetadata; | ||
| skill?: Skill; | ||
| warning?: string; | ||
| }; | ||
|
|
||
| export interface InvalidmcpServer { | ||
| app_id?: string; | ||
| server_id?: string; | ||
| service_type?: string; | ||
| } | ||
|
|
||
| export interface ResponseMetadata { | ||
| messages?: string[]; | ||
| } | ||
|
|
||
| export interface Skill { | ||
| access?: string; | ||
| category?: string; | ||
| creator_id?: string; | ||
| date_created?: number; | ||
| date_updated?: number; | ||
| description?: string; | ||
| display_name?: string; | ||
| example_prompt?: string; | ||
| id?: string; | ||
| instructions?: string; | ||
| is_official?: boolean; | ||
| library_count?: number; | ||
| mcp_servers?: McpServer[]; | ||
| name?: string; | ||
| permalink?: string; | ||
| type?: string; | ||
| usage_count?: number; | ||
| visibility?: string; | ||
| } | ||
|
|
||
| export interface McpServer { | ||
| app_id?: string; | ||
| display_name?: string; | ||
| is_available?: boolean; | ||
| server_id?: string; | ||
| service_type?: string; | ||
| } |
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
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.
Uh oh!
There was an error while loading. Please reload this page.