@slack/web-api
Advanced tools
Comparing version 6.6.0 to 6.7.0
@@ -151,2 +151,5 @@ "use strict"; | ||
}, | ||
unsupportedVersions: { | ||
export: bindApiCall(this, 'admin.users.unsupportedVersions.export'), | ||
}, | ||
setAdmin: bindApiCall(this, 'admin.users.setAdmin'), | ||
@@ -182,2 +185,8 @@ setExpiration: bindApiCall(this, 'admin.users.setExpiration'), | ||
}; | ||
this.bookmarks = { | ||
add: bindApiCall(this, 'bookmarks.add'), | ||
edit: bindApiCall(this, 'bookmarks.edit'), | ||
list: bindApiCall(this, 'bookmarks.list'), | ||
remove: bindApiCall(this, 'bookmarks.remove'), | ||
}; | ||
this.calls = { | ||
@@ -184,0 +193,0 @@ add: bindApiCall(this, 'calls.add'), |
@@ -7,3 +7,7 @@ import { WebAPICallResult } from '../WebClient'; | ||
provided?: string; | ||
response_metadata?: ResponseMetadata; | ||
}; | ||
export interface ResponseMetadata { | ||
messages?: string[]; | ||
} | ||
//# sourceMappingURL=AdminAnalyticsGetFileResponse.d.ts.map |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type AdminEmojiListResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
emoji?: AdminEmojiListResponseEmoji; | ||
emoji?: { | ||
[key: string]: Emoji; | ||
}; | ||
response_metadata?: ResponseMetadata; | ||
@@ -10,10 +12,7 @@ error?: string; | ||
}; | ||
export interface AdminEmojiListResponseEmoji { | ||
emoji?: EmojiClass; | ||
emoji_?: EmojiClass; | ||
export interface Emoji { | ||
url?: string; | ||
date_created?: number; | ||
uploaded_by?: string; | ||
} | ||
export interface EmojiClass { | ||
emoji?: string; | ||
emoji_?: string; | ||
} | ||
export interface ResponseMetadata { | ||
@@ -20,0 +19,0 @@ next_cursor?: string; |
@@ -21,2 +21,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
url?: string; | ||
avatar_base_url?: string; | ||
} | ||
@@ -23,0 +24,0 @@ export interface Icon { |
@@ -10,7 +10,7 @@ import { WebAPICallResult } from '../WebClient'; | ||
bot_id?: string; | ||
is_enterprise_install?: boolean; | ||
app_name?: string; | ||
app_id?: string; | ||
enterprise_id?: string; | ||
error?: string; | ||
app_name?: string; | ||
app_id?: string; | ||
is_enterprise_install?: boolean; | ||
needed?: string; | ||
@@ -17,0 +17,0 @@ provided?: string; |
@@ -28,3 +28,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
root?: Root; | ||
blocks?: MessageBlock[]; | ||
blocks?: Block[]; | ||
attachments?: Attachment[]; | ||
@@ -78,3 +78,3 @@ } | ||
actions?: Action[]; | ||
blocks?: AttachmentBlock[]; | ||
blocks?: Block[]; | ||
files?: File[]; | ||
@@ -116,6 +116,12 @@ filename?: string; | ||
} | ||
export interface AttachmentBlock { | ||
export interface Block { | ||
type?: string; | ||
elements?: Accessory[]; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -127,10 +133,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -141,2 +151,3 @@ url?: string; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -146,3 +157,3 @@ initial_options?: InitialOptionElement[]; | ||
initial_option?: InitialOptionElement; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -171,9 +182,9 @@ response_url_enabled?: boolean; | ||
export interface AccessoryConfirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -190,11 +201,54 @@ text?: string; | ||
export interface InitialOptionElement { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface AccessoryOptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: InitialOptionElement[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Field { | ||
@@ -317,3 +371,3 @@ title?: string; | ||
comments_count?: number; | ||
blocks?: AttachmentBlock[]; | ||
blocks?: Block[]; | ||
} | ||
@@ -378,62 +432,2 @@ export interface Cc { | ||
} | ||
export interface MessageBlock { | ||
type?: string; | ||
block_id?: string; | ||
text?: Text; | ||
accessory?: Accessory; | ||
elements?: Accessory[]; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
fallback?: string; | ||
image_url?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
alt_text?: string; | ||
title?: Text; | ||
fields?: Text[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
external_id?: string; | ||
avatar_url?: string; | ||
display_name?: string; | ||
slack_id?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
} | ||
export interface BotProfile { | ||
@@ -440,0 +434,0 @@ id?: string; |
@@ -26,2 +26,8 @@ import { WebAPICallResult } from '../WebClient'; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -33,10 +39,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -47,2 +57,3 @@ url?: string; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -52,3 +63,3 @@ initial_options?: Option[]; | ||
initial_option?: Option; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -76,9 +87,9 @@ response_url_enabled?: boolean; | ||
export interface Confirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -95,11 +106,54 @@ text?: string; | ||
export interface Option { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface OptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: Option[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface BotProfile { | ||
@@ -106,0 +160,0 @@ id?: string; |
@@ -28,5 +28,10 @@ import { WebAPICallResult } from '../WebClient'; | ||
block_id?: string; | ||
text?: Text; | ||
text?: Hint; | ||
accessory?: Accessory; | ||
elements?: Accessory[]; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
fallback?: string; | ||
@@ -38,4 +43,9 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
@@ -46,3 +56,3 @@ export interface Accessory { | ||
alt_text?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -53,2 +63,3 @@ url?: string; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -58,3 +69,3 @@ initial_options?: Option[]; | ||
initial_option?: Option; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -80,9 +91,9 @@ response_url_enabled?: boolean; | ||
export interface Confirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -99,11 +110,54 @@ text?: string; | ||
export interface Option { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface OptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: Option[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface BotProfile { | ||
@@ -110,0 +164,0 @@ id?: string; |
@@ -132,2 +132,8 @@ import { WebAPICallResult } from '../WebClient'; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -139,10 +145,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -153,2 +163,3 @@ url?: string; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -158,3 +169,3 @@ initial_options?: InitialOptionElement[]; | ||
initial_option?: InitialOptionElement; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -182,9 +193,9 @@ response_url_enabled?: boolean; | ||
export interface AccessoryConfirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -201,11 +212,54 @@ text?: string; | ||
export interface InitialOptionElement { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface AccessoryOptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: InitialOptionElement[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Field { | ||
@@ -212,0 +266,0 @@ title?: string; |
@@ -39,4 +39,11 @@ import { WebAPICallResult } from '../WebClient'; | ||
type?: string; | ||
block_id?: string; | ||
elements?: Accessory[]; | ||
block_id?: string; | ||
text?: Hint; | ||
accessory?: Accessory; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
fallback?: string; | ||
@@ -48,11 +55,16 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
accessory?: Accessory; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
action_id?: string; | ||
options?: Option[]; | ||
min_query_length?: number; | ||
text?: Hint; | ||
url?: string; | ||
@@ -62,7 +74,7 @@ value?: string; | ||
confirm?: Confirm; | ||
options?: Option[]; | ||
accessibility_label?: string; | ||
initial_options?: Option[]; | ||
focus_on_load?: boolean; | ||
initial_option?: Option; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -78,3 +90,2 @@ response_url_enabled?: boolean; | ||
initial_time?: string; | ||
min_query_length?: number; | ||
image_url?: string; | ||
@@ -91,9 +102,9 @@ alt_text?: string; | ||
export interface Confirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -110,11 +121,54 @@ text?: string; | ||
export interface Option { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface OptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: Option[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface BotProfile { | ||
@@ -121,0 +175,0 @@ id?: string; |
@@ -121,2 +121,8 @@ import { WebAPICallResult } from '../WebClient'; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -128,10 +134,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -142,2 +152,3 @@ url?: string; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -147,3 +158,3 @@ initial_options?: InitialOptionElement[]; | ||
initial_option?: InitialOptionElement; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -171,9 +182,9 @@ response_url_enabled?: boolean; | ||
export interface AccessoryConfirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -190,11 +201,54 @@ text?: string; | ||
export interface InitialOptionElement { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface AccessoryOptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: InitialOptionElement[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Field { | ||
@@ -201,0 +255,0 @@ title?: string; |
import { WebAPICallResult } from '../WebClient'; | ||
export declare type EmojiListResponse = WebAPICallResult & { | ||
ok?: boolean; | ||
emoji?: Emoji; | ||
emoji?: { | ||
[key: string]: string; | ||
}; | ||
cache_ts?: string; | ||
@@ -10,6 +12,2 @@ error?: string; | ||
}; | ||
export interface Emoji { | ||
emoji?: string; | ||
emoji_?: string; | ||
} | ||
//# sourceMappingURL=EmojiListResponse.d.ts.map |
@@ -269,2 +269,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -271,0 +272,0 @@ initial_options?: InitialOptionElement[]; |
@@ -30,2 +30,15 @@ import { WebAPICallResult } from '../WebClient'; | ||
url_private?: string; | ||
url_private_download?: string; | ||
permalink?: string; | ||
permalink_public?: string; | ||
edit_link?: string; | ||
preview?: string; | ||
preview_highlight?: string; | ||
lines?: number; | ||
lines_more?: number; | ||
preview_is_truncated?: boolean; | ||
channels?: string[]; | ||
groups?: string[]; | ||
ims?: string[]; | ||
comments_count?: number; | ||
media_display_type?: string; | ||
@@ -37,6 +50,13 @@ thumb_64?: string; | ||
thumb_360_h?: number; | ||
thumb_160?: string; | ||
original_w?: number; | ||
original_h?: number; | ||
thumb_tiny?: string; | ||
thumb_480?: string; | ||
thumb_480_w?: number; | ||
thumb_480_h?: number; | ||
thumb_160?: string; | ||
thumb_360_gif?: string; | ||
thumb_480_gif?: string; | ||
deanimate?: string; | ||
deanimate_gif?: string; | ||
thumb_720?: string; | ||
@@ -54,22 +74,3 @@ thumb_720_w?: number; | ||
thumb_1024_h?: number; | ||
original_w?: number; | ||
original_h?: number; | ||
thumb_tiny?: string; | ||
permalink?: string; | ||
channels?: string[]; | ||
groups?: string[]; | ||
ims?: string[]; | ||
comments_count?: number; | ||
url_private_download?: string; | ||
permalink_public?: string; | ||
edit_link?: string; | ||
preview?: string; | ||
preview_highlight?: string; | ||
lines?: number; | ||
lines_more?: number; | ||
preview_is_truncated?: boolean; | ||
thumb_360_gif?: string; | ||
thumb_480_gif?: string; | ||
deanimate?: string; | ||
deanimate_gif?: string; | ||
image_exif_rotation?: number; | ||
subject?: string; | ||
@@ -104,3 +105,2 @@ non_owner_editable?: boolean; | ||
converted_pdf?: string; | ||
image_exif_rotation?: number; | ||
pjpeg?: string; | ||
@@ -132,2 +132,8 @@ has_rich_preview?: boolean; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -139,10 +145,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -153,2 +163,3 @@ url?: string; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -158,3 +169,3 @@ initial_options?: Option[]; | ||
initial_option?: Option; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -182,9 +193,9 @@ response_url_enabled?: boolean; | ||
export interface Confirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -201,11 +212,54 @@ text?: string; | ||
export interface Option { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface OptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: Option[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Cc { | ||
@@ -212,0 +266,0 @@ address?: string; |
@@ -254,2 +254,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -256,0 +257,0 @@ initial_options?: InitialOptionElement[]; |
@@ -254,2 +254,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -256,0 +257,0 @@ initial_options?: InitialOptionElement[]; |
@@ -31,7 +31,2 @@ import { WebAPICallResult } from '../WebClient'; | ||
media_display_type?: string; | ||
permalink?: string; | ||
channels?: string[]; | ||
groups?: string[]; | ||
ims?: string[]; | ||
comments_count?: number; | ||
thumb_64?: string; | ||
@@ -62,2 +57,7 @@ thumb_80?: string; | ||
thumb_tiny?: string; | ||
permalink?: string; | ||
channels?: string[]; | ||
groups?: string[]; | ||
ims?: string[]; | ||
comments_count?: number; | ||
subject?: string; | ||
@@ -130,2 +130,8 @@ non_owner_editable?: boolean; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -137,10 +143,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -151,2 +161,3 @@ url?: string; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -156,3 +167,3 @@ initial_options?: Option[]; | ||
initial_option?: Option; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -180,9 +191,9 @@ response_url_enabled?: boolean; | ||
export interface Confirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -199,11 +210,54 @@ text?: string; | ||
export interface Option { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface OptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: Option[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Cc { | ||
@@ -210,0 +264,0 @@ address?: string; |
@@ -254,2 +254,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -256,0 +257,0 @@ initial_options?: InitialOptionElement[]; |
@@ -254,2 +254,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -256,0 +257,0 @@ initial_options?: InitialOptionElement[]; |
@@ -254,2 +254,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -256,0 +257,0 @@ initial_options?: InitialOptionElement[]; |
@@ -254,2 +254,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -256,0 +257,0 @@ initial_options?: InitialOptionElement[]; |
@@ -254,2 +254,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -256,0 +257,0 @@ initial_options?: InitialOptionElement[]; |
@@ -79,2 +79,3 @@ export { AdminAnalyticsGetFileResponse } from './AdminAnalyticsGetFileResponse'; | ||
export { AdminUsersSetRegularResponse } from './AdminUsersSetRegularResponse'; | ||
export { AdminUsersUnsupportedVersionsExportResponse } from './AdminUsersUnsupportedVersionsExportResponse'; | ||
export { ApiTestResponse } from './ApiTestResponse'; | ||
@@ -93,2 +94,6 @@ export { AppsConnectionsOpenResponse } from './AppsConnectionsOpenResponse'; | ||
export { AuthTestResponse } from './AuthTestResponse'; | ||
export { BookmarksAddResponse } from './BookmarksAddResponse'; | ||
export { BookmarksEditResponse } from './BookmarksEditResponse'; | ||
export { BookmarksListResponse } from './BookmarksListResponse'; | ||
export { BookmarksRemoveResponse } from './BookmarksRemoveResponse'; | ||
export { BotsInfoResponse } from './BotsInfoResponse'; | ||
@@ -95,0 +100,0 @@ export { CallsAddResponse } from './CallsAddResponse'; |
@@ -14,2 +14,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
file?: File; | ||
comment?: string; | ||
} | ||
@@ -261,2 +262,3 @@ export interface File { | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -263,0 +265,0 @@ initial_options?: InitialOptionElement[]; |
@@ -46,2 +46,8 @@ import { WebAPICallResult } from '../WebClient'; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -53,10 +59,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -67,2 +77,3 @@ url?: string; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -72,3 +83,3 @@ initial_options?: Option[]; | ||
initial_option?: Option; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -96,9 +107,9 @@ response_url_enabled?: boolean; | ||
export interface Confirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -115,11 +126,54 @@ text?: string; | ||
export interface Option { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface OptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: Option[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface BotProfile { | ||
@@ -126,0 +180,0 @@ id?: string; |
@@ -225,2 +225,8 @@ import { WebAPICallResult } from '../WebClient'; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -232,10 +238,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -246,2 +256,3 @@ url?: string; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -251,3 +262,3 @@ initial_options?: InitialOptionElement[]; | ||
initial_option?: InitialOptionElement; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -275,9 +286,9 @@ response_url_enabled?: boolean; | ||
export interface AccessoryConfirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -294,11 +305,54 @@ text?: string; | ||
export interface InitialOptionElement { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface AccessoryOptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: InitialOptionElement[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Field { | ||
@@ -987,2 +1041,6 @@ title?: string; | ||
locales_enabled?: LocalesEnabled; | ||
phc_viewed?: string; | ||
seen_a11y_pref_setup_coachmark?: boolean; | ||
enable_file_browser_view_for_docs?: boolean; | ||
enable_shortcuts_view?: boolean; | ||
} | ||
@@ -1252,2 +1310,6 @@ export interface LocalesEnabled { | ||
invites_limit?: boolean; | ||
show_mobile_promos?: boolean; | ||
dm_retention_redaction_duration?: number; | ||
private_retention_redaction_duration?: number; | ||
public_retention_redaction_duration?: number; | ||
} | ||
@@ -1254,0 +1316,0 @@ export interface CallsApps { |
@@ -240,2 +240,8 @@ import { WebAPICallResult } from '../WebClient'; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -247,10 +253,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -261,2 +271,3 @@ url?: string; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -266,3 +277,3 @@ initial_options?: InitialOptionElement[]; | ||
initial_option?: InitialOptionElement; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -290,9 +301,9 @@ response_url_enabled?: boolean; | ||
export interface AccessoryConfirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -309,11 +320,54 @@ text?: string; | ||
export interface InitialOptionElement { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface AccessoryOptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: InitialOptionElement[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Field { | ||
@@ -320,0 +374,0 @@ title?: string; |
@@ -122,2 +122,8 @@ import { WebAPICallResult } from '../WebClient'; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Hint; | ||
fallback?: string; | ||
@@ -129,10 +135,14 @@ image_url?: string; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
title?: Hint; | ||
fields?: Hint[]; | ||
accessory?: Accessory; | ||
label?: Hint; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Hint; | ||
optional?: boolean; | ||
} | ||
export interface Accessory { | ||
type?: string; | ||
text?: Text; | ||
text?: Hint; | ||
action_id?: string; | ||
@@ -143,2 +153,3 @@ url?: string; | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -148,3 +159,3 @@ initial_options?: InitialOptionElement[]; | ||
initial_option?: InitialOptionElement; | ||
placeholder?: Text; | ||
placeholder?: Hint; | ||
initial_channel?: string; | ||
@@ -172,9 +183,9 @@ response_url_enabled?: boolean; | ||
export interface AccessoryConfirm { | ||
title?: Text; | ||
text?: Text; | ||
confirm?: Text; | ||
deny?: Text; | ||
title?: Hint; | ||
text?: Hint; | ||
confirm?: Hint; | ||
deny?: Hint; | ||
style?: string; | ||
} | ||
export interface Text { | ||
export interface Hint { | ||
type?: string; | ||
@@ -191,11 +202,54 @@ text?: string; | ||
export interface InitialOptionElement { | ||
text?: Text; | ||
text?: Hint; | ||
value?: string; | ||
description?: Text; | ||
description?: Hint; | ||
url?: string; | ||
} | ||
export interface AccessoryOptionGroup { | ||
label?: Text; | ||
label?: Hint; | ||
options?: InitialOptionElement[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Field { | ||
@@ -202,0 +256,0 @@ title?: string; |
@@ -142,3 +142,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
attachments?: Attachment[]; | ||
blocks?: Block[]; | ||
blocks?: PurpleBlock[]; | ||
} | ||
@@ -191,3 +191,3 @@ export interface Attachment { | ||
actions?: Action[]; | ||
blocks?: Block[]; | ||
blocks?: AttachmentBlock[]; | ||
files?: FileElement[]; | ||
@@ -229,6 +229,12 @@ filename?: string; | ||
} | ||
export interface Block { | ||
export interface AttachmentBlock { | ||
type?: string; | ||
elements?: Accessory[]; | ||
block_id?: string; | ||
call_id?: string; | ||
api_decoration_available?: boolean; | ||
call?: Call; | ||
external_id?: string; | ||
source?: string; | ||
text?: Text; | ||
fallback?: string; | ||
@@ -241,5 +247,9 @@ image_url?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
accessory?: Accessory; | ||
label?: Text; | ||
element?: Accessory; | ||
dispatch_action?: boolean; | ||
hint?: Text; | ||
optional?: boolean; | ||
} | ||
@@ -260,2 +270,3 @@ export interface Accessory { | ||
confirm?: AccessoryConfirm; | ||
accessibility_label?: string; | ||
options?: InitialOptionElement[]; | ||
@@ -314,2 +325,45 @@ initial_options?: InitialOptionElement[]; | ||
} | ||
export interface Call { | ||
v1?: V1; | ||
media_backend_type?: string; | ||
} | ||
export interface V1 { | ||
id?: string; | ||
app_id?: string; | ||
app_icon_urls?: AppIconUrls; | ||
date_start?: number; | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
display_id?: string; | ||
join_url?: string; | ||
desktop_app_join_url?: string; | ||
name?: string; | ||
created_by?: string; | ||
date_end?: number; | ||
channels?: string[]; | ||
is_dm_call?: boolean; | ||
was_rejected?: boolean; | ||
was_missed?: boolean; | ||
was_accepted?: boolean; | ||
has_ended?: boolean; | ||
} | ||
export interface Participant { | ||
slack_id?: string; | ||
external_id?: string; | ||
display_name?: string; | ||
avatar_url?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_512?: string; | ||
image_1024?: string; | ||
image_original?: string; | ||
} | ||
export interface Field { | ||
@@ -432,3 +486,3 @@ title?: string; | ||
comments_count?: number; | ||
blocks?: Block[]; | ||
blocks?: AttachmentBlock[]; | ||
} | ||
@@ -484,2 +538,17 @@ export interface Cc { | ||
} | ||
export interface PurpleBlock { | ||
type?: string; | ||
elements?: Accessory[]; | ||
block_id?: string; | ||
fallback?: string; | ||
image_url?: string; | ||
image_width?: number; | ||
image_height?: number; | ||
image_bytes?: number; | ||
alt_text?: string; | ||
title?: Text; | ||
text?: Text; | ||
fields?: Text[]; | ||
accessory?: Accessory; | ||
} | ||
export interface Message { | ||
@@ -497,3 +566,3 @@ bot_id?: string; | ||
username?: string; | ||
blocks?: Block[]; | ||
blocks?: AttachmentBlock[]; | ||
client_msg_id?: string; | ||
@@ -500,0 +569,0 @@ thread_ts?: string; |
@@ -21,2 +21,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
discoverable?: string; | ||
avatar_base_url?: string; | ||
} | ||
@@ -23,0 +24,0 @@ export interface Icon { |
@@ -11,2 +11,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
fields?: Field[]; | ||
sections?: Section[]; | ||
} | ||
@@ -22,2 +23,10 @@ export interface Field { | ||
} | ||
export interface Section { | ||
id?: string; | ||
team_id?: string; | ||
section_type?: string; | ||
label?: string; | ||
order?: number; | ||
is_hidden?: boolean; | ||
} | ||
//# sourceMappingURL=TeamProfileGetResponse.d.ts.map |
@@ -82,2 +82,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
style?: string; | ||
accessibility_label?: string; | ||
initial_channel?: string; | ||
@@ -144,2 +145,3 @@ response_url_enabled?: boolean; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -146,0 +148,0 @@ initial_options?: Option[]; |
@@ -82,2 +82,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
style?: string; | ||
accessibility_label?: string; | ||
initial_channel?: string; | ||
@@ -144,2 +145,3 @@ response_url_enabled?: boolean; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -146,0 +148,0 @@ initial_options?: Option[]; |
@@ -82,2 +82,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
style?: string; | ||
accessibility_label?: string; | ||
initial_channel?: string; | ||
@@ -144,2 +145,3 @@ response_url_enabled?: boolean; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -146,0 +148,0 @@ initial_options?: Option[]; |
@@ -82,2 +82,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
style?: string; | ||
accessibility_label?: string; | ||
initial_channel?: string; | ||
@@ -144,2 +145,3 @@ response_url_enabled?: boolean; | ||
confirm?: Confirm; | ||
accessibility_label?: string; | ||
options?: Option[]; | ||
@@ -146,0 +148,0 @@ initial_options?: Option[]; |
@@ -282,3 +282,3 @@ "use strict"; | ||
// TODO: turn this into some CodedError | ||
throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url})`)); | ||
throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url}, retry-after header: ${response.headers['retry-after']})`)); | ||
} | ||
@@ -285,0 +285,0 @@ } |
{ | ||
"name": "@slack/web-api", | ||
"version": "6.6.0", | ||
"version": "6.7.0", | ||
"description": "Official library for using the Slack Platform's Web API", | ||
@@ -5,0 +5,0 @@ "author": "Slack Technologies, LLC", |
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
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
1457856
1086
21461