kustomer-client
    Preparing search index...

    Type Alias GetMessagesByConversationResponses

    type GetMessagesByConversationResponses = {
        "200": {
            data: {
                attributes: {
                    app: string;
                    channel: string;
                    createdAt: string;
                    direction: string;
                    externalId: string;
                    meta: {
                        cc: unknown[];
                        from: string;
                        inReplyTo: string;
                        recipient: { email: string; mailboxHash: string };
                        subject: string;
                        to: { email: string }[];
                    };
                    preview: string;
                    sentAt: string;
                    sentiment: { [key: string]: unknown };
                    size: number;
                    status: string;
                    updatedAt: string;
                    [key: string]: unknown;
                };
                id: string;
                links: { related: string; self: string };
                relationships: {
                    attachments?: {
                        data: { id: string; type: string }[];
                        links: { self: string };
                    };
                    conversation: {
                        data: { id: string; type: string };
                        links: { self: string };
                    };
                    customer: {
                        data: { id: string; type: string };
                        links: { self: string };
                    };
                    org: { data: { id: string; type: string }; links: { self: string } };
                };
                type: string;
            }[];
            included?: {
                attributes: {
                    contentLength: number;
                    contentType: string;
                    name: string;
                    redacted: boolean;
                };
                id: string;
                links: { self: string };
                relationships: {
                    message: {
                        data: { id: string; type: string };
                        links: { self: string };
                    };
                    org: { data: { id: string; type: string }; links: { self: string } };
                };
                type: "attachment";
            }[];
            links: {
                first: string;
                next: string
                | null;
                prev: string | null;
                self: string;
            };
            meta: { page: number; pageSize: number };
        };
    }
    Index

    Properties

    Properties

    "200": {
        data: {
            attributes: {
                app: string;
                channel: string;
                createdAt: string;
                direction: string;
                externalId: string;
                meta: {
                    cc: unknown[];
                    from: string;
                    inReplyTo: string;
                    recipient: { email: string; mailboxHash: string };
                    subject: string;
                    to: { email: string }[];
                };
                preview: string;
                sentAt: string;
                sentiment: { [key: string]: unknown };
                size: number;
                status: string;
                updatedAt: string;
                [key: string]: unknown;
            };
            id: string;
            links: { related: string; self: string };
            relationships: {
                attachments?: {
                    data: { id: string; type: string }[];
                    links: { self: string };
                };
                conversation: {
                    data: { id: string; type: string };
                    links: { self: string };
                };
                customer: { data: { id: string; type: string }; links: { self: string } };
                org: { data: { id: string; type: string }; links: { self: string } };
            };
            type: string;
        }[];
        included?: {
            attributes: {
                contentLength: number;
                contentType: string;
                name: string;
                redacted: boolean;
            };
            id: string;
            links: { self: string };
            relationships: {
                message: {
                    data: { id: string; type: string };
                    links: { self: string };
                };
                org: { data: { id: string; type: string }; links: { self: string } };
            };
            type: "attachment";
        }[];
        links: {
            first: string;
            next: string
            | null;
            prev: string | null;
            self: string;
        };
        meta: { page: number; pageSize: number };
    }

    OK