solapi
    Preparing search index...
    • API 응답 데이터를 KakaoAlimtalkTemplate 타입으로 변환 (Effect 반환)

      Parameters

      • data: {
            ad?: string | null;
            assignType?: "CHANNEL" | "GROUP";
            buttons?: readonly (
                | {
                    buttonName: string;
                    buttonType: "WL";
                    linkMo: string;
                    linkPc?: string
                    | null;
                }
                | {
                    buttonName: string;
                    buttonType: "AL";
                    linkAnd: string;
                    linkIos: string;
                }
                | {
                    buttonName: string;
                    buttonType: "AC"
                    | "BK"
                    | "MD"
                    | "BC"
                    | "BT"
                    | "DS";
                }
            )[];
            channelGroupId?: string
            | null;
            channelId?: string | null;
            code?: string | null;
            commentable?: boolean;
            comments?: readonly {
                content: string | null;
                dateCreated: string;
                isAdmin: boolean;
                memberId: string;
            }[];
            content?: string;
            dateCreated?: string
            | Date;
            dateUpdated?: string | Date;
            emphasizeSubtitle?: string | null;
            emphasizeTitle?: string | null;
            emphasizeType: "TEXT" | "IMAGE" | "NONE" | "ITEM_LIST";
            extra?: string | null;
            header?: string | null;
            highlight?:
                | {
                    description?: string
                    | null;
                    imageId?: string | null;
                    title?: string | null;
                }
                | null;
            imageId?: string
            | null;
            isHidden?: boolean;
            item?:
                | {
                    list: readonly { description: string; title: string }[];
                    summary: { description?: string | null; title?: string | null };
                }
                | null;
            messageType: "BA"
            | "EX"
            | "AD"
            | "MI";
            name: string;
            quickReplies?: readonly (
                | { linkMo: string; linkPc?: string; linkType: "WL"; name: string }
                | { linkAnd: string; linkIos: string; linkType: "AL"; name: string }
                | { linkType: "BK" | "BC" | "BT"; name: string }
            )[];
            securityFlag: boolean;
            status: "PENDING" | "INSPECTING" | "APPROVED" | "REJECTED";
            templateId: string;
            variables?: readonly { name: string }[];
        }

      Returns Effect<KakaoAlimtalkTemplate, InvalidDateError>