@slack/web-api
Advanced tools
Comparing version 6.2.3 to 6.2.4
@@ -34,3 +34,4 @@ import { WebAPICallResult } from '../WebClient'; | ||
channel_email_addresses?: string[]; | ||
connected_limited_team_ids?: string[]; | ||
} | ||
//# sourceMappingURL=AdminConversationsSearchResponse.d.ts.map |
@@ -16,6 +16,6 @@ import { WebAPICallResult } from '../WebClient'; | ||
channel_id?: string; | ||
text?: string; | ||
post_at?: number; | ||
date_created?: number; | ||
text?: string; | ||
} | ||
//# sourceMappingURL=ChatScheduledMessagesListResponse.d.ts.map |
@@ -9,2 +9,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
error?: string; | ||
response_metadata?: ResponseMetadata; | ||
needed?: string; | ||
@@ -61,2 +62,3 @@ provided?: string; | ||
initial_date?: string; | ||
initial_time?: string; | ||
initial_option?: InitialOption; | ||
@@ -109,2 +111,5 @@ min_query_length?: number; | ||
} | ||
export interface ResponseMetadata { | ||
messages?: string[]; | ||
} | ||
//# sourceMappingURL=ChatScheduleMessageResponse.d.ts.map |
@@ -64,2 +64,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
initial_date?: string; | ||
initial_time?: string; | ||
initial_option?: InitialOption; | ||
@@ -66,0 +67,0 @@ min_query_length?: number; |
@@ -181,2 +181,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
initial_date?: string; | ||
initial_time?: string; | ||
initial_option?: InitialOption; | ||
@@ -183,0 +184,0 @@ min_query_length?: number; |
@@ -32,7 +32,10 @@ import { WebAPICallResult } from '../WebClient'; | ||
blocks?: Block[]; | ||
client_msg_id?: string; | ||
user?: string; | ||
team?: string; | ||
} | ||
export interface Block { | ||
type?: string; | ||
elements?: Element[]; | ||
block_id?: string; | ||
elements?: BlockElement[]; | ||
fallback?: string; | ||
@@ -58,4 +61,5 @@ image_url?: string; | ||
} | ||
export interface Element { | ||
export interface BlockElement { | ||
type?: string; | ||
elements?: ElementElementClass[]; | ||
text?: Text; | ||
@@ -74,2 +78,3 @@ action_id?: string; | ||
initial_date?: string; | ||
initial_time?: string; | ||
initial_option?: InitialOption; | ||
@@ -98,2 +103,6 @@ min_query_length?: number; | ||
} | ||
export interface ElementElementClass { | ||
type?: string; | ||
text?: string; | ||
} | ||
export interface Filter { | ||
@@ -100,0 +109,0 @@ exclude_external_shared_channels?: boolean; |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type DialogOpenResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
warning?: string; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
response_metadata?: ResponseMetadata; | ||
}; | ||
export interface ResponseMetadata { | ||
messages?: string[]; | ||
} | ||
//# sourceMappingURL=DialogOpenResponse.d.ts.map |
@@ -68,2 +68,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
thumb_1024_h?: number; | ||
thumb_video?: string; | ||
} | ||
@@ -70,0 +71,0 @@ export interface Paging { |
@@ -68,3 +68,5 @@ import { WebAPICallResult } from '../WebClient'; | ||
share_user_id?: string; | ||
thread_ts?: string; | ||
latest_reply?: string; | ||
} | ||
//# sourceMappingURL=FilesUploadResponse.d.ts.map |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type MigrationExchangeResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
warning?: string; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
team_id?: string; | ||
enterprise_id?: string; | ||
invalid_user_ids?: string[]; | ||
user_id_map?: UseridMap; | ||
invalid_user_ids?: string[]; | ||
}; | ||
export interface UseridMap { | ||
U06UBSUN5?: string; | ||
U06UEB62U?: string; | ||
U06UBSVB3?: string; | ||
U06UBSVDX?: string; | ||
W06UAZ65Q?: string; | ||
} | ||
//# sourceMappingURL=MigrationExchangeResponse.d.ts.map |
@@ -81,2 +81,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
initial_date?: string; | ||
initial_time?: string; | ||
initial_option?: InitialOption; | ||
@@ -83,0 +84,0 @@ min_query_length?: number; |
@@ -17,3 +17,4 @@ import { WebAPICallResult } from '../WebClient'; | ||
complete_ts?: number; | ||
channel?: string; | ||
} | ||
//# sourceMappingURL=RemindersListResponse.d.ts.map |
@@ -83,2 +83,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
updated?: number; | ||
thumb_video?: string; | ||
} | ||
@@ -273,2 +274,3 @@ export interface Shares { | ||
initial_date?: string; | ||
initial_time?: string; | ||
initial_option?: InitialOption; | ||
@@ -275,0 +277,0 @@ min_query_length?: number; |
@@ -81,2 +81,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
updated?: number; | ||
thumb_video?: string; | ||
} | ||
@@ -83,0 +84,0 @@ export interface Shares { |
@@ -170,2 +170,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
initial_date?: string; | ||
initial_time?: string; | ||
initial_option?: InitialOption; | ||
@@ -172,0 +173,0 @@ min_query_length?: number; |
@@ -134,2 +134,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
is_locked?: boolean; | ||
inviter?: string; | ||
} | ||
@@ -272,2 +273,3 @@ export interface Attachment { | ||
initial_date?: string; | ||
initial_time?: string; | ||
initial_option?: InitialOption; | ||
@@ -274,0 +276,0 @@ min_query_length?: number; |
@@ -11,111 +11,38 @@ import { WebAPICallResult } from '../WebClient'; | ||
export interface Channel { | ||
enterprise_id?: string; | ||
id?: string; | ||
name?: string; | ||
created?: string; | ||
creator?: string; | ||
unlinked?: number; | ||
name_normalized?: string; | ||
last_read?: string; | ||
topic?: Purpose; | ||
purpose?: Purpose; | ||
num_members?: number; | ||
latest?: Latest; | ||
locale?: string; | ||
unread_count?: number; | ||
unread_count_display?: number; | ||
user?: string; | ||
priority?: number; | ||
date_connected?: number; | ||
parent_conversation?: string; | ||
conversation_host_id?: string; | ||
is_channel?: boolean; | ||
is_group?: boolean; | ||
is_im?: boolean; | ||
created?: number; | ||
is_archived?: boolean; | ||
is_general?: boolean; | ||
is_read_only?: boolean; | ||
is_thread_only?: boolean; | ||
is_non_threadable?: boolean; | ||
unlinked?: number; | ||
name_normalized?: string; | ||
is_shared?: boolean; | ||
creator?: string; | ||
is_ext_shared?: boolean; | ||
is_org_shared?: boolean; | ||
shared_team_ids?: string[]; | ||
pending_shared?: string[]; | ||
pending_connected_team_ids?: string[]; | ||
is_pending_ext_shared?: boolean; | ||
is_private?: boolean; | ||
is_mpim?: boolean; | ||
topic?: Purpose; | ||
purpose?: Purpose; | ||
previous_names?: string[]; | ||
conversation_host_id?: string; | ||
is_moved?: number; | ||
internal_team_ids?: string[]; | ||
is_global_shared?: boolean; | ||
is_org_default?: boolean; | ||
is_org_mandatory?: boolean; | ||
is_moved?: number; | ||
is_member?: boolean; | ||
enterprise_id?: string; | ||
last_read?: string; | ||
is_open?: boolean; | ||
is_private?: boolean; | ||
is_mpim?: boolean; | ||
} | ||
export interface Latest { | ||
client_msg_id?: string; | ||
type?: string; | ||
subtype?: string; | ||
team?: string; | ||
priority?: number; | ||
user?: string; | ||
username?: string; | ||
parent_user_id?: string; | ||
text?: string; | ||
topic?: string; | ||
root?: Root; | ||
upload?: boolean; | ||
display_as_bot?: boolean; | ||
bot_id?: string; | ||
bot_link?: string; | ||
bot_profile?: BotProfile; | ||
thread_ts?: string; | ||
ts?: string; | ||
icons?: LatestIcons; | ||
edited?: Edited; | ||
is_user_deleted?: boolean; | ||
} | ||
export interface BotProfile { | ||
id?: string; | ||
deleted?: boolean; | ||
name?: string; | ||
updated?: number; | ||
app_id?: string; | ||
icons?: BotProfileIcons; | ||
team_id?: string; | ||
} | ||
export interface BotProfileIcons { | ||
image_36?: string; | ||
image_48?: string; | ||
image_72?: string; | ||
} | ||
export interface Edited { | ||
user?: string; | ||
ts?: string; | ||
} | ||
export interface LatestIcons { | ||
emoji?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
} | ||
export interface Root { | ||
text?: string; | ||
user?: string; | ||
parent_user_id?: string; | ||
username?: string; | ||
team?: string; | ||
bot_id?: string; | ||
mrkdwn?: boolean; | ||
type?: string; | ||
subtype?: string; | ||
thread_ts?: string; | ||
icons?: LatestIcons; | ||
bot_profile?: BotProfile; | ||
edited?: Edited; | ||
reply_count?: number; | ||
reply_users_count?: number; | ||
latest_reply?: string; | ||
subscribed?: boolean; | ||
last_read?: string; | ||
unread_count?: number; | ||
ts?: string; | ||
} | ||
export interface Purpose { | ||
@@ -122,0 +49,0 @@ value?: string; |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type UsersGetPresenceResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
presence?: string; | ||
warning?: string; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
presence?: string; | ||
online?: boolean; | ||
auto_away?: boolean; | ||
manual_away?: boolean; | ||
connection_count?: number; | ||
last_activity?: number; | ||
}; | ||
//# sourceMappingURL=UsersGetPresenceResponse.d.ts.map |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type UsersIdentityResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
warning?: string; | ||
error?: string; | ||
needed?: string; | ||
provided?: string; | ||
user?: User; | ||
team?: Team; | ||
}; | ||
export interface Team { | ||
name?: string; | ||
id?: string; | ||
} | ||
export interface User { | ||
name?: string; | ||
id?: string; | ||
email?: string; | ||
image_24?: string; | ||
image_32?: string; | ||
image_48?: string; | ||
image_72?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
} | ||
//# sourceMappingURL=UsersIdentityResponse.d.ts.map |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type ViewsOpenResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
warning?: string; | ||
error?: string; | ||
response_metadata?: ResponseMetadata; | ||
needed?: string; | ||
provided?: string; | ||
view?: View; | ||
response_metadata?: ResponseMetadata; | ||
}; | ||
@@ -12,2 +14,118 @@ export interface ResponseMetadata { | ||
} | ||
export interface View { | ||
id?: string; | ||
team_id?: string; | ||
type?: string; | ||
title?: Close; | ||
submit?: Close; | ||
close?: Close; | ||
blocks?: Block[]; | ||
private_metadata?: string; | ||
callback_id?: string; | ||
external_id?: string; | ||
state?: State; | ||
hash?: string; | ||
clear_on_close?: boolean; | ||
notify_on_close?: boolean; | ||
submit_disabled?: boolean; | ||
root_view_id?: string; | ||
previous_view_id?: string; | ||
app_id?: string; | ||
app_installed_team_id?: string; | ||
bot_id?: string; | ||
} | ||
export interface Block { | ||
type?: string; | ||
block_id?: string; | ||
label?: Close; | ||
element?: Element; | ||
dispatch_action?: boolean; | ||
hint?: Close; | ||
optional?: boolean; | ||
elements?: Element[]; | ||
fallback?: string; | ||
image_url?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
alt_text?: string; | ||
title?: Close; | ||
text?: Close; | ||
fields?: Close[]; | ||
accessory?: Accessory; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
image_url?: string; | ||
alt_text?: string; | ||
fallback?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
} | ||
export interface Element { | ||
type?: string; | ||
action_id?: string; | ||
placeholder?: Close; | ||
initial_value?: string; | ||
multiline?: boolean; | ||
min_length?: number; | ||
max_length?: number; | ||
dispatch_action_config?: DispatchActionConfig; | ||
options?: Option[]; | ||
initial_option?: Option; | ||
confirm?: Confirm; | ||
text?: Close; | ||
url?: string; | ||
value?: string; | ||
style?: string; | ||
initial_channel?: string; | ||
response_url_enabled?: boolean; | ||
initial_conversation?: string; | ||
default_to_current_conversation?: boolean; | ||
filter?: Filter; | ||
initial_date?: string; | ||
initial_time?: string; | ||
min_query_length?: number; | ||
image_url?: string; | ||
alt_text?: string; | ||
fallback?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
initial_user?: string; | ||
} | ||
export interface Confirm { | ||
title?: Close; | ||
text?: Close; | ||
confirm?: Close; | ||
deny?: Close; | ||
style?: string; | ||
} | ||
export interface Close { | ||
type?: Type; | ||
text?: string; | ||
emoji?: boolean; | ||
verbatim?: boolean; | ||
} | ||
export declare enum Type { | ||
Empty = "", | ||
Mrkdwn = "mrkdwn", | ||
PlainText = "plain_text" | ||
} | ||
export interface DispatchActionConfig { | ||
trigger_actions_on?: string[]; | ||
} | ||
export interface Filter { | ||
exclude_external_shared_channels?: boolean; | ||
exclude_bot_users?: boolean; | ||
} | ||
export interface Option { | ||
text?: Close; | ||
value?: string; | ||
description?: Close; | ||
url?: string; | ||
} | ||
export interface State { | ||
} | ||
//# sourceMappingURL=ViewsOpenResponse.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Type = void 0; | ||
var Type; | ||
(function (Type) { | ||
Type["Empty"] = ""; | ||
Type["Mrkdwn"] = "mrkdwn"; | ||
Type["PlainText"] = "plain_text"; | ||
})(Type = exports.Type || (exports.Type = {})); | ||
//# sourceMappingURL=ViewsOpenResponse.js.map |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type ViewsPublishResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
warning?: string; | ||
error?: string; | ||
response_metadata?: ResponseMetadata; | ||
needed?: string; | ||
provided?: string; | ||
view?: View; | ||
response_metadata?: ResponseMetadata; | ||
}; | ||
@@ -12,2 +14,118 @@ export interface ResponseMetadata { | ||
} | ||
export interface View { | ||
id?: string; | ||
team_id?: string; | ||
type?: string; | ||
title?: Close; | ||
submit?: Close; | ||
close?: Close; | ||
blocks?: Block[]; | ||
private_metadata?: string; | ||
callback_id?: string; | ||
external_id?: string; | ||
state?: State; | ||
hash?: string; | ||
clear_on_close?: boolean; | ||
notify_on_close?: boolean; | ||
submit_disabled?: boolean; | ||
root_view_id?: string; | ||
previous_view_id?: string; | ||
app_id?: string; | ||
app_installed_team_id?: string; | ||
bot_id?: string; | ||
} | ||
export interface Block { | ||
type?: string; | ||
block_id?: string; | ||
label?: Close; | ||
element?: Element; | ||
dispatch_action?: boolean; | ||
hint?: Close; | ||
optional?: boolean; | ||
elements?: Element[]; | ||
fallback?: string; | ||
image_url?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
alt_text?: string; | ||
title?: Close; | ||
text?: Close; | ||
fields?: Close[]; | ||
accessory?: Accessory; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
image_url?: string; | ||
alt_text?: string; | ||
fallback?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
} | ||
export interface Element { | ||
type?: string; | ||
action_id?: string; | ||
placeholder?: Close; | ||
initial_value?: string; | ||
multiline?: boolean; | ||
min_length?: number; | ||
max_length?: number; | ||
dispatch_action_config?: DispatchActionConfig; | ||
options?: Option[]; | ||
initial_option?: Option; | ||
confirm?: Confirm; | ||
text?: Close; | ||
url?: string; | ||
value?: string; | ||
style?: string; | ||
initial_channel?: string; | ||
response_url_enabled?: boolean; | ||
initial_conversation?: string; | ||
default_to_current_conversation?: boolean; | ||
filter?: Filter; | ||
initial_date?: string; | ||
initial_time?: string; | ||
min_query_length?: number; | ||
image_url?: string; | ||
alt_text?: string; | ||
fallback?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
initial_user?: string; | ||
} | ||
export interface Confirm { | ||
title?: Close; | ||
text?: Close; | ||
confirm?: Close; | ||
deny?: Close; | ||
style?: string; | ||
} | ||
export interface Close { | ||
type?: Type; | ||
text?: string; | ||
emoji?: boolean; | ||
verbatim?: boolean; | ||
} | ||
export declare enum Type { | ||
Empty = "", | ||
Mrkdwn = "mrkdwn", | ||
PlainText = "plain_text" | ||
} | ||
export interface DispatchActionConfig { | ||
trigger_actions_on?: string[]; | ||
} | ||
export interface Filter { | ||
exclude_external_shared_channels?: boolean; | ||
exclude_bot_users?: boolean; | ||
} | ||
export interface Option { | ||
text?: Close; | ||
value?: string; | ||
description?: Close; | ||
url?: string; | ||
} | ||
export interface State { | ||
} | ||
//# sourceMappingURL=ViewsPublishResponse.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Type = void 0; | ||
var Type; | ||
(function (Type) { | ||
Type["Empty"] = ""; | ||
Type["Mrkdwn"] = "mrkdwn"; | ||
Type["PlainText"] = "plain_text"; | ||
})(Type = exports.Type || (exports.Type = {})); | ||
//# sourceMappingURL=ViewsPublishResponse.js.map |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type ViewsPushResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
warning?: string; | ||
error?: string; | ||
response_metadata?: ResponseMetadata; | ||
needed?: string; | ||
provided?: string; | ||
view?: View; | ||
response_metadata?: ResponseMetadata; | ||
}; | ||
@@ -12,2 +14,118 @@ export interface ResponseMetadata { | ||
} | ||
export interface View { | ||
id?: string; | ||
team_id?: string; | ||
type?: string; | ||
title?: Close; | ||
submit?: Close; | ||
close?: Close; | ||
blocks?: Block[]; | ||
private_metadata?: string; | ||
callback_id?: string; | ||
external_id?: string; | ||
state?: State; | ||
hash?: string; | ||
clear_on_close?: boolean; | ||
notify_on_close?: boolean; | ||
submit_disabled?: boolean; | ||
root_view_id?: string; | ||
previous_view_id?: string; | ||
app_id?: string; | ||
app_installed_team_id?: string; | ||
bot_id?: string; | ||
} | ||
export interface Block { | ||
type?: string; | ||
block_id?: string; | ||
label?: Close; | ||
element?: Element; | ||
dispatch_action?: boolean; | ||
hint?: Close; | ||
optional?: boolean; | ||
elements?: Element[]; | ||
fallback?: string; | ||
image_url?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
alt_text?: string; | ||
title?: Close; | ||
text?: Close; | ||
fields?: Close[]; | ||
accessory?: Accessory; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
image_url?: string; | ||
alt_text?: string; | ||
fallback?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
} | ||
export interface Element { | ||
type?: string; | ||
action_id?: string; | ||
placeholder?: Close; | ||
initial_value?: string; | ||
multiline?: boolean; | ||
min_length?: number; | ||
max_length?: number; | ||
dispatch_action_config?: DispatchActionConfig; | ||
options?: Option[]; | ||
initial_option?: Option; | ||
confirm?: Confirm; | ||
text?: Close; | ||
url?: string; | ||
value?: string; | ||
style?: string; | ||
initial_channel?: string; | ||
response_url_enabled?: boolean; | ||
initial_conversation?: string; | ||
default_to_current_conversation?: boolean; | ||
filter?: Filter; | ||
initial_date?: string; | ||
initial_time?: string; | ||
min_query_length?: number; | ||
image_url?: string; | ||
alt_text?: string; | ||
fallback?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
initial_user?: string; | ||
} | ||
export interface Confirm { | ||
title?: Close; | ||
text?: Close; | ||
confirm?: Close; | ||
deny?: Close; | ||
style?: string; | ||
} | ||
export interface Close { | ||
type?: Type; | ||
text?: string; | ||
emoji?: boolean; | ||
verbatim?: boolean; | ||
} | ||
export declare enum Type { | ||
Empty = "", | ||
Mrkdwn = "mrkdwn", | ||
PlainText = "plain_text" | ||
} | ||
export interface DispatchActionConfig { | ||
trigger_actions_on?: string[]; | ||
} | ||
export interface Filter { | ||
exclude_external_shared_channels?: boolean; | ||
exclude_bot_users?: boolean; | ||
} | ||
export interface Option { | ||
text?: Close; | ||
value?: string; | ||
description?: Close; | ||
url?: string; | ||
} | ||
export interface State { | ||
} | ||
//# sourceMappingURL=ViewsPushResponse.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Type = void 0; | ||
var Type; | ||
(function (Type) { | ||
Type["Empty"] = ""; | ||
Type["Mrkdwn"] = "mrkdwn"; | ||
Type["PlainText"] = "plain_text"; | ||
})(Type = exports.Type || (exports.Type = {})); | ||
//# sourceMappingURL=ViewsPushResponse.js.map |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type ViewsUpdateResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
warning?: string; | ||
error?: string; | ||
response_metadata?: ResponseMetadata; | ||
needed?: string; | ||
provided?: string; | ||
view?: View; | ||
response_metadata?: ResponseMetadata; | ||
}; | ||
@@ -12,2 +14,118 @@ export interface ResponseMetadata { | ||
} | ||
export interface View { | ||
id?: string; | ||
team_id?: string; | ||
type?: string; | ||
title?: Close; | ||
submit?: Close; | ||
close?: Close; | ||
blocks?: Block[]; | ||
private_metadata?: string; | ||
callback_id?: string; | ||
external_id?: string; | ||
state?: State; | ||
hash?: string; | ||
clear_on_close?: boolean; | ||
notify_on_close?: boolean; | ||
submit_disabled?: boolean; | ||
root_view_id?: string; | ||
previous_view_id?: string; | ||
app_id?: string; | ||
app_installed_team_id?: string; | ||
bot_id?: string; | ||
} | ||
export interface Block { | ||
type?: string; | ||
block_id?: string; | ||
label?: Close; | ||
element?: Element; | ||
dispatch_action?: boolean; | ||
hint?: Close; | ||
optional?: boolean; | ||
elements?: Element[]; | ||
fallback?: string; | ||
image_url?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
alt_text?: string; | ||
title?: Close; | ||
text?: Close; | ||
fields?: Close[]; | ||
accessory?: Accessory; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
image_url?: string; | ||
alt_text?: string; | ||
fallback?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
} | ||
export interface Element { | ||
type?: string; | ||
action_id?: string; | ||
placeholder?: Close; | ||
initial_value?: string; | ||
multiline?: boolean; | ||
min_length?: number; | ||
max_length?: number; | ||
dispatch_action_config?: DispatchActionConfig; | ||
options?: Option[]; | ||
initial_option?: Option; | ||
confirm?: Confirm; | ||
text?: Close; | ||
url?: string; | ||
value?: string; | ||
style?: string; | ||
initial_channel?: string; | ||
response_url_enabled?: boolean; | ||
initial_conversation?: string; | ||
default_to_current_conversation?: boolean; | ||
filter?: Filter; | ||
initial_date?: string; | ||
initial_time?: string; | ||
min_query_length?: number; | ||
image_url?: string; | ||
alt_text?: string; | ||
fallback?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
initial_user?: string; | ||
} | ||
export interface Confirm { | ||
title?: Close; | ||
text?: Close; | ||
confirm?: Close; | ||
deny?: Close; | ||
style?: string; | ||
} | ||
export interface Close { | ||
type?: Type; | ||
text?: string; | ||
emoji?: boolean; | ||
verbatim?: boolean; | ||
} | ||
export declare enum Type { | ||
Empty = "", | ||
Mrkdwn = "mrkdwn", | ||
PlainText = "plain_text" | ||
} | ||
export interface DispatchActionConfig { | ||
trigger_actions_on?: string[]; | ||
} | ||
export interface Filter { | ||
exclude_external_shared_channels?: boolean; | ||
exclude_bot_users?: boolean; | ||
} | ||
export interface Option { | ||
text?: Close; | ||
value?: string; | ||
description?: Close; | ||
url?: string; | ||
} | ||
export interface State { | ||
} | ||
//# sourceMappingURL=ViewsUpdateResponse.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Type = void 0; | ||
var Type; | ||
(function (Type) { | ||
Type["Empty"] = ""; | ||
Type["Mrkdwn"] = "mrkdwn"; | ||
Type["PlainText"] = "plain_text"; | ||
})(Type = exports.Type || (exports.Type = {})); | ||
//# sourceMappingURL=ViewsUpdateResponse.js.map |
{ | ||
"name": "@slack/web-api", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"description": "Official library for using the Slack Platform's Web API", | ||
@@ -5,0 +5,0 @@ "author": "Slack Technologies, Inc.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
883842
12914