Skip to content

Commit

Permalink
removing deprecated methods (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
selfcontained authored Apr 27, 2022
1 parent 7aa5eba commit c79bdb2
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 69 deletions.
15 changes: 0 additions & 15 deletions scripts/src/public-api-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,21 +219,6 @@ export const getPublicAPIMethods = () => {
"workflows.stepCompleted",
"workflows.stepFailed",
"workflows.updateStep",
"channels.create",
"channels.info",
"channels.invite",
"channels.mark",
"groups.create",
"groups.info",
"groups.invite",
"groups.mark",
"groups.open",
"im.list",
"im.mark",
"im.open",
"mpim.list",
"mpim.mark",
"mpim.open",
];

// upcoming platform 2.0 methods we want available but aren't listed quite yet
Expand Down
15 changes: 0 additions & 15 deletions src/generated/method-types/api_method_types_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ Deno.test("SlackAPIMethodsType generated types", () => {
assertEquals(typeof client.calls.participants.add, "function");
assertEquals(typeof client.calls.participants.remove, "function");
assertEquals(typeof client.calls.update, "function");
assertEquals(typeof client.channels.create, "function");
assertEquals(typeof client.channels.info, "function");
assertEquals(typeof client.channels.invite, "function");
assertEquals(typeof client.channels.mark, "function");
assertEquals(typeof client.chat.delete, "function");
assertEquals(typeof client.chat.deleteScheduledMessage, "function");
assertEquals(typeof client.chat.getPermalink, "function");
Expand Down Expand Up @@ -207,18 +203,7 @@ Deno.test("SlackAPIMethodsType generated types", () => {
assertEquals(typeof client.files.upload, "function");
assertEquals(typeof client.functions.completeError, "function");
assertEquals(typeof client.functions.completeSuccess, "function");
assertEquals(typeof client.groups.create, "function");
assertEquals(typeof client.groups.info, "function");
assertEquals(typeof client.groups.invite, "function");
assertEquals(typeof client.groups.mark, "function");
assertEquals(typeof client.groups.open, "function");
assertEquals(typeof client.im.list, "function");
assertEquals(typeof client.im.mark, "function");
assertEquals(typeof client.im.open, "function");
assertEquals(typeof client.migration.exchange, "function");
assertEquals(typeof client.mpim.list, "function");
assertEquals(typeof client.mpim.mark, "function");
assertEquals(typeof client.mpim.open, "function");
assertEquals(typeof client.oauth.access, "function");
assertEquals(typeof client.oauth.v2.access, "function");
assertEquals(typeof client.oauth.v2.exchange, "function");
Expand Down
8 changes: 0 additions & 8 deletions src/generated/method-types/channels.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src/generated/method-types/groups.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/generated/method-types/im.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/generated/method-types/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { type AuthAPIType } from "./auth.ts";
import { type BookmarksAPIType } from "./bookmarks.ts";
import { type BotsAPIType } from "./bots.ts";
import { type CallsAPIType } from "./calls.ts";
import { type ChannelsAPIType } from "./channels.ts";
import { type ChatAPIType } from "./chat.ts";
import { type ConversationsAPIType } from "./conversations.ts";
import { type DialogAPIType } from "./dialog.ts";
Expand All @@ -14,10 +13,7 @@ import { type EmojiAPIType } from "./emoji.ts";
import { type EnterpriseAPIType } from "./enterprise.ts";
import { type FilesAPIType } from "./files.ts";
import { type FunctionsAPIType } from "./functions.ts";
import { type GroupsAPIType } from "./groups.ts";
import { type ImAPIType } from "./im.ts";
import { type MigrationAPIType } from "./migration.ts";
import { type MpimAPIType } from "./mpim.ts";
import { type OauthAPIType } from "./oauth.ts";
import { type OpenidAPIType } from "./openid.ts";
import { type PinsAPIType } from "./pins.ts";
Expand All @@ -41,7 +37,6 @@ export type SlackAPIMethodsType = {
bookmarks: BookmarksAPIType;
bots: BotsAPIType;
calls: CallsAPIType;
channels: ChannelsAPIType;
chat: ChatAPIType;
conversations: ConversationsAPIType;
dialog: DialogAPIType;
Expand All @@ -50,10 +45,7 @@ export type SlackAPIMethodsType = {
enterprise: EnterpriseAPIType;
files: FilesAPIType;
functions: FunctionsAPIType;
groups: GroupsAPIType;
im: ImAPIType;
migration: MigrationAPIType;
mpim: MpimAPIType;
oauth: OauthAPIType;
openid: OpenidAPIType;
pins: PinsAPIType;
Expand Down
7 changes: 0 additions & 7 deletions src/generated/method-types/mpim.ts

This file was deleted.

0 comments on commit c79bdb2

Please sign in to comment.