Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the web-api responses (2021-04-23 PT) #1215

Merged
merged 1 commit into from Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 6 additions & 4 deletions packages/web-api/src/response/ConversationsCloseResponse.ts
@@ -1,8 +1,10 @@
/* tslint:disable */
import { WebAPICallResult } from '../WebClient';
export type ConversationsCloseResponse = WebAPICallResult & {
ok?: boolean;
error?: string;
needed?: string;
provided?: string;
ok?: boolean;
already_closed?: boolean;
no_op?: boolean;
error?: string;
needed?: string;
provided?: string;
};
1 change: 1 addition & 0 deletions packages/web-api/src/response/ConversationsInfoResponse.ts
Expand Up @@ -46,6 +46,7 @@ export interface Channel {
is_global_shared?: boolean;
is_org_default?: boolean;
is_org_mandatory?: boolean;
connected_limited_team_ids?: string[];
}

export interface Purpose {
Expand Down
12 changes: 7 additions & 5 deletions packages/web-api/src/response/ConversationsOpenResponse.ts
@@ -1,11 +1,13 @@
/* tslint:disable */
import { WebAPICallResult } from '../WebClient';
export type ConversationsOpenResponse = WebAPICallResult & {
ok?: boolean;
channel?: Channel;
error?: string;
needed?: string;
provided?: string;
ok?: boolean;
channel?: Channel;
no_op?: boolean;
already_open?: boolean;
error?: string;
needed?: string;
provided?: string;
};

export interface Channel {
Expand Down
1 change: 1 addition & 0 deletions packages/web-api/src/response/SearchAllResponse.ts
Expand Up @@ -138,6 +138,7 @@ export interface MessagesMatch {
blocks?: Block[];
attachments?: MatchAttachment[];
is_mpim?: boolean;
score?: number;
}

export interface MatchAttachment {
Expand Down
1 change: 1 addition & 0 deletions packages/web-api/src/response/SearchMessagesResponse.ts
Expand Up @@ -32,6 +32,7 @@ export interface Match {
blocks?: Block[];
attachments?: MatchAttachment[];
is_mpim?: boolean;
score?: number;
}

export interface MatchAttachment {
Expand Down