Skip to content

Commit

Permalink
feat: add team.externalTeams.disconnect and `conversations.external…
Browse files Browse the repository at this point in the history
…InvitePermissions.set` APIs (#106)
  • Loading branch information
filmaj authored Jul 2, 2024
1 parent dc8772a commit 26fcdd6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/src/public-api-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export const getPublicAPIMethods = () => {
"conversations.close",
"conversations.create",
"conversations.declineSharedInvite",
"conversations.externalInvitePermissions.set",
"conversations.history",
"conversations.info",
"conversations.invite",
Expand Down Expand Up @@ -198,6 +199,7 @@ export const getPublicAPIMethods = () => {
"stars.remove",
"team.accessLogs",
"team.billableInfo",
"team.externalTeams.disconnect",
"team.externalTeams.list",
"team.info",
"team.integrationLogs",
Expand Down
5 changes: 5 additions & 0 deletions src/generated/method-types/api_method_types_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ Deno.test("SlackAPIMethodsType generated types", () => {
assertEquals(typeof client.conversations.close, "function");
assertEquals(typeof client.conversations.create, "function");
assertEquals(typeof client.conversations.declineSharedInvite, "function");
assertEquals(
typeof client.conversations.externalInvitePermissions.set,
"function",
);
assertEquals(typeof client.conversations.history, "function");
assertEquals(typeof client.conversations.info, "function");
assertEquals(typeof client.conversations.invite, "function");
Expand Down Expand Up @@ -232,6 +236,7 @@ Deno.test("SlackAPIMethodsType generated types", () => {
assertEquals(typeof client.team.accessLogs, "function");
assertEquals(typeof client.team.billableInfo, "function");
assertEquals(typeof client.team.billing.info, "function");
assertEquals(typeof client.team.externalTeams.disconnect, "function");
assertEquals(typeof client.team.externalTeams.list, "function");
assertEquals(typeof client.team.info, "function");
assertEquals(typeof client.team.integrationLogs, "function");
Expand Down
3 changes: 3 additions & 0 deletions src/generated/method-types/conversations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export type ConversationsAPIType = {
close: SlackAPIMethod;
create: SlackAPIMethod;
declineSharedInvite: SlackAPIMethod;
externalInvitePermissions: {
set: SlackAPIMethod;
};
history: SlackAPICursorPaginatedMethod;
info: SlackAPIMethod;
invite: SlackAPIMethod;
Expand Down
1 change: 1 addition & 0 deletions src/generated/method-types/team.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export type TeamAPIType = {
info: SlackAPIMethod;
};
externalTeams: {
disconnect: SlackAPIMethod;
list: SlackAPICursorPaginatedMethod;
};
info: SlackAPIMethod;
Expand Down

0 comments on commit 26fcdd6

Please sign in to comment.