Skip to content

Commit

Permalink
Update web api responses
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Sep 28, 2024
1 parent 11eb5e6 commit 78b7064
Show file tree
Hide file tree
Showing 12 changed files with 129 additions and 121 deletions.
230 changes: 115 additions & 115 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
},
"homepage": "https://github.com/seratch/slack-web-api-client#readme",
"devDependencies": {
"@biomejs/biome": "^1.9.1",
"@biomejs/biome": "^1.9.2",
"@vitest/coverage-v8": "^2.1.1",
"msw": "^2.4.8",
"msw": "^2.4.9",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface Activity {
enterprise_id?: string;
event_type?: string;
level?: string;
parent_execution_id?: string;
payload?: Payload;
source?: string;
team_id?: string;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/AdminFunctionsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export type AdminFunctionsListResponse = SlackAPIResponse & {
export interface Function {
app_id?: string;
callback_id?: string;
category_id?: string;
category_label?: string;
date_created?: number;
date_deleted?: number;
date_released?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/AdminUsersListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export interface User {
is_primary_owner?: boolean;
is_restricted?: boolean;
is_ultra_restricted?: boolean;
last_active_ts?: number;
roles?: string[];
username?: string;
workspaces?: string[];
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/SearchAllResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface FilesMatch {
dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[];
edit_link?: string;
editable?: boolean;
editors?: string[];
editors?: LastEditor[];
editors_count?: number;
external_id?: string;
external_type?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/SearchFilesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface Match {
dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[];
edit_link?: string;
editable?: boolean;
editors?: string[];
editors?: LastEditor[];
editors_count?: number;
external_id?: string;
external_type?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface Activity {
enterprise_id?: string;
event_type?: string;
level?: string;
parent_execution_id?: string;
payload?: Payload;
source?: string;
team_id?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export type AdminFunctionsListResponse = SlackAPIResponse & {
export interface Function {
app_id?: string;
callback_id?: string;
category_id?: string;
category_label?: string;
date_created?: number;
date_deleted?: number;
date_released?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export interface User {
is_primary_owner?: boolean;
is_restricted?: boolean;
is_ultra_restricted?: boolean;
last_active_ts?: number;
roles?: string[];
username?: string;
workspaces?: string[];
Expand Down
2 changes: 1 addition & 1 deletion src_deno/client/generated-response/SearchAllResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface FilesMatch {
dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[];
edit_link?: string;
editable?: boolean;
editors?: string[];
editors?: LastEditor[];
editors_count?: number;
external_id?: string;
external_type?: string;
Expand Down
2 changes: 1 addition & 1 deletion src_deno/client/generated-response/SearchFilesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface Match {
dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[];
edit_link?: string;
editable?: boolean;
editors?: string[];
editors?: LastEditor[];
editors_count?: number;
external_id?: string;
external_type?: string;
Expand Down

0 comments on commit 78b7064

Please sign in to comment.