slack-web-api-client
Version:
Streamlined Slack Web API client for TypeScript
42 lines • 998 B
TypeScript
import type { SlackAPIResponse } from "../response";
export type SlackListsItemsCreateResponse = SlackAPIResponse & {
error?: string;
item?: Item;
needed?: string;
ok: boolean;
provided?: string;
response_metadata?: ResponseMetadata;
warning?: string;
};
export interface Item {
created_by?: string;
date_created?: number;
fields?: Field[];
id?: string;
list_id?: string;
updated_by?: string;
updated_timestamp?: string;
}
export interface Field {
checkbox?: boolean;
column_id?: string;
key?: string;
rich_text?: RichText[];
value?: string;
}
export interface RichText {
elements?: RichTextElement[];
type?: string;
}
export interface RichTextElement {
elements?: ElementElementClass[];
type?: string;
}
export interface ElementElementClass {
text?: string;
type?: string;
}
export interface ResponseMetadata {
messages?: string[];
}
//# sourceMappingURL=SlackListsItemsCreateResponse.d.ts.map