Skip to content

Commit

Permalink
Update web api responses
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Feb 8, 2024
1 parent 2651c61 commit 95a8651
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface Errors {}

export interface Permission {
allowed_by_admin?: AllowedByAdmin;
allowed_entities?: AllowedByAdmin;
allowed_entities?: AllowedEntities;
distribution?: AllowedByAdmin;
}

Expand All @@ -27,6 +27,14 @@ export interface AllowedByAdmin {
user_ids?: string[];
}

export interface AllowedEntities {
channel_ids?: string[];
org_ids?: string[];
team_ids?: string[];
type?: string;
user_ids?: string[];
}

export interface ResponseMetadata {
messages?: string[];
}
8 changes: 5 additions & 3 deletions src/client/generated-response/ReactionsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ export interface BlockFile {
reactions?: any[];
saved?: Saved;
sent_to_self?: boolean;
shares?: PendingInvitees;
shares?: Knocks;
show_badge?: boolean;
simplified_html?: string;
size?: number;
Expand Down Expand Up @@ -862,7 +862,7 @@ export interface BlockFile {
vtt?: string;
}

export interface PendingInvitees {}
export interface Knocks {}

export interface RootIcons {
emoji?: string;
Expand Down Expand Up @@ -894,6 +894,8 @@ export interface Room {
is_dm_call?: boolean;
is_prewarmed?: boolean;
is_scheduled?: boolean;
knocks?: Knocks;
last_invite_status_by_user?: Knocks;
media_backend_type?: string;
media_server?: string;
name?: string;
Expand All @@ -903,7 +905,7 @@ export interface Room {
participants_camera_on?: string[];
participants_screenshare_off?: string[];
participants_screenshare_on?: string[];
pending_invitees?: PendingInvitees;
pending_invitees?: Knocks;
thread_root_ts?: string;
was_accepted?: boolean;
was_missed?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface Errors {}

export interface Permission {
allowed_by_admin?: AllowedByAdmin;
allowed_entities?: AllowedByAdmin;
allowed_entities?: AllowedEntities;
distribution?: AllowedByAdmin;
}

Expand All @@ -27,6 +27,14 @@ export interface AllowedByAdmin {
user_ids?: string[];
}

export interface AllowedEntities {
channel_ids?: string[];
org_ids?: string[];
team_ids?: string[];
type?: string;
user_ids?: string[];
}

export interface ResponseMetadata {
messages?: string[];
}
8 changes: 5 additions & 3 deletions src_deno/client/generated-response/ReactionsListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ export interface BlockFile {
reactions?: any[];
saved?: Saved;
sent_to_self?: boolean;
shares?: PendingInvitees;
shares?: Knocks;
show_badge?: boolean;
simplified_html?: string;
size?: number;
Expand Down Expand Up @@ -862,7 +862,7 @@ export interface BlockFile {
vtt?: string;
}

export interface PendingInvitees {}
export interface Knocks {}

export interface RootIcons {
emoji?: string;
Expand Down Expand Up @@ -894,6 +894,8 @@ export interface Room {
is_dm_call?: boolean;
is_prewarmed?: boolean;
is_scheduled?: boolean;
knocks?: Knocks;
last_invite_status_by_user?: Knocks;
media_backend_type?: string;
media_server?: string;
name?: string;
Expand All @@ -903,7 +905,7 @@ export interface Room {
participants_camera_on?: string[];
participants_screenshare_off?: string[];
participants_screenshare_on?: string[];
pending_invitees?: PendingInvitees;
pending_invitees?: Knocks;
thread_root_ts?: string;
was_accepted?: boolean;
was_missed?: boolean;
Expand Down

0 comments on commit 95a8651

Please sign in to comment.