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 Sep 10, 2024
1 parent fd4598f commit c7265e6
Show file tree
Hide file tree
Showing 60 changed files with 71 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export interface App {
icons?: Icons;
id?: string;
is_app_directory_approved?: boolean;
is_granular_bot_app?: boolean;
is_internal?: boolean;
name?: string;
privacy_policy_url?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export interface App {
icons?: Icons;
id?: string;
is_app_directory_approved?: boolean;
is_granular_bot_app?: boolean;
is_internal?: boolean;
name?: string;
privacy_policy_url?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export interface App {
icons?: Icons;
id?: string;
is_app_directory_approved?: boolean;
is_granular_bot_app?: boolean;
is_internal?: boolean;
name?: string;
privacy_policy_url?: string;
Expand Down
4 changes: 2 additions & 2 deletions src/client/generated-response/ChatPostMessageResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down Expand Up @@ -867,7 +867,7 @@ export interface Comment {
preview_is_truncated?: boolean;
public_url_shared?: boolean;
size?: number;
timestamp?: string;
timestamp?: number;
title?: string;
url_private?: string;
url_private_download?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/ChatUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/client/generated-response/ConversationsHistoryResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down Expand Up @@ -883,7 +883,7 @@ export interface Comment {
preview_is_truncated?: boolean;
public_url_shared?: boolean;
size?: number;
timestamp?: string;
timestamp?: number;
title?: string;
url_private?: string;
url_private_download?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/ConversationsOpenResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/client/generated-response/ConversationsRepliesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down Expand Up @@ -872,7 +872,7 @@ export interface Comment {
preview_is_truncated?: boolean;
public_url_shared?: boolean;
size?: number;
timestamp?: string;
timestamp?: number;
title?: string;
url_private?: string;
url_private_download?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/FilesInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/FilesListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/FilesRemoteAddResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/FilesRemoteInfoResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/FilesRemoteListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/FilesRemoteShareResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/FilesRemoteUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/FilesUploadResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/PinsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/ReactionsGetResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/client/generated-response/ReactionsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down Expand Up @@ -884,7 +884,7 @@ export interface Comment {
preview_is_truncated?: boolean;
public_url_shared?: boolean;
size?: number;
timestamp?: string;
timestamp?: number;
title?: string;
url_private?: string;
url_private_download?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/client/generated-response/SearchAllResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down Expand Up @@ -993,7 +993,7 @@ export interface Comment {
preview_is_truncated?: boolean;
public_url_shared?: boolean;
size?: number;
timestamp?: string;
timestamp?: number;
title?: string;
url_private?: string;
url_private_download?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/client/generated-response/SearchFilesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down Expand Up @@ -972,7 +972,7 @@ export interface Comment {
preview_is_truncated?: boolean;
public_url_shared?: boolean;
size?: number;
timestamp?: string;
timestamp?: number;
title?: string;
url_private?: string;
url_private_download?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/SearchMessagesResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/ViewsOpenResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export interface TentacledElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/ViewsPublishResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export interface TentacledElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/ViewsPushResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export interface TentacledElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/generated-response/ViewsUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export interface TentacledElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: ElementType;
unicode?: string;
unsafe?: boolean;
Expand Down
1 change: 0 additions & 1 deletion src/client/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,6 @@ export interface ViewsPushAutomationPlatformRequest extends SlackAPIRequest {
view: ModalView;
}


export interface ViewsPublishRequest extends SlackAPIRequest {
user_id: string;
view: HomeTabView;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export interface App {
icons?: Icons;
id?: string;
is_app_directory_approved?: boolean;
is_granular_bot_app?: boolean;
is_internal?: boolean;
name?: string;
privacy_policy_url?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export interface App {
icons?: Icons;
id?: string;
is_app_directory_approved?: boolean;
is_granular_bot_app?: boolean;
is_internal?: boolean;
name?: string;
privacy_policy_url?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export interface App {
icons?: Icons;
id?: string;
is_app_directory_approved?: boolean;
is_granular_bot_app?: boolean;
is_internal?: boolean;
name?: string;
privacy_policy_url?: string;
Expand Down
4 changes: 2 additions & 2 deletions src_deno/client/generated-response/ChatPostMessageResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down Expand Up @@ -867,7 +867,7 @@ export interface Comment {
preview_is_truncated?: boolean;
public_url_shared?: boolean;
size?: number;
timestamp?: string;
timestamp?: number;
title?: string;
url_private?: string;
url_private_download?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src_deno/client/generated-response/ChatUpdateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export interface PurpleElement {
style?: Style;
team_id?: string;
text?: string;
timestamp?: string;
timestamp?: number;
type?: PurpleType;
unicode?: string;
unsafe?: boolean;
Expand Down Expand Up @@ -883,7 +883,7 @@ export interface Comment {
preview_is_truncated?: boolean;
public_url_shared?: boolean;
size?: number;
timestamp?: string;
timestamp?: number;
title?: string;
url_private?: string;
url_private_download?: boolean;
Expand Down
Loading

0 comments on commit c7265e6

Please sign in to comment.