forked from slackapi/node-slack-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web-api(feat): add support for
conversations.requestShared.list
API (…
- Loading branch information
Showing
6 changed files
with
133 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
packages/web-api/src/types/response/ConversationsRequestSharedInviteListResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
///////////////////////////////////////////////////////////////////////////////////////// | ||
// // | ||
// !!! DO NOT EDIT THIS FILE !!! // | ||
// // | ||
// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // | ||
// Please refer to the script code to learn how to update the source data. // | ||
// // | ||
///////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
import type { WebAPICallResult } from '../../WebClient'; | ||
export type ConversationsRequestSharedInviteListResponse = WebAPICallResult & { | ||
invite_requests?: InviteRequest[]; | ||
ok?: boolean; | ||
}; | ||
|
||
export interface InviteRequest { | ||
channel?: Channel; | ||
date_created?: number; | ||
date_last_updated?: number; | ||
expires_at?: number; | ||
id?: string; | ||
inviting_team?: Team; | ||
inviting_user?: InvitingUser; | ||
is_external_limited?: boolean; | ||
target_user?: TargetUser; | ||
} | ||
|
||
export interface Channel { | ||
connections?: Connection[]; | ||
date_created?: number; | ||
id?: string; | ||
is_im?: boolean; | ||
is_private?: boolean; | ||
name?: string; | ||
pending_connections?: any[]; | ||
previous_connections?: any[]; | ||
} | ||
|
||
export interface Connection { | ||
is_private?: boolean; | ||
team?: Team; | ||
} | ||
|
||
export interface Team { | ||
avatar_base_url?: string; | ||
date_created?: number; | ||
domain?: string; | ||
icon?: Icon; | ||
id?: string; | ||
is_verified?: boolean; | ||
name?: string; | ||
requires_sponsorship?: boolean; | ||
} | ||
|
||
export interface Icon { | ||
image_102?: string; | ||
image_132?: string; | ||
image_230?: string; | ||
image_34?: string; | ||
image_44?: string; | ||
image_68?: string; | ||
image_88?: string; | ||
image_default?: boolean; | ||
} | ||
|
||
export interface InvitingUser { | ||
id?: string; | ||
name?: string; | ||
profile?: Profile; | ||
team_id?: string; | ||
updated?: number; | ||
who_can_share_contact_card?: string; | ||
} | ||
|
||
export interface Profile { | ||
avatar_hash?: string; | ||
display_name?: string; | ||
display_name_normalized?: string; | ||
email?: string; | ||
image_192?: string; | ||
image_24?: string; | ||
image_32?: string; | ||
image_48?: string; | ||
image_512?: string; | ||
image_72?: string; | ||
real_name?: string; | ||
real_name_normalized?: string; | ||
team?: string; | ||
} | ||
|
||
export interface TargetUser { | ||
recipient_email?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters