Skip to content

Commit

Permalink
Generate web api responses
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Nov 28, 2024
1 parent 520272e commit 8d9f9e3
Show file tree
Hide file tree
Showing 54 changed files with 68 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export interface Properties {
huddles_restricted?: boolean;
posting_restricted_to?: PostingRestrictedTo;
tabs?: Tab[];
tabz?: Tab[];
threads_restricted_to?: ThreadsRestrictedTo;
}

Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/ChatPostMessageResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1042,6 +1043,7 @@ export interface MessageFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ export interface File {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/ChatUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ export interface File {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/ConversationsHistoryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1058,6 +1059,7 @@ export interface PurpleFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/ConversationsJoinResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface Channel {
export interface Properties {
canvas?: Canvas;
tabs?: Tab[];
tabz?: Tab[];
}

export interface Canvas {
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/ConversationsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export interface Properties {
canvas?: Canvas;
posting_restricted_to?: RestrictedTo;
tabs?: Tab[];
tabz?: Tab[];
threads_restricted_to?: RestrictedTo;
}

Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/ConversationsOpenResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ export interface File {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/ConversationsRepliesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1047,6 +1048,7 @@ export interface PurpleFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteAddResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteShareResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesRemoteUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/FilesUploadResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/PinsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/ReactionsGetResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ export interface File {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/ReactionsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1059,6 +1060,7 @@ export interface PurpleFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/SearchAllResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1050,6 +1051,7 @@ export interface MessageFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/SearchFilesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1029,6 +1030,7 @@ export interface MessageFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
2 changes: 2 additions & 0 deletions src/client/generated-response/SearchMessagesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -945,6 +946,7 @@ export interface MessageFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface Properties {
huddles_restricted?: boolean;
posting_restricted_to?: PostingRestrictedTo;
tabs?: Tab[];
tabz?: Tab[];
threads_restricted_to?: ThreadsRestrictedTo;
}

Expand Down
1 change: 1 addition & 0 deletions src/client/generated-response/UsersInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export interface EnterpriseUser {
id?: string;
is_admin?: boolean;
is_owner?: boolean;
is_primary_owner?: boolean;
teams?: string[];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export interface Properties {
huddles_restricted?: boolean;
posting_restricted_to?: PostingRestrictedTo;
tabs?: Tab[];
tabz?: Tab[];
threads_restricted_to?: ThreadsRestrictedTo;
}

Expand Down
2 changes: 2 additions & 0 deletions src_deno/client/generated-response/ChatPostMessageResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1042,6 +1043,7 @@ export interface MessageFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ export interface File {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src_deno/client/generated-response/ChatUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ export interface File {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1058,6 +1059,7 @@ export interface PurpleFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface Channel {
export interface Properties {
canvas?: Canvas;
tabs?: Tab[];
tabz?: Tab[];
}

export interface Canvas {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export interface Properties {
canvas?: Canvas;
posting_restricted_to?: RestrictedTo;
tabs?: Tab[];
tabz?: Tab[];
threads_restricted_to?: RestrictedTo;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ export interface File {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ export interface FileElement {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down Expand Up @@ -1047,6 +1048,7 @@ export interface PurpleFile {
blocks?: AnyMessageBlock[];
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: any[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src_deno/client/generated-response/FilesInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
1 change: 1 addition & 0 deletions src_deno/client/generated-response/FilesListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface File {
app_name?: string;
bot_id?: string;
can_toggle_canvas_lock?: boolean;
canvas_printing_enabled?: boolean;
canvas_template_mode?: string;
cc?: Cc[];
channel_actions_count?: number;
Expand Down
Loading

0 comments on commit 8d9f9e3

Please sign in to comment.