@slack/web-api
Advanced tools
Comparing version 6.11.2 to 6.12.0
@@ -333,2 +333,6 @@ "use strict"; | ||
}; | ||
this.functions = { | ||
completeError: bindApiCall(this, 'functions.completeError'), | ||
completeSuccess: bindApiCall(this, 'functions.completeSuccess'), | ||
}; | ||
this.migration = { | ||
@@ -335,0 +339,0 @@ exchange: bindApiCall(this, 'migration.exchange'), |
@@ -17,2 +17,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
description?: string; | ||
form_enabled?: boolean; | ||
id?: string; | ||
@@ -19,0 +20,0 @@ input_parameters?: PutParameter[]; |
@@ -13,2 +13,5 @@ import { WebAPICallResult } from '../WebClient'; | ||
features?: Features; | ||
functions?: { | ||
[key: string]: Function; | ||
}; | ||
oauth_config?: OauthConfig; | ||
@@ -18,4 +21,4 @@ settings?: Settings; | ||
export interface Metadata { | ||
major_version?: string; | ||
minor_version?: string; | ||
major_version?: number; | ||
minor_version?: number; | ||
} | ||
@@ -57,5 +60,28 @@ export interface DisplayInformation { | ||
} | ||
export interface Function { | ||
description?: string; | ||
input_parameters?: { | ||
[key: string]: PutParameter; | ||
}; | ||
output_parameters?: { | ||
[key: string]: PutParameter; | ||
}; | ||
title?: string; | ||
} | ||
export interface PutParameter { | ||
description?: string; | ||
hint?: string; | ||
is_required?: boolean; | ||
maxLength?: number; | ||
maximum?: number; | ||
minLength?: number; | ||
minimum?: number; | ||
name?: string; | ||
title?: string; | ||
type?: string; | ||
} | ||
export interface OauthConfig { | ||
redirect_urls?: string[]; | ||
scopes?: Scopes; | ||
token_management_enabled?: boolean; | ||
} | ||
@@ -71,2 +97,4 @@ export interface Scopes { | ||
event_subscriptions?: EventSubscriptions; | ||
function_runtime?: string; | ||
hermes_app_type?: string; | ||
interactivity?: Interactivity; | ||
@@ -73,0 +101,0 @@ long_description?: string; |
@@ -14,2 +14,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
pointer?: string; | ||
related_component?: string; | ||
} | ||
@@ -16,0 +17,0 @@ export interface ResponseMetadata { |
@@ -8,2 +8,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
error?: string; | ||
expires_in?: number; | ||
is_enterprise_install?: boolean; | ||
@@ -10,0 +11,0 @@ needed?: string; |
@@ -394,2 +394,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -512,2 +513,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -518,2 +520,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -726,2 +729,3 @@ thread_ts?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -728,0 +732,0 @@ template_conversion_ts?: number; |
@@ -330,2 +330,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -332,0 +333,0 @@ template_conversion_ts?: number; |
@@ -341,2 +341,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -542,2 +543,3 @@ template_conversion_ts?: number; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -634,2 +636,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -640,2 +643,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -642,0 +646,0 @@ thread_ts?: string; |
@@ -410,2 +410,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -528,2 +529,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -534,2 +536,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -742,2 +745,3 @@ thread_ts?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -744,0 +748,0 @@ template_conversion_ts?: number; |
@@ -345,2 +345,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -347,0 +348,0 @@ template_conversion_ts?: number; |
@@ -399,2 +399,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -517,2 +518,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -523,2 +525,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -731,2 +734,3 @@ thread_ts?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -733,0 +737,0 @@ template_conversion_ts?: number; |
@@ -10,2 +10,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
export interface File { | ||
alt_txt?: string; | ||
channels?: string[]; | ||
@@ -34,2 +35,4 @@ comments_count?: number; | ||
name?: string; | ||
original_h?: number; | ||
original_w?: number; | ||
permalink?: string; | ||
@@ -44,2 +47,9 @@ permalink_public?: string; | ||
size?: number; | ||
thumb_160?: string; | ||
thumb_360?: string; | ||
thumb_360_h?: number; | ||
thumb_360_w?: number; | ||
thumb_64?: string; | ||
thumb_80?: string; | ||
thumb_tiny?: string; | ||
timestamp?: number; | ||
@@ -60,2 +70,3 @@ title?: string; | ||
channel_name?: string; | ||
latest_reply?: string; | ||
reply_count?: number; | ||
@@ -65,5 +76,7 @@ reply_users?: string[]; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
thread_ts?: string; | ||
ts?: string; | ||
} | ||
//# sourceMappingURL=FilesCompleteUploadExternalResponse.d.ts.map |
@@ -94,2 +94,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -212,2 +213,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -218,2 +220,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -220,0 +223,0 @@ thread_ts?: string; |
@@ -94,2 +94,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -212,2 +213,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -218,2 +220,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -220,0 +223,0 @@ thread_ts?: string; |
@@ -94,2 +94,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -212,2 +213,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -218,2 +220,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -220,0 +223,0 @@ thread_ts?: string; |
@@ -94,2 +94,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -212,2 +213,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -218,2 +220,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -220,0 +223,0 @@ thread_ts?: string; |
@@ -94,2 +94,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -212,2 +213,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -218,2 +220,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -220,0 +223,0 @@ thread_ts?: string; |
@@ -94,2 +94,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -212,2 +213,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -218,2 +220,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -220,0 +223,0 @@ thread_ts?: string; |
@@ -94,2 +94,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -212,2 +213,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -218,2 +220,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -220,0 +223,0 @@ thread_ts?: string; |
@@ -200,2 +200,4 @@ export { AdminAnalyticsGetFileResponse, AdminAnalyticsMemberDetails, AdminAnalyticsPublicChannelDetails, AdminAnalyticsPublicChannelMetadataDetails } from './AdminAnalyticsGetFileResponse'; | ||
export { FilesUploadResponse } from './FilesUploadResponse'; | ||
export { FunctionsCompleteErrorResponse } from './FunctionsCompleteErrorResponse'; | ||
export { FunctionsCompleteSuccessResponse } from './FunctionsCompleteSuccessResponse'; | ||
export { GroupsArchiveResponse } from './GroupsArchiveResponse'; | ||
@@ -202,0 +204,0 @@ export { GroupsCloseResponse } from './GroupsCloseResponse'; |
@@ -101,2 +101,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -219,2 +220,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -225,2 +227,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -227,0 +230,0 @@ thread_ts?: string; |
@@ -330,2 +330,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -332,0 +333,0 @@ template_conversion_ts?: number; |
@@ -410,2 +410,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -528,2 +529,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -534,2 +536,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -742,2 +745,3 @@ thread_ts?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -744,0 +748,0 @@ template_conversion_ts?: number; |
@@ -499,2 +499,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -617,2 +618,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -623,2 +625,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -817,2 +820,3 @@ thread_ts?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -819,0 +823,0 @@ template_conversion_ts?: number; |
@@ -19,2 +19,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
export interface FilesMatch { | ||
access?: string; | ||
attachments?: Attachment[]; | ||
@@ -28,5 +29,7 @@ bot_id?: string; | ||
display_as_bot?: boolean; | ||
dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[]; | ||
edit_link?: string; | ||
editable?: boolean; | ||
editors?: string[]; | ||
editors_count?: number; | ||
external_id?: string; | ||
@@ -46,2 +49,3 @@ external_type?: string; | ||
ims?: string[]; | ||
is_channel_space?: boolean; | ||
is_external?: boolean; | ||
@@ -53,2 +57,3 @@ is_public?: boolean; | ||
lines_more?: number; | ||
linked_channel_id?: string; | ||
media_display_type?: string; | ||
@@ -59,2 +64,3 @@ mimetype?: string; | ||
non_owner_editable?: boolean; | ||
org_or_workspace_access?: string; | ||
original_attachment_count?: number; | ||
@@ -71,3 +77,5 @@ original_h?: number; | ||
preview_plain_text?: string; | ||
private_channels_with_file_access_count?: number; | ||
public_url_shared?: boolean; | ||
quip_thread_id?: string; | ||
sent_to_self?: boolean; | ||
@@ -77,2 +85,4 @@ shares?: MatchShares; | ||
subject?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: string[]; | ||
thumb_1024?: string; | ||
@@ -106,6 +116,9 @@ thumb_1024_h?: number; | ||
title?: string; | ||
title_blocks?: MatchTitleBlock[]; | ||
to?: Cc[]; | ||
update_notification?: number; | ||
updated?: number; | ||
url_private?: string; | ||
url_private_download?: string; | ||
url_static_preview?: string; | ||
user?: string; | ||
@@ -124,3 +137,3 @@ user_team?: string; | ||
author_subname?: string; | ||
blocks?: TitleBlockElement[]; | ||
blocks?: AttachmentBlock[]; | ||
bot_id?: string; | ||
@@ -230,3 +243,3 @@ callback_id?: string; | ||
} | ||
export interface TitleBlockElement { | ||
export interface AttachmentBlock { | ||
accessory?: Accessory; | ||
@@ -415,3 +428,3 @@ alt_text?: string; | ||
attachments?: any[]; | ||
blocks?: TitleBlockElement[]; | ||
blocks?: AttachmentBlock[]; | ||
bot_id?: string; | ||
@@ -497,2 +510,3 @@ canvas_template_mode?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -550,3 +564,3 @@ template_conversion_ts?: number; | ||
title?: string; | ||
title_blocks?: TitleBlockElement[]; | ||
title_blocks?: AttachmentBlock[]; | ||
to?: Cc[]; | ||
@@ -616,2 +630,3 @@ transcription?: Transcription; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -622,2 +637,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -640,3 +656,3 @@ thread_ts?: string; | ||
attachments?: any[]; | ||
blocks?: TitleBlockElement[]; | ||
blocks?: AttachmentBlock[]; | ||
bot_id?: string; | ||
@@ -831,2 +847,3 @@ bot_link?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -1001,45 +1018,7 @@ template_conversion_ts?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
ts?: string; | ||
} | ||
export interface Pagination { | ||
first?: number; | ||
last?: number; | ||
page?: number; | ||
page_count?: number; | ||
per_page?: number; | ||
total_count?: number; | ||
} | ||
export interface Paging { | ||
count?: number; | ||
page?: number; | ||
pages?: number; | ||
total?: number; | ||
} | ||
export interface Messages { | ||
matches?: MessagesMatch[]; | ||
pagination?: Pagination; | ||
paging?: Paging; | ||
total?: number; | ||
} | ||
export interface MessagesMatch { | ||
attachments?: Attachment[]; | ||
blocks?: MatchBlock[]; | ||
channel?: Channel; | ||
files?: FileElement[]; | ||
iid?: string; | ||
is_mpim?: boolean; | ||
no_reactions?: boolean; | ||
permalink?: string; | ||
previous?: Previous; | ||
previous_2?: Previous; | ||
score?: number; | ||
team?: string; | ||
text?: string; | ||
ts?: string; | ||
type?: string; | ||
user?: string; | ||
username?: string; | ||
} | ||
export interface MatchBlock { | ||
export interface MatchTitleBlock { | ||
accessory?: Accessory; | ||
@@ -1135,2 +1114,41 @@ alt_text?: string; | ||
} | ||
export interface Pagination { | ||
first?: number; | ||
last?: number; | ||
page?: number; | ||
page_count?: number; | ||
per_page?: number; | ||
total_count?: number; | ||
} | ||
export interface Paging { | ||
count?: number; | ||
page?: number; | ||
pages?: number; | ||
total?: number; | ||
} | ||
export interface Messages { | ||
matches?: MessagesMatch[]; | ||
pagination?: Pagination; | ||
paging?: Paging; | ||
total?: number; | ||
} | ||
export interface MessagesMatch { | ||
attachments?: Attachment[]; | ||
blocks?: MatchTitleBlock[]; | ||
channel?: Channel; | ||
files?: FileElement[]; | ||
iid?: string; | ||
is_mpim?: boolean; | ||
no_reactions?: boolean; | ||
permalink?: string; | ||
previous?: Previous; | ||
previous_2?: Previous; | ||
score?: number; | ||
team?: string; | ||
text?: string; | ||
ts?: string; | ||
type?: string; | ||
user?: string; | ||
username?: string; | ||
} | ||
export interface Channel { | ||
@@ -1155,3 +1173,3 @@ id?: string; | ||
attachments?: Attachment[]; | ||
blocks?: MatchBlock[]; | ||
blocks?: MatchTitleBlock[]; | ||
iid?: string; | ||
@@ -1158,0 +1176,0 @@ permalink?: string; |
@@ -17,2 +17,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
export interface Match { | ||
access?: string; | ||
attachments?: Attachment[]; | ||
@@ -26,5 +27,7 @@ bot_id?: string; | ||
display_as_bot?: boolean; | ||
dm_mpdm_users_with_file_access?: DmMpdmUsersWithFileAccess[]; | ||
edit_link?: string; | ||
editable?: boolean; | ||
editors?: string[]; | ||
editors_count?: number; | ||
external_id?: string; | ||
@@ -44,2 +47,3 @@ external_type?: string; | ||
ims?: string[]; | ||
is_channel_space?: boolean; | ||
is_external?: boolean; | ||
@@ -51,2 +55,3 @@ is_public?: boolean; | ||
lines_more?: number; | ||
linked_channel_id?: string; | ||
media_display_type?: string; | ||
@@ -57,2 +62,3 @@ mimetype?: string; | ||
non_owner_editable?: boolean; | ||
org_or_workspace_access?: string; | ||
original_attachment_count?: number; | ||
@@ -69,3 +75,5 @@ original_h?: number; | ||
preview_plain_text?: string; | ||
private_channels_with_file_access_count?: number; | ||
public_url_shared?: boolean; | ||
quip_thread_id?: string; | ||
sent_to_self?: boolean; | ||
@@ -75,2 +83,4 @@ shares?: MatchShares; | ||
subject?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: string[]; | ||
thumb_1024?: string; | ||
@@ -104,6 +114,9 @@ thumb_1024_h?: number; | ||
title?: string; | ||
title_blocks?: TitleBlock[]; | ||
to?: Cc[]; | ||
update_notification?: number; | ||
updated?: number; | ||
url_private?: string; | ||
url_private_download?: string; | ||
url_static_preview?: string; | ||
user?: string; | ||
@@ -211,7 +224,7 @@ user_team?: string; | ||
button_label?: string; | ||
description?: Subtitle | string; | ||
description?: DescriptionElement | string; | ||
developer_trace_id?: string; | ||
elements?: Accessory[]; | ||
fallback?: string; | ||
fields?: Subtitle[]; | ||
fields?: DescriptionElement[]; | ||
function_trigger_id?: string; | ||
@@ -228,5 +241,5 @@ image_bytes?: number; | ||
share_url?: string; | ||
text?: Subtitle; | ||
text?: DescriptionElement; | ||
thumbnail_url?: string; | ||
title?: Subtitle | string; | ||
title?: DescriptionElement | string; | ||
title_url?: string; | ||
@@ -272,6 +285,6 @@ trigger_subtype?: string; | ||
options?: InitialOptionElement[]; | ||
placeholder?: Subtitle; | ||
placeholder?: DescriptionElement; | ||
response_url_enabled?: boolean; | ||
style?: string; | ||
text?: Subtitle; | ||
text?: DescriptionElement; | ||
timezone?: string; | ||
@@ -284,15 +297,15 @@ type?: string; | ||
export interface AccessoryConfirm { | ||
confirm?: Subtitle; | ||
deny?: Subtitle; | ||
confirm?: DescriptionElement; | ||
deny?: DescriptionElement; | ||
style?: string; | ||
text?: Subtitle; | ||
title?: Subtitle; | ||
text?: DescriptionElement; | ||
title?: DescriptionElement; | ||
} | ||
export interface Subtitle { | ||
export interface DescriptionElement { | ||
emoji?: boolean; | ||
text?: string; | ||
type?: SubtitleType; | ||
type?: DescriptionType; | ||
verbatim?: boolean; | ||
} | ||
export declare enum SubtitleType { | ||
export declare enum DescriptionType { | ||
Mrkdwn = "mrkdwn", | ||
@@ -355,4 +368,4 @@ PlainText = "plain_text" | ||
export interface InitialOptionElement { | ||
description?: Subtitle; | ||
text?: Subtitle; | ||
description?: DescriptionElement; | ||
text?: DescriptionElement; | ||
url?: string; | ||
@@ -362,3 +375,3 @@ value?: string; | ||
export interface AccessoryOptionGroup { | ||
label?: Subtitle; | ||
label?: DescriptionElement; | ||
options?: InitialOptionElement[]; | ||
@@ -479,2 +492,3 @@ } | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -597,2 +611,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -603,2 +618,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -811,2 +827,3 @@ thread_ts?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -963,4 +980,4 @@ template_conversion_ts?: number; | ||
icon_url?: string; | ||
subtitle?: Subtitle; | ||
title?: Subtitle; | ||
subtitle?: DescriptionElement; | ||
title?: DescriptionElement; | ||
type?: string; | ||
@@ -982,5 +999,97 @@ } | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
ts?: string; | ||
} | ||
export interface TitleBlock { | ||
accessory?: Accessory; | ||
alt_text?: string; | ||
api_decoration_available?: boolean; | ||
app_collaborators?: string[]; | ||
app_id?: string; | ||
author_name?: string; | ||
block_id?: string; | ||
bot_user_id?: string; | ||
button_label?: string; | ||
call?: Call; | ||
call_id?: string; | ||
description?: DescriptionElement; | ||
developer_trace_id?: string; | ||
dispatch_action?: boolean; | ||
element?: Accessory; | ||
elements?: Accessory[]; | ||
external_id?: string; | ||
fallback?: string; | ||
fields?: DescriptionElement[]; | ||
file?: MessageFile; | ||
file_id?: string; | ||
function_trigger_id?: string; | ||
hint?: DescriptionElement; | ||
image_bytes?: number; | ||
image_height?: number; | ||
image_url?: string; | ||
image_width?: number; | ||
is_workflow_app?: boolean; | ||
label?: DescriptionElement; | ||
optional?: boolean; | ||
owning_team_id?: string; | ||
provider_icon_url?: string; | ||
provider_name?: string; | ||
sales_home_workflow_app_type?: number; | ||
share_url?: string; | ||
source?: string; | ||
text?: DescriptionElement; | ||
thumbnail_url?: string; | ||
title?: DescriptionElement; | ||
title_url?: string; | ||
trigger_subtype?: string; | ||
trigger_type?: string; | ||
type?: BlockType; | ||
url?: string; | ||
video_url?: string; | ||
workflow_id?: string; | ||
} | ||
export interface Call { | ||
media_backend_type?: string; | ||
v1?: V1; | ||
} | ||
export interface V1 { | ||
active_participants?: Participant[]; | ||
all_participants?: Participant[]; | ||
app_icon_urls?: AppIconUrls; | ||
app_id?: string; | ||
channels?: string[]; | ||
created_by?: string; | ||
date_end?: number; | ||
date_start?: number; | ||
desktop_app_join_url?: string; | ||
display_id?: string; | ||
has_ended?: boolean; | ||
id?: string; | ||
is_dm_call?: boolean; | ||
join_url?: string; | ||
name?: string; | ||
was_accepted?: boolean; | ||
was_missed?: boolean; | ||
was_rejected?: boolean; | ||
} | ||
export interface Participant { | ||
avatar_url?: string; | ||
display_name?: string; | ||
external_id?: string; | ||
slack_id?: string; | ||
} | ||
export interface AppIconUrls { | ||
image_1024?: string; | ||
image_128?: string; | ||
image_192?: string; | ||
image_32?: string; | ||
image_36?: string; | ||
image_48?: string; | ||
image_512?: string; | ||
image_64?: string; | ||
image_72?: string; | ||
image_96?: string; | ||
image_original?: string; | ||
} | ||
export interface Pagination { | ||
@@ -987,0 +1096,0 @@ first?: number; |
@@ -12,8 +12,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BlockType = exports.FluffyType = exports.PurpleType = exports.SubtitleType = void 0; | ||
var SubtitleType; | ||
(function (SubtitleType) { | ||
SubtitleType["Mrkdwn"] = "mrkdwn"; | ||
SubtitleType["PlainText"] = "plain_text"; | ||
})(SubtitleType = exports.SubtitleType || (exports.SubtitleType = {})); | ||
exports.BlockType = exports.FluffyType = exports.PurpleType = exports.DescriptionType = void 0; | ||
var DescriptionType; | ||
(function (DescriptionType) { | ||
DescriptionType["Mrkdwn"] = "mrkdwn"; | ||
DescriptionType["PlainText"] = "plain_text"; | ||
})(DescriptionType = exports.DescriptionType || (exports.DescriptionType = {})); | ||
var PurpleType; | ||
@@ -20,0 +20,0 @@ (function (PurpleType) { |
@@ -414,2 +414,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -532,2 +533,3 @@ template_conversion_ts?: number; | ||
channel_name?: string; | ||
date_last_shared?: number; | ||
latest_reply?: string; | ||
@@ -538,2 +540,3 @@ reply_count?: number; | ||
share_user_id?: string; | ||
source?: string; | ||
team_id?: string; | ||
@@ -746,2 +749,3 @@ thread_ts?: string; | ||
subtype?: string; | ||
team_pref_version_history_enabled?: boolean; | ||
teams_shared_with?: any[]; | ||
@@ -748,0 +752,0 @@ template_conversion_ts?: number; |
@@ -10,2 +10,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
provided?: string; | ||
response_metadata?: ResponseMetadata; | ||
}; | ||
@@ -15,2 +16,5 @@ export interface BillableInfo { | ||
} | ||
export interface ResponseMetadata { | ||
next_cursor?: string; | ||
} | ||
//# sourceMappingURL=TeamBillableInfoResponse.d.ts.map |
@@ -18,2 +18,3 @@ import { WebAPICallResult } from '../WebClient'; | ||
is_hidden?: boolean; | ||
is_inverse?: boolean; | ||
label?: string; | ||
@@ -20,0 +21,0 @@ options?: Options; |
{ | ||
"name": "@slack/web-api", | ||
"version": "6.11.2", | ||
"version": "6.12.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2092347
1206
32196
1