Skip to content
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

Impl uploadv2 #90

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Generate files.uploadV2 methods.
Generate files.getUploadURLExternal and files.completeUploadExternal.
racTaiga533 committed Dec 15, 2023
commit 5ab41812792963e2d2b1232da07e919dca5e81ca
2 changes: 2 additions & 0 deletions scripts/src/public-api-methods.ts
Original file line number Diff line number Diff line change
@@ -154,6 +154,8 @@ export const getPublicAPIMethods = () => {
"files.list",
"files.revokePublicURL",
"files.sharedPublicURL",
"files.getUploadURLExternal",
"files.completeUploadExternal",
"files.upload",
"files.remote.add",
"files.remote.info",
2 changes: 2 additions & 0 deletions src/generated/method-types/api_method_types_test.ts
Original file line number Diff line number Diff line change
@@ -184,7 +184,9 @@ Deno.test("SlackAPIMethodsType generated types", () => {
assertEquals(typeof client.enterprise.auth.idpconfig.remove, "function");
assertEquals(typeof client.enterprise.auth.idpconfig.set, "function");
assertEquals(typeof client.files.comments.delete, "function");
assertEquals(typeof client.files.completeUploadExternal, "function");
assertEquals(typeof client.files.delete, "function");
assertEquals(typeof client.files.getUploadURLExternal, "function");
assertEquals(typeof client.files.info, "function");
assertEquals(typeof client.files.list, "function");
assertEquals(typeof client.files.remote.add, "function");
2 changes: 2 additions & 0 deletions src/generated/method-types/files.ts
Original file line number Diff line number Diff line change
@@ -7,7 +7,9 @@ export type FilesAPIType = {
comments: {
delete: SlackAPIMethod;
};
completeUploadExternal: SlackAPIMethod;
delete: SlackAPIMethod;
getUploadURLExternal: SlackAPIMethod;
info: SlackAPIMethod;
list: SlackAPICursorPaginatedMethod;
remote: {