Skip to content

Commit b26055e

Browse files
committed
Update generated responses from script
1 parent 2a5af01 commit b26055e

32 files changed

+244
-17
lines changed

packages/web-api/src/types/response/AdminAppsActivitiesListResponse.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ export interface Activity {
3535
export interface Payload {
3636
action?: string;
3737
actor?: string;
38+
app_id?: string;
3839
billing_reason?: string[];
3940
bot_user_id?: string;
4041
bundle_size_kb?: number;
4142
channel_id?: string;
43+
code?: string;
4244
current_step?: number;
4345
datastore_name?: string;
4446
details?: string;
@@ -51,6 +53,7 @@ export interface Payload {
5153
inputs?: Inputs;
5254
is_billing_excluded?: boolean;
5355
log?: string;
56+
outputs?: Outputs;
5457
request_type?: string;
5558
team_id?: string;
5659
total_steps?: number;
@@ -62,6 +65,11 @@ export interface Payload {
6265

6366
export type Inputs = {};
6467

68+
export interface Outputs {
69+
channel_id?: string;
70+
message_ts?: string;
71+
}
72+
6573
export interface Trigger {
6674
config?: Config;
6775
id?: string;

packages/web-api/src/types/response/AdminConversationsSearchResponse.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ export interface Properties {
8585
at_here_restricted?: boolean;
8686
canvas?: PropertiesCanvas;
8787
huddles_restricted?: boolean;
88+
is_dormant?: boolean;
89+
meeting_notes?: MeetingNotes;
8890
posting_restricted_to?: PostingRestrictedTo;
8991
tabs?: Tab[];
9092
tabz?: Tab[];
@@ -94,20 +96,32 @@ export interface Properties {
9496
export interface PropertiesCanvas {
9597
file_id?: string;
9698
is_empty?: boolean;
99+
is_migrated?: boolean;
97100
quip_thread_id?: string;
98101
}
99102

103+
export interface MeetingNotes {
104+
file_id?: string;
105+
}
106+
100107
export interface PostingRestrictedTo {
101108
type?: string[];
102109
user?: string[];
103110
}
104111

105112
export interface Tab {
113+
data?: Data;
106114
id?: string;
115+
is_disabled?: boolean;
107116
label?: string;
108117
type?: string;
109118
}
110119

120+
export interface Data {
121+
file_id?: string;
122+
shared_ts?: string;
123+
}
124+
111125
export interface ThreadsRestrictedTo {
112126
type?: string[];
113127
}

packages/web-api/src/types/response/AdminFunctionsListResponse.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export interface Function {
3131
id?: string;
3232
input_parameters?: PutParameter[];
3333
output_parameters?: PutParameter[];
34+
product_level_availability?: ProductLevelAvailability;
3435
title?: string;
3536
type?: string;
3637
}
@@ -43,6 +44,11 @@ export interface PutParameter {
4344
type?: string;
4445
}
4546

47+
export interface ProductLevelAvailability {
48+
available_to?: string;
49+
is_available?: boolean;
50+
}
51+
4652
export interface ResponseMetadata {
4753
messages?: string[];
4854
next_cursor?: string;

packages/web-api/src/types/response/AuthTestResponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type AuthTestResponse = WebAPICallResult & {
1212
app_id?: string;
1313
app_name?: string;
1414
bot_id?: string;
15+
context?: string;
1516
enterprise_id?: string;
1617
error?: string;
1718
expires_in?: number;

packages/web-api/src/types/response/ChatAppendStreamResponse.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/////////////////////////////////////////////////////////////////////////////////////////
2+
// //
3+
// !!! DO NOT EDIT THIS FILE !!! //
4+
// //
5+
// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. //
6+
// Please refer to the script code to learn how to update the source data. //
7+
// //
8+
/////////////////////////////////////////////////////////////////////////////////////////
9+
110
import type { WebAPICallResult } from '../../WebClient';
211
export type ChatAppendStreamResponse = WebAPICallResult & {
312
channel?: string;

packages/web-api/src/types/response/ChatPostMessageResponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,7 @@ export interface BotProfile {
990990
name?: string;
991991
team_id?: string;
992992
updated?: number;
993+
user_id?: string;
993994
}
994995

995996
export interface BotProfileIcons {

packages/web-api/src/types/response/ChatStartStreamResponse.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/////////////////////////////////////////////////////////////////////////////////////////
2+
// //
3+
// !!! DO NOT EDIT THIS FILE !!! //
4+
// //
5+
// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. //
6+
// Please refer to the script code to learn how to update the source data. //
7+
// //
8+
/////////////////////////////////////////////////////////////////////////////////////////
9+
110
import type { WebAPICallResult } from '../../WebClient';
211
export type ChatStartStreamResponse = WebAPICallResult & {
312
channel?: string;
Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
1-
import type { Block, KnownBlock } from '@slack/types';
1+
/////////////////////////////////////////////////////////////////////////////////////////
2+
// //
3+
// !!! DO NOT EDIT THIS FILE !!! //
4+
// //
5+
// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. //
6+
// Please refer to the script code to learn how to update the source data. //
7+
// //
8+
/////////////////////////////////////////////////////////////////////////////////////////
9+
210
import type { WebAPICallResult } from '../../WebClient';
311
export type ChatStopStreamResponse = WebAPICallResult & {
4-
channel?: string;
512
error?: string;
613
needed?: string;
714
ok?: boolean;
815
provided?: string;
9-
ts?: string;
10-
message?: ChatStopStreamResponseMessage;
1116
};
12-
13-
export interface ChatStopStreamResponseMessage {
14-
subtype?: string;
15-
text?: string;
16-
user?: string;
17-
streaming_state?: string;
18-
type?: string;
19-
ts?: string;
20-
bot_id?: string;
21-
thread_ts?: string;
22-
parent_user_id?: string;
23-
blocks?: (Block | KnownBlock)[];
24-
}

packages/web-api/src/types/response/ChatUnfurlResponse.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@
99

1010
import type { WebAPICallResult } from '../../WebClient';
1111
export type ChatUnfurlResponse = WebAPICallResult & {
12+
callstack?: string;
1213
error?: string;
1314
needed?: string;
1415
ok?: boolean;
1516
provided?: string;
17+
response_metadata?: ResponseMetadata;
18+
warning?: string;
1619
};
20+
21+
export interface ResponseMetadata {
22+
messages?: string[];
23+
warnings?: string[];
24+
}

packages/web-api/src/types/response/ConversationsInfoResponse.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,30 @@ export interface Channel {
5252
pending_connected_team_ids?: string[];
5353
pending_shared?: string[];
5454
previous_names?: string[];
55+
properties?: Properties;
5556
purpose?: Purpose;
5657
shared_team_ids?: string[];
5758
topic?: Purpose;
5859
unlinked?: number;
5960
updated?: number;
6061
}
6162

63+
export interface Properties {
64+
is_dormant?: boolean;
65+
tabs?: Tab[];
66+
tabz?: Tabz[];
67+
}
68+
69+
export interface Tab {
70+
id?: string;
71+
label?: string;
72+
type?: string;
73+
}
74+
75+
export interface Tabz {
76+
type?: string;
77+
}
78+
6279
export interface Purpose {
6380
creator?: string;
6481
last_set?: number;

0 commit comments

Comments
 (0)