kustomer-client
    Preparing search index...

    Type Alias GetAllDraftsByCustomerResponses

    type GetAllDraftsByCustomerResponses = {
        "200": {
            data: {
                attributes: {
                    body: string;
                    channel: string;
                    createdAt: string;
                    modifiedAt: string;
                    payload?: {
                        draftJs: {
                            blocks: {
                                data: { [key: string]: unknown };
                                depth: number;
                                entityRanges: unknown[];
                                inlineStyleRanges: unknown[];
                                key: string;
                                text: string;
                                type: string;
                            }[];
                            entityMap: { [key: string]: unknown };
                        };
                    };
                    status: string;
                    updatedAt: string;
                };
                id: string;
                relationships: {
                    conversation?: {
                        data: { id: string; type: string };
                        links: { self: string };
                    };
                    createdBy: {
                        data: { id: string; type: string };
                        links: { self: string };
                    };
                    customer: {
                        data: { id: string; type: string };
                        links: { self: string };
                    };
                    modifiedBy: {
                        data: { id: string; type: string };
                        links: { self: string };
                    };
                    org: { data: { id: string; type: string }; links: { self: string } };
                };
                type: string;
            }[];
            included: unknown[];
            links: {
                first: string;
                next: string
                | null;
                prev: string | null;
                self: string;
            };
            meta: { page: number; pageSize: number };
        };
    }
    Index

    Properties

    Properties

    "200": {
        data: {
            attributes: {
                body: string;
                channel: string;
                createdAt: string;
                modifiedAt: string;
                payload?: {
                    draftJs: {
                        blocks: {
                            data: { [key: string]: unknown };
                            depth: number;
                            entityRanges: unknown[];
                            inlineStyleRanges: unknown[];
                            key: string;
                            text: string;
                            type: string;
                        }[];
                        entityMap: { [key: string]: unknown };
                    };
                };
                status: string;
                updatedAt: string;
            };
            id: string;
            relationships: {
                conversation?: {
                    data: { id: string; type: string };
                    links: { self: string };
                };
                createdBy: {
                    data: { id: string; type: string };
                    links: { self: string };
                };
                customer: { data: { id: string; type: string }; links: { self: string } };
                modifiedBy: {
                    data: { id: string; type: string };
                    links: { self: string };
                };
                org: { data: { id: string; type: string }; links: { self: string } };
            };
            type: string;
        }[];
        included: unknown[];
        links: {
            first: string;
            next: string
            | null;
            prev: string | null;
            self: string;
        };
        meta: { page: number; pageSize: number };
    }

    OK